3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #177669 from AtilaSaraiva/hpccm

This commit is contained in:
Sandro 2022-06-21 17:55:58 +02:00 committed by GitHub
commit de55aed2ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 81 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 ];
};
}

View file

@ -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 { };

View file

@ -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 { };