1{ lib
2, buildPythonPackage
3, isPy27
4, fetchFromGitHub
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "certifi";
10 version = "2021.10.08";
11
12 disabled = isPy27;
13
14 src = fetchFromGitHub {
15 owner = pname;
16 repo = "python-certifi";
17 rev = version;
18 sha256 = "sha256-SFb/spVHK15b53ZG1P147DcTjs1dqR0+MBXzpE+CWpo=";
19 };
20
21 checkInputs = [
22 pytestCheckHook
23 ];
24
25 pythonImportsCheck = [ "certifi" ];
26
27 meta = with lib; {
28 homepage = "https://certifi.io/";
29 description = "Python package for providing Mozilla's CA Bundle";
30 license = licenses.isc;
31 maintainers = with maintainers; [ koral ];
32 };
33}