mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
Merge pull request #279818 from dotlambda/pygraphviz-1.12
python311Packages.pygraphviz: 1.11 -> 1.12
This commit is contained in:
commit
7966e15c6b
@ -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 ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user