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'
```
This commit is contained in:
Jonathan Ringer 2020-08-15 16:00:22 -07:00
parent a627278e13
commit a2ba14e6ff
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0

View file

@ -1,8 +1,9 @@
{ stdenv, fetchPypi, buildPythonPackage, click, redis }:
{ stdenv, fetchPypi, buildPythonPackage, isPy27, click, redis }:
buildPythonPackage rec {
pname = "rq";
version = "1.4.3";
disabled = isPy27;
src = fetchPypi {
inherit pname version;