+10
pkgs/development/python-modules/readme-renderer/default.nix
+10
pkgs/development/python-modules/readme-renderer/default.nix
···
4
4
cmarkgfm,
5
5
docutils,
6
6
fetchPypi,
7
+
fetchpatch2,
7
8
nh3,
8
9
pygments,
9
10
pytestCheckHook,
···
23
24
inherit version;
24
25
hash = "sha256-hxIDTqu/poBcrPFAK07rKnMCj3LRFm1vXLf5wEfF0eE=";
25
26
};
27
+
28
+
patches = [
29
+
# https://github.com/pypa/readme_renderer/pull/325
30
+
(fetchpatch2 {
31
+
name = "pygment-2_19-compatibility.patch";
32
+
url = "https://github.com/pypa/readme_renderer/commit/04d5cfe76850192364eff344be7fe27730af8484.patch";
33
+
hash = "sha256-QBU3zL3DB8gYYwtKrIC8+H8798pU9Sz3T9e/Q/dXksw=";
34
+
})
35
+
];
26
36
27
37
build-system = [ setuptools ];
28
38