Merge pull request #177669 from AtilaSaraiva/hpccm

main
Sandro 2 years ago committed by GitHub
commit de55aed2ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 36
      pkgs/development/python-modules/archspec/default.nix
  2. 39
      pkgs/development/python-modules/hpccm/default.nix
  3. 2
      pkgs/top-level/all-packages.nix
  4. 4
      pkgs/top-level/python-packages.nix

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, click
, six
, pytestCheckHook
, jsonschema
}:
buildPythonPackage rec {
pname = "archspec";
version = "0.1.4";
format = "pyproject";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
fetchSubmodules = true;
sha256 = "sha256-ScigEpYNArveqi5tlqiA7LwsVs2RkjT+GChxhSy/ndw=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ click six ];
checkInputs = [ pytestCheckHook jsonschema ];
pythonImportsCheck = [ "archspec" ];
meta = with lib; {
description = "A library for detecting, labeling, and reasoning about microarchitectures";
homepage = "https://archspec.readthedocs.io/en/latest/";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ atila ];
};
}

@ -0,0 +1,39 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, six
, archspec
, pytestCheckHook
, pytest-xdist
}:
buildPythonPackage rec {
pname = "hpccm";
version = "22.5.0";
src = fetchFromGitHub {
owner = "NVIDIA";
repo = "hpc-container-maker";
rev = "v${version}";
sha256 = "sha256-zR5+X9BKaUvLPQ05FnfU817esgxVqP8n+wfdWy20BN4=";
};
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 ];
};
}

@ -7061,6 +7061,8 @@ with pkgs;
hotspot = libsForQt5.callPackage ../development/tools/analysis/hotspot { };
hpccm = with python3Packages; toPythonApplication hpccm;
hping = callPackage ../tools/networking/hping { };
hqplayer-desktop = libsForQt5.callPackage ../applications/audio/hqplayer-desktop { };

@ -617,6 +617,8 @@ in {
archinfo = callPackage ../development/python-modules/archinfo { };
archspec = callPackage ../development/python-modules/archspec { };
area = callPackage ../development/python-modules/area { };
arelle = callPackage ../development/python-modules/arelle {
@ -4017,6 +4019,8 @@ in {
hpack = callPackage ../development/python-modules/hpack { };
hpccm = callPackage ../development/python-modules/hpccm { };
hsaudiotag3k = callPackage ../development/python-modules/hsaudiotag3k { };
hsluv = callPackage ../development/python-modules/hsluv { };

Loading…
Cancel
Save