diff options
author | Daniel Sandbecker <daniels@users.noreply.github.com> | 2018-06-07 23:20:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 23:20:09 +0200 |
commit | 876b6406d3644813badfdd75635ea47b7bd3aadd (patch) | |
tree | 74c99b49c75809c0920fb1207a48b7a93fa65b24 /pkgs/tools/text/odt2txt | |
parent | 673628e10cff3037552b576e5a45d3a576c2a348 (diff) |
odt2txt: 0.4 -> 0.5
Version 0.4 failed to build for me on MacOS 10.12.6 (16G1314). (Might be related to the removed libiconv-hacks.) Version 0.5 as specified builds cleanly. Not tested on any other platforms though. Also 0.4 is from 2008 while 0.5 was released in 2014. The old homepage now redirects to the GitHub repo.
Diffstat (limited to 'pkgs/tools/text/odt2txt')
-rw-r--r-- | pkgs/tools/text/odt2txt/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/text/odt2txt/default.nix b/pkgs/tools/text/odt2txt/default.nix index 3feecdf4f53c8..48abee0183068 100644 --- a/pkgs/tools/text/odt2txt/default.nix +++ b/pkgs/tools/text/odt2txt/default.nix @@ -1,11 +1,12 @@ { stdenv, fetchurl, zlib, libiconv }: stdenv.mkDerivation rec { - name = "odt2txt-0.4"; + name = "odt2txt-${version}"; + version = "0.5"; src = fetchurl { - url = "${meta.homepage}/${name}.tar.gz"; - sha256 = "1y36s7w2ng0r4nismxb3hb3zvsim8aimvvblz9hgnanw3kwbvx55"; + url = "${meta.homepage}/archive/v${version}.tar.gz"; + sha256 = "23a889109ca9087a719c638758f14cc3b867a5dcf30a6c90bf6a0985073556dd"; }; configurePhase="export makeFlags=\"DESTDIR=$out\""; @@ -14,7 +15,7 @@ stdenv.mkDerivation rec { meta = { description = "Simple .odt to .txt converter"; - homepage = http://stosberg.net/odt2txt; + homepage = https://github.com/dstosberg/odt2txt; platforms = stdenv.lib.platforms.all; license = stdenv.lib.licenses.gpl2; maintainers = [ ]; |