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