forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unix-time.cabal
74 lines (70 loc) · 2.51 KB
/
unix-time.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
64
65
66
67
68
69
70
71
72
73
74
Name: unix-time
Version: 0.4.5
Author: Kazu Yamamoto <kazu@iij.ad.jp>
Maintainer: Kazu Yamamoto <kazu@iij.ad.jp>
License: BSD3
License-File: LICENSE
Synopsis: Unix time parser/formatter and utilities
Description: Fast parser\/formatter\/utilities for Unix time
Category: Data
Cabal-Version: 1.18
Build-Type: Configure
Extra-Source-Files: cbits/config.h.in
cbits/conv.c
cbits/strftime.c
cbits/strptime.c
cbits/win_patch.c
cbits/win_patch.h
configure
configure.ac
Extra-Tmp-Files: config.log config.status autom4te.cache cbits/config.h
Library
Default-Language: Haskell2010
GHC-Options: -Wall
if impl(ghc >= 7.8)
CC-Options: -fPIC
Exposed-Modules: Data.UnixTime
Other-Modules: Data.UnixTime.Conv
Data.UnixTime.Diff
Data.UnixTime.Types
Data.UnixTime.Sys
Build-Depends: base >= 4 && < 5
, bytestring
, old-time
, binary
Build-Tools: hsc2hs
C-Sources: cbits/conv.c
if os(windows)
C-Sources: cbits/strftime.c
, cbits/strptime.c
, cbits/win_patch.c
include-dirs: cbits
Test-Suite doctests
Buildable: False
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
HS-Source-Dirs: test
Ghc-Options: -threaded -Wall
Main-Is: doctests.hs
Build-Depends: base
, doctest >= 0.9.3
, unix-time
Test-Suite spec
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
Hs-Source-Dirs: test
Ghc-Options: -Wall
Main-Is: Spec.hs
Other-Modules: UnixTimeSpec
Build-Tools: hspec-discover >= 2.6
Build-Depends: base
, bytestring
, old-locale
, old-time
, QuickCheck
, time
, unix-time
, hspec >= 2.6
Source-Repository head
Type: git
Location: https://github.com/kazu-yamamoto/unix-time