mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
24 lines
585 B
Nix
24 lines
585 B
Nix
{ lib, stdenv, fetchurl, lzma }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zimlib";
|
|
version = "1.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.openzim.org/download/${pname}-${version}.tar.gz";
|
|
sha256 = "14ra3iq42x53k1nqxb5lsg4gadlkpkgv6cbjjl6305ajmbrghcdq";
|
|
};
|
|
|
|
buildInputs = [ lzma ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Library for reading and writing ZIM files";
|
|
homepage = "https://www.openzim.org/wiki/Zimlib";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ robbinch ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|