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