diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2021-01-05 17:30:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-05 17:30:25 +0100 |
commit | 0a22509d12deeb475f4e3bb1aee556ae55be46f7 (patch) | |
tree | 5bc56145ddb77db82406b0fb08076e8dee2c60d3 | |
parent | a14ea3aeccc83f2545bbce12cf47638c8b87d8c4 (diff) | |
parent | ad63d36fd023a217afb98386e168226b088ddf2c (diff) |
Merge pull request #108488 from rmcgibbo/pygal
python3Packages.pygal: unbreak with latest pytest
-rw-r--r-- | pkgs/development/python-modules/pygal/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pygal/default.nix b/pkgs/development/python-modules/pygal/default.nix index b02b604342528..aa41326720687 100644 --- a/pkgs/development/python-modules/pygal/default.nix +++ b/pkgs/development/python-modules/pygal/default.nix @@ -1,6 +1,7 @@ { stdenv , buildPythonPackage , fetchPypi +, fetchpatch , isPyPy , flask , pyquery @@ -16,12 +17,20 @@ buildPythonPackage rec { pname = "pygal"; version = "2.4.0"; - doCheck = !isPyPy; # one check fails with pypy + doCheck = !isPyPy; # one check fails with pypy src = fetchPypi { inherit pname version; sha256 = "9204f05380b02a8a32f9bf99d310b51aa2a932cba5b369f7a4dc3705f0a4ce83"; }; + patches = [ + # Fixes compatibility with latest pytest. October 12, 2020. + # Should be included in the next release after 2.4.0 + (fetchpatch { + url = "https://github.com/Kozea/pygal/commit/19e5399be18a054b3b293f4a8a2777d2df4f9c18.patch"; + sha256 = "1j0hpcvd2mhi449wmlr0ml9gw4cakqk3av1j79bi2qy86dyrss2l"; + }) + ]; buildInputs = [ flask |