1{ fetchurl, stdenv, perl, python, zip, xmlto, zlib }:
2
3stdenv.mkDerivation rec {
4 name = "zziplib-0.13.58";
5
6 src = fetchurl {
7 url = "mirror://sourceforge/zziplib/${name}.tar.bz2";
8 sha256 = "13j9f6i8rx0qd5m96iwrcha78h34qpfk5qzi7cv098pms6gq022m";
9 };
10
11 patchPhase = ''
12 sed -i -e s,--export-dynamic,, configure
13 '';
14
15 buildInputs = [ perl python zip xmlto zlib ];
16
17 doCheck = true;
18
19 meta = with stdenv.lib; {
20 description = "Library to extract data from files archived in a zip file";
21
22 longDescription = ''
23 The zziplib library is intentionally lightweight, it offers the ability
24 to easily extract data from files archived in a single zip
25 file. Applications can bundle files into a single zip archive and
26 access them. The implementation is based only on the (free) subset of
27 compression with the zlib algorithm which is actually used by the
28 zip/unzip tools.
29 '';
30
31 license = with licenses; [ lgpl2Plus mpl11 ];
32
33 homepage = http://zziplib.sourceforge.net/;
34
35 maintainers = [ ];
36 platforms = python.meta.platforms;
37 };
38}