ccache: 4.4 → 4.4.1

This commit is contained in:
Kira Bruneau 2021-09-11 09:06:32 -04:00
parent 96e5548dfe
commit 2902a7921b

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, substituteAll
, binutils
, asciidoctor
@ -14,18 +15,25 @@
let ccache = stdenv.mkDerivation rec {
pname = "ccache";
version = "4.4";
version = "4.4.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-ZewR1srksfKCxehhAg3i8m+0OvmOSF+24njbtcc1GQY=";
hash = "sha256-zsJoaaxYVV78vsxq2nbOh9ZAU1giKp8Kh6qJFL120CQ=";
};
outputs = [ "out" "man" ];
patches = [
# Use the shell builtin pwd for the basedir test
# See https://github.com/ccache/ccache/pull/933
(fetchpatch {
url = "https://github.com/ccache/ccache/commit/58fd1fbe75a1b5dc3f9151947ace15164fdef91c.patch";
sha256 = "BoBn4YSDy8pQxJ+fQHSsrUZDBVeLFWXIQ6CunDwMO7o=";
})
# When building for Darwin, test/run uses dwarfdump, whereas on
# Linux it uses objdump. We don't have dwarfdump packaged for
# Darwin, so this patch updates the test to also use objdump on