zimwriterfs 1.0 -> zim-tools 3.1.1

This package has absorbed zimwriterfs and some other programs. I've
kept the maintainer the same since if they were interested in
zimwriterfs they're presumably also interested in the new package.

+33 -44
+31
pkgs/tools/text/zim-tools/default.nix
···
··· 1 + { lib, stdenv, fetchFromGitHub 2 + , meson, ninja, pkg-config 3 + , docopt_cpp, file, gumbo, mustache-hpp, zimlib, zlib 4 + , gtest 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "zim-tools"; 9 + version = "3.1.1"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "openzim"; 13 + repo = "zim-tools"; 14 + rev = version; 15 + sha256 = "sha256-xZae1o4L9AdGDqBnFDZniWNM/dLsYRcS0OLWw9+Wecs="; 16 + }; 17 + 18 + nativeBuildInputs = [ meson ninja pkg-config ]; 19 + buildInputs = [ docopt_cpp file gumbo mustache-hpp zimlib zlib ]; 20 + 21 + checkInputs = [ gtest ]; 22 + doCheck = true; 23 + 24 + meta = { 25 + description = "Various ZIM command line tools"; 26 + homepage = "https://github.com/openzim/zim-tools"; 27 + maintainers = with lib.maintainers; [ robbinch ]; 28 + license = lib.licenses.gpl3Plus; 29 + platforms = lib.platforms.all; 30 + }; 31 + }
-43
pkgs/tools/text/zimwriterfs/default.nix
··· 1 - { lib, stdenv 2 - , fetchFromGitHub 3 - 4 - , autoconf 5 - , automake 6 - , libtool 7 - , pkg-config 8 - 9 - , file 10 - , icu 11 - , gumbo 12 - , xz 13 - , xapian 14 - , zimlib 15 - , zlib 16 - }: 17 - 18 - stdenv.mkDerivation rec { 19 - pname = "zimwriterfs"; 20 - version = "1.0"; 21 - 22 - src = fetchFromGitHub { 23 - owner = "wikimedia"; 24 - repo = "openzim"; 25 - rev = "${pname}-${version}"; 26 - sha256 = "1vkrrq929a8s3m5rri1lg0l2vd0mc9n2fsb2z1g88k4n4j2l6f19"; 27 - }; 28 - 29 - nativeBuildInputs = [ automake autoconf libtool pkg-config ]; 30 - buildInputs = [ file icu gumbo xz zimlib zlib xapian ]; 31 - setSourceRoot = '' 32 - sourceRoot=$(echo */zimwriterfs) 33 - ''; 34 - preConfigure = "./autogen.sh"; 35 - 36 - meta = { 37 - description = "A console tool to create ZIM files"; 38 - homepage = "http://git.wikimedia.org/log/openzim"; 39 - maintainers = with lib.maintainers; [ robbinch ]; 40 - license = lib.licenses.gpl3; 41 - platforms = with lib.platforms; [ linux ]; 42 - }; 43 - }
···
+1
pkgs/top-level/aliases.nix
··· 1510 zabbix30 = throw "Zabbix 3.0.x is end of life, see https://www.zabbix.com/documentation/5.0/manual/installation/upgrade/sources for a direct upgrade path to 5.0.x"; # Added 2021-04-07 1511 zdfmediathk = throw "'zdfmediathk' has been renamed to/replaced by 'mediathekview'"; # Converted to throw 2022-02-22 1512 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 1513 1514 # TODO(ekleog): add ‘wasm’ alias to ‘ocamlPackages.wasm’ after 19.03 1515 # branch-off
··· 1510 zabbix30 = throw "Zabbix 3.0.x is end of life, see https://www.zabbix.com/documentation/5.0/manual/installation/upgrade/sources for a direct upgrade path to 5.0.x"; # Added 2021-04-07 1511 zdfmediathk = throw "'zdfmediathk' has been renamed to/replaced by 'mediathekview'"; # Converted to throw 2022-02-22 1512 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 1513 + zimwriterfs = throw "zimwriterfs is now part of zim-tools"; # Added 2022-06-10. 1514 1515 # TODO(ekleog): add ‘wasm’ alias to ‘ocamlPackages.wasm’ after 19.03 1516 # branch-off
+1 -1
pkgs/top-level/all-packages.nix
··· 11992 zinnia = callPackage ../tools/inputmethods/zinnia { }; 11993 tegaki-zinnia-japanese = callPackage ../tools/inputmethods/tegaki-zinnia-japanese { }; 11994 11995 - zimwriterfs = callPackage ../tools/text/zimwriterfs { }; 11996 11997 zld = callPackage ../development/tools/zld { }; 11998
··· 11992 zinnia = callPackage ../tools/inputmethods/zinnia { }; 11993 tegaki-zinnia-japanese = callPackage ../tools/inputmethods/tegaki-zinnia-japanese { }; 11994 11995 + zim-tools = callPackage ../tools/text/zim-tools { }; 11996 11997 zld = callPackage ../development/tools/zld { }; 11998