pythonPackages.certifi: does not support python2

Support was officially dropped in
5efdd48f71

(cherry picked from commit 7748af9fff7867dc7c413c762b36793537b6cf47)
This commit is contained in:
Robert Schütz 2021-06-20 15:23:25 +02:00
parent 2cd7bc6b9e
commit e5ecc9fbfd

View File

@ -1,5 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, isPy27
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
}: }:
@ -8,6 +9,8 @@ buildPythonPackage rec {
pname = "certifi"; pname = "certifi";
version = "2021.05.30"; version = "2021.05.30";
disabled = isPy27;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = "python-certifi"; repo = "python-certifi";