From 5e7e5e5d41cf3f140531d9957ec7c7647bca32d8 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Sun, 14 Nov 2021 19:09:50 +0000 Subject: [PATCH] =?UTF-8?q?ccache:=204.4.2=20=E2=86=92=204.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/tools/misc/ccache/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/ccache/default.nix b/pkgs/development/tools/misc/ccache/default.nix index 357a46c081c5..6e6f71b6fbea 100644 --- a/pkgs/development/tools/misc/ccache/default.nix +++ b/pkgs/development/tools/misc/ccache/default.nix @@ -10,17 +10,18 @@ , bashInteractive , xcodebuild , makeWrapper +, nix-update-script }: let ccache = stdenv.mkDerivation rec { pname = "ccache"; - version = "4.4.2"; + version = "4.5"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - hash = "sha256-VtwykRX5so6LqyC0En/Jx7anXD7qW47zqq3awCY0lJE="; + hash = "sha256-RRQso5j249PinoWznix4x4/NURe3TrwYlKOF4q8dc5U="; }; outputs = [ "out" "man" ]; @@ -109,6 +110,10 @@ let ccache = stdenv.mkDerivation rec { }; }; + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + meta = with lib; { description = "Compiler cache for fast recompilation of C/C++ code"; homepage = "https://ccache.dev";