Merge pull request #33996 from pmahoney/acme-client

acme-client: init at 0.1.6

authored by Joachim F and committed by GitHub a85ad948 a1526e52

+40
+38
pkgs/tools/networking/acme-client/default.nix
··· 1 + { stdenv 2 + , apple_sdk ? null 3 + , cacert 4 + , defaultCaFile ? "${cacert}/etc/ssl/certs/ca-bundle.crt" 5 + , fetchurl 6 + , libbsd 7 + , libressl 8 + , pkgconfig 9 + }: 10 + 11 + with stdenv.lib; 12 + 13 + stdenv.mkDerivation rec { 14 + name = "acme-client-${version}"; 15 + version = "0.1.16"; 16 + 17 + src = fetchurl { 18 + url = "https://kristaps.bsd.lv/acme-client/snapshots/acme-client-portable-${version}.tgz"; 19 + sha256 = "00q05b3b1dfnfp7sr1nbd212n0mqrycl3cr9lbs51m7ncaihbrz9"; 20 + }; 21 + 22 + buildInputs = [ libbsd libressl pkgconfig ] 23 + ++ optional stdenv.isDarwin apple_sdk.sdk; 24 + 25 + CFLAGS = "-DDEFAULT_CA_FILE='\"${defaultCaFile}\"'"; 26 + 27 + preConfigure = '' 28 + export PREFIX="$out" 29 + ''; 30 + 31 + meta = { 32 + homepage = https://kristaps.bsd.lv/acme-client/; 33 + description = "Secure ACME/Let's Encrypt client"; 34 + platforms = platforms.unix; 35 + license = licenses.isc; 36 + maintainers = with maintainers; [ pmahoney ]; 37 + }; 38 + }
+2
pkgs/top-level/all-packages.nix
··· 431 431 432 432 aescrypt = callPackage ../tools/misc/aescrypt { }; 433 433 434 + acme-client = callPackage ../tools/networking/acme-client { inherit (darwin) apple_sdk; }; 435 + 434 436 afew = callPackage ../applications/networking/mailreaders/afew { pythonPackages = python3Packages; }; 435 437 436 438 afio = callPackage ../tools/archivers/afio { };