2020-08-29 14:18:23 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
|
2019-06-24 16:21:06 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rq";
|
2020-08-29 14:18:23 +00:00
|
|
|
version = "1.5.1";
|
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}";
|
|
|
|
sha256 = "0i7yyw828wdvl7ap4gb7jhm4p94502is3xxrgrdgwwp0l1rac004";
|
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 ];
|
|
|
|
|
|
|
|
meta = with stdenv.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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|