nixpkgs/pkgs/development/interpreters/maude/unstable.nix
Peter Simons a16eebd0a6 Cosmetic, no functional change intended.
This patch moves curly braces to the end of the line, i.e.

  foo = { 
    ...
  };

instead of the previously used style:

  foo = 
  { 
    ...
  };

I commit this change hoping that my contributions to this project now conform
to the rules described in maintainers/docs/coding-conventions.txt so that the
self-appointed indention sheriff of the NixOS community can finally get off my
back and rest assured knowing that all i's are dotted and all t's are crossed.

svn path=/nixpkgs/trunk/; revision=12386
2008-07-18 20:11:25 +00:00

39 lines
1.4 KiB
Nix

{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, libsigsegv, gmp }:
stdenv.mkDerivation rec {
name = "maude-2.4-alpha-91";
meta = {
homepage = "http://maude.cs.uiuc.edu/";
description = "Maude -- a high-level specification language";
license = "GPLv2";
};
src = fetchurl {
url = "http://www.csl.sri.com/users/eker/Maude/Alpha91/Maude-2.4.tar.gz";
sha256 = "1gvfzp10inhvzk2xnv128nmh38vw6si7hg72bxis3l4h8f6ki7l0";
};
fullMaude = fetchurl {
url = "http://www.lcc.uma.es/~duran/FullMaude/FM23j/full-maude.maude";
sha256 = "1x25ckfh1dzn8pg5spzj7f23bkz0favybnaxww8qs29r3lsrl1ib";
};
docs = fetchurl {
url = "http://mirror.switch.ch/mirror/gentoo/distfiles/maude-2.3.0-extras.tar.bz2";
sha256 = "0kd5623k1wwj1rk4b6halrm3sdvd9kbiwg1hi2c3qim1nlfdgl0d";
};
buildInputs = [flex bison ncurses buddy tecla gmp libsigsegv];
configurePhase = ''./configure --disable-dependency-tracking --prefix=$out TECLA_LIBS="-ltecla -lncursesw" CFLAGS="-O3" CXXFLAGS="-O3"'';
# test suite failure in: unification
doCheck = false;
postInstall =
''
ensureDir $out/share/maude
cp src/Main/*.maude $out/share/maude/
cp ${fullMaude} $out/share/maude/full-maude.maude
ensureDir $out/share/doc/maude
tar xf ${docs}
rm -f maude-2.3.0-extras/full-maude.maude
mv maude-2.3.0-extras/pdfs $out/share/doc/maude/pdf
mv maude-2.3.0-extras/* $out/share/doc/maude/
'';
}