2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, lzma }:
|
2015-09-01 23:45:44 +00:00
|
|
|
|
2017-03-07 12:09:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "zimlib";
|
2017-03-07 12:09:33 +00:00
|
|
|
version = "1.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://www.openzim.org/download/${pname}-${version}.tar.gz";
|
2017-03-07 12:09:33 +00:00
|
|
|
sha256 = "14ra3iq42x53k1nqxb5lsg4gadlkpkgv6cbjjl6305ajmbrghcdq";
|
2015-09-01 23:45:44 +00:00
|
|
|
};
|
|
|
|
|
2017-03-07 12:09:33 +00:00
|
|
|
buildInputs = [ lzma ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-03-07 12:09:33 +00:00
|
|
|
description = "Library for reading and writing ZIM files";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://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-01 23:45:44 +00:00
|
|
|
};
|
|
|
|
}
|