Revert "check_ssl_cert: init at 1.51.0 (#28069)"
This reverts commit 1db52734ad19aeea18f30f54a6f543f5b0cd1764.
This commit is contained in:
parent
1db52734ad
commit
cbca75b8c9
@ -1,33 +0,0 @@
|
|||||||
{ pkgs, openssl }:
|
|
||||||
#with import <nixpkgs> {};
|
|
||||||
with pkgs;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "check_ssl_cert-${version}";
|
|
||||||
version = "1.51.0";
|
|
||||||
|
|
||||||
src = fetchgit {
|
|
||||||
url = https://github.com/matteocorti/check_ssl_cert;
|
|
||||||
rev = "4e31a82008a48cd6efb82914e0bb1e136b339a31"; # v1.51.0
|
|
||||||
sha256 = "1x1lcxxgzvjznn1iyla4hmc02c0vqdbzvd8xj61niknm02q07lcf";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ makeWrapper file ];
|
|
||||||
#nativeBuildInputs = [ makeWrapper ];
|
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
mkdir -p $out/man
|
|
||||||
cp check_ssl_cert $out/bin
|
|
||||||
cp check_ssl_cert.1 $out/man1
|
|
||||||
wrapProgram $out/bin/check_ssl_cert \
|
|
||||||
--prefix PATH : "${openssl}/bin:${file}/bin"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A Nagios plugin to check the CA and validity of an X.509 certificate";
|
|
||||||
license = stdenv.lib.licenses.gpl3;
|
|
||||||
};
|
|
||||||
}
|
|
@ -11361,8 +11361,6 @@ with pkgs;
|
|||||||
|
|
||||||
nagiosPluginsOfficial = callPackage ../servers/monitoring/nagios/plugins/official-2.x.nix { };
|
nagiosPluginsOfficial = callPackage ../servers/monitoring/nagios/plugins/official-2.x.nix { };
|
||||||
|
|
||||||
checkSSLCert = callPackage ../servers/monitoring/nagios/plugins/check_ssl_cert.nix { };
|
|
||||||
|
|
||||||
neo4j = callPackage ../servers/nosql/neo4j { };
|
neo4j = callPackage ../servers/nosql/neo4j { };
|
||||||
|
|
||||||
net_snmp = callPackage ../servers/monitoring/net-snmp {
|
net_snmp = callPackage ../servers/monitoring/net-snmp {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user