diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/acme-client/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/acme-client/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/networking/acme-client/default.nix b/nixpkgs/pkgs/tools/networking/acme-client/default.nix new file mode 100644 index 000000000000..00f8778cafd5 --- /dev/null +++ b/nixpkgs/pkgs/tools/networking/acme-client/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, fetchurl +, apple_sdk ? null +, libbsd +, libressl +, pkgconfig +}: + +with stdenv.lib; + +stdenv.mkDerivation rec { + pname = "acme-client"; + version = "1.0.1"; + + src = fetchurl { + url = "https://data.wolfsden.cz/sources/acme-client-${version}.tar.xz"; + sha256 = "0gmdvmyw8a61w08hrxllypf7rpnqg0fxipbk3zmvsxj7m5i6iysj"; + }; + + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ libbsd libressl ] ++ optional stdenv.isDarwin apple_sdk.sdk; + + makeFlags = [ "PREFIX=${placeholder "out"}" ]; + + meta = { + homepage = "https://sr.ht/~graywolf/acme-client-portable/"; + description = "Secure ACME/Let's Encrypt client"; + platforms = platforms.unix; + license = licenses.isc; + maintainers = with maintainers; [ pmahoney ]; + }; +} |