Merge pull request #238541 from NickCao/ansifilter

ansifilter: 2.19 -> 2.20
This commit is contained in:
Weijia Wang 2023-06-20 03:23:54 +03:00 committed by GitHub
commit f7918807ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,18 +2,17 @@
stdenv.mkDerivation rec {
pname = "ansifilter";
version = "2.19";
version = "2.20";
src = fetchurl {
url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2";
hash = "sha256-+cJ7GIORShsdSWX0xJsr5QLiqfyd0/YRI6vq6YnDVLw=";
hash = "sha256-Neydcaf05WATN5N8dzSzKm40bA8FT00xY3aCPP5nkGc=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ boost lua ];
postPatch = ''
substituteInPlace src/makefile --replace "CC=g++" "CC=c++"
# avoid timestamp non-determinism with '-n'
substituteInPlace makefile --replace 'gzip -9f' 'gzip -9nf'
'';