2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-06-18 07:06:33 +00:00
|
|
|
, fetchurl
|
2020-04-24 23:36:52 +00:00
|
|
|
, libbsd
|
|
|
|
, libressl
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
with lib;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "acme-client";
|
2021-03-23 19:22:30 +00:00
|
|
|
version = "1.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://data.wolfsden.cz/sources/acme-client-${version}.tar.xz";
|
2021-03-23 19:22:30 +00:00
|
|
|
sha256 = "sha256-fRSYwQmyV0WapjUJNG0UGO/tUDNTGUraj/BWq/a1QTo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2021-06-04 09:07:49 +00:00
|
|
|
buildInputs = [ libbsd libressl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
meta = {
|
2020-06-18 07:06:33 +00:00
|
|
|
homepage = "https://sr.ht/~graywolf/acme-client-portable/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Secure ACME/Let's Encrypt client";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = with maintainers; [ pmahoney ];
|
|
|
|
};
|
|
|
|
}
|