nixpkgs/pkgs/tools/admin/simp_le/default.nix
jeaye ae878851f2
simp_le: 0.1.1 -> 0.2.0
The release is here:
https://github.com/zenhack/simp_le/releases/tag/0.2.0

This is needed, since the existing package is broken. See this
https://github.com/kuba/simp_le/issues/120 for reference.
2017-04-22 17:46:35 -07:00

26 lines
697 B
Nix

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