File: hoogle.cabal

package info (click to toggle)
haskell-hoogle 5.0.17.3+dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 496 kB
  • sloc: haskell: 2,890; ansic: 110; sh: 33; xml: 20; makefile: 3
file content (140 lines) | stat: -rw-r--r-- 3,257 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
cabal-version:      >= 1.18
build-type:         Simple
name:               hoogle
version:            5.0.17.3
license:            BSD3
license-file:       LICENSE
category:           Development
author:             Neil Mitchell <ndmitchell@gmail.com>
maintainer:         Neil Mitchell <ndmitchell@gmail.com>
copyright:          Neil Mitchell 2004-2018
synopsis:           Haskell API Search
description:
    Hoogle is a Haskell API search engine, which allows you to
    search many standard Haskell libraries by either function name,
    or by approximate type signature.
homepage:           http://hoogle.haskell.org/
bug-reports:        https://github.com/ndmitchell/hoogle/issues
tested-with:        GHC==8.4.1, GHC==8.2.2, GHC==8.0.2
extra-doc-files:
    README.md
    CHANGES.txt
extra-source-files:
    cbits/*.h
    cbits/*.c
data-files:
    misc/settings.txt
    html/*.js
    html/*.png
    html/*.css
    html/*.xml
    html/*.html

source-repository head
    type:     git
    location: https://github.com/ndmitchell/hoogle.git

flag network-uri
    default: True
    manual: False
    description: Get Network.URI from the network-uri package

library
    hs-source-dirs:     src
    default-language:   Haskell2010

    if flag(network-uri)
        build-depends: network-uri >= 2.6, network >= 2.6
    else
        build-depends: network-uri < 2.6, network < 2.6

    build-depends:
        QuickCheck,
        aeson,
        base > 4 && < 5,
        binary,
        bytestring >= 0.10.2.0,
        cmdargs,
        conduit >= 1.3.0,
        conduit-extra >= 1.2.3.2,
        connection,
        containers >= 0.5,
        deepseq,
        directory,
        extra >= 1.6.6,
        filepath,
        old-locale,
        haskell-src-exts >= 1.18 && < 1.21,
        http-conduit >= 2.3,
        http-types,
        js-flot,
        js-jquery,
        mmap,
        process-extras,
        resourcet,
        storable-tuple,
        tar,
        template-haskell,
        text,
        time >= 1.5,
        transformers,
        uniplate,
        utf8-string,
        vector,
        wai,
        wai-logger,
        warp,
        warp-tls,
        zlib

    c-sources:        cbits/text_search.c
    include-dirs:     cbits
    includes:         include.h
    install-includes: include.h
    cc-options:       -std=c99

    ghc-options:      -fno-state-hack
    if impl(ghc < 8.0)
        build-depends: semigroups >= 0.18

    exposed-modules:
        Hoogle

    other-modules:
        Paths_hoogle
        Action.CmdLine
        Action.Generate
        Action.Search
        Action.Server
        Action.Test
        Input.Cabal
        Input.Download
        Input.Haddock
        Input.Item
        Input.Reorder
        Input.Set
        Input.Settings
        Output.Items
        Output.Names
        Output.Tags
        Output.Types
        Query
        General.Conduit
        General.IString
        General.Log
        General.Store
        General.Str
        General.Template
        General.Timing
        General.Util
        General.Web


executable hoogle
    main-is:            src/Main.hs
    default-language:   Haskell2010
    ghc-options:        -threaded

    build-depends:
        base > 4 && < 5,
        hoogle