mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
python3Packages.django-rq: init at 2.4.1
This commit is contained in:
parent
e75571d888
commit
c9881f424e
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 {
|
||||
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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user