2016-08-12 05:27:00 +01:00
|
|
|
{ stdenv, fetchurl, zlib, libiconv }:
|
2011-10-09 19:22:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "odt2txt-0.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-10-10 09:56:08 +01:00
|
|
|
url = "${meta.homepage}/${name}.tar.gz";
|
2011-10-09 19:22:18 +01:00
|
|
|
sha256 = "1y36s7w2ng0r4nismxb3hb3zvsim8aimvvblz9hgnanw3kwbvx55";
|
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase="export makeFlags=\"DESTDIR=$out\"";
|
|
|
|
|
2016-08-12 05:27:00 +01:00
|
|
|
buildInputs = [ zlib libiconv ];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv";
|
2011-10-09 19:22:18 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Simple .odt to .txt converter";
|
|
|
|
homepage = http://stosberg.net/odt2txt;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
lincense = stdenv.lib.licenses.gpl2;
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = [ ];
|
2011-10-09 19:22:18 +01:00
|
|
|
};
|
|
|
|
}
|