2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2021-06-28 23:13:55 +00:00
|
|
|
, isPy27
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "certifi";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "2021.05.30";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = "python-certifi";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1i4ljsc47iac6kl1w4w6x0qia08s9z394z9lbyzc05pm7y8a3cmj";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
pythonImportsCheck = [ "certifi" ];
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
2020-05-03 17:38:23 +00:00
|
|
|
homepage = "https://certifi.io/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Python package for providing Mozilla's CA Bundle";
|
2021-06-28 23:13:55 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ koral ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|