zimreader: drop

master
ajs124 2021-03-28 21:54:19 +02:00
parent cbac34be88
commit a260f0ede2
3 changed files with 1 additions and 40 deletions

View File

@ -1,38 +0,0 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, automake, autoconf, libtool
, zimlib, cxxtools, tntnet
}:
stdenv.mkDerivation {
name = "zimreader-0.92";
src = fetchFromGitHub {
owner = "wikimedia";
repo = "openzim";
rev = "r1.3"; # there multiple tools with different version in the repo
sha256 = "0x529137rxy6ld64xqa6xmn93121ripxvkf3sc7hv3wg6km182sw";
};
patchFlags = [ "-p2" ];
patches = [
(fetchpatch {
name = "zimreader_tntnet221.patch";
url = "https://github.com/wikimedia/openzim/compare/r1.3...juliendehos:3ee5f11eaa811284d340451e6f466529c00f6ef2.patch";
sha256 = "0rc5n20svyyndqh7hsynjyblfraphgi0f6khw6f5jq89w9i1j1hd";
})
];
enableParallelBuilding = true;
buildInputs = [ automake autoconf libtool zimlib cxxtools tntnet ];
setSourceRoot = ''
sourceRoot=$(echo */zimreader)
'';
preConfigure = "./autogen.sh";
meta = {
description = "A tool to serve ZIM files using HTTP";
homepage = "http://git.wikimedia.org/log/openzim";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ robbinch juliendehos ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -822,6 +822,7 @@ mapAliases ({
ytop = throw "ytop has been abandoned by upstream. Consider switching to bottom instead";
yubikey-neo-manager = throw "yubikey-neo-manager has been removed because it was broken. Use yubikey-manager-qt instead."; # added 2021-03-08
yuzu = yuzu-mainline; # added 2021-01-25
zimreader = throw "zimreader has been removed from nixpkgs as it has been replaced by kiwix-serve and stopped working with modern zimlib versions."; # added 2021-03-28
zdfmediathk = mediathekview; # added 2019-01-19
gnome_user_docs = gnome-user-docs; # added 2019-11-20
# spidermonkey is not ABI upwards-ompatible, so only allow this for nix-shell

View File

@ -9542,8 +9542,6 @@ in
zinnia = callPackage ../tools/inputmethods/zinnia { };
tegaki-zinnia-japanese = callPackage ../tools/inputmethods/tegaki-zinnia-japanese { };
zimreader = callPackage ../tools/text/zimreader { };
zimwriterfs = callPackage ../tools/text/zimwriterfs { };
par = callPackage ../tools/text/par { };