From e5ecc9fbfd3e169cce346523aeb895bfd7177997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 20 Jun 2021 15:23:25 +0200 Subject: [PATCH] pythonPackages.certifi: does not support python2 Support was officially dropped in https://github.com/certifi/python-certifi/commit/5efdd48f719d9c3c7c8f9a812da2256d088eab78 (cherry picked from commit 7748af9fff7867dc7c413c762b36793537b6cf47) --- pkgs/development/python-modules/certifi/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/certifi/default.nix b/pkgs/development/python-modules/certifi/default.nix index d0ae968b0be..e21719245c8 100644 --- a/pkgs/development/python-modules/certifi/default.nix +++ b/pkgs/development/python-modules/certifi/default.nix @@ -1,5 +1,6 @@ { lib , buildPythonPackage +, isPy27 , fetchFromGitHub , pytestCheckHook }: @@ -8,6 +9,8 @@ buildPythonPackage rec { pname = "certifi"; version = "2021.05.30"; + disabled = isPy27; + src = fetchFromGitHub { owner = pname; repo = "python-certifi";