Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
907 B
Nix
48 lines
907 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
which,
|
|
diffutils,
|
|
gnupatch,
|
|
gnutar,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tla";
|
|
version = "1.3.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://ftp.gnu.org/old-gnu/gnu-arch/tla-${version}.tar.gz";
|
|
sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0";
|
|
};
|
|
|
|
patches = [
|
|
./configure-tmpdir.patch
|
|
./fix-gcc14.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";
|
|
mainProgram = "tla";
|
|
homepage = "https://www.gnu.org/software/gnu-arch/";
|
|
license = lib.licenses.gpl2Plus;
|
|
};
|
|
}
|