1{
2 lib,
3 stdenv,
4 fetchurl,
5 libbsd,
6 libressl,
7 pkg-config,
8}:
9
10stdenv.mkDerivation rec {
11 pname = "acme-client";
12 version = "1.3.3";
13
14 src = fetchurl {
15 url = "https://data.wolfsden.cz/sources/acme-client-${version}.tar.gz";
16 hash = "sha256-HJOk2vlDD7ADrLdf/eLEp+teu9XN0KrghEe6y4FIDoI=";
17 };
18
19 nativeBuildInputs = [
20 pkg-config
21 ];
22
23 buildInputs = [
24 libbsd
25 libressl
26 ];
27
28 makeFlags = [
29 "PREFIX=${placeholder "out"}"
30 ];
31
32 meta = with lib; {
33 description = "Secure ACME/Let's Encrypt client";
34 homepage = "https://git.wolfsden.cz/acme-client-portable";
35 platforms = platforms.unix;
36 license = licenses.isc;
37 maintainers = with maintainers; [ pmahoney ];
38 mainProgram = "acme-client";
39 };
40}