Merge pull request #155043 from fabaff/bump-check_ssl_cert

checkSSLCert: 1.80.0 -> 2.19.0

authored by

Fabian Affolter and committed by
GitHub
e924bc68 5c48f3fd

+21 -14
+21 -14
pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix
··· 1 - { lib, stdenv, fetchFromGitHub, file, openssl, makeWrapper, which, curl, fetchpatch }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , file 5 + , openssl 6 + , makeWrapper 7 + , which 8 + , curl 9 + }: 2 10 3 11 stdenv.mkDerivation rec { 4 12 pname = "check_ssl_cert"; 5 - version = "1.80.0"; 13 + version = "2.19.0"; 6 14 7 15 src = fetchFromGitHub { 8 16 owner = "matteocorti"; 9 17 repo = "check_ssl_cert"; 10 18 rev = "v${version}"; 11 - sha256 = "1jkwii45hynil1jail9gmz4bak066rdi8zfcczicjsa6npbz50w4"; 19 + sha256 = "sha256-HNvchmP975k971EYpDFCqxx8w1Oq/IIEy+r1il0PjmQ="; 12 20 }; 13 21 14 - patches = [ 15 - # https://github.com/matteocorti/check_ssl_cert/pull/114 16 - (fetchpatch { 17 - url = "https://github.com/matteocorti/check_ssl_cert/commit/2b7aad583d507a70605dd44d918739a65b267bfd.patch"; 18 - sha256 = "1jk872jgm6k3qc1ks1h3v6p804spjlnxcj2wc8v0hkmwfwiwd2k4"; 19 - }) 22 + nativeBuildInputs = [ 23 + makeWrapper 20 24 ]; 21 25 22 - nativeBuildInputs = [ makeWrapper ]; 23 - 24 - makeFlags = [ "DESTDIR=$(out)/bin" "MANDIR=$(out)/share/man" ]; 26 + makeFlags = [ 27 + "DESTDIR=$(out)/bin" 28 + "MANDIR=$(out)/share/man" 29 + ]; 25 30 26 31 postInstall = '' 27 32 wrapProgram $out/bin/check_ssl_cert \ ··· 29 34 ''; 30 35 31 36 meta = with lib; { 32 - description = "A Nagios plugin to check the CA and validity of an X.509 certificate"; 33 - license = licenses.gpl3; 37 + description = "Nagios plugin to check the CA and validity of an X.509 certificate"; 38 + homepage = "https://github.com/matteocorti/check_ssl_cert"; 39 + license = licenses.gpl3Plus; 40 + maintainers = with maintainers; [ ]; 34 41 platforms = platforms.all; 35 42 }; 36 43 }