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 {
|
2020-04-25 02:13:43 +02:00
|
|
|
pname = "tla";
|
|
|
|
version = "1.3.5";
|
|
|
|
|
2008-02-17 14:44:30 +01:00
|
|
|
src = fetchurl {
|
2020-04-25 02:13:43 +02:00
|
|
|
url = "https://ftp.gnu.org/old-gnu/gnu-arch/tla-${version}.tar.gz";
|
2008-02-17 14:44:30 +01:00
|
|
|
sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./configure-tmpdir.patch ];
|
|
|
|
|
2020-04-25 02:13:43 +02:00
|
|
|
buildInputs = [ which ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ diffutils gnupatch gnutar ];
|
2008-02-17 14:44:30 +01:00
|
|
|
|
|
|
|
# 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";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "tla";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.gnu.org/software/gnu-arch/";
|
2008-02-17 14:44:30 +01:00
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|