1{
2 lib,
3 fetchFromGitHub,
4 buildPythonPackage,
5 six,
6 archspec,
7 pytestCheckHook,
8 pytest-xdist,
9}:
10
11buildPythonPackage rec {
12 pname = "hpccm";
13 version = "22.10.0";
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "NVIDIA";
18 repo = "hpc-container-maker";
19 rev = "v${version}";
20 hash = "sha256-dLMbwtvn7HTVVlWHAzXU19ERdJxytf9NlnqMXW6ShKI=";
21 };
22
23 propagatedBuildInputs = [
24 six
25 archspec
26 ];
27 nativeCheckInputs = [
28 pytestCheckHook
29 pytest-xdist
30 ];
31
32 disabledTests = [
33 # tests require git
34 "test_commit"
35 "test_tag"
36 ];
37
38 pythonImportsCheck = [ "hpccm" ];
39
40 meta = with lib; {
41 description = "HPC Container Maker";
42 mainProgram = "hpccm";
43 homepage = "https://github.com/NVIDIA/hpc-container-maker";
44 license = licenses.asl20;
45 platforms = platforms.x86;
46 maintainers = with maintainers; [ atila ];
47 };
48}