depot/third_party/nixpkgs/pkgs/development/python-modules/rq/default.nix
Default email 58849dfc4f Project import generated by Copybara.
GitOrigin-RevId: 21c937f8cb1e6adcfeb36dfd6c90d9d9bfab1d28
2021-08-27 16:25:00 +02:00

29 lines
745 B
Nix

{ lib, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
buildPythonPackage rec {
pname = "rq";
version = "1.9.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rq";
repo = "rq";
rev = "v${version}";
sha256 = "1drw7yqgsk1z9alv4hwj44a3sggmr20msdzdcdaxzdcqgb3qdpk8";
};
# test require a running redis rerver, which is something we can't do yet
doCheck = false;
pythonImportsCheck = [ "rq" ];
propagatedBuildInputs = [ click redis ];
meta = with lib; {
description = "A simple, lightweight library for creating background jobs, and processing them";
homepage = "https://github.com/nvie/rq/";
maintainers = with maintainers; [ mrmebelman ];
license = licenses.bsd2;
};
}