Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / py3nvml / default.nix
blobe551298e69feadd3ce64275117b42034bbbedd4c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , xmltodict
5 }:
7 buildPythonPackage rec {
8   pname = "py3nvml";
9   version = "0.2.7";
10   format = "setuptools";
12   src = fetchPypi {
13     inherit pname version;
14     hash = "sha256-Ce4dBFmKbmZOJEZfgEzjv+EZpv21Ni3xwWj4qpKfvXM=";
15   };
17   propagatedBuildInputs = [
18     xmltodict
19   ];
21   pythonImportsCheck = [ "py3nvml" ];
23   meta = with lib; {
24     description = "Python 3 Bindings for the NVIDIA Management Library";
25     mainProgram = "py3smi";
26     homepage = "https://pypi.org/project/py3nvml/";
27     license = with licenses; [ bsd3 bsd2 ];
28     maintainers = with maintainers; [ happysalada ];
29   };