packages feed

tldr-0.6.4: tldr.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 6d6a28bd0b56fd00a272f305ae388900bd3a5e235b44afb32bd4e758846bf2f7

name:           tldr
version:        0.6.4
synopsis:       Haskell tldr client
description:    Haskell tldr client with support for viewing tldr pages. Has offline
                cache for accessing pages. Visit https://tldr.sh for more details.
category:       Web, CLI
homepage:       https://github.com/psibi/tldr-hs#readme
bug-reports:    https://github.com/psibi/tldr-hs/issues
author:         Sibi Prabakaran
maintainer:     sibi@psibi.in
copyright:      2017 Sibi Prabakaran
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md
    test/data/grep.golden
    test/data/ls.golden
    test/data/ps.golden
    test/data/grep.md
    test/data/ls.md
    test/data/ps.md

source-repository head
  type: git
  location: https://github.com/psibi/tldr-hs

library
  exposed-modules:
      Tldr
  other-modules:
      Paths_tldr
  hs-source-dirs:
      src
  build-depends:
      ansi-terminal
    , base >=4.7 && <5
    , bytestring
    , cmark
    , text
  default-language: Haskell2010

executable tldr
  main-is: Main.hs
  other-modules:
      Paths_tldr
  hs-source-dirs:
      app
  build-depends:
      base
    , containers
    , directory
    , filepath
    , optparse-applicative
    , semigroups
    , tldr
    , typed-process
  if os(linux)
    ghc-options: -threaded -optl-pthread -rtsopts -with-rtsopts=-N
  else
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
  default-language: Haskell2010

test-suite tldr-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_tldr
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base
    , tasty
    , tasty-golden
    , tldr
  default-language: Haskell2010