depot/third_party/nixpkgs/pkgs/tools/networking/acme-client/default.nix
Default email d0d8e8fc71 Project import generated by Copybara.
GitOrigin-RevId: d3f7e969b9860fb80750147aeb56dab1c730e756
2021-03-23 19:22:30 +00:00

32 lines
748 B
Nix

{ lib, stdenv
, fetchurl
, apple_sdk ? null
, libbsd
, libressl
, pkg-config
}:
with lib;
stdenv.mkDerivation rec {
pname = "acme-client";
version = "1.2.0";
src = fetchurl {
url = "https://data.wolfsden.cz/sources/acme-client-${version}.tar.xz";
sha256 = "sha256-fRSYwQmyV0WapjUJNG0UGO/tUDNTGUraj/BWq/a1QTo=";
};
nativeBuildInputs = [ pkg-config ];
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 ];
};
}