python3Packages.pip-system-certs: init at 4.0

This commit is contained in:
Tony Zorman 2024-04-06 07:25:52 +02:00
parent 855607aa20
commit abd1c832fd
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ 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 ];
};
}

View File

@ -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 {