2022-06-26 10:26:21 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, six
|
|
|
|
, archspec
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-xdist
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hpccm";
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "22.8.0";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NVIDIA";
|
|
|
|
repo = "hpc-container-maker";
|
|
|
|
rev = "v${version}";
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "sha256-nq1zixIu/Kv2CtkQX1Sw7Q3BsOZKcCJjV0+uroXPEBs=";
|
2022-06-26 10:26:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six archspec ];
|
|
|
|
checkInputs = [ pytestCheckHook pytest-xdist ];
|
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# tests require git
|
|
|
|
"test_commit"
|
|
|
|
"test_tag"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "hpccm" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "HPC Container Maker";
|
|
|
|
homepage = "https://github.com/NVIDIA/hpc-container-maker";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.x86;
|
|
|
|
maintainers = with maintainers; [ atila ];
|
|
|
|
};
|
|
|
|
}
|