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