nixpkgs/pkgs/tools/networking/acme-client/default.nix
2022-05-28 17:03:57 +02:00

40 lines
709 B
Nix

{ lib
, stdenv
, fetchurl
, libbsd
, libressl
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "acme-client";
version = "1.3.0";
src = fetchurl {
url = "https://data.wolfsden.cz/sources/acme-client-${version}.tar.gz";
hash = "sha256-rIeWZSOT+nPzLf2mDtOkN/wmCGffG4H6PCQb2Vxbxxk=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libbsd
libressl
];
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = with lib; {
description = "Secure ACME/Let's Encrypt client";
homepage = "https://sr.ht/~graywolf/acme-client-portable/";
platforms = platforms.unix;
license = licenses.isc;
maintainers = with maintainers; [ pmahoney ];
};
}