mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
a16eebd0a6
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
33 lines
1.1 KiB
Nix
33 lines
1.1 KiB
Nix
{ stdenv, fetchurl, flex, bison, ncurses, buddy, tecla, gmp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "maude-2.3";
|
|
meta = {
|
|
homepage = "http://maude.cs.uiuc.edu/";
|
|
description = "Maude -- a high-level specification language";
|
|
license = "GPLv2";
|
|
};
|
|
src = fetchurl {
|
|
url = "http://maude.cs.uiuc.edu/download/current/Maude-2.3.tar.gz";
|
|
sha256 = "1nzxj8x1379nxsdvldqy55wl513hdi4xwf8i2bhngz7s8228vs37";
|
|
};
|
|
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];
|
|
configurePhase = ''./configure --disable-dependency-tracking --prefix=$out TECLA_LIBS="-ltecla -lncursesw" CFLAGS="-O3" CXXFLAGS="-O3"'';
|
|
# Regression test suite says:
|
|
# FAIL: metaWellFormed
|
|
doCheck = false;
|
|
postInstall =
|
|
''
|
|
ensureDir $out/share/maude
|
|
ensureDir $out/share/doc/maude
|
|
tar xf ${docs}
|
|
mv src/Main/*.maude maude-2.3.0-extras/*.maude $out/share/maude/
|
|
mv maude-2.3.0-extras/pdfs $out/share/doc/maude/pdf
|
|
mv maude-2.3.0-extras/* $out/share/doc/maude/
|
|
'';
|
|
}
|