Skip to content

Commit

Permalink
python311Packages.pygraphviz: 1.11 -> 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Jan 9, 2024
1 parent 46ae021 commit 0fdcf9a
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions pkgs/development/python-modules/pygraphviz/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
{ lib
, buildPythonPackage
, isPy3k
, fetchPypi
, pythonOlder
, fetchFromGitHub
, substituteAll
, graphviz
, coreutils
, pkg-config
, setuptools
, pytest
}:

buildPythonPackage rec {
pname = "pygraphviz";
version = "1.11";
format = "setuptools";
version = "1.12";
pyproject = true;

disabled = !isPy3k;
disabled = pythonOlder "3.10";

src = fetchPypi {
inherit pname version;
hash = "sha256-qX61ztJm9FBT67HyxsbSkJFpBQPjpcFL5/kIs3sG8tQ=";
extension = "zip";
src = fetchFromGitHub {
owner = "pygraphviz";
repo = "pygraphviz";
rev = "pygraphviz-${version}";
hash = "sha256-XDP77H724eiMa/V18OtLxpUpxlIVDmcFLMYOAbazquo=";
};

patches = [
Expand All @@ -30,7 +32,10 @@ buildPythonPackage rec {
})
];

nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
setuptools
];

buildInputs = [ graphviz ];

Expand Down

0 comments on commit 0fdcf9a

Please sign in to comment.