nixpkgs/pkgs/tools/networking/acme-client/default.nix
2024-03-07 09:40:14 -05:00

41 lines
741 B
Nix

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