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
|