Unverified Commit 7c55baab authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

igraph: 0.10.15 -> 0.10.16 (#415738)

parents ecd85075 6e78142a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -25,13 +25,13 @@ assert (blas.isILP64 == lapack.isILP64 && blas.isILP64 == arpack.isILP64 && !bla

stdenv.mkDerivation (finalAttrs: {
  pname = "igraph";
  version = "0.10.15";
  version = "0.10.16";

  src = fetchFromGitHub {
    owner = "igraph";
    repo = "igraph";
    rev = finalAttrs.version;
    hash = "sha256-TSAVRLeOWh3IQ9X0Zr4CQS+h1vTeUZnzMp/IYujGMn0=";
    hash = "sha256-Qs2WXAiAQhQ077KEtkapr8ckw6Jlbxj6qwyiplsEaLY=";
  };

  postPatch = ''
+9 −10
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  pythonOlder,
  fetchFromGitHub,
  pkg-config,
  cmake,
  setuptools,
  igraph,
  texttable,
@@ -15,9 +15,7 @@

buildPythonPackage rec {
  pname = "igraph";
  version = "0.11.8";

  disabled = pythonOlder "3.8";
  version = "0.11.9";

  pyproject = true;

@@ -29,20 +27,21 @@ buildPythonPackage rec {
      # export-subst prevents reproducability
      rm $out/.git_archival.json
    '';
    hash = "sha256-FEp9kwUAPSAnGcAuxApAq1AXiT0klXuXE2M6xNVilRg=";
    hash = "sha256-rmIICiIyEr5JCmkDAzcdisVaaKDraTQEquPHjK4d7oU=";
  };

  postPatch = ''
    rm -r vendor

    # TODO remove starting with 0.11.9
    substituteInPlace pyproject.toml \
      --replace-fail "setuptools>=64,<72.2.0" setuptools
  '';

  nativeBuildInputs = [ pkg-config ];

  build-system = [ setuptools ];
  build-system = [
    cmake
    setuptools
  ];

  dontUseCmakeConfigure = true;

  buildInputs = [ igraph ];