Merge pull request #153209 from AndersonTorres/new-acmesh

acme-sh: 3.0.0 -> 3.0.1

authored by Anderson Torres and committed by GitHub 8225c8fd 61d24cba

+78 -45
+77
pkgs/tools/admin/acme-sh/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , coreutils 5 + , curl 6 + , dnsutils 7 + , gnugrep 8 + , gnused 9 + , iproute2 10 + , makeWrapper 11 + , openssl 12 + , socat 13 + , unixtools 14 + }: 15 + 16 + stdenv.mkDerivation rec { 17 + pname = "acme.sh"; 18 + version = "3.0.1"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "acmesh-official"; 22 + repo = "acme.sh"; 23 + rev = version; 24 + sha256 = "sha256-CqgaE8SfMPEyr97t/yfh9FqvdRPWIQiu/jkWAvurUyQ="; 25 + }; 26 + 27 + nativeBuildInputs = [ 28 + makeWrapper 29 + ]; 30 + 31 + installPhase = let 32 + binPath = lib.makeBinPath [ 33 + coreutils 34 + curl 35 + dnsutils 36 + gnugrep 37 + gnused 38 + openssl 39 + socat 40 + (if stdenv.isLinux then iproute2 else unixtools.netstat) 41 + ]; 42 + in 43 + '' 44 + runHook preInstall 45 + 46 + mkdir -p $out $out/bin $out/libexec 47 + cp -R $src/* $_ 48 + makeWrapper $out/libexec/acme.sh $out/bin/acme.sh \ 49 + --prefix PATH : "${binPath}" 50 + 51 + runHook postInstall 52 + ''; 53 + 54 + meta = with lib; { 55 + homepage = "https://acme.sh/"; 56 + description = "A pure Unix shell script implementing ACME client protocol"; 57 + longDescription = '' 58 + An ACME Shell script: acme.sh 59 + 60 + - An ACME protocol client written purely in Shell (Unix shell) language. 61 + - Full ACME protocol implementation. 62 + - Support ECDSA certs 63 + - Support SAN and wildcard certs 64 + - Simple, powerful and very easy to use. You only need 3 minutes to learn it. 65 + - Bash, dash and sh compatible. 66 + - Purely written in Shell with no dependencies on python. 67 + - Just one script to issue, renew and install your certificates automatically. 68 + - DOES NOT require root/sudoer access. 69 + - Docker ready 70 + - IPv6 ready 71 + - Cron job notifications for renewal or error etc. 72 + ''; 73 + license = licenses.gpl3Only; 74 + maintainers = teams.serokell.members; 75 + inherit (coreutils.meta) platforms; 76 + }; 77 + }
-44
pkgs/tools/admin/acme.sh/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, makeWrapper, curl, openssl, socat, iproute2, 2 - unixtools, dnsutils, coreutils, gnugrep, gnused }: 3 - stdenv.mkDerivation rec { 4 - pname = "acme.sh"; 5 - version = "3.0.0"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "Neilpang"; 9 - repo = "acme.sh"; 10 - rev = version; 11 - sha256 = "sha256-KWSDAHzvNl8Iao13OV/ExRoKqkc9nouWim+bAN1V+Jo="; 12 - }; 13 - 14 - nativeBuildInputs = [ makeWrapper ]; 15 - 16 - installPhase = '' 17 - runHook preInstall 18 - 19 - mkdir -p $out $out/bin $out/libexec 20 - cp -R $src/* $_ 21 - makeWrapper $out/libexec/acme.sh $out/bin/acme.sh \ 22 - --prefix PATH : "${ 23 - lib.makeBinPath [ 24 - coreutils 25 - gnugrep 26 - gnused 27 - socat 28 - openssl 29 - curl 30 - dnsutils 31 - (if stdenv.isLinux then iproute2 else unixtools.netstat) 32 - ] 33 - }" 34 - 35 - runHook postInstall 36 - ''; 37 - 38 - meta = with lib; { 39 - description = "A pure Unix shell script implementing ACME client protocol"; 40 - homepage = "https://acme.sh/"; 41 - license = licenses.gpl3; 42 - maintainers = teams.serokell.members; 43 - }; 44 - }
···
+1 -1
pkgs/top-level/all-packages.nix
··· 858 859 accuraterip-checksum = callPackage ../tools/audio/accuraterip-checksum { }; 860 861 - acme-sh = callPackage ../tools/admin/acme.sh { }; 862 863 acousticbrainz-client = callPackage ../tools/audio/acousticbrainz-client { }; 864
··· 858 859 accuraterip-checksum = callPackage ../tools/audio/accuraterip-checksum { }; 860 861 + acme-sh = callPackage ../tools/admin/acme-sh { }; 862 863 acousticbrainz-client = callPackage ../tools/audio/acousticbrainz-client { }; 864