16 stdenv.mkDerivation rec {
20 src = fetchFromGitHub {
21 owner = "acmesh-official";
23 rev = "refs/tags/${version}";
24 hash = "sha256-GJNaY5Dxis/x5bCvOPnIvJ4VrJkjjaaOFq68JYXxDf0=";
32 binPath = lib.makeBinPath [
40 (if stdenv.hostPlatform.isLinux then iproute2 else unixtools.netstat)
46 mkdir -p $out $out/bin $out/libexec
48 makeWrapper $out/libexec/acme.sh $out/bin/acme.sh \
49 --prefix PATH : "${binPath}"
55 homepage = "https://acme.sh/";
56 changelog = "https://github.com/acmesh-official/acme.sh/releases/tag/${version}";
57 description = "Pure Unix shell script implementing ACME client protocol";
59 An ACME Shell script: acme.sh
61 - An ACME protocol client written purely in Shell (Unix shell) language.
62 - Full ACME protocol implementation.
64 - Support SAN and wildcard certs
65 - Simple, powerful and very easy to use. You only need 3 minutes to learn it.
66 - Bash, dash and sh compatible.
67 - Purely written in Shell with no dependencies on python.
68 - Just one script to issue, renew and install your certificates automatically.
69 - DOES NOT require root/sudoer access.
72 - Cron job notifications for renewal or error etc.
74 license = licenses.gpl3Only;
75 maintainers = with lib.maintainers; [ mkaito ] ++ teams.serokell.members;
76 inherit (coreutils.meta) platforms;
77 mainProgram = "acme.sh";