nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 40 lines 844 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 celery, 6 django, 7}: 8 9buildPythonPackage rec { 10 pname = "django-celery-results"; 11 version = "2.6.0"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 pname = "django_celery_results"; 16 inherit version; 17 hash = "sha256-mrzYNq5rYQY3eSRNiIeoj+gLv6uhQ98208sHA0ZxJ3w="; 18 }; 19 20 postPatch = '' 21 # Drop malformatted tests_require specification 22 sed -i '/tests_require=/d' setup.py 23 ''; 24 25 propagatedBuildInputs = [ 26 celery 27 django 28 ]; 29 30 # Tests need access to a database. 31 doCheck = false; 32 33 meta = { 34 description = "Celery result back end with django"; 35 homepage = "https://github.com/celery/django-celery-results"; 36 changelog = "https://github.com/celery/django-celery-results/blob/v${version}/Changelog"; 37 license = lib.licenses.bsd3; 38 maintainers = [ ]; 39 }; 40}