diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-02-17 13:44:30 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-02-17 13:44:30 +0000 |
commit | 4d86923c627ffef73f8f01bfd52d9cac4f5deed6 (patch) | |
tree | cdbbbaf04425df47db6fe0db711d2b3e8cdbfe20 /pkgs/applications/version-management/arch/default.nix | |
parent | 3e7da325821cc2bc26802ea8b3587a924d8e06ef (diff) |
Add GNU Arch (tla).
svn path=/nixpkgs/trunk/; revision=10714
Diffstat (limited to 'pkgs/applications/version-management/arch/default.nix')
-rw-r--r-- | pkgs/applications/version-management/arch/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/arch/default.nix b/pkgs/applications/version-management/arch/default.nix new file mode 100644 index 0000000000000..0a54eabd59539 --- /dev/null +++ b/pkgs/applications/version-management/arch/default.nix @@ -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"; + }; +} |