2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl, which, diffutils, gnupatch, gnutar }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-03 17:38:23 +00:00
|
|
|
pname = "tla";
|
|
|
|
version = "1.3.5";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2020-05-03 17:38:23 +00:00
|
|
|
url = "https://ftp.gnu.org/old-gnu/gnu-arch/tla-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./configure-tmpdir.patch ];
|
|
|
|
|
2020-05-03 17:38:23 +00:00
|
|
|
buildInputs = [ which ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ diffutils gnupatch gnutar ];
|
2020-04-24 23:36:52 +00: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 = {
|
|
|
|
description = "GNU Arch (aka. `tla'), a distributed revision control system";
|
|
|
|
homepage = "https://www.gnu.org/software/gnu-arch/";
|
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|