Merge pull request #146007 from kira-bruneau/ccache

ccache: 4.4.2 → 4.5
This commit is contained in:
Ryan Burns 2021-11-14 12:06:25 -08:00 committed by GitHub
commit 9ef49d13de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,17 +10,18 @@
, bashInteractive , bashInteractive
, xcodebuild , xcodebuild
, makeWrapper , makeWrapper
, nix-update-script
}: }:
let ccache = stdenv.mkDerivation rec { let ccache = stdenv.mkDerivation rec {
pname = "ccache"; pname = "ccache";
version = "4.4.2"; version = "4.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-VtwykRX5so6LqyC0En/Jx7anXD7qW47zqq3awCY0lJE="; hash = "sha256-RRQso5j249PinoWznix4x4/NURe3TrwYlKOF4q8dc5U=";
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
@ -109,6 +110,10 @@ let ccache = stdenv.mkDerivation rec {
}; };
}; };
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; { meta = with lib; {
description = "Compiler cache for fast recompilation of C/C++ code"; description = "Compiler cache for fast recompilation of C/C++ code";
homepage = "https://ccache.dev"; homepage = "https://ccache.dev";