2017-02-10 07:55:07 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2021-06-20 13:23:25 +00:00
|
|
|
, isPy27
|
2021-06-04 08:57:32 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
2017-02-10 07:55:07 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "certifi";
|
2021-06-04 08:57:32 +00:00
|
|
|
version = "2021.05.30";
|
2017-02-10 07:55:07 +00:00
|
|
|
|
2021-06-20 13:23:25 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
2021-06-04 08:57:32 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = "python-certifi";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1i4ljsc47iac6kl1w4w6x0qia08s9z394z9lbyzc05pm7y8a3cmj";
|
2017-02-10 07:55:07 +00:00
|
|
|
};
|
|
|
|
|
2021-06-04 08:57:32 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-04-29 14:43:45 +00:00
|
|
|
|
2021-06-04 08:57:32 +00:00
|
|
|
pythonImportsCheck = [ "certifi" ];
|
2020-04-29 14:43:45 +00:00
|
|
|
|
2021-06-04 08:54:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 15:00:35 +00:00
|
|
|
homepage = "https://certifi.io/";
|
2017-02-10 07:55:07 +00:00
|
|
|
description = "Python package for providing Mozilla's CA Bundle";
|
2021-06-04 08:54:31 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
2017-02-10 07:55:07 +00:00
|
|
|
};
|
2018-12-02 13:27:22 +00:00
|
|
|
}
|