nixpkgs/pkgs/applications/office/antiword/default.nix
Peter Simons 577ddef0be antiword: added version 0.37
svn path=/nixpkgs/trunk/; revision=28938
2011-08-31 11:55:51 +00:00

26 lines
660 B
Nix

{ 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;
};
}