3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/simp_le/default.nix

27 lines
697 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }:
pythonPackages.buildPythonApplication rec {
2017-02-20 11:47:46 +00:00
pname = "simp_le-client";
version = "0.2.0";
2017-02-20 11:47:46 +00:00
name = "${pname}-${version}";
2017-02-20 11:47:46 +00:00
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "1zg18jfry9mvkri3yd2f5mwfsl27ac9zmnll3bm93jb91jhd6ssh";
};
2017-02-20 11:47:46 +00:00
checkPhase = ''
$out/bin/simp_le --test
'';
propagatedBuildInputs = with pythonPackages; [ acme setuptools_scm ];
meta = with stdenv.lib; {
2017-02-20 15:06:17 +00:00
homepage = "https://github.com/zenhack/simp_le";
description = "Simple Let's Encrypt client";
license = licenses.gpl3;
maintainers = with maintainers; [ gebner nckx ];
platforms = platforms.all;
};
}