about summary refs log tree commit diff
path: root/pkgs/development/python-modules/dogtag-pki/default.nix
blob: f2077050314fb6579b1bbb34d9c445d859c67efb (plain) (blame)
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
{
  stdenv,
  lib,
  fetchPypi,
  buildPythonPackage,
  cryptography,
  python-ldap,
  requests,
  six,
}:

buildPythonPackage rec {
  pname = "dogtag-pki";
  version = "11.2.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-rQSnQPNYr5SyeNbKoFAbnGb2X/8utrfWLa8gu93hy2w=";
  };

  buildInputs = [
    cryptography
    python-ldap
  ];
  pythonImportsCheck = [ "pki" ];
  propagatedBuildInputs = [
    requests
    six
  ];

  meta = with lib; {
    description = "Enterprise-class Certificate Authority";
    homepage = "https://github.com/dogtagpki/pki";
    license = licenses.gpl2;
    maintainers = with maintainers; [ s1341 ];
  };
}