From a2ba14e6ff964795cadd6d53b5606593fe079a1c Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sat, 15 Aug 2020 16:00:22 -0700 Subject: [PATCH] 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' ``` --- pkgs/development/python-modules/rq/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/rq/default.nix b/pkgs/development/python-modules/rq/default.nix index c59fac9c48c..23d8444c506 100644 --- a/pkgs/development/python-modules/rq/default.nix +++ b/pkgs/development/python-modules/rq/default.nix @@ -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;