fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
32 lines
648 B
Nix
32 lines
648 B
Nix
{
|
|
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";
|
|
mainProgram = "py3smi";
|
|
homepage = "https://pypi.org/project/py3nvml/";
|
|
license = with licenses; [
|
|
bsd3
|
|
bsd2
|
|
];
|
|
maintainers = with maintainers; [ happysalada ];
|
|
};
|
|
}
|