1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/libraries/zimlib/default.nix

24 lines
584 B
Nix
Raw Normal View History

2017-03-07 12:09:33 +00:00
{ stdenv, fetchurl, lzma }:
2017-03-07 12:09:33 +00:00
stdenv.mkDerivation rec {
pname = "zimlib";
2017-03-07 12:09:33 +00:00
version = "1.4";
src = fetchurl {
url = "http://www.openzim.org/download/${pname}-${version}.tar.gz";
2017-03-07 12:09:33 +00:00
sha256 = "14ra3iq42x53k1nqxb5lsg4gadlkpkgv6cbjjl6305ajmbrghcdq";
};
2017-03-07 12:09:33 +00:00
buildInputs = [ lzma ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Library for reading and writing ZIM files";
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;
};
}