blob: 925690b9f6edc5790b2ff77d2824ad9a9e8d7a5c (
plain)
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
49
50
51
52
53
54
55
|
{
lib,
archspec,
buildPythonPackage,
fetchFromGitHub,
packaging,
pytest-xdist,
pytestCheckHook,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "hpccm";
version = "26.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "NVIDIA";
repo = "hpc-container-maker";
tag = "v${version}";
hash = "sha256-ITmq031/I4nKU4te9hio/H03Kz1IAfqTejDWUfsGL+g=";
};
build-system = [ setuptools ];
dependencies = [
six
archspec
packaging
];
nativeCheckInputs = [
pytestCheckHook
pytest-xdist
];
disabledTests = [
# tests require git
"test_commit"
"test_tag"
];
pythonImportsCheck = [ "hpccm" ];
meta = {
description = "HPC Container Maker";
homepage = "https://github.com/NVIDIA/hpc-container-maker";
changelog = "https://github.com/NVIDIA/hpc-container-maker/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ atila ];
mainProgram = "hpccm";
platforms = lib.platforms.x86;
};
}
|