about summary refs log tree commit diff
path: root/pkgs/applications/office/antiword
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-08-31 11:55:51 +0000
committerPeter Simons <simons@cryp.to>2011-08-31 11:55:51 +0000
commit577ddef0be7eba5ac1da20c4537a390644382305 (patch)
tree412ad3a651313d834fa1dbb110212b7d2d487fc0 /pkgs/applications/office/antiword
parenta4993d3b233cbd690270da3af9b7cd530c0967b6 (diff)
antiword: added version 0.37
svn path=/nixpkgs/trunk/; revision=28938
Diffstat (limited to 'pkgs/applications/office/antiword')
-rw-r--r--pkgs/applications/office/antiword/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/office/antiword/default.nix b/pkgs/applications/office/antiword/default.nix
new file mode 100644
index 0000000000000..e3f80d76c4edc
--- /dev/null
+++ b/pkgs/applications/office/antiword/default.nix
@@ -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;
+  };
+}