Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 859 B view raw
1{ lib 2, buildPythonPackage 3, isPy27 4, fetchFromGitHub 5, django 6, redis 7, rq 8, sentry-sdk 9}: 10 11buildPythonPackage rec { 12 pname = "django-rq"; 13 version = "2.8.1"; 14 format = "setuptools"; 15 disabled = isPy27; 16 17 src = fetchFromGitHub { 18 owner = "rq"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 hash = "sha256-Rabw6FIoSg9Cj4+tRO3BmBAeo9yr8KwU5xTPFL0JkOs="; 22 }; 23 24 propagatedBuildInputs = [ 25 django 26 redis 27 rq 28 sentry-sdk 29 ]; 30 31 pythonImportsCheck = [ 32 "django_rq" 33 ]; 34 35 doCheck = false; # require redis-server 36 37 meta = with lib; { 38 description = "Simple app that provides django integration for RQ (Redis Queue)"; 39 homepage = "https://github.com/rq/django-rq"; 40 changelog = "https://github.com/rq/django-rq/releases/tag/v${version}"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ hexa ]; 43 }; 44}