01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
39 lines
804 B
Nix
39 lines
804 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildPythonPackage
|
|
, six
|
|
, archspec
|
|
, pytestCheckHook
|
|
, pytest-xdist
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hpccm";
|
|
version = "22.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "NVIDIA";
|
|
repo = "hpc-container-maker";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-dLMbwtvn7HTVVlWHAzXU19ERdJxytf9NlnqMXW6ShKI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|