nixpkgs/pkgs/tools/text/odt2txt/default.nix
2018-03-22 16:50:11 -05:00

22 lines
538 B
Nix

{ stdenv, fetchurl, zlib, libiconv }:
stdenv.mkDerivation rec {
name = "odt2txt-0.4";
src = fetchurl {
url = "${meta.homepage}/${name}.tar.gz";
sha256 = "1y36s7w2ng0r4nismxb3hb3zvsim8aimvvblz9hgnanw3kwbvx55";
};
configurePhase="export makeFlags=\"DESTDIR=$out\"";
buildInputs = [ zlib libiconv ];
meta = {
description = "Simple .odt to .txt converter";
homepage = http://stosberg.net/odt2txt;
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl2;
maintainers = [ ];
};
}