3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/virtualization/udocker/default.nix

50 lines
1 KiB
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, singularity
, python3Packages
}:
2018-02-01 12:36:44 +00:00
python3Packages.buildPythonApplication rec {
2018-02-01 12:36:44 +00:00
pname = "udocker";
version = "1.3.1";
2018-02-01 12:36:44 +00:00
2019-08-13 22:52:01 +01:00
src = fetchFromGitHub {
2018-02-01 12:36:44 +00:00
owner = "indigo-dc";
repo = "udocker";
2018-02-01 12:36:44 +00:00
rev = "v${version}";
sha256 = "0dfsjgidsnah8nrclrq10yz3ja859123z81kq4zdifbrhnrn5a2x";
2018-02-01 12:36:44 +00:00
};
# crun patchelf proot runc fakechroot
# are download statistically linked during runtime
buildInputs = [
singularity
] ++ (with python3Packages; [
pytest-runner
pycurl
]);
checkInputs = with python3Packages; [
pytestCheckHook
];
2018-02-01 12:36:44 +00:00
disabledTests = [
"test_05__get_volume_bindings"
];
disabledTestPaths = [
# Network
"tests/unit/test_curl.py"
"tests/unit/test_dockerioapi.py"
];
2018-02-01 12:36:44 +00:00
meta = with lib; {
2018-02-01 12:36:44 +00:00
description = "basic user tool to execute simple docker containers in user space without root privileges";
homepage = "https://indigo-dc.gitbooks.io/udocker";
2018-02-01 12:36:44 +00:00
license = licenses.asl20;
maintainers = [ maintainers.bzizou ];
platforms = platforms.linux;
};
}