3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/arch/default.nix
Eelco Dolstra 6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00

31 lines
768 B
Nix

{ stdenv, fetchurl, which, diffutils, gnupatch, gnutar }:
stdenv.mkDerivation rec {
name = "tla-1.3.5";
src = fetchurl {
url = "mirror://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 = http://www.gnu.org/software/gnu-arch/;
license = "GPL";
};
}