File: miniutter.cabal

package info (click to toggle)
haskell-miniutter 0.4.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 100 kB
  • sloc: haskell: 808; makefile: 6
file content (76 lines) | stat: -rw-r--r-- 3,739 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
name:          miniutter
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
--              | | +----- non-breaking API additions
--              | | | +--- code changes with no API change
version:        0.4.7.0
synopsis:      Simple English clause creation from arbitrary words
description:   This library helps in generating simple present tense
               English sentences from short, parametrized descriptions.
               In a typical use, the structure of a clause is fixed,
               but the particular words to be used vary in arbitrary ways.
               The main goal of the library is to minimize the API
               complexity and the code size of programs that use it.
               The library doesn't attempt to ban incorrect English sentences,
               but just make the creation of the simple correct ones easy
               and predictable.
homepage:      https://github.com/Mikolaj/miniutter
bug-reports:   https://github.com/Mikolaj/miniutter/issues
license:       BSD3
license-file:  LICENSE
tested-with:   GHC >= 7.4.2 && <= 8.4
extra-source-files: LICENSE, README.md
author:        Mikolaj Konarski
maintainer:    Mikolaj Konarski <mikolaj.konarski@funktory.com>
category:      Natural Language Processing
build-type:    Simple
cabal-version: >= 1.10

source-repository head
  type:               git
  location:           git://github.com/Mikolaj/miniutter.git

library
  exposed-modules:    NLP.Miniutter.English
--  other-modules:
  build-depends:      base                 >= 4        && < 5,
                      binary               >= 0.6.3.0  && < 1,
                      ghc-prim             >= 0.2,
                      text                 >= 0.11.2.3 && < 2,
                      containers           >= 0.4.1    && < 1,
                      minimorph            >= 0.1.6    && < 1
  if !impl(ghc >= 8.0)
    build-depends: semigroups == 0.18.*

  default-language:   Haskell2010
  default-extensions: MonoLocalBinds, ScopedTypeVariables,
                      BangPatterns, RecordWildCards, NamedFieldPuns, CPP
  other-extensions:   OverloadedStrings
--, DeriveGeneric
  ghc-options:        -Wall -fwarn-orphans -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unrecognised-pragmas
  ghc-options:        -fno-warn-implicit-prelude
  ghc-options:        -fno-ignore-asserts -funbox-strict-fields

test-suite test-miniutter
  type:               exitcode-stdio-1.0
  main-is:            test-miniutter.hs
  hs-source-dirs:     test
  build-depends:      miniutter,
                      base                 >= 4        && < 5,
                      text                 >= 0.11.2.3 && < 2,
                      containers           >= 0.4.1    && < 1,
                      test-framework       >= 0.6      && < 1,
                      test-framework-hunit >= 0.2      && < 1,
                      HUnit                >= 1.2      && < 2
  if !impl(ghc >= 8.0)
    build-depends: semigroups == 0.18.*

  default-language:   Haskell2010
  default-extensions: MonoLocalBinds, ScopedTypeVariables,
                      BangPatterns, RecordWildCards, NamedFieldPuns, CPP
  other-extensions:   OverloadedStrings
  ghc-options:        -Wall -fwarn-orphans -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unrecognised-pragmas
  ghc-options:        -fno-warn-implicit-prelude
  ghc-options:        -fno-ignore-asserts -funbox-strict-fields