checkSSLCert: 1.79.0 -> 1.80.0, fix build (date impurity)

This commit is contained in:
Franz Pletz 2019-01-11 04:00:58 +01:00
parent 56bd59253e
commit 6ac4267ef3
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -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" ];