1{ lib 2, buildPythonPackage 3, fetchPypi 4, xmltodict 5}: 6 7buildPythonPackage rec { 8 pname = "py3nvml"; 9 version = "0.2.7"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-Ce4dBFmKbmZOJEZfgEzjv+EZpv21Ni3xwWj4qpKfvXM="; 15 }; 16 17 propagatedBuildInputs = [ 18 xmltodict 19 ]; 20 21 pythonImportsCheck = [ "py3nvml" ]; 22 23 meta = with lib; { 24 description = "Python 3 Bindings for the NVIDIA Management Library"; 25 homepage = "https://pypi.org/project/py3nvml/"; 26 license = with licenses; [ bsd3 bsd2 ]; 27 maintainers = with maintainers; [ happysalada ]; 28 }; 29}