1{ lib, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
2
3buildPythonPackage rec {
4 pname = "rq";
5 version = "1.10";
6 disabled = isPy27;
7
8 src = fetchFromGitHub {
9 owner = "rq";
10 repo = "rq";
11 rev = "v${version}";
12 sha256 = "16k5qz5k3v232dzv99bxxw52jr2hb5ra08b6dkhqya98wjviq8l5";
13 };
14
15 # test require a running redis rerver, which is something we can't do yet
16 doCheck = false;
17
18 pythonImportsCheck = [ "rq" ];
19
20 propagatedBuildInputs = [ click redis ];
21
22 meta = with lib; {
23 description = "A simple, lightweight library for creating background jobs, and processing them";
24 homepage = "https://github.com/nvie/rq/";
25 maintainers = with maintainers; [ mrmebelman ];
26 license = licenses.bsd2;
27 };
28}
29