1{ lib
2, fetchPypi
3, buildPythonPackage
4, python3
5}:
6
7let
8 inherit (python3.pkgs) certifi;
9
10in buildPythonPackage rec {
11 pname = "certifi";
12 version = "2019.11.28";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f";
17 };
18
19 postPatch = ''
20 cp ${certifi.src}/certifi/cacert.pem certifi/cacert.pem
21 '';
22
23 pythonImportsCheck = [ "certifi" ];
24
25 # no tests implemented
26 doCheck = false;
27
28 meta = with lib; {
29 homepage = "https://github.com/certifi/python-certifi";
30 description = "Python package for providing Mozilla's CA Bundle";
31 license = licenses.isc;
32 maintainers = with maintainers; [ ]; # NixOps team
33 };
34}