File: unix-time.cabal

package info (click to toggle)
haskell-unix-time 0.3.7-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 232 kB
  • ctags: 47
  • sloc: haskell: 245; ansic: 126; makefile: 4
file content (58 lines) | stat: -rw-r--r-- 2,022 bytes parent folder | download
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
Name:                   unix-time
Version:                0.3.7
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.10
Build-Type:             Configure
Extra-Source-Files:     cbits/conv.c cbits/config.h.in 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
  C-Sources:            cbits/conv.c

Test-Suite doctest
  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

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-Depends:        base
                      , bytestring
                      , hspec >= 1.5
                      , old-locale
                      , old-time
                      , QuickCheck
                      , time
                      , unix-time

Source-Repository head
  Type:                 git
  Location:             https://github.com/kazu-yamamoto/unix-time