From d5ca07e16024b2696caa1e08019de670bd3307a9 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 16 Jun 2020 13:30:52 -0700 Subject: [PATCH] pythonPackages.astral: disable for python2 ``` Processing ./astral-2.2-py2-none-any.whl ERROR: Package 'astral' requires a different Python: 2.7.18 not in '>=3.6' ``` --- pkgs/development/python-modules/astral/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/astral/default.nix b/pkgs/development/python-modules/astral/default.nix index 11a29f5d37a..13c9932a128 100644 --- a/pkgs/development/python-modules/astral/default.nix +++ b/pkgs/development/python-modules/astral/default.nix @@ -1,8 +1,9 @@ -{ stdenv, buildPythonPackage, fetchPypi, pytz, requests, pytest }: +{ stdenv, buildPythonPackage, fetchPypi, isPy27, pytz, requests, pytest }: buildPythonPackage rec { pname = "astral"; version = "2.2"; + disabled = isPy27; src = fetchPypi { inherit pname version;