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