summary refs log tree commit diff
path: root/pkgs/tools/admin/simp_le/default.nix
blob: 24bfe043b9d7830a9d40434cc43adfb85c6a5344 (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
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }:

pythonPackages.buildPythonApplication rec {
  name = "simp_le-2016-04-17";

  src = fetchFromGitHub {
    owner = "kuba";
    repo = "simp_le";
    rev = "3a103b76f933f9aef782a47401dd2eff5057a6f7";
    sha256 = "0x8gqazn09m30bn1l7xnf8snhbb7yz7sb09imciqmm4jqdvn797z";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/kuba/simp_le/commit/4bc788fdd611c4118c3f86b5f546779723aca5a7.patch";
      sha256 = "0036p11qn3plydv5s5z6i28r6ihy1ipjl0y8la0izpkiq273byfc";
    })
  ];

  propagatedBuildInputs = with pythonPackages; [ acme_0_5_0 ];

  meta = with stdenv.lib; {
    inherit (src.meta) homepage;
    description = "Simple Let's Encrypt client";
    license = licenses.gpl3;
    maintainers = with maintainers; [ gebner nckx ];
    platforms = platforms.all;
  };
}