python312Packages.pynvml: unvendor versioneer
This commit is contained in:
parent
adc41e1e3e
commit
e5267bdb13
1 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
, addOpenGLRunpath
|
, addOpenGLRunpath
|
||||||
, setuptools
|
, setuptools
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, versioneer
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -28,8 +29,14 @@ buildPythonPackage rec {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# unvendor versioneer
|
||||||
|
postPatch = ''
|
||||||
|
rm versioneer.py
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
|
versioneer
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pynvml" "pynvml.smi" ];
|
pythonImportsCheck = [ "pynvml" "pynvml.smi" ];
|
||||||
|
|
Loading…
Reference in a new issue