Loading pkgs/servers/monitoring/nagios-plugins/check_ssl_cert/default.nix +40 −25 Original line number Diff line number Diff line { lib , stdenv , bc , bind # host and dig binary , coreutils # date and timeout binary , curl , fetchFromGitHub , file , iproute2 , makeWrapper , netcat-gnu , nmap , openssl , python3 , which { bc, bind, coreutils, curl, fetchFromGitHub, file, iproute2, lib, makeWrapper, netcat-gnu, nmap, openssl, python3, stdenv, which, }: stdenv.mkDerivation rec { Loading @@ -26,9 +27,7 @@ stdenv.mkDerivation rec { hash = "sha256-HVif2pjVumrf2YFSHbNiL9pfXy8XNeXHRgaIlx/Tzds="; }; nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ]; makeFlags = [ "DESTDIR=$(out)/bin" Loading @@ -37,16 +36,32 @@ stdenv.mkDerivation rec { postInstall = '' wrapProgram $out/bin/check_ssl_cert \ --prefix PATH : "${lib.makeBinPath ([ openssl file which curl bc coreutils bind nmap netcat-gnu python3 ] ++ lib.optional stdenv.hostPlatform.isLinux iproute2) }" --prefix PATH : "${ lib.makeBinPath ( [ bc bind # host and dig binary coreutils # date and timeout binary curl file netcat-gnu nmap openssl python3 which ] ++ lib.optional stdenv.hostPlatform.isLinux iproute2 ) }" ''; meta = with lib; { meta = { changelog = "https://github.com/matteocorti/check_ssl_cert/releases/tag/v${version}"; description = "Nagios plugin to check the CA and validity of an X.509 certificate"; mainProgram = "check_ssl_cert"; homepage = "https://github.com/matteocorti/check_ssl_cert"; changelog = "https://github.com/matteocorti/check_ssl_cert/releases/tag/v${version}"; license = licenses.gpl3Plus; maintainers = with maintainers; [ fab ]; platforms = platforms.all; license = lib.licenses.gpl3Plus; mainProgram = "check_ssl_cert"; maintainers = with lib.maintainers; [ fab ]; platforms = lib.platforms.all; }; } Loading
pkgs/servers/monitoring/nagios-plugins/check_ssl_cert/default.nix +40 −25 Original line number Diff line number Diff line { lib , stdenv , bc , bind # host and dig binary , coreutils # date and timeout binary , curl , fetchFromGitHub , file , iproute2 , makeWrapper , netcat-gnu , nmap , openssl , python3 , which { bc, bind, coreutils, curl, fetchFromGitHub, file, iproute2, lib, makeWrapper, netcat-gnu, nmap, openssl, python3, stdenv, which, }: stdenv.mkDerivation rec { Loading @@ -26,9 +27,7 @@ stdenv.mkDerivation rec { hash = "sha256-HVif2pjVumrf2YFSHbNiL9pfXy8XNeXHRgaIlx/Tzds="; }; nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ]; makeFlags = [ "DESTDIR=$(out)/bin" Loading @@ -37,16 +36,32 @@ stdenv.mkDerivation rec { postInstall = '' wrapProgram $out/bin/check_ssl_cert \ --prefix PATH : "${lib.makeBinPath ([ openssl file which curl bc coreutils bind nmap netcat-gnu python3 ] ++ lib.optional stdenv.hostPlatform.isLinux iproute2) }" --prefix PATH : "${ lib.makeBinPath ( [ bc bind # host and dig binary coreutils # date and timeout binary curl file netcat-gnu nmap openssl python3 which ] ++ lib.optional stdenv.hostPlatform.isLinux iproute2 ) }" ''; meta = with lib; { meta = { changelog = "https://github.com/matteocorti/check_ssl_cert/releases/tag/v${version}"; description = "Nagios plugin to check the CA and validity of an X.509 certificate"; mainProgram = "check_ssl_cert"; homepage = "https://github.com/matteocorti/check_ssl_cert"; changelog = "https://github.com/matteocorti/check_ssl_cert/releases/tag/v${version}"; license = licenses.gpl3Plus; maintainers = with maintainers; [ fab ]; platforms = platforms.all; license = lib.licenses.gpl3Plus; mainProgram = "check_ssl_cert"; maintainers = with lib.maintainers; [ fab ]; platforms = lib.platforms.all; }; }