8 buildPythonPackage rec {
9 pname = "nvidia-ml-py";
10 version = "12.535.133";
11 format = "setuptools";
14 inherit pname version;
16 hash = "sha256-sVWa8NV90glVv1jQWv/3sWbd1ElH6zBRyZBWOHmesdw=";
21 src = ./0001-locate-libnvidia-ml.so.1-on-NixOS.patch;
22 inherit (addOpenGLRunpath) driverLink;
29 pythonImportsCheck = [ "pynvml" ];
32 description = "Python Bindings for the NVIDIA Management Library";
33 homepage = "https://pypi.org/project/nvidia-ml-py";
34 license = lib.licenses.bsd3;
35 platforms = [ "x86_64-linux" ];
36 maintainers = with lib.maintainers; [ GaetanLepage ];