Add GNU Arch (tla).
svn path=/nixpkgs/trunk/; revision=10714
This commit is contained in:
parent
3e7da32582
commit
4d86923c62
@ -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"
|
29
pkgs/applications/version-management/arch/default.nix
Normal file
29
pkgs/applications/version-management/arch/default.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
@ -5263,6 +5263,10 @@ rec {
|
|||||||
inherit fetchurl stdenv alsaLib;
|
inherit fetchurl stdenv alsaLib;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
tla = import ../applications/version-management/arch {
|
||||||
|
inherit fetchurl stdenv diffutils gnutar gnupatch which;
|
||||||
|
};
|
||||||
|
|
||||||
unison = import ../applications/networking/sync/unison {
|
unison = import ../applications/networking/sync/unison {
|
||||||
inherit fetchurl stdenv ocaml lablgtk makeWrapper;
|
inherit fetchurl stdenv ocaml lablgtk makeWrapper;
|
||||||
inherit (xorg) xset fontschumachermisc;
|
inherit (xorg) xset fontschumachermisc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user