diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-02-12 13:32:37 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-02-12 13:32:37 +0000 |
commit | 79cc1c73076af0b531fb9713d71744f5052c5943 (patch) | |
tree | 24563800e64c1c51f7280f7700d8fa4597c760fa | |
parent | 6e489f88145c0af43b18898591599e2b6bf39cfb (diff) |
Add ccache, a compiler cache.
svn path=/nixpkgs/trunk/; revision=10644
-rw-r--r-- | pkgs/development/tools/misc/ccache/default.nix | 15 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/ccache/default.nix b/pkgs/development/tools/misc/ccache/default.nix new file mode 100644 index 0000000000000..8342dfcc728d6 --- /dev/null +++ b/pkgs/development/tools/misc/ccache/default.nix @@ -0,0 +1,15 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "ccache-2.4"; + src = fetchurl { + url = http://samba.org/ftp/ccache/ccache-2.4.tar.gz; + sha256 = "435f862ca5168c346f5aa9e242174bbf19a5abcaeecfceeac2f194558827aaa0"; + }; + + meta = { + description = "ccache, a tool that caches compilation results."; + homepage = http://ccache.samba.org/; + license = "GPL"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a98ebeb7a6082..c2f9c0010fc42 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1731,6 +1731,10 @@ rec { inherit fetchurl stdenv m4; }; + ccache = import ../development/tools/misc/ccache { + inherit fetchurl stdenv; + }; + ctags = import ../development/tools/misc/ctags { inherit fetchurl stdenv; }; |