Merge pull request #168350 from dotlambda/graphviz-0.9.8

python3Packages.graphviz: 0.19.1 -> 0.20
This commit is contained in:
Sandro 2022-05-12 00:18:15 +02:00 committed by GitHub
commit 4c3bcf7f4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -27,8 +27,7 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'jinja2 = "^2.10"' 'jinja2 = "*"' \
--replace 'graphviz = ">=0.13.2,<0.17.0"' 'graphviz = "*"'
--replace 'graphviz = ">=0.13.2,<0.20.0"' 'graphviz = "*"'
'';
preConfigure = ''

View file

@ -16,16 +16,16 @@
buildPythonPackage rec {
pname = "graphviz";
version = "0.19.1";
version = "0.20";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
# patch does not apply to PyPI tarball due to different line endings
src = fetchFromGitHub {
owner = "xflr6";
repo = "graphviz";
rev = version;
sha256 = "sha256-pE1lsx/r/BjvW5W2niDx/UeRXxx4kvCyHzAUAG3bdGc=";
hash = "sha256-QyZwXxRbcMushxh/Ypy+v4FOTM4H1u5b7IZMSVgLyEs=";
};
patches = [
@ -65,6 +65,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Simple Python interface for Graphviz";
homepage = "https://github.com/xflr6/graphviz";
changelog = "https://github.com/xflr6/graphviz/blob/${src.rev}/CHANGES.rst";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};