2016-08-12 06:27:00 +02:00
|
|
|
{ stdenv, fetchurl, zlib, libiconv }:
|
2011-10-09 20:22:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "odt2txt-0.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-10-10 10:56:08 +02:00
|
|
|
url = "${meta.homepage}/${name}.tar.gz";
|
2011-10-09 20:22:18 +02:00
|
|
|
sha256 = "1y36s7w2ng0r4nismxb3hb3zvsim8aimvvblz9hgnanw3kwbvx55";
|
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase="export makeFlags=\"DESTDIR=$out\"";
|
|
|
|
|
2016-08-12 06:27:00 +02:00
|
|
|
buildInputs = [ zlib libiconv ];
|
|
|
|
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv";
|
2011-10-09 20:22:18 +02: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 19:11:17 +02:00
|
|
|
maintainers = [ ];
|
2011-10-09 20:22:18 +02:00
|
|
|
};
|
|
|
|
}
|