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