python3Packages.pynvml: init at 8.0.4

This commit is contained in:
Ben Darwin 2020-01-14 10:18:06 -05:00
parent 42cc5c233e
commit 1c613434c5
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, cudatoolkit
}:
buildPythonPackage rec {
pname = "pynvml";
version = "8.0.4";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0pfykj1amqh1rixp90rg85v1nj6qmx89fahqr6ii4zlcckffmm68";
};
propagatedBuildInputs = [ cudatoolkit ];
doCheck = false; # no tests in PyPi dist
pythonImportsCheck = [ "pynvml" "pynvml.smi" ];
meta = with lib; {
description = "Python bindings for the NVIDIA Management Library";
homepage = https://www.nvidia.com;
license = licenses.bsd3;
maintainers = [ maintainers.bcdarwin ];
};
}

View File

@ -4943,6 +4943,8 @@ in {
pynrrd = callPackage ../development/python-modules/pynrrd { };
pynvml = callPackage ../development/python-modules/pynvml { };
pynzb = callPackage ../development/python-modules/pynzb { };
process-tests = callPackage ../development/python-modules/process-tests { };