summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-06-09 11:14:33 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2024-06-09 11:14:33 +0200
commit0fa642aebc80ca40d4e205db74228dea5abc7edf (patch)
tree3025b46c8620b000d165d7651171bac0922d8e9c /pkgs/development/python-modules
parent29fe3af6163d5ca214a6b04f9cb644e48615c76a (diff)
python312Packages.hpccm: 22.10.0 -> 23.11.0
Diff: https://github.com/NVIDIA/hpc-container-maker/compare/refs/tags/v22.10.0...v23.11.0 Changelog: https://github.com/NVIDIA/hpc-container-maker/blob/v23.11.0/CHANGELOG.md
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/hpccm/default.nix30
1 files changed, 19 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/hpccm/default.nix b/pkgs/development/python-modules/hpccm/default.nix
index 2404e7a3888b..1ab5e163a0bc 100644
--- a/pkgs/development/python-modules/hpccm/default.nix
+++ b/pkgs/development/python-modules/hpccm/default.nix
@@ -1,29 +1,36 @@
{
lib,
- fetchFromGitHub,
- buildPythonPackage,
- six,
archspec,
- pytestCheckHook,
+ 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 = [
+ build-system = [ setuptools ];
+
+ dependencies = [
six
archspec
];
+
nativeCheckInputs = [
pytestCheckHook
pytest-xdist
@@ -39,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;
};
}