Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / django-rq / default.nix
blob4d4a63aeb6245b1fd8a0760c3a6cb31d7336a1c8
1 { lib
2 , buildPythonPackage
3 , isPy27
4 , fetchFromGitHub
5 , django
6 , redis
7 , rq
8 , sentry-sdk
9 }:
11 buildPythonPackage rec {
12   pname = "django-rq";
13   version = "2.10.1";
14   format = "setuptools";
15   disabled = isPy27;
17   src = fetchFromGitHub {
18     owner = "rq";
19     repo = pname;
20     rev = "refs/tags/v${version}";
21     hash = "sha256-VE4OFFpNR9txCyhs6Ye36DBWb8DNlCT1BO436KwFMY8=";
22   };
24   propagatedBuildInputs = [
25     django
26     redis
27     rq
28     sentry-sdk
29   ];
31   pythonImportsCheck = [
32     "django_rq"
33   ];
35   doCheck = false; # require redis-server
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   };