1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Add GNU Arch (tla).

svn path=/nixpkgs/trunk/; revision=10714
This commit is contained in:
Ludovic Courtès 2008-02-17 13:44:30 +00:00
parent 3e7da32582
commit 4d86923c62
3 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- tla-1.3.5/src/build-tools/auto-conf-lib/gnu-patch-test 2006-07-20 08:34:28.000000000 +0200
+++ tla-1.3.5/src/build-tools/auto-conf-lib/gnu-patch-test 2008-02-17 13:00:07.000000000 +0100
@@ -27,7 +27,7 @@ else
fi
CMP='cmp' # we require a working 'cmp' utility
-TMPDIR="/tmp/,patch-test.$$"
+TMPDIR="${TMPDIR:-/tmp}/,patch-test.$$"
ORIG_A="$TMPDIR/to-patch_a"
ORIG_PRISTINE_A="$TMPDIR/to-patch_a.the-original"

View file

@ -0,0 +1,29 @@
args: with args;
stdenv.mkDerivation rec {
name = "tla-1.3.5";
src = fetchurl {
url = "mirror://gnu/gnu-arch/" + name + ".tar.gz";
sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0";
};
patches = [ ./configure-tmpdir.patch ];
buildInputs = [which];
propagatedBuildInputs = [diffutils gnupatch gnutar];
# Instead of GNU Autoconf, tla uses Tom Lord's now
# defunct `package-framework'.
buildPhase = ''
mkdir +build && cd +build && \
../src/configure --prefix="$out" && \
make install
'';
meta = {
description = ''GNU Arch (aka. `tla'), a distributed revision
control system.'';
homepage = http://www.gnu.org/software/gnu-arch/;
license = "GPL";
};
}

View file

@ -5263,6 +5263,10 @@ rec {
inherit fetchurl stdenv alsaLib;
};
tla = import ../applications/version-management/arch {
inherit fetchurl stdenv diffutils gnutar gnupatch which;
};
unison = import ../applications/networking/sync/unison {
inherit fetchurl stdenv ocaml lablgtk makeWrapper;
inherit (xorg) xset fontschumachermisc;