summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pip-system-certs/default.nix
blob: 038f20a48ea517e14e08902f3aedcb6194d86e97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools-scm,
  git-versioner,
  pip,
}:

buildPythonPackage rec {
  pname = "pip-system-certs";
  version = "5.3";
  pyproject = true;

  src = fetchPypi {
    inherit version;
    pname = "pip_system_certs";
    hash = "sha256-Gci/mVe8zn1pxNvC0LLvE94ZhNU/UKWQEubbutCvZ8Y=";
  };

  build-system = [
    setuptools-scm
    git-versioner
  ];

  dependencies = [ pip ];

  pythonImportsCheck = [
    "pip_system_certs.wrapt_requests"
    "pip_system_certs.bootstrap"
  ];

  meta = {
    description = "Live patches pip and requests to use system certs by default";
    homepage = "https://gitlab.com/alelec/pip-system-certs";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ slotThe ];
  };
}