Commit 641e2640 authored by Gaetan Lepage's avatar Gaetan Lepage Committed by Gaétan Lepage
Browse files

python312Packages.pynvml: 11.5.0 -> 11.5.3

parent dcb2b824
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -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 ];
  };
}