zimlib: 20150710 -> 1.4
This commit is contained in:
parent
15da23d5c1
commit
9632cc221a
@ -1,22 +1,23 @@
|
|||||||
{ stdenv, fetchgit, automake, autoconf, libtool, lzma }:
|
{ stdenv, fetchurl, lzma }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "zimlib";
|
name = "zimlib-${version}";
|
||||||
version = "20150710";
|
version = "1.4";
|
||||||
src = fetchgit {
|
|
||||||
url = https://gerrit.wikimedia.org/r/p/openzim.git;
|
src = fetchurl {
|
||||||
rev = "165eab3e154c60b5b6436d653dc7c90f56cf7456";
|
url = "http://www.openzim.org/download/${name}.tar.gz";
|
||||||
sha256 = "076ixsq4lis0rkk7p049g02bidc7bggl9kf2wzmgmsnx396mqymf";
|
sha256 = "14ra3iq42x53k1nqxb5lsg4gadlkpkgv6cbjjl6305ajmbrghcdq";
|
||||||
};
|
};
|
||||||
buildInputs = [ automake autoconf libtool lzma ];
|
|
||||||
setSourceRoot = "cd openzim-*/zimlib; export sourceRoot=`pwd`";
|
|
||||||
preConfigure = "./autogen.sh";
|
|
||||||
|
|
||||||
meta = {
|
buildInputs = [ lzma ];
|
||||||
description = "Library for reading and writing ZIM files (file format for storing Web content offline)";
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Library for reading and writing ZIM files";
|
||||||
homepage = http://www.openzim.org/wiki/Zimlib;
|
homepage = http://www.openzim.org/wiki/Zimlib;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with stdenv.lib.maintainers; [ robbinch ];
|
maintainers = with maintainers; [ robbinch ];
|
||||||
platforms = with stdenv.lib.platforms; linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user