nixpkgs-suyu/pkgs/tools/admin/simp_le/default.nix

27 lines
690 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }:
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}";
2017-02-20 12:47:46 +01:00
src = pythonPackages.fetchPypi {
inherit pname version;
2017-11-16 18:12:10 +01:00
sha256 = "0x4fky9jizs3xi55cdy217cvm3ikpghiabysan71b07ackkdfj6k";
};
2017-02-20 12:47:46 +01:00
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 ];
platforms = platforms.all;
};
}