about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/zimlib/default.nix
blob: 9b7a90266284a364df07df993e9b623a30b15054 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, lzma }:

stdenv.mkDerivation rec {
  name = "zimlib-${version}";
  version = "1.4";

  src = fetchurl {
    url = "http://www.openzim.org/download/${name}.tar.gz";
    sha256 = "14ra3iq42x53k1nqxb5lsg4gadlkpkgv6cbjjl6305ajmbrghcdq";
  };

  buildInputs = [ lzma ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    description = "Library for reading and writing ZIM files";
    homepage =  http://www.openzim.org/wiki/Zimlib;
    license = licenses.gpl2;
    maintainers = with maintainers; [ robbinch ];
    platforms = platforms.linux;
  };
}