forked from mirrors/nixpkgs
ansifilter: 2.19 -> 2.20
Diff: https://gitlab.com/saalen/ansifilter/-/compare/2.19...2.20
This commit is contained in:
parent
b7c478e7da
commit
8a7056caa1
|
@ -2,18 +2,17 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ansifilter";
|
pname = "ansifilter";
|
||||||
version = "2.19";
|
version = "2.20";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2";
|
url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2";
|
||||||
hash = "sha256-+cJ7GIORShsdSWX0xJsr5QLiqfyd0/YRI6vq6YnDVLw=";
|
hash = "sha256-Neydcaf05WATN5N8dzSzKm40bA8FT00xY3aCPP5nkGc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ boost lua ];
|
buildInputs = [ boost lua ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/makefile --replace "CC=g++" "CC=c++"
|
|
||||||
# avoid timestamp non-determinism with '-n'
|
# avoid timestamp non-determinism with '-n'
|
||||||
substituteInPlace makefile --replace 'gzip -9f' 'gzip -9nf'
|
substituteInPlace makefile --replace 'gzip -9f' 'gzip -9nf'
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue