python3Packages.django-rq: init at 2.4.1
This commit is contained in:
parent
e75571d888
commit
c9881f424e
3 changed files with 47 additions and 2 deletions
43
pkgs/development/python-modules/django-rq/default.nix
Normal file
43
pkgs/development/python-modules/django-rq/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "svgwrite";
|
pname = "svgwrite";
|
||||||
version = "1.4";
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mozman";
|
owner = "mozman";
|
||||||
repo = "svgwrite";
|
repo = "svgwrite";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "15xjz5b4dw1sg3a5k4wmzky4h5v1n937id8vl6hha1a2xj42z2s5";
|
sha256 = "sha256-d//ZUFb5yj51uD1fb6yJJROaQ2MLyfA3Pa84TblqLNk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# svgwrite requires Python 3.6 or newer
|
# svgwrite requires Python 3.6 or newer
|
||||||
|
|
|
@ -2183,6 +2183,8 @@ in {
|
||||||
|
|
||||||
django-rest-auth = callPackage ../development/python-modules/django-rest-auth { };
|
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 = callPackage ../development/python-modules/djangorestframework { };
|
||||||
|
|
||||||
djangorestframework-simplejwt = callPackage ../development/python-modules/djangorestframework-simplejwt { };
|
djangorestframework-simplejwt = callPackage ../development/python-modules/djangorestframework-simplejwt { };
|
||||||
|
|
Loading…
Reference in a new issue