Haskell bindings to bsdiff

bsdiff is a tool for building and applying patches to binary software.

These are the awesome Haskell bindings, based on minibsdiff, a slimmed down version of bsdiff v4.3.

This package also includes a reimplementation of bsdiff/bspatch, called bspatcher, which demonstrates how to use the library and offers several compression modes as opposed to just bzlib like the standard bsdiff. If you want to enable snappy support in bspatcher, install with the -fsnappy flag. results: Build Status



It's just a cabal install away on Hackage:

$ cabal install bsdiff

Join in

File bugs in the GitHub issue tracker.

Master git repository:

  • git clone

There's also a BitBucket mirror:

  • git clone


See AUTHORS.txt.


The library is BSD3. However, the bspatcher executable is under the GPLv2 (or later,) the same as QuickLZ itself and my Haskell binding since it uses it by default. See LICENSE.txt for terms of copyright and redistribution.