4 , bind # host and dig binary
5 , coreutils # date and timeout binary
18 stdenv.mkDerivation rec {
19 pname = "check_ssl_cert";
22 src = fetchFromGitHub {
23 owner = "matteocorti";
24 repo = "check_ssl_cert";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-6C6shxu9ze0ffx6Mg2K9TkqJl98Wz7loTcCptg92IY8=";
35 "MANDIR=$(out)/share/man"
39 wrapProgram $out/bin/check_ssl_cert \
40 --prefix PATH : "${lib.makeBinPath ([ openssl file which curl bc coreutils bind nmap netcat-gnu python3 ] ++ lib.optional stdenv.isLinux iproute2) }"
44 description = "Nagios plugin to check the CA and validity of an X.509 certificate";
45 mainProgram = "check_ssl_cert";
46 homepage = "https://github.com/matteocorti/check_ssl_cert";
47 changelog = "https://github.com/matteocorti/check_ssl_cert/releases/tag/v${version}";
48 license = licenses.gpl3Plus;
49 maintainers = with maintainers; [ fab ];
50 platforms = platforms.all;