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