open-browser-0.5.1.0: open-browser.cabal
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack
name: open-browser
version: 0.5.1.0
synopsis: Open a web browser from Haskell
description: Open a web browser from Haskell. Windows, macOS, Linux and BSD are supported.
category: Web
homepage: https://github.com/mpilgrem/open-browser
bug-reports: https://github.com/mpilgrem/open-browser/issues
author: rightfold
maintainer: public@pilgrem.com
license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC >= 8.4
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/mpilgrem/open-browser
flag example
description: Build the example application
manual: True
default: False
library
hs-source-dirs:
lib
exposed-modules:
Web.Browser
build-depends:
base ==4.*
default-language: Haskell2010
if os(windows)
other-modules:
Web.Browser.OS
hs-source-dirs:
lib/windows
build-depends:
Win32 <3
else
if os(darwin)
other-modules:
Web.Browser.OS
hs-source-dirs:
lib/unix-like/open
build-depends:
process >=1.2.0.0 && <2
else
if os(linux) || os(freebsd) || os(openbsd) || os(netbsd)
other-modules:
Web.Browser.OS
hs-source-dirs:
lib/unix-like/xdg-open
build-depends:
process >=1.2.0.0 && <2
else
other-modules:
Web.Browser.OS
hs-source-dirs:
lib/unsupported-os
executable open-browser-example
main-is: Main.hs
hs-source-dirs:
example
build-depends:
base ==4.*
, open-browser
default-language: Haskell2010
if !flag(example)
buildable: False