nixpkgs/pkgs/development/python-modules/rq/default.nix
Jonathan Ringer a2ba14e6ff
python2Packages.rq: disable python2
```
  Processing ./rq-1.4.3-py2.py3-none-any.whl
  ERROR: Package 'rq' requires a different Python: 2.7.18 not in '>=3.4'
```
2020-08-15 17:32:06 -07:00

26 lines
688 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, isPy27, click, redis }:
buildPythonPackage rec {
pname = "rq";
version = "1.4.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "60509898c9ebc40e4155fde8bf88a204ed1914cc9e1cde3d19188b1c5bd5efbd";
};
# 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;
};
}