/hsmtp

Haskell bindings to libmtp

Primary LanguageHaskellGNU Lesser General Public License v2.1LGPL-2.1

About

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

Getting

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 <joachim.fasting@gmail.com>

Licence

LGPL version 2.1 (see COPYING)