about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2008-01-30 19:38:07 +0000
committerMarc Weber <marco-oweber@gmx.de>2008-01-30 19:38:07 +0000
commitbea41a64b42309a9cf06a1bb50d26c04728ab26e (patch)
tree53ec54e79e2cdc6a5726cc3b25e0d0810f5e519e /pkgs
parent5bca69ac34e4b9aaa233aef75396830f42b2d3d7 (diff)
lyx added
svn path=/nixpkgs/trunk/; revision=10416
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/lyx/default.nix18
-rw-r--r--pkgs/top-level/all-packages.nix5
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix
new file mode 100644
index 0000000000000..246b8caa3ca0a
--- /dev/null
+++ b/pkgs/applications/misc/lyx/default.nix
@@ -0,0 +1,18 @@
+# I haven't put much effort into this expressions .. so some optional depencencies may be missing - Marc
+args:
+args.stdenv.mkDerivation {
+  name = "lyx-1.5.3";
+
+  src = args.fetchurl {
+    url = http://lyx.cybermirror.org/stable/lyx-1.5.3.tar.bz2;
+    sha256 = "1q0xlhrvj87iw9rk9z2vfka4jw5pw7n5fsmmiyzram9y4hghavav";
+  };
+
+  buildInputs =(with args; [tetex qt python]);
+
+  meta = { 
+      description = "WYSIWYM frontend for LaTeX, DocBook, etc.";
+      homepage = "http://www.lyx.org";
+      license = "GPL2";
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 567c84a6163bc..05580905cd5eb 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -4532,6 +4532,11 @@ rec {
     inherit fetchurl stdenv ncurses openssl;
   };
 
+  lyx = import ../applications/misc/lyx {
+   inherit fetchurl stdenv tetex python;
+   qt = qt4;
+  };
+
   maxima = import ../applications/misc/maxima {
     inherit fetchurl stdenv clisp;
   };