nixpkgs/pkgs/applications/version-management/arch/default.nix
Eelco Dolstra fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00

29 lines
721 B
Nix

args: with args;
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";
};
}