diff --git a/pkgs/development/python-modules/django-celery-results/default.nix b/pkgs/development/python-modules/django-celery-results/default.nix index 1cb4b0f3b81f..2b2fe06de614 100644 --- a/pkgs/development/python-modules/django-celery-results/default.nix +++ b/pkgs/development/python-modules/django-celery-results/default.nix @@ -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