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.main
parent
b9495cc30f
commit
8320da218e
@ -0,0 +1,31 @@ |
||||
{ lib, stdenv, fetchFromGitHub |
||||
, meson, ninja, pkg-config |
||||
, docopt_cpp, file, gumbo, mustache-hpp, zimlib, zlib |
||||
, gtest |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "zim-tools"; |
||||
version = "3.1.1"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "openzim"; |
||||
repo = "zim-tools"; |
||||
rev = version; |
||||
sha256 = "sha256-xZae1o4L9AdGDqBnFDZniWNM/dLsYRcS0OLWw9+Wecs="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config ]; |
||||
buildInputs = [ docopt_cpp file gumbo mustache-hpp zimlib zlib ]; |
||||
|
||||
checkInputs = [ gtest ]; |
||||
doCheck = true; |
||||
|
||||
meta = { |
||||
description = "Various ZIM command line tools"; |
||||
homepage = "https://github.com/openzim/zim-tools"; |
||||
maintainers = with lib.maintainers; [ robbinch ]; |
||||
license = lib.licenses.gpl3Plus; |
||||
platforms = lib.platforms.all; |
||||
}; |
||||
} |
@ -1,43 +0,0 @@ |
||||
{ lib, stdenv |
||||
, fetchFromGitHub |
||||
|
||||
, autoconf |
||||
, automake |
||||
, libtool |
||||
, pkg-config |
||||
|
||||
, file |
||||
, icu |
||||
, gumbo |
||||
, xz |
||||
, xapian |
||||
, zimlib |
||||
, zlib |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "zimwriterfs"; |
||||
version = "1.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "wikimedia"; |
||||
repo = "openzim"; |
||||
rev = "${pname}-${version}"; |
||||
sha256 = "1vkrrq929a8s3m5rri1lg0l2vd0mc9n2fsb2z1g88k4n4j2l6f19"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ automake autoconf libtool pkg-config ]; |
||||
buildInputs = [ file icu gumbo xz zimlib zlib xapian ]; |
||||
setSourceRoot = '' |
||||
sourceRoot=$(echo */zimwriterfs) |
||||
''; |
||||
preConfigure = "./autogen.sh"; |
||||
|
||||
meta = { |
||||
description = "A console tool to create ZIM files"; |
||||
homepage = "http://git.wikimedia.org/log/openzim"; |
||||
maintainers = with lib.maintainers; [ robbinch ]; |
||||
license = lib.licenses.gpl3; |
||||
platforms = with lib.platforms; [ linux ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue