diff --git a/pkgs/tools/text/odt2txt/default.nix b/pkgs/tools/text/odt2txt/default.nix new file mode 100644 index 000000000000..16553d03d20e --- /dev/null +++ b/pkgs/tools/text/odt2txt/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, zlib }: + +stdenv.mkDerivation rec { + name = "odt2txt-0.4"; + + src = fetchurl { + url = "${homepage}/${name}.tar.gz"; + sha256 = "1y36s7w2ng0r4nismxb3hb3zvsim8aimvvblz9hgnanw3kwbvx55"; + }; + + configurePhase="export makeFlags=\"DESTDIR=$out\""; + + buildInputs = [ zlib ]; + + meta = { + description = "Simple .odt to .txt converter"; + homepage = http://stosberg.net/odt2txt; + platforms = stdenv.lib.platforms.all; + lincense = stdenv.lib.licenses.gpl2; + maintainers = [ stdenv.lib.maintainers.urkud ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 152215ecebe6..2001c64f874d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1065,6 +1065,8 @@ let obexftp = callPackage ../tools/bluetooth/obexftp { }; + odt2txt = callPackage ../tools/text/odt2txt { }; + offlineimap = callPackage ../tools/networking/offlineimap { ssl = pythonPackages.ssl; };