about summary refs log tree commit diff
path: root/pkgs/development/python-modules/hpccm/default.nix
blob: 2404e7a3888b67f6148e461f325df4d4b3c7e2f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  six,
  archspec,
  pytestCheckHook,
  pytest-xdist,
}:

buildPythonPackage rec {
  pname = "hpccm";
  version = "22.10.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "NVIDIA";
    repo = "hpc-container-maker";
    rev = "v${version}";
    hash = "sha256-dLMbwtvn7HTVVlWHAzXU19ERdJxytf9NlnqMXW6ShKI=";
  };

  propagatedBuildInputs = [
    six
    archspec
  ];
  nativeCheckInputs = [
    pytestCheckHook
    pytest-xdist
  ];

  disabledTests = [
    # tests require git
    "test_commit"
    "test_tag"
  ];

  pythonImportsCheck = [ "hpccm" ];

  meta = with lib; {
    description = "HPC Container Maker";
    mainProgram = "hpccm";
    homepage = "https://github.com/NVIDIA/hpc-container-maker";
    license = licenses.asl20;
    platforms = platforms.x86;
    maintainers = with maintainers; [ atila ];
  };
}