Merge pull request #88201 from ruuda/acme-client-1.0

acme-client: 0.2.5 -> 1.0.1
This commit is contained in:
Lassulus 2020-06-16 21:09:29 +02:00 committed by GitHub
commit c56895bb91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,5 @@
{ stdenv
, fetchFromGitHub
, autoreconfHook
, bison
, fetchurl
, apple_sdk ? null
, libbsd
, libressl
@ -12,22 +10,20 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "acme-client";
version = "0.2.5";
version = "1.0.1";
src = fetchFromGitHub {
owner = "graywolf";
repo = "acme-client-portable";
rev = "v${version}";
sha256 = "1d9yk87nj5gizkq26m4wqfh4xhlrn5xlfj7mfgvrpsdiwibqxrrw";
src = fetchurl {
url = "https://data.wolfsden.cz/sources/acme-client-${version}.tar.xz";
sha256 = "0gmdvmyw8a61w08hrxllypf7rpnqg0fxipbk3zmvsxj7m5i6iysj";
};
nativeBuildInputs = [ autoreconfHook bison pkgconfig ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libbsd libressl ] ++ optional stdenv.isDarwin apple_sdk.sdk;
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = {
homepage = "https://github.com/graywolf/acme-client-portable";
homepage = "https://sr.ht/~graywolf/acme-client-portable/";
description = "Secure ACME/Let's Encrypt client";
platforms = platforms.unix;
license = licenses.isc;