depot/third_party/nixpkgs/pkgs/development/python-modules/pip-system-certs/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}