2016-08-02 19:19:34 +00:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }:
|
2015-12-05 07:43:56 +00:00
|
|
|
|
2016-02-19 12:12:11 +00:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2017-02-20 11:47:46 +00:00
|
|
|
pname = "simp_le-client";
|
2017-04-23 00:43:04 +00:00
|
|
|
version = "0.2.0";
|
2017-02-20 11:47:46 +00:00
|
|
|
name = "${pname}-${version}";
|
2015-12-05 07:43:56 +00:00
|
|
|
|
2017-02-20 11:47:46 +00:00
|
|
|
src = pythonPackages.fetchPypi {
|
|
|
|
inherit pname version;
|
2017-04-23 00:43:04 +00:00
|
|
|
sha256 = "1zg18jfry9mvkri3yd2f5mwfsl27ac9zmnll3bm93jb91jhd6ssh";
|
2015-12-05 07:43:56 +00:00
|
|
|
};
|
|
|
|
|
2017-02-20 11:47:46 +00:00
|
|
|
checkPhase = ''
|
|
|
|
$out/bin/simp_le --test
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ acme setuptools_scm ];
|
2015-12-05 07:43:56 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/zenhack/simp_le;
|
2015-12-05 07:43:56 +00:00
|
|
|
description = "Simple Let's Encrypt client";
|
|
|
|
license = licenses.gpl3;
|
2016-01-15 00:28:52 +00:00
|
|
|
maintainers = with maintainers; [ gebner nckx ];
|
2015-12-05 07:43:56 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|