summaryrefslogtreecommitdiff
path: root/pkgs/sentinel/certgen/default.nix
blob: 3818b9bcf2790c91877ee58ee549c00db8eadcf7 (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
{ buildPythonApplication, lib, fetchgit
, python3
, crypto-wrapper
}:

buildPythonApplication rec {
  pname = "sentinel-certgen";
  version = "6.2";
  meta = with lib; {
    homepage = "https://gitlab.nic.cz/turris/sentinel/certgen";
    description = "Sentinel automated passwords and certificates retrieval";
    license = licenses.gpl3;
  };

  src = fetchgit {
    url = "https://gitlab.nic.cz/turris/sentinel/certgen.git";
    rev = "v" + version;
    sha256 = "10ii3j3wqdib7m2fc0w599981mv9q3ahj96q4kyrn5sh18v2c7nb";
  };

  propagatedBuildInputs = with python3.pkgs; [
    crypto-wrapper
    six requests cryptography
  ];
}