Author: simons
Date: Wed Aug 31 11:55:51 2011
New Revision: 28938
URL: https://svn.nixos.org/websvn/nix/?rev=28938&sc=1

Log:
antiword: added version 0.37

Added:
   nixpkgs/trunk/pkgs/applications/office/antiword/
   nixpkgs/trunk/pkgs/applications/office/antiword/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/applications/office/antiword/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/office/antiword/default.nix Wed Aug 31 
11:55:51 2011        (r28938)
@@ -0,0 +1,25 @@
+{ fetchurl, stdenv }:
+
+let
+  name = "antiword-0.37";
+in
+stdenv.mkDerivation {
+  inherit name;
+
+  src = fetchurl {
+    url = "http://www.winfield.demon.nl/linux/${name}.tar.gz";;
+    sha256 = "1b7mi1l20jhj09kyh0bq14qzz8vdhhyf35gzwsq43mn6rc7h0b4f";
+  };
+
+  installFlags = "GLOBAL_INSTALL_DIR=$$out/bin 
GLOBAL_RESOURCES_DIR=$$out/share/antiword";
+  installTargets = "global_install";
+
+  meta = {
+    homepage = "http://www.winfield.demon.nl/";;
+    description = "convert MS Word documents to plain text or PostScript";
+    license = stdenv.lib.licenses.gpl2;
+
+    maintainers = [ stdenv.lib.maintainers.simons ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Wed Aug 31 09:12:56 
2011        (r28937)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Wed Aug 31 11:55:51 
2011        (r28938)
@@ -6121,6 +6121,8 @@
     libstdcpp = gcc33.gcc;
   };
 
+  antiword = callPackage ../applications/office/antiword {};
+
   ardour = callPackage ../applications/audio/ardour {
     inherit (gtkLibs) glib pango gtk glibmm gtkmm;
     inherit (gnome) libgnomecanvas;
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to