-
Notifications
You must be signed in to change notification settings - Fork 4
/
hsyslog.cabal
63 lines (58 loc) · 2.35 KB
/
hsyslog.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: hsyslog
version: 5.0.2
cabal-version: >= 1.10
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: Copyright (c) 2004-2017 by Peter Simons
author: Peter Simons, John Lato, Jonathan Childress
maintainer: Peter Simons <[email protected]>
homepage: https://github.com/peti/hsyslog
bug-reports: https://github.com/peti/hsyslog/issues
synopsis: FFI interface to syslog(3) from POSIX.1-2001
category: Foreign
tested-with: GHC == 7.6.3 || == 7.8.4 || == 7.10.3 || == 8.0.2 || == 8.2.2 || == 8.4.4 || == 8.6.5 || == 8.8.4 || == 8.10.2
extra-source-files:
c-bits/simple-syslog.c
c-bits/make-log-mask.c
description:
A Haskell interface to @syslog(3)@ as specified in
<http://pubs.opengroup.org/onlinepubs/9699919799/functions/syslog.html POSIX.1-2008>.
The entire public API lives in "System.Posix.Syslog". There is a set of exposed
modules available underneath that one, which contain various implementation details
that may be useful to other developers who want to implement syslog-related
functionality. /Users/ of @syslog@, however, do not need them.
.
An example program that demonstrates how to use this library is available in the
<https://github.com/peti/hsyslog/blob/master/example/Main.hs examples> directory of
this package.
source-repository head
type: git
location: https://github.com/peti/hsyslog.git
Flag install-examples
Description: Build and install example programs.
Default: False
library
exposed-modules: System.Posix.Syslog
System.Posix.Syslog.Facility
System.Posix.Syslog.Functions
System.Posix.Syslog.LogMask
System.Posix.Syslog.Options
System.Posix.Syslog.Priority
build-depends: base >= 4.6 && < 5
other-extensions: ForeignFunctionInterface, DeriveGeneric
hs-source-dirs: src
c-sources: c-bits/simple-syslog.c
c-bits/make-log-mask.c
default-language: Haskell2010
build-tools: hsc2hs
executable hsyslog-example
main-is: Main.hs
hs-source-dirs: example
if flag(install-examples)
buildable: True
build-depends: base, hsyslog, bytestring
other-extensions: TypeSynonymInstances, FlexibleInstances
else
buildable: False
default-language: Haskell2010