checkSSLCert: 1.79.0 -> 1.80.0, fix build (date impurity)
This commit is contained in:
parent
56bd59253e
commit
6ac4267ef3
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user