nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 55 lines 1.0 kB view raw
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 = "26.1.0"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "NVIDIA"; 20 repo = "hpc-container-maker"; 21 tag = "v${version}"; 22 hash = "sha256-ITmq031/I4nKU4te9hio/H03Kz1IAfqTejDWUfsGL+g="; 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 = [ ]; 52 mainProgram = "hpccm"; 53 platforms = lib.platforms.x86; 54 }; 55}