python3Packages.pynvml: init at 8.0.4
This commit is contained in:
parent
42cc5c233e
commit
1c613434c5
29
pkgs/development/python-modules/pynvml/default.nix
Normal file
29
pkgs/development/python-modules/pynvml/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -4943,6 +4943,8 @@ in {
|
|||||||
|
|
||||||
pynrrd = callPackage ../development/python-modules/pynrrd { };
|
pynrrd = callPackage ../development/python-modules/pynrrd { };
|
||||||
|
|
||||||
|
pynvml = callPackage ../development/python-modules/pynvml { };
|
||||||
|
|
||||||
pynzb = callPackage ../development/python-modules/pynzb { };
|
pynzb = callPackage ../development/python-modules/pynzb { };
|
||||||
|
|
||||||
process-tests = callPackage ../development/python-modules/process-tests { };
|
process-tests = callPackage ../development/python-modules/process-tests { };
|
||||||
|
Loading…
Reference in New Issue
Block a user