python310Packages.py3nvml: init at 0.2.7

This commit is contained in:
happysalada 2023-07-15 08:33:21 +08:00 committed by Yt
parent 79c848fd13
commit 530b5df35c
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, xmltodict
}:
buildPythonPackage rec {
pname = "py3nvml";
version = "0.2.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-Ce4dBFmKbmZOJEZfgEzjv+EZpv21Ni3xwWj4qpKfvXM=";
};
propagatedBuildInputs = [
xmltodict
];
pythonImportsCheck = [ "py3nvml" ];
meta = with lib; {
description = "Python 3 Bindings for the NVIDIA Management Library";
homepage = "https://pypi.org/project/py3nvml/";
license = with licenses; [ bsd3 bsd2 ];
maintainers = with maintainers; [ happysalada ];
};
}

View File

@ -8447,6 +8447,8 @@ self: super: with self; {
py3exiv2 = callPackage ../development/python-modules/py3exiv2 { };
py3nvml = callPackage ../development/python-modules/py3nvml { };
py3rijndael = callPackage ../development/python-modules/py3rijndael { };
py3status = callPackage ../development/python-modules/py3status { };