File: oeis.cabal

package info (click to toggle)
haskell-oeis 0.3.10-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 192 kB
  • sloc: haskell: 249; makefile: 2
file content (89 lines) | stat: -rw-r--r-- 1,947 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
name:         oeis
version:      0.3.10
category:     Math
stability:    experimental

author:       Brent Yorgey
maintainer:   Bartosz Nitka <niteria@gmail.com>

license:      BSD3
license-file: LICENSE

synopsis:     Interface to the Online Encyclopedia of Integer Sequences (OEIS)
description:
  Interface to the <http://oeis.org/ Online Encyclopedia of Integer Sequences (OEIS)>.

cabal-version: >= 1.10
build-type:    Simple
tested-with:
  GHC==7.8.4,
  GHC==7.10.3,
  GHC==8.0.2,
  GHC==8.2.2,
  GHC==8.4.4,
  GHC==8.6.5,
  GHC==8.8.1

--------------------------------------------------------------------------------

extra-source-files:
  README.md
  test/data/id_rsp.txt
  test/data/seq_rsp.txt

--------------------------------------------------------------------------------

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


library
  default-language: Haskell2010

  ghc-options: -Wall -O2
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs

  exposed-modules:
    Math.OEIS
    Math.OEIS.Internal

  other-modules:
    Math.OEIS.Types

  build-depends:
    HTTP    >= 4000.2,
    base    >= 3 && < 5

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

--------------------------------------------------------------------------------

test-suite main
  default-language: Haskell2010

  ghc-options: -Wall -O2
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs

  type: exitcode-stdio-1.0
  hs-source-dirs:
    test
  main-is: Test.hs

  build-depends:
    HUnit                >= 1.2 && < 1.7,
    base                 >= 3 && < 5,
    oeis                 == 0.3.*,
    test-framework       == 0.8.*,
    test-framework-hunit == 0.3.*

--------------------------------------------------------------------------------

source-repository head
  type:     git
  location: git://github.com/niteria/oeis.git