horizontal-rule-0.6.0.0: horizontal-rule.cabal
name: horizontal-rule
version: 0.6.0.0
category: Utils
synopsis: horizontal rule for the terminal
description:
This package provides a utility for displaying a horizontal rule in a
terminal. Please see the README on GitHub at
<https://github.com/ExtremaIS/hr-haskell#readme>.
homepage: https://github.com/ExtremaIS/hr-haskell#readme
bug-reports: https://github.com/ExtremaIS/hr-haskell/issues
author: Travis Cardwell <travis.cardwell@extrema.is>
maintainer: Travis Cardwell <travis.cardwell@extrema.is>
copyright: Copyright (c) 2019-2023 Travis Cardwell
license: MIT
license-file: LICENSE
cabal-version: 1.24
build-type: Simple
tested-with:
GHC ==8.2.2
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.5
|| ==9.6.2
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/ExtremaIS/hr-haskell.git
-- This flag is referenced in the Stack build-constraints.yaml configuration.
flag optparse-applicative_ge_0_18
description: Use optparse-applicative 0.18 or newer
default: False
manual: False
library
hs-source-dirs: src
exposed-modules:
HR
, HR.Monad.Terminal
other-modules:
Paths_horizontal_rule
build-depends:
base >=4.10.1 && <4.19
, terminal-size >=0.2 && <0.4
, text >=1.2.3 && <2.1
default-language: Haskell2010
default-extensions:
OverloadedStrings
ghc-options: -Wall
executable hr
hs-source-dirs: app
main-is: Main.hs
other-modules:
LibOA
build-depends:
base
, horizontal-rule
, text
, time >=1.8.0.2 && <1.13
if flag(optparse-applicative_ge_0_18)
build-depends:
optparse-applicative >=0.18 && <0.19
, prettyprinter >=1.7.1 && <1.8
else
build-depends:
ansi-wl-pprint >=0.6.8 && <1.1
, optparse-applicative >=0.13 && <0.18
default-language: Haskell2010
ghc-options: -Wall
test-suite horizontal-rule-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
HR.Test
build-depends:
base
, horizontal-rule
, tasty >=0.12 && <1.5
, tasty-hunit >=0.8 && <0.11
if impl(ghc >= 8.6.1)
other-modules:
HR.Mock
build-depends:
HMock >=0.5.1 && <0.6
default-language: Haskell2010
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N