File: network-uri.cabal

package info (click to toggle)
haskell-network-uri 2.6.1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 160 kB
  • sloc: haskell: 1,897; makefile: 3
file content (65 lines) | stat: -rw-r--r-- 1,780 bytes parent folder | download | duplicates (2)
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
name:                network-uri
version:             2.6.1.0
synopsis:            URI manipulation
description:
  This package provides an URI manipulation interface.
  .
  In network-2.6 the @Network.URI@ module was split off from the
  network package into this package. If you're using the @Network.URI@
  module you can automatically get it from the right package by adding
  this to your .cabal file:
  .
  > flag network-uri
  >   description: Get Network.URI from the network-uri package
  >   default: True
  >
  > library
  >   -- ...
  >   if flag(network-uri)
  >     build-depends: network-uri >= 2.6, network >= 2.6
  >   else
  >     build-depends: network-uri < 2.6, network < 2.6
  .
  That is, get the module from either network < 2.6 or from
  network-uri >= 2.6.
homepage:            https://github.com/haskell/network-uri
bug-reports:         https://github.com/haskell/network-uri/issues
license:             BSD3
license-file:        LICENSE
maintainer:          ezra@ezrakilty.net
category:            Network
build-type:          Simple
cabal-version:       >=1.10

library
  exposed-modules:
    Network.URI
  build-depends:
    base >= 3 && < 5,
    deepseq >= 1.1 && < 1.5,
    parsec >= 3.0 && < 3.2
  default-extensions: CPP, DeriveDataTypeable
  if impl(ghc >= 7.6)
    default-extensions: DeriveGeneric
  ghc-options: -Wall -fwarn-tabs
  default-language: Haskell98

test-suite uri
  hs-source-dirs: tests
  main-is: uri001.hs
  type: exitcode-stdio-1.0

  build-depends:
    base < 5,
    HUnit,
    network-uri,
    test-framework,
    test-framework-hunit,
    test-framework-quickcheck2

  ghc-options: -Wall -fwarn-tabs
  default-language: Haskell98

source-repository head
  type:     git
  location: git://github.com/haskell/network-uri.git