2010-07-28 12:55:54 +01:00
|
|
|
{ stdenv, fetchurl, which, diffutils, gnupatch, gnutar }:
|
2008-02-17 13:44:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tla-1.3.5";
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2008-02-17 13:44:30 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/gnu-arch/" + name + ".tar.gz";
|
|
|
|
sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./configure-tmpdir.patch ];
|
|
|
|
|
|
|
|
buildInputs = [which];
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2008-02-17 13:44:30 +00:00
|
|
|
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 = {
|
2009-03-03 13:27:40 +00:00
|
|
|
description = "GNU Arch (aka. `tla'), a distributed revision control system";
|
2008-02-17 13:44:30 +00:00
|
|
|
homepage = http://www.gnu.org/software/gnu-arch/;
|
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|