Skip to content

Commit

Permalink
Add GNU TeXmacs.
Browse files Browse the repository at this point in the history
svn path=/nixpkgs/trunk/; revision=19985
  • Loading branch information
civodul committed Feb 13, 2010
1 parent 58747b8 commit 62665b5
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 3 deletions.
44 changes: 44 additions & 0 deletions pkgs/applications/office/texmacs/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{ fetchurl, stdenv, texLive, guile, libX11, libXext }:

let version = "1.0.7"; in
stdenv.mkDerivation {
name = "texmacs-${version}";

src = fetchurl {
url = "ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-${version}-src.tar.gz";
sha256 = "1jdynapwc4fnp4ff71whq7l2jv0v3zwq2v2w463ppxm9cbi3bm5v";
};

buildInputs = [ texLive guile libX11 libXext ];

meta = {
description = "GNU TeXmacs, a WYSIWYW editing platform with special features for scientists";

longDescription =
'' GNU TeXmacs is a free wysiwyw (what you see is what you want)
editing platform with special features for scientists. The software
aims to provide a unified and user friendly framework for editing
structured documents with different types of content (text,
graphics, mathematics, interactive content, etc.). The rendering
engine uses high-quality typesetting algorithms so as to produce
professionally looking documents, which can either be printed out or
presented from a laptop.
The software includes a text editor with support for mathematical
formulas, a small technical picture editor and a tool for making
presentations from a laptop. Moreover, TeXmacs can be used as an
interface for many external systems for computer algebra, numerical
analysis, statistics, etc. New presentation styles can be written
by the user and new features can be added to the editor using the
Scheme extension language. A native spreadsheet and tools for
collaborative authoring are planned for later.
'';

homepage = http://texmacs.org/;

license = "GPLv2+";

maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
}
5 changes: 5 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1595,6 +1595,11 @@ let
inherit fetchurl stdenv ncurses;
};

texmacs = import ../applications/office/texmacs {
inherit fetchurl stdenv texLive guile;
inherit (xlibs) libX11 libXext;
};

ttf2pt1 = import ../tools/misc/ttf2pt1 {
inherit fetchurl stdenv perl freetype;
};
Expand Down
7 changes: 4 additions & 3 deletions pkgs/top-level/guile-2-test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ let
in (mapTestOn {
/* The package list below was obtained with:
cat top-level/all-packages.nix \
| grep -B3 'guile[^=]*$' \
| grep '^[[:blank:]]*[a-zA-Z0-9_]\+[[:blank:]]*=' \
cat top-level/all-packages.nix \
| grep -B3 'guile[^=]*$' \
| grep '^[[:blank:]]*[a-zA-Z0-9_]\+[[:blank:]]*=' \
| sed -es'/^[[:blank:]]*\(.\+\)[[:blank:]]*=.*$/\1= linux;/g'
with some minor edits.
Expand All @@ -60,6 +60,7 @@ in (mapTestOn {
lsh = linux;
mailutils = linux;
mcron = linux;
texmacs = linux;
guileCairo = linux;
guileGnome = linux;
guileLib = linux;
Expand Down

0 comments on commit 62665b5

Please sign in to comment.