python310Packages.django-celery-results: Fix build

The `tests_require` value violates setuptools' expectations.

error in django_celery_results setup command: 'tests_require' must be a
string or list of strings containing valid project/version requirement
specifiers; Expected end or semicolon (after name and no valid version
specifier)
This commit is contained in:
Martin Weinelt 2023-03-02 02:47:42 +01:00
parent 7e757df663
commit 7c611f6ae1

View File

@ -18,6 +18,11 @@ buildPythonPackage rec {
hash = "sha256-dapRlw21aRy/JCxqD/UMjN9BniZc0Om3cjNdBkNsS5k=";
};
postPatch = ''
# Drop malformatted tests_require specification
sed -i '/tests_require=/d' setup.py
'';
propagatedBuildInputs = [
celery
django