1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools-scm,
6 wheel,
7 git-versioner,
8 wrapt,
9}:
10
11buildPythonPackage rec {
12 pname = "pip-system-certs";
13 version = "4.0";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit version;
18 pname = "pip_system_certs";
19 hash = "sha256-245qMTiNl5XskTmVffGon6UnT7ZhZEVv0JGl0+lMNQw=";
20 };
21
22 nativeBuildInputs = [
23 setuptools-scm
24 wheel
25 git-versioner
26 ];
27
28 propagatedBuildInputs = [ wrapt ];
29
30 pythonImportsCheck = [
31 "pip_system_certs.wrapt_requests"
32 "pip_system_certs.bootstrap"
33 ];
34
35 meta = with lib; {
36 description = "Live patches pip and requests to use system certs by default";
37 homepage = "https://gitlab.com/alelec/pip-system-certs";
38 license = licenses.bsd2;
39 maintainers = with maintainers; [ slotThe ];
40 };
41}