lol

Add GNU Arch (tla).

svn path=/nixpkgs/trunk/; revision=10714

+44
+11
pkgs/applications/version-management/arch/configure-tmpdir.patch
··· 1 + --- tla-1.3.5/src/build-tools/auto-conf-lib/gnu-patch-test 2006-07-20 08:34:28.000000000 +0200 2 + +++ tla-1.3.5/src/build-tools/auto-conf-lib/gnu-patch-test 2008-02-17 13:00:07.000000000 +0100 3 + @@ -27,7 +27,7 @@ else 4 + fi 5 + 6 + CMP='cmp' # we require a working 'cmp' utility 7 + -TMPDIR="/tmp/,patch-test.$$" 8 + +TMPDIR="${TMPDIR:-/tmp}/,patch-test.$$" 9 + 10 + ORIG_A="$TMPDIR/to-patch_a" 11 + ORIG_PRISTINE_A="$TMPDIR/to-patch_a.the-original"
+29
pkgs/applications/version-management/arch/default.nix
··· 1 + args: with args; 2 + 3 + stdenv.mkDerivation rec { 4 + name = "tla-1.3.5"; 5 + src = fetchurl { 6 + url = "mirror://gnu/gnu-arch/" + name + ".tar.gz"; 7 + sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0"; 8 + }; 9 + 10 + patches = [ ./configure-tmpdir.patch ]; 11 + 12 + buildInputs = [which]; 13 + propagatedBuildInputs = [diffutils gnupatch gnutar]; 14 + 15 + # Instead of GNU Autoconf, tla uses Tom Lord's now 16 + # defunct `package-framework'. 17 + buildPhase = '' 18 + mkdir +build && cd +build && \ 19 + ../src/configure --prefix="$out" && \ 20 + make install 21 + ''; 22 + 23 + meta = { 24 + description = ''GNU Arch (aka. `tla'), a distributed revision 25 + control system.''; 26 + homepage = http://www.gnu.org/software/gnu-arch/; 27 + license = "GPL"; 28 + }; 29 + }
+4
pkgs/top-level/all-packages.nix
··· 5263 5263 inherit fetchurl stdenv alsaLib; 5264 5264 }; 5265 5265 5266 + tla = import ../applications/version-management/arch { 5267 + inherit fetchurl stdenv diffutils gnutar gnupatch which; 5268 + }; 5269 + 5266 5270 unison = import ../applications/networking/sync/unison { 5267 5271 inherit fetchurl stdenv ocaml lablgtk makeWrapper; 5268 5272 inherit (xorg) xset fontschumachermisc;