2016-08-02 21:19:34 +02:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }:
|
2015-12-05 08:43:56 +01:00
|
|
|
|
2016-02-19 13:12:11 +01:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2017-02-20 12:47:46 +01:00
|
|
|
pname = "simp_le-client";
|
2017-11-16 18:12:10 +01:00
|
|
|
version = "0.6.1";
|
2017-02-20 12:47:46 +01:00
|
|
|
name = "${pname}-${version}";
|
2015-12-05 08:43:56 +01:00
|
|
|
|
2017-02-20 12:47:46 +01:00
|
|
|
src = pythonPackages.fetchPypi {
|
|
|
|
inherit pname version;
|
2017-11-16 18:12:10 +01:00
|
|
|
sha256 = "0x4fky9jizs3xi55cdy217cvm3ikpghiabysan71b07ackkdfj6k";
|
2015-12-05 08:43:56 +01:00
|
|
|
};
|
|
|
|
|
2017-02-20 12:47:46 +01:00
|
|
|
checkPhase = ''
|
|
|
|
$out/bin/simp_le --test
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ acme setuptools_scm ];
|
2015-12-05 08:43:56 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://github.com/zenhack/simp_le;
|
2015-12-05 08:43:56 +01:00
|
|
|
description = "Simple Let's Encrypt client";
|
|
|
|
license = licenses.gpl3;
|
2018-01-16 22:59:13 +01:00
|
|
|
maintainers = with maintainers; [ gebner ];
|
2015-12-05 08:43:56 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|