blob: c38d11fac61848cec5f5be76bce4a787aa63f3fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
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 = {
description = "Python 3 Bindings for the NVIDIA Management Library";
mainProgram = "py3smi";
homepage = "https://pypi.org/project/py3nvml/";
license = with lib.licenses; [
bsd3
bsd2
];
maintainers = with lib.maintainers; [ happysalada ];
};
}
|