python312Packages.pynvml: 11.5.0 -> 11.5.3
Diff: https://github.com/gpuopenanalytics/pynvml/compare/refs/tags/11.5.0...11.5.3
This commit is contained in:
committed by
Gaétan Lepage
parent
dcb2b8248a
commit
641e2640a7
@@ -4,7 +4,6 @@
|
||||
cudaPackages,
|
||||
fetchFromGitHub,
|
||||
substituteAll,
|
||||
pythonOlder,
|
||||
addDriverRunpath,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
@@ -14,15 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynvml";
|
||||
version = "11.5.0";
|
||||
version = "11.5.3";
|
||||
pyproject = true;
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gpuopenanalytics";
|
||||
repo = "pynvml";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-K3ZENjgi+TVDxr55dRK1y8SwzfgVIzcnD4oEI+KHRa4=";
|
||||
hash = "sha256-8NkYBRpcW3dvxVc6z17TMRPqA0YK/J/CdjuqgdcTdy8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -37,7 +35,7 @@ buildPythonPackage rec {
|
||||
rm versioneer.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
versioneer
|
||||
];
|
||||
@@ -59,10 +57,10 @@ buildPythonPackage rec {
|
||||
print(f"{pynvml.nvmlInit()=}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Python bindings for the NVIDIA Management Library";
|
||||
homepage = "https://github.com/gpuopenanalytics/pynvml";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.bcdarwin ];
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = [ lib.maintainers.bcdarwin ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user