Commit 3627a1fe authored by Robert Schütz's avatar Robert Schütz
Browse files

python2Packages.certifi: remove

parent ff692673
Loading
Loading
Loading
Loading
+0 −34
Original line number Diff line number Diff line
{ lib
, fetchPypi
, buildPythonPackage
, python3
}:

let
  inherit (python3.pkgs) certifi;

in buildPythonPackage rec {
  pname = "certifi";
  version = "2019.11.28";

  src = fetchPypi {
    inherit pname version;
    sha256 = "25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f";
  };

  postPatch = ''
    cp ${certifi.src}/certifi/cacert.pem certifi/cacert.pem
  '';

  pythonImportsCheck = [ "certifi" ];

  # no tests implemented
  doCheck = false;

  meta = with lib; {
    homepage = "https://github.com/certifi/python-certifi";
    description = "Python package for providing Mozilla's CA Bundle";
    license = licenses.isc;
    maintainers = with maintainers; [ ]; # NixOps team
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -9,8 +9,6 @@ with self; with super; {

  bootstrapped-pip = toPythonModule (callPackage ../development/python2-modules/bootstrapped-pip { });

  certifi = callPackage ../development/python2-modules/certifi { };

  configparser = callPackage ../development/python2-modules/configparser { };

  contextlib2 = callPackage ../development/python2-modules/contextlib2 { };