File: open-browser.cabal

package info (click to toggle)
haskell-open-browser 0.2.1.0-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 72 kB
  • sloc: haskell: 76; makefile: 5
file content (41 lines) | stat: -rw-r--r-- 1,529 bytes parent folder | download | duplicates (5)
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
name:                       open-browser
version:                    0.2.1.0
synopsis:                   Open a web browser from Haskell.
description:                Open a web browser from Haskell.
                            Currently BSD, Linux, OS X and Windows are supported.
license:                    BSD3
license-file:               LICENSE
author:                     rightfold
homepage: https://github.com/rightfold/open-browser
maintainer:                 rightfold@gmail.com
bug-reports:                https://github.com/rightfold/open-browser/issues
category:                   Web
build-type:                 Simple
cabal-version:              >=1.10

tested-with: GHC >= 7.6

source-repository head
    type:                   git
    location:               https://github.com/rightfold/open-browser.git

library
    exposed-modules:        Web.Browser
    other-modules:          Web.Browser.Linux,
                            Web.Browser.OSX
    hs-source-dirs:         lib
    default-language:       Haskell2010
    build-depends:          base >= 4 && < 5, process >= 1 && < 2
    if os(windows)
      build-depends:        Win32
      other-modules:        Web.Browser.Windows
      if arch(i386)
        cpp-options:        "-DWINDOWS_CCONV=stdcall"
      else
        cpp-options:        "-DWINDOWS_CCONV=ccall"

executable example
    main-is:                Main.hs
    hs-source-dirs:         example
    default-language:       Haskell2010
    build-depends:          base >= 4 && < 5, open-browser