python3Packages.remi: unbreak with patch from upstream (#541890)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
matplotlib,
|
||||
@@ -22,6 +23,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-VQn+Uzp6oGSit8ot0e8B0C2N41Q8+J+o91skyVN1gDA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "remote-pkg_resources-dependency.patch";
|
||||
url = "https://github.com/rawpython/remi/commit/54b253ccd9d7e9626d8236ec4a8a32631ff2fca2.patch";
|
||||
hash = "sha256-VyTc5jFmNRWnAQqEupBB87Xw86+e7VgMoQeUrBcY+mg=";
|
||||
})
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# for some reason, REMI already deal with these using try blocks, but they fail
|
||||
substituteInPlace test/test_widget.py \
|
||||
@@ -45,7 +54,6 @@ buildPythonPackage rec {
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
setuptools # pkg_resources is referenced at runtime
|
||||
legacy-cgi
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user