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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
746 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildPythonPackage, isPy27, click, redis }:
2019-06-24 17:21:06 +01:00
buildPythonPackage rec {
pname = "rq";
2021-12-07 16:35:08 +00:00
version = "1.10.1";
disabled = isPy27;
2019-06-24 17:21:06 +01:00
2020-08-29 15:18:23 +01:00
src = fetchFromGitHub {
owner = "rq";
repo = "rq";
rev = "v${version}";
2021-12-07 16:35:08 +00:00
sha256 = "1f4fi1rvn97d2b524q45k6s10b007pr23k0mf44q7hy8q4vnjmh5";
2019-06-24 17:21:06 +01:00
};
# test require a running redis rerver, which is something we can't do yet
doCheck = false;
2021-08-26 12:56:05 +01:00
pythonImportsCheck = [ "rq" ];
2019-06-24 17:21:06 +01:00
propagatedBuildInputs = [ click redis ];
meta = with lib; {
2019-06-24 17:21:06 +01: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;
};
}