/
dynamic-linker-template.cabal
36 lines (33 loc) · 1.24 KB
/
dynamic-linker-template.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: dynamic-linker-template
version: 0.1.1.0
synopsis: Automatically derive dynamic linking methods from a data type.
description:
This package uses Template Haskell to generate dynamic linking FFI methods from a
record by using its field names. A load function is generated to create an instance
of the data from a library path.
.
Optional symbols are supported (use Maybe types in the data structure).
.
A String->String method can be provided to deal with symbols whose names are not
exactly the same as field names.
.
See <https://github.com/hsyl20/dynamic-linker-template/blob/master/Tests/Test.hs> for an example.
homepage: http://github.com/hsyl20/dynamic-linker-template
license: BSD3
license-file: LICENSE
author: Sylvain HENRY
maintainer: hsyl20@gmail.com
category: System
build-type: Simple
cabal-version: >=1.8
library
exposed-modules: System.Posix.DynamicLinker.Template
build-depends:
base >= 4.6 && < 5,
template-haskell >= 2.8,
unix >= 2.6,
containers >= 0.5
ghc-options: -Wall
source-repository head
type: git
location: git://github.com/hsyl20/dynamic-linker-template.git