nixpkgs/pkgs/development/python-modules/rq/default.nix

28 lines
711 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
2019-06-24 16:21:06 +00:00
buildPythonPackage rec {
pname = "rq";
2021-06-19 01:39:13 +00:00
version = "1.8.1";
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-06-19 01:39:13 +00:00
sha256 = "1lfv3sb27v5xw3y67lirp877gg9230d28qmykxipvhcqwzqc2dqb";
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 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;
};
}