Commit abd1c832 authored by Tony Zorman's avatar Tony Zorman
Browse files

python3Packages.pip-system-certs: init at 4.0

parent 855607aa
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, wheel
, git-versioner
, wrapt
}:

buildPythonPackage rec {
  pname = "pip-system-certs";
  version = "4.0";
  pyproject = true;

  src = fetchPypi {
    inherit version;
    pname = "pip_system_certs";
    hash = "sha256-245qMTiNl5XskTmVffGon6UnT7ZhZEVv0JGl0+lMNQw=";
  };

  nativeBuildInputs = [
    setuptools-scm
    wheel
    git-versioner
  ];

  propagatedBuildInputs = [
    wrapt
  ];

  pythonImportsCheck = [
    "pip_system_certs.wrapt_requests"
    "pip_system_certs.bootstrap"
  ];

  meta = with lib; {
    description = "Live patches pip and requests to use system certs by default";
    homepage = "https://gitlab.com/alelec/pip-system-certs";
    license = licenses.bsd2;
    maintainers = with maintainers; [ slotThe ];
  };

}
+2 −0
Original line number Diff line number Diff line
@@ -9739,6 +9739,8 @@ self: super: with self; {
  pip-requirements-parser = callPackage ../development/python-modules/pip-requirements-parser { };
  pip-system-certs = callPackage ../development/python-modules/pip-system-certs { };
  pipx = callPackage ../development/python-modules/pipx { };
  pivy = callPackage ../development/python-modules/pivy {