python312Packages.pynvml: unvendor versioneer

This commit is contained in:
annalee 2024-05-10 11:55:11 +00:00
parent adc41e1e3e
commit e5267bdb13
No known key found for this signature in database

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" ];