Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Botan Haskell Bindings

This example demonstrates generating Haskell bindings for Botan, a cryptography library written in C++.

Prerequisites

Install ccache on your system. For example, on NixOS:

nix-shell -p ccache

Or, for example, on Ubuntu:

apt-get install ccache

TODO: on Windows, use sccache instead

Running the Example

./generate-and-run.sh

This script will:

  1. Build the botan-3 C++ library
  2. Generate Haskell bindings using hs-bindgen
  3. Create cabal.project.local with the necessary configuration
  4. Build and run the example program