python3Packages.django-rq: init at 2.4.1

This commit is contained in:
Martin Weinelt 2021-10-11 23:35:57 +02:00
parent e75571d888
commit c9881f424e
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
3 changed files with 47 additions and 2 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, django
, redis
, rq
, sentry-sdk
}:
buildPythonPackage rec {
pname = "django-rq";
version = "2.4.1";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rq";
repo = pname;
rev = "v${version}";
sha256 = "1dy3mhj60xlqy7f65zh80sqn6qywsp697r6yy3jcl5wmwizzhybr";
};
propagatedBuildInputs = [
django
redis
rq
sentry-sdk
];
pythonImportsCheck = [
"django_rq"
];
doCheck = false; # require redis-server
meta = with lib; {
description = "Simple app that provides django integration for RQ (Redis Queue)";
homepage = "https://github.com/rq/django-rq";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "svgwrite";
version = "1.4";
version = "1.4.1";
src = fetchFromGitHub {
owner = "mozman";
repo = "svgwrite";
rev = "v${version}";
sha256 = "15xjz5b4dw1sg3a5k4wmzky4h5v1n937id8vl6hha1a2xj42z2s5";
sha256 = "sha256-d//ZUFb5yj51uD1fb6yJJROaQ2MLyfA3Pa84TblqLNk=";
};
# svgwrite requires Python 3.6 or newer

View file

@ -2183,6 +2183,8 @@ in {
django-rest-auth = callPackage ../development/python-modules/django-rest-auth { };
django-rq = callPackage ../development/python-modules/django-rq { };
djangorestframework = callPackage ../development/python-modules/djangorestframework { };
djangorestframework-simplejwt = callPackage ../development/python-modules/djangorestframework-simplejwt { };