ccache: 3.3.5 -> 3.4

This commit is contained in:
Timofei Kushnir
2018-03-01 15:36:27 +01:00
committed by Robin Gloster
parent 8a10de3749
commit c24c0d560d
3 changed files with 54 additions and 7 deletions
@@ -1,18 +1,23 @@
{ stdenv, fetchurl, fetchpatch, runCommand, zlib, makeWrapper }:
{ stdenv, fetchurl, fetchpatch, runCommand, perl, gcc, zlib, makeWrapper }:
let ccache = stdenv.mkDerivation rec {
name = "ccache-${version}";
version = "3.3.5";
version = "3.4";
src = fetchurl {
sha256 = "1iih5d171rq29366c1z90dri2h8173yyc8rm2740wxiqx6k7c18r";
sha256 = "0sfisvjs2iham29flxgmnfg7kzqz66bhk6q0qcwbdv1n569say5j";
url = "mirror://samba/ccache/${name}.tar.xz";
};
nativeBuildInputs = [ perl gcc ];
buildInputs = [ zlib ];
# non to be fail on filesystems with unconventional blocksizes (zfs on Hydra?)
patches = [ ./skip-fs-dependent-test.patch ];
patches = [
./fix-debug-prefix-map-suite.patch
./skip-fs-dependent-test.patch
];
postPatch = ''
substituteInPlace Makefile.in --replace 'objs) $(extra_libs)' 'objs)'