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
1 changed files with 7 additions and 11 deletions

View File

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