diff options
Diffstat (limited to 'pkgs/development/python-modules/hpccm/default.nix')
-rw-r--r-- | pkgs/development/python-modules/hpccm/default.nix | 45 |
1 files changed, 30 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/hpccm/default.nix b/pkgs/development/python-modules/hpccm/default.nix index 35380d7171b6f..1ab5e163a0bc4 100644 --- a/pkgs/development/python-modules/hpccm/default.nix +++ b/pkgs/development/python-modules/hpccm/default.nix @@ -1,26 +1,40 @@ -{ lib -, fetchFromGitHub -, buildPythonPackage -, six -, archspec -, pytestCheckHook -, pytest-xdist +{ + lib, + archspec, + buildPythonPackage, + fetchFromGitHub, + pytest-xdist, + pytestCheckHook, + pythonOlder, + setuptools, + six, }: buildPythonPackage rec { pname = "hpccm"; - version = "22.10.0"; - format = "setuptools"; + version = "23.11.0"; + pyproject = true; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "NVIDIA"; repo = "hpc-container-maker"; - rev = "v${version}"; - hash = "sha256-dLMbwtvn7HTVVlWHAzXU19ERdJxytf9NlnqMXW6ShKI="; + rev = "refs/tags/v${version}"; + hash = "sha256-uB2+1Nc+SgPzB5hJI1L6yD8gn0hGOkIZF6rejq4rYg8="; }; - propagatedBuildInputs = [ six archspec ]; - nativeCheckInputs = [ pytestCheckHook pytest-xdist ]; + build-system = [ setuptools ]; + + dependencies = [ + six + archspec + ]; + + nativeCheckInputs = [ + pytestCheckHook + pytest-xdist + ]; disabledTests = [ # tests require git @@ -32,10 +46,11 @@ buildPythonPackage rec { meta = with lib; { description = "HPC Container Maker"; - mainProgram = "hpccm"; homepage = "https://github.com/NVIDIA/hpc-container-maker"; + changelog = "https://github.com/NVIDIA/hpc-container-maker/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; - platforms = platforms.x86; maintainers = with maintainers; [ atila ]; + mainProgram = "hpccm"; + platforms = platforms.x86; }; } |