Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / hpccm / default.nix
blob29f3234faadfcde83346bdb823bd03abdb3df10f
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , six
5 , archspec
6 , pytestCheckHook
7 , pytest-xdist
8 }:
10 buildPythonPackage rec {
11   pname = "hpccm";
12   version = "22.10.0";
14   src = fetchFromGitHub {
15     owner = "NVIDIA";
16     repo = "hpc-container-maker";
17     rev = "v${version}";
18     hash = "sha256-dLMbwtvn7HTVVlWHAzXU19ERdJxytf9NlnqMXW6ShKI=";
19   };
21   propagatedBuildInputs = [ six archspec ];
22   nativeCheckInputs = [ pytestCheckHook pytest-xdist ];
24   disabledTests = [
25     # tests require git
26     "test_commit"
27     "test_tag"
28   ];
30   pythonImportsCheck = [ "hpccm" ];
32   meta = with lib; {
33     description = "HPC Container Maker";
34     homepage = "https://github.com/NVIDIA/hpc-container-maker";
35     license = licenses.asl20;
36     platforms = platforms.x86;
37     maintainers = with maintainers; [ atila ];
38   };