packages feed

lingo-0.4.0.0: lingo.cabal

cabal-version:       2.4
build-type:          Simple
name:                lingo
version:             0.4.0.0
synopsis:            File extension based programming language detection
description:         Lingo uses github/linguist's language registry to enable fast detection of a file path's programming langauge based on extension or filename.
homepage:            https://github.com/tclem/lingo-haskell
license:             BSD-3-Clause
license-file:        LICENSE
author:              Timothy Clem
maintainer:          timothy.clem@gmail.com
category:            Data
extra-source-files:  README.md
                   , ChangeLog.md
data-files:          languages.yml

tested-with:  GHC == 8.6.5
            , GHC == 8.8.1
            , GHC == 8.10.1

library
  exposed-modules:     Data.Languages
                     , Data.Languages.Templates
  autogen-modules:     Paths_lingo
  other-modules:       Paths_lingo
  build-depends:       base >= 4.12 && < 5
                     , aeson >= 1.4 && <2
                     , bytestring ^>= 0.10.8.2
                     , containers ^>= 0.6.0.1
                     , filepath ^>= 1.4.2.1
                     , raw-strings-qq ^>= 1.1
                     , text ^>= 1.2.3.2
                     , template-haskell >= 2.14.0.0 && < 2.17.0.0
                     , yaml ^>= 0.11.1.2
  hs-source-dirs:      src
  default-language:    Haskell2010
  default-extensions:  OverloadedStrings

test-suite test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , lingo
                     , hspec ^>= 2.7.1
  default-language:    Haskell2010
  default-extensions:  OverloadedStrings

source-repository head
  type:     git
  location: https://github.com/tclem/lingo-haskell