depot/third_party/nixpkgs/pkgs/tools/networking/acme-client/default.nix

40 lines
709 B
Nix
Raw Normal View History

{ 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 ];
};
}