summaryrefslogtreecommitdiff
path: root/h9clock.cabal
blob: e4a566dc817e16f9fb625d959b478fd893e95567 (plain)
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
name:                h9clock
version:             0.1.0.0
synopsis:            Haskell port of Plan 9's clock
description:         Haskell port of Plan 9's clock
homepage:            https://git.rodere.systems/h9clock
license:             AGPL-3
license-file:        LICENSE
author:              Carlos Sosa
maintainer:          gnusosa@gnusosa.net
copyright:           2020 Carlos Sosa
category:            Program, Utility
build-type:          Simple
extra-source-files:  README.org
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     System.Utility.H9Clock
  other-modules:       System.Utility.H9Clock.Draw
                     , System.Utility.H9Clock.Type
                     , System.Utility.H9Clock.Time
  build-depends:       base >= 4.7 && < 5
                     , HGL >= 3.2.0.5
                     , stm >= 2.3
                     , time >= 1.8
  default-language:    Haskell2010

executable h9clock
  hs-source-dirs:      app
  main-is:             Main.hs
  build-depends:       base
                     , h9clock
  default-language:    Haskell2010

test-suite h9clock-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       System.Utility.H9Clock.DrawSpec
                     , System.Utility.H9Clock.Test.Util
  build-depends:       base
                     , h9clock
                     , HGL >= 3.2.0.5
                     , hspec
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://git.rodere.systems/h9clock