fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
41 lines
807 B
Nix
41 lines
807 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|