summary refs log tree commit diff
path: root/pkgs/tools/admin/simp_le/default.nix
blob: 91656eb0c554a1bc62efefa72f78f95ffcdec68b (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
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }:
 
pythonPackages.buildPythonApplication rec {
  pname = "simp_le-client";
  version = "0.8.0";

  src = pythonPackages.fetchPypi {
    inherit pname version;
    sha256 = "0nv9mm99rm8i9flgfgwvmajbsxb5rm162nfxlq3wk66bbbyr6y1i";
  };

  checkPhase = ''
    $out/bin/simp_le --test
  '';

  propagatedBuildInputs = with pythonPackages; [ acme setuptools_scm josepy ];

  meta = with stdenv.lib; {
    homepage = https://github.com/zenhack/simp_le;
    description = "Simple Let's Encrypt client";
    license = licenses.gpl3;
    maintainers = with maintainers; [ gebner makefu ];
    platforms = platforms.all;
  };
}