mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
024b0414ab
This adds zimlib, a library for reading and writing ZIM files. ZIM is a file format for storing Web content offline.
22 lines
768 B
Nix
22 lines
768 B
Nix
{ 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";
|
|
sha256 = "0x0d3rx6zcc8k66nqkacmwdvslrz70h9bliqawzv90ribq3alb0q";
|
|
};
|
|
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 ];
|
|
};
|
|
}
|