From 577ddef0be7eba5ac1da20c4537a390644382305 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 31 Aug 2011 11:55:51 +0000 Subject: [PATCH] antiword: added version 0.37 svn path=/nixpkgs/trunk/; revision=28938 --- pkgs/applications/office/antiword/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/office/antiword/default.nix diff --git a/pkgs/applications/office/antiword/default.nix b/pkgs/applications/office/antiword/default.nix new file mode 100644 index 000000000000..e3f80d76c4ed --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 50f16e05be79..9dd103db8611 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6121,6 +6121,8 @@ let libstdcpp = gcc33.gcc; }; + antiword = callPackage ../applications/office/antiword {}; + ardour = callPackage ../applications/audio/ardour { inherit (gtkLibs) glib pango gtk glibmm gtkmm; inherit (gnome) libgnomecanvas;