88abffb7d2
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
29 lines
744 B
Nix
29 lines
744 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rq";
|
|
version = "1.10";
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rq";
|
|
repo = "rq";
|
|
rev = "v${version}";
|
|
sha256 = "16k5qz5k3v232dzv99bxxw52jr2hb5ra08b6dkhqya98wjviq8l5";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|
|
|