diff --git a/pkgs/development/python-modules/hpccm/default.nix b/pkgs/development/python-modules/hpccm/default.nix index 3e51d6e57573..2970e654c3f3 100644 --- a/pkgs/development/python-modules/hpccm/default.nix +++ b/pkgs/development/python-modules/hpccm/default.nix @@ -3,25 +3,23 @@ archspec, buildPythonPackage, fetchFromGitHub, + packaging, pytest-xdist, pytestCheckHook, - pythonOlder, setuptools, six, }: buildPythonPackage rec { pname = "hpccm"; - version = "23.11.0"; + version = "25.9.0"; pyproject = true; - disabled = pythonOlder "3.7"; - src = fetchFromGitHub { owner = "NVIDIA"; repo = "hpc-container-maker"; tag = "v${version}"; - hash = "sha256-uB2+1Nc+SgPzB5hJI1L6yD8gn0hGOkIZF6rejq4rYg8="; + hash = "sha256-/R1GieioesZmVt2Dh5WmOZn8Vv4qgin2WsPI3jpZYtA="; }; build-system = [ setuptools ]; @@ -29,6 +27,7 @@ buildPythonPackage rec { dependencies = [ six archspec + packaging ]; nativeCheckInputs = [ @@ -44,13 +43,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "hpccm" ]; - meta = with lib; { + meta = { description = "HPC Container Maker"; homepage = "https://github.com/NVIDIA/hpc-container-maker"; - changelog = "https://github.com/NVIDIA/hpc-container-maker/blob/v${version}/CHANGELOG.md"; - license = licenses.asl20; - maintainers = with maintainers; [ atila ]; + changelog = "https://github.com/NVIDIA/hpc-container-maker/blob/${src.tag}/CHANGELOG.md"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ atila ]; mainProgram = "hpccm"; - platforms = platforms.x86; + platforms = lib.platforms.x86; }; }