mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Add GNU TeXmacs.
svn path=/nixpkgs/trunk/; revision=19985
This commit is contained in:
parent
58747b8bf2
commit
62665b519e
44
pkgs/applications/office/texmacs/default.nix
Normal file
44
pkgs/applications/office/texmacs/default.nix
Normal file
@ -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
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
@ -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.
|
||||
@ -60,6 +60,7 @@ in (mapTestOn {
|
||||
lsh = linux;
|
||||
mailutils = linux;
|
||||
mcron = linux;
|
||||
texmacs = linux;
|
||||
guileCairo = linux;
|
||||
guileGnome = linux;
|
||||
guileLib = linux;
|
||||
|
Loading…
Reference in New Issue
Block a user