2022-06-26 10:26:21 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, six
|
|
|
|
, archspec
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-xdist
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "hpccm";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "22.10.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "NVIDIA";
|
|
|
|
repo = "hpc-container-maker";
|
|
|
|
rev = "v${version}";
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-dLMbwtvn7HTVVlWHAzXU19ERdJxytf9NlnqMXW6ShKI=";
|
2022-06-26 10:26:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six archspec ];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook pytest-xdist ];
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
disabledTests = [
|
|
|
|
# tests require git
|
|
|
|
"test_commit"
|
|
|
|
"test_tag"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "hpccm" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "HPC Container Maker";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "hpccm";
|
2022-06-26 10:26:21 +00:00
|
|
|
homepage = "https://github.com/NVIDIA/hpc-container-maker";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.x86;
|
|
|
|
maintainers = with maintainers; [ atila ];
|
|
|
|
};
|
|
|
|
}
|