mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
udocker: fix build failure
use_2to3 was removed from setuptools with version 58.0.0. There is an
upstream issue for this error
(https://github.com/indigo-dc/udocker/issues/358) and has been resolved
with commit
9f7d6c5f9a
.
We apply this commit as a patch.
Disable test_02__load_structure because it fails with a
unittest.mock.InvalidSpecError.
This commit is contained in:
parent
43d66d071e
commit
df23b42a9a
@ -2,6 +2,7 @@
|
||||
, fetchFromGitHub
|
||||
, singularity
|
||||
, python3Packages
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
@ -24,11 +25,19 @@ python3Packages.buildPythonApplication rec {
|
||||
pycurl
|
||||
]);
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/indigo-dc/udocker/commit/9f7d6c5f9a3925bf87d000603c5b306d73bb0fa3.patch";
|
||||
sha256 = "sha256-fiqvVqfdVIlILbSs6oDWmbWU9piZEI2oiAKUcmecx9Q=";
|
||||
})
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_02__load_structure"
|
||||
"test_05__get_volume_bindings"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user