2017-03-07 12:09:33 +00:00
|
|
|
{ stdenv, fetchurl, lzma }:
|
2015-09-02 00:45:44 +01:00
|
|
|
|
2017-03-07 12:09:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "zimlib-${version}";
|
|
|
|
version = "1.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.openzim.org/download/${name}.tar.gz";
|
|
|
|
sha256 = "14ra3iq42x53k1nqxb5lsg4gadlkpkgv6cbjjl6305ajmbrghcdq";
|
2015-09-02 00:45:44 +01:00
|
|
|
};
|
|
|
|
|
2017-03-07 12:09:33 +00:00
|
|
|
buildInputs = [ lzma ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for reading and writing ZIM files";
|
2015-09-02 00:45:44 +01:00
|
|
|
homepage = http://www.openzim.org/wiki/Zimlib;
|
2017-03-07 12:09:33 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ robbinch ];
|
|
|
|
platforms = platforms.linux;
|
2015-09-02 00:45:44 +01:00
|
|
|
};
|
|
|
|
}
|