Merge pull request #279818 from dotlambda/pygraphviz-1.12

python311Packages.pygraphviz: 1.11 -> 1.12
This commit is contained in:
Robert Schütz 2024-01-09 22:02:44 +01:00 committed by GitHub
commit 7966e15c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = [
@ -30,7 +32,10 @@ buildPythonPackage rec {
})
];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
setuptools
];
buildInputs = [ graphviz ];