Home > hsmtp

hsmtp

Hsmtp is a project mainly written in Haskell, based on the LGPL-2.1 license.

Haskell bindings to libmtp

About

A FFI binding to libmtp, an implementation of the Media Transfer Protocol.

Getting

  • Latest release
  • git clone git://github.com/joachifm/hsmtp.git

Building

The preferred method of building is using cabal-install:

$ cd hsmtp
$ cabal configure
$ cabal build
$ cabal install

Usage

> import qualified MTP
> main = do
>     MTP.init
>     MTP.withFirstDevice MTP.getDeviceVersion

Author

Joachim Fasting [email protected]

Licence

LGPL version 2.1 (see COPYING)

Previous:pyaleida