python3.pkgs.multiset: relax setuptools-scm dependency
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, wheel
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
@@ -16,9 +18,13 @@ buildPythonPackage rec {
|
||||
hash = "sha256-5FZxyug4Wo5iSKmwejqDKAwtDMQxJxMFjPus3F7Jlz4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
patches = [
|
||||
# https://github.com/wheerd/multiset/pull/115
|
||||
(fetchpatch {
|
||||
name = "relax-setuptools-scm-dependency.patch";
|
||||
url = "https://github.com/wheerd/multiset/commit/296187b07691c94b783f65504afc580a355abd96.patch";
|
||||
hash = "sha256-vnZR1cyM/2/JfbLuVOxJuC9oMVVVploUHpbzagmo+AE=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
@@ -26,6 +32,12 @@ buildPythonPackage rec {
|
||||
sed -i '/python_requires/d' setup.cfg
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"multiset"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user