2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
|
2019-06-24 16:21:06 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rq";
|
2021-03-24 17:41:55 +00:00
|
|
|
version = "1.7.0";
|
2020-08-15 23:00:22 +00:00
|
|
|
disabled = isPy27;
|
2019-06-24 16:21:06 +00:00
|
|
|
|
2020-08-29 14:18:23 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rq";
|
|
|
|
repo = "rq";
|
|
|
|
rev = "v${version}";
|
2021-03-24 17:41:55 +00:00
|
|
|
sha256 = "1i7cbcrzqx52immwy8h5ps7x46sqfk9r2lgwjf01nv9mkc3ab8cj";
|
2019-06-24 16:21:06 +00: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 16:21:06 +00: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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|