summary refs log tree commit diff
path: root/pkgs/development/tools/misc/ccache
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-25 20:08:34 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-25 20:08:34 +0100
commitac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6 (patch)
tree2cd413d35a58a8320b2adfac534652619d2bbcfd /pkgs/development/tools/misc/ccache
parent9fb8020e4ec2e74e39a8f28dfb3ef18a70bd1eef (diff)
downloadnixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.gz
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.bz2
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.lz
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.xz
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.zst
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.zip
More version attribute tidying where maintainers |= nckx
Diffstat (limited to 'pkgs/development/tools/misc/ccache')
-rw-r--r--pkgs/development/tools/misc/ccache/default.nix12
1 files changed, 3 insertions, 9 deletions
diff --git a/pkgs/development/tools/misc/ccache/default.nix b/pkgs/development/tools/misc/ccache/default.nix
index 29fe621d676..4a278e052fa 100644
--- a/pkgs/development/tools/misc/ccache/default.nix
+++ b/pkgs/development/tools/misc/ccache/default.nix
@@ -1,15 +1,11 @@
 { stdenv, fetchurl, fetchpatch, runCommand, gcc, zlib }:
 
-let
+let ccache = stdenv.mkDerivation rec {
   name = "ccache-${version}";
   version = "3.2.4";
-  sha256 = "0pga3hvd80f2p7mz88jmmbwzxh4vn5ihyjx5f6na8y2fclzsjg8w";
 
-  ccache =
-stdenv.mkDerivation {
-  inherit name;
   src = fetchurl {
-    inherit sha256;
+    sha256 = "0pga3hvd80f2p7mz88jmmbwzxh4vn5ihyjx5f6na8y2fclzsjg8w";
     url = "mirror://samba/ccache/${name}.tar.xz";
   };
 
@@ -65,7 +61,6 @@ stdenv.mkDerivation {
   };
 
   meta = with stdenv.lib; {
-    inherit version;
     description = "Compiler cache for fast recompilation of C/C++ code";
     homepage = http://ccache.samba.org/;
     downloadPage = https://ccache.samba.org/download.html;
@@ -73,5 +68,4 @@ stdenv.mkDerivation {
     maintainers = with maintainers; [ nckx ];
   };
 };
-in
-ccache
+in ccache