1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, six 5, archspec 6, pytestCheckHook 7, pytest-xdist 8}: 9 10buildPythonPackage rec { 11 pname = "hpccm"; 12 version = "22.10.0"; 13 14 src = fetchFromGitHub { 15 owner = "NVIDIA"; 16 repo = "hpc-container-maker"; 17 rev = "v${version}"; 18 hash = "sha256-dLMbwtvn7HTVVlWHAzXU19ERdJxytf9NlnqMXW6ShKI="; 19 }; 20 21 propagatedBuildInputs = [ six archspec ]; 22 nativeCheckInputs = [ pytestCheckHook pytest-xdist ]; 23 24 disabledTests = [ 25 # tests require git 26 "test_commit" 27 "test_tag" 28 ]; 29 30 pythonImportsCheck = [ "hpccm" ]; 31 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 }; 39}