mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
0498ccd076
HTTP -> HTTPS for : - http://gnu.org/ - http://www.gnu.org/ - http://elpa.gnu.org/ - http://lists.gnu.org/ - http://gcc.gnu.org/ - http://ftp.gnu.org/ (except in fetchurl mirrors) - http://bugs.gnu.org/
31 lines
782 B
Nix
31 lines
782 B
Nix
{ stdenv, fetchurl, which, diffutils, gnupatch, gnutar }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "tla-1.3.5";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://ftp.gnu.org/old-gnu/gnu-arch/" + name + ".tar.gz";
|
|
sha256 = "01mfzj1i6p4s8191cgd5850hds1zls88hkf9rb6qx1vqjv585aj0";
|
|
};
|
|
|
|
patches = [ ./configure-tmpdir.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";
|
|
homepage = https://www.gnu.org/software/gnu-arch/;
|
|
license = "GPL";
|
|
};
|
|
}
|