Merge pull request #310565 from annaleeleaves/pynvml-unvendor-versioner
python312Packages.pynvml: unvendor versioneer
This commit is contained in:
commit
6340bfba1b
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