depot/third_party/nixpkgs/pkgs/development/python-modules/django-rq/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

44 lines
859 B
Nix

{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, django
, redis
, rq
, sentry-sdk
}:
buildPythonPackage rec {
pname = "django-rq";
version = "2.7.0";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rq";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-MUIwgG8GKL+V5GgiC7gZXn5tlSVrmTj/IFiP+hVB7Ks=";
};
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";
changelog = "https://github.com/rq/django-rq/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}