hooglite/hooglite.cabal
2024-04-09 17:19:02 +03:00

106 lines
2.5 KiB
Plaintext

cabal-version: 2.4
name: hooglite
version: 0.20240409
license: BSD-3-Clause
license-file: LICENSE
category: Development
synopsis: A lite implementation of hoogle
description:
This is like hoogle, but is smaller, containing only core functionality.
Uses @ghc-lib-parser@ for parsing.
author: Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
build-type: Simple
tested-with: GHC ==9.8.2
extra-source-files: test-data/*.txt
source-repository head
type: git
location: https://github.com/phadej/hooglite.git
library
default-language: Haskell2010
ghc-options: -Wall -Wno-unticked-promoted-constructors
hs-source-dirs: src
-- GHC-boot libraries
build-depends:
, base ^>=4.19.0.0
, bytestring ^>=0.12.0.1
, containers ^>=0.6.5.1
, pretty ^>=1.1.3.6
-- Cabal is special
build-depends: Cabal ^>=3.10.3.0
-- rest of the dependencies
build-depends:
, bifunctors ^>=5.6.2
, edit-distance ^>=0.2.2.1
, fin ^>=0.3
, ghc-lib-parser ^>=9.8.2.20240223
, ghc-lib-parser-ex ^>=9.8.0.2
, mtl ^>=2.3.1
, text-short ^>=0.1.5
, unification-fd ^>=0.11.1
-- Main module
exposed-modules: Hooglite
exposed-modules:
Hooglite.Database
Hooglite.Declaration
Hooglite.GHC.Utils
Hooglite.Haddock
Hooglite.Query
Hooglite.Ty
exposed-modules:
Hooglite.MonoPoly
Hooglite.MonoPoly.Name
Hooglite.MonoPoly.Pretty
Hooglite.MonoPoly.Var
cpp-options: -DSAFE
default-extensions:
BangPatterns
DataKinds
DeriveGeneric
DeriveTraversable
DerivingStrategies
EmptyCase
GADTs
GeneralizedNewtypeDeriving
OverloadedStrings
PatternSynonyms
QuantifiedConstraints
RankNTypes
RoleAnnotations
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TypeApplications
test-suite hooglite-tests
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options: -Wall -Wno-unticked-promoted-constructors
hs-source-dirs: test
main-is: hooglite-tests.hs
other-modules:
Hooglite.Test.Database
Hooglite.Test.Haddock
Hooglite.Test.Query
build-depends:
, base
, Cabal
, containers
, hooglite
, mtl
build-depends:
, tasty ^>=1.5
, tasty-golden ^>=2.3.4
, tasty-hunit ^>=0.10.0.3