2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
|
2019-06-24 17:21:06 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rq";
|
2020-11-07 05:53:33 +00:00
|
|
|
version = "1.5.2";
|
2020-08-16 00:00:22 +01:00
|
|
|
disabled = isPy27;
|
2019-06-24 17:21:06 +01:00
|
|
|
|
2020-08-29 15:18:23 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rq";
|
|
|
|
repo = "rq";
|
|
|
|
rev = "v${version}";
|
2020-11-07 05:53:33 +00:00
|
|
|
sha256 = "0ikqmpq0g1qiqwd7ar1286l4hqjb6aj2wr844gihhb8ijzwhp8va";
|
2019-06-24 17:21:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# test require a running redis rerver, which is something we can't do yet
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ click redis ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-06-24 17:21:06 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|