My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/django-rq/default.nix

43 lines
775 B

{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, django
, redis
, rq
, sentry-sdk
}:
buildPythonPackage rec {
pname = "django-rq";
version = "2.5.1";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rq";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4oc3zco/j4lnAiooW87rU6xkzGSGCj3fIyikjiKQNZk=";
};
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 ];
};
}