2015-09-02 02:45:44 +03:00
|
|
|
{ stdenv, fetchgit, automake, autoconf, libtool, lzma }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "zimlib";
|
|
|
|
version = "20150710";
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://gerrit.wikimedia.org/r/p/openzim.git;
|
|
|
|
rev = "165eab3e154c60b5b6436d653dc7c90f56cf7456";
|
2016-06-02 14:26:44 +03:00
|
|
|
sha256 = "076ixsq4lis0rkk7p049g02bidc7bggl9kf2wzmgmsnx396mqymf";
|
2015-09-02 02:45:44 +03:00
|
|
|
};
|
|
|
|
buildInputs = [ automake autoconf libtool lzma ];
|
|
|
|
setSourceRoot = "cd openzim-*/zimlib; export sourceRoot=`pwd`";
|
|
|
|
preConfigurePhases = [ "./autogen.sh" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Library for reading and writing ZIM files (file format for storing Web content offline)";
|
|
|
|
homepage = http://www.openzim.org/wiki/Zimlib;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ robbinch ];
|
|
|
|
};
|
|
|
|
}
|