aboutsummaryrefslogtreecommitdiffhomepage
path: root/srem.cabal
blob: 88b98c839b38a5fdef07b801e2deb905c3b16834 (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
name:                srem
version:             2.0.0
synopsis:            Timed reminders as notifications
homepage:            https://github.com/spwhitton/srem.git
license:             GPL-3
license-file:        LICENSE
author:              Sean Whitton
maintainer:          spwhitton@spwhitton.name
category:            Text
build-type:          Simple
cabal-version:       >=1.10

extra-source-files:  cbits
-- extra-include-dirs:  /usr/include
-- extra-lib-dirs:      /usr/lib/i386-linux-gnu

executable srem
  main-is:             Main.hs
  build-depends:       base
                     , directory
                     , process
                     , regex-posix
                     , modular-arithmetic
                     , time
                     , filepath
                     , split
                     , old-locale
                     , tuple
                     , fdo-notify
                     , dbus
  hs-source-dirs:      src
  default-language:    Haskell2010

  -- TODO conditional on building on GNU/Linux
  c-sources:         cbits/getIdleTime_posix.c
  extra-libraries:   Xss
  includes:          X11/extensions/scrnsaver.h