2016-08-12 06:27:00 +02:00
|
|
|
{ stdenv, fetchurl, zlib, libiconv }:
|
2011-10-09 20:22:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-06-07 23:20:09 +02:00
|
|
|
name = "odt2txt-${version}";
|
|
|
|
version = "0.5";
|
2011-10-09 20:22:18 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-07 23:20:09 +02:00
|
|
|
url = "${meta.homepage}/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "23a889109ca9087a719c638758f14cc3b867a5dcf30a6c90bf6a0985073556dd";
|
2011-10-09 20:22:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase="export makeFlags=\"DESTDIR=$out\"";
|
|
|
|
|
2016-08-12 06:27:00 +02:00
|
|
|
buildInputs = [ zlib libiconv ];
|
|
|
|
|
2011-10-09 20:22:18 +02:00
|
|
|
meta = {
|
|
|
|
description = "Simple .odt to .txt converter";
|
2018-06-07 23:20:09 +02:00
|
|
|
homepage = https://github.com/dstosberg/odt2txt;
|
2011-10-09 20:22:18 +02:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2017-12-05 23:20:11 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2017-03-27 19:11:17 +02:00
|
|
|
maintainers = [ ];
|
2011-10-09 20:22:18 +02:00
|
|
|
};
|
|
|
|
}
|