Merge pull request #310565 from annaleeleaves/pynvml-unvendor-versioner

python312Packages.pynvml: unvendor versioneer
This commit is contained in:
Weijia Wang 2024-05-10 14:42:15 +02:00 committed by GitHub
commit 6340bfba1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,7 @@
, addOpenGLRunpath
, setuptools
, pytestCheckHook
, versioneer
}:
buildPythonPackage rec {
@ -28,8 +29,14 @@ buildPythonPackage rec {
})
];
# unvendor versioneer
postPatch = ''
rm versioneer.py
'';
nativeBuildInputs = [
setuptools
versioneer
];
pythonImportsCheck = [ "pynvml" "pynvml.smi" ];