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.4.1";
14 format = "setuptools";
15 disabled = isPy27;
16
17 src = fetchFromGitHub {
18 owner = "rq";
19 repo = pname;
20 rev = "v${version}";
21 sha256 = "1dy3mhj60xlqy7f65zh80sqn6qywsp697r6yy3jcl5wmwizzhybr";
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 license = licenses.mit;
41 maintainers = with maintainers; [ hexa ];
42 };
43}