summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2019-01-11 04:00:58 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2019-01-11 04:00:58 +0100
commit6ac4267ef3fac6ca0888134e1ff306aee2c1a476 (patch)
tree35b339b80c80af8f05581d66c5c8a636add77998 /pkgs/servers
parent56bd59253e80ae2e1ad2a8fe9a99309fbac1b021 (diff)
downloadnixpkgs-6ac4267ef3fac6ca0888134e1ff306aee2c1a476.tar
nixpkgs-6ac4267ef3fac6ca0888134e1ff306aee2c1a476.tar.gz
nixpkgs-6ac4267ef3fac6ca0888134e1ff306aee2c1a476.tar.bz2
nixpkgs-6ac4267ef3fac6ca0888134e1ff306aee2c1a476.tar.lz
nixpkgs-6ac4267ef3fac6ca0888134e1ff306aee2c1a476.tar.xz
nixpkgs-6ac4267ef3fac6ca0888134e1ff306aee2c1a476.tar.zst
nixpkgs-6ac4267ef3fac6ca0888134e1ff306aee2c1a476.zip
checkSSLCert: 1.79.0 -> 1.80.0, fix build (date impurity)
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix b/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix
index 5c5750fccc8..3d811c394cf 100644
--- a/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix
+++ b/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix
@@ -2,15 +2,20 @@
 
 stdenv.mkDerivation rec {
   name = "check_ssl_cert-${version}";
-  version = "1.79.0";
+  version = "1.80.0";
 
   src = fetchFromGitHub {
     owner = "matteocorti";
     repo = "check_ssl_cert";
     rev = "v${version}";
-    sha256 = "0pqk09xypa9vdxw5lbaa1j8w3mbmdwh2y1sq768rqq0izyfynf4d";
+    sha256 = "1jkwii45hynil1jail9gmz4bak066rdi8zfcczicjsa6npbz50w4";
   };
 
+  postPatch = ''
+    substituteInPlace Makefile \
+      --replace 'YEAR=`date +"%Y"`' 'YEAR=2018'
+  '';
+
   nativeBuildInputs = [ makeWrapper ];
 
   makeFlags = [ "DESTDIR=$(out)/bin" "MANDIR=$(out)/share/man" ];