mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
ae878851f2
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.
27 lines
697 B
Nix
27 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;
|
|
};
|
|
}
|