File: unix-time.cabal

package info (click to toggle)
haskell-unix-time 0.2.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 212 kB
  • ctags: 41
  • sloc: haskell: 237; ansic: 100; makefile: 4
file content (55 lines) | stat: -rw-r--r-- 1,939 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
Name:                   unix-time
Version:                0.2.2
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
  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
  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