5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
43 lines
805 B
Nix
43 lines
805 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 ];
|
|
};
|
|
|
|
}
|