[Haskell] ANNOUNCE: LibZip 0.1, BSD library to read and write zip archives

Sergey Astanin s.astanin at gmail.com
Mon Sep 6 14:04:05 EDT 2010


Dear Haskellers,

I am glad to announce that LibZip, a major remake of Haskell bindings
to libzip library, is now available [1].

As far as I know, LibZip the only non-GPL library for Haskell to
manipulate zip archives (zip-archive library is GPLv2, LibZip is BSD).
LibZip is also reasonably fast with large on-disk archives (more about
it in the blog post, see a link below [2]).

New LibZip covers almost all features of the corresponding C library:

* creating, reading, updating, renaming, and deleting files in zip archives
* reading and writing file and archive comments
* support of various data sources: from a buffer, from a file, from
another archive and from a pure function

With respect to the old LibZip 0.0, there is a new monadic interface
[3], more tests, examples and documentation. Users of LibZip 0.0 may
still use the old API by importing Codec.Archive.LibZip.LegacyZeroZero
instead of Codec.Archive.LibZip. However, the old API is deprecated
and will not be supported in the future.

Links:

[1] Hackage page: http://hackage.haskell.org/package/LibZip
[2] Blog post: http://nix-tips.blogspot.com/2010/09/libzip-01-read-and-write-zip-archives.html
[3] Documentation: http://sovety.org.ru/doc/LibZip/Codec-Archive-LibZip.html


Best regards,
Sergey Astanin


More information about the Haskell mailing list