3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/acme-client/default.nix
Ruud van Asseldonk bdd706ccb2 acme-client: use source tarball to avoid autoreconf
This was suggested by the upstream maintainer [1], and it is a nice
simplification. Also change the url to sr.ht as the project has moved
there.

[1]: https://github.com/NixOS/nixpkgs/pull/88201#issuecomment-633260151
2020-05-24 23:11:56 +02:00

33 lines
749 B
Nix

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