1{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }:
2
3pythonPackages.buildPythonApplication rec {
4 name = "simp_le-2016-04-17";
5
6 src = fetchFromGitHub {
7 owner = "kuba";
8 repo = "simp_le";
9 rev = "3a103b76f933f9aef782a47401dd2eff5057a6f7";
10 sha256 = "0x8gqazn09m30bn1l7xnf8snhbb7yz7sb09imciqmm4jqdvn797z";
11 };
12
13 patches = [
14 (fetchpatch {
15 url = "https://github.com/kuba/simp_le/commit/4bc788fdd611c4118c3f86b5f546779723aca5a7.patch";
16 sha256 = "0036p11qn3plydv5s5z6i28r6ihy1ipjl0y8la0izpkiq273byfc";
17 })
18 ];
19
20 propagatedBuildInputs = with pythonPackages; [ acme_0_5_0 ];
21
22 meta = with stdenv.lib; {
23 inherit (src.meta) homepage;
24 description = "Simple Let's Encrypt client";
25 license = licenses.gpl3;
26 maintainers = with maintainers; [ gebner nckx ];
27 platforms = platforms.all;
28 };
29}