mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
Merge pull request #310565 from annaleeleaves/pynvml-unvendor-versioner
python312Packages.pynvml: unvendor versioneer
This commit is contained in:
commit
6340bfba1b
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user