1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
nixpkgs/pkgs/tools/text/odt2txt/default.nix
2024-05-02 21:06:26 +02:00

25 lines
613 B
Nix

{ lib, stdenv, fetchurl, zlib, libiconv }:
stdenv.mkDerivation rec {
pname = "odt2txt";
version = "0.5";
src = fetchurl {
url = "${meta.homepage}/archive/v${version}.tar.gz";
sha256 = "23a889109ca9087a719c638758f14cc3b867a5dcf30a6c90bf6a0985073556dd";
};
configurePhase="export makeFlags=\"DESTDIR=$out\"";
buildInputs = [ zlib libiconv ];
meta = {
description = "Simple .odt to .txt converter";
mainProgram = "odt2txt";
homepage = "https://github.com/dstosberg/odt2txt";
platforms = lib.platforms.all;
license = lib.licenses.gpl2Only;
maintainers = [ ];
};
}