depot/third_party/nixpkgs/pkgs/development/python-modules/rq/default.nix
Default email eefb417d14 Project import generated by Copybara.
GitOrigin-RevId: a52e974cff8fb80c427e0d55c01b3b8c770ccec4
2020-11-06 01:33:48 +01:00

27 lines
721 B
Nix

{ stdenv, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
buildPythonPackage rec {
pname = "rq";
version = "1.5.2";
disabled = isPy27;
src = fetchFromGitHub {
owner = "rq";
repo = "rq";
rev = "v${version}";
sha256 = "0ikqmpq0g1qiqwd7ar1286l4hqjb6aj2wr844gihhb8ijzwhp8va";
};
# 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;
};
}