-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhost-and-port.cabal
112 lines (106 loc) · 3.25 KB
/
host-and-port.cabal
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
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: fbe638cc61b395e6e6327efa3c0c677b53acbc14858756b05222398667781e47
name: host-and-port
version: 0.1.0.0
synopsis: Data type and utilities for handling host name and port number pairs
description: This package provides:
.
* Generic data type for storing host name and port number that uses phantom
types to distinguish between server\/client, and various
protocols\/services\/APIs.
.
* Type classes for accessing host name and port number in a data type using
lenses.
.
* Generic parsing of host name and port number from e.g. command line
arguments.
category: Data
homepage: https://github.com/trskop/host-and-port#readme
bug-reports: https://github.com/trskop/host-and-port/issues
maintainer: Peter Trško <peter.trsko@gmail.com>
copyright: (c) 2017-2024 Peter Trško
license: BSD3
license-file: LICENSE
build-type: Simple
tested-with:
GHC == 9.4.1, GHC == 9.6.6
extra-source-files:
ChangeLog.md
README.md
dhall/ConnectTo/connectTo.dhall
dhall/ConnectTo/default.dhall
dhall/ConnectTo/package.dhall
dhall/ConnectTo/Type.dhall
dhall/HostAndPort/default.dhall
dhall/HostAndPort/Host.dhall
dhall/HostAndPort/package.dhall
dhall/HostAndPort/Port.dhall
dhall/HostAndPort/Type.dhall
dhall/ListenOn/default.dhall
dhall/ListenOn/listenOn.dhall
dhall/ListenOn/package.dhall
dhall/ListenOn/Type.dhall
dhall/package.dhall
source-repository head
type: git
location: https://github.com/trskop/host-and-port
flag dhall
description: Provide support for Dhall.
manual: False
default: True
flag pedantic
description: Turn on additional warning flags
manual: True
default: False
library
exposed-modules:
Data.HostAndPort
Data.HostAndPort.Class
Data.HostAndPort.Parse
Data.HostAndPort.Type
other-modules:
Paths_host_and_port
hs-source-dirs:
src
default-extensions:
BlockArguments
DataKinds
DefaultSignatures
DeriveFunctor
DeriveGeneric
DerivingStrategies
DuplicateRecordFields
FlexibleContexts
FlexibleInstances
ImportQualifiedPost
InstanceSigs
LambdaCase
NamedFieldPuns
NoImplicitPrelude
OverloadedStrings
PatternSynonyms
PolyKinds
ScopedTypeVariables
TupleSections
TypeApplications
TypeFamilies
TypeOperators
ghc-options: -Wall -Wcompat -Wimplicit-prelude -Wincomplete-record-updates -Wmissing-deriving-strategies -Wpartial-fields -Wredundant-record-wildcards -Wunused-packages -Wunused-record-wildcards
build-depends:
base >=4.17 && <5
, generic-lens >=1.0.0.2 && <3
, hostname-validate >=1.0.0 && <2
, iproute >=1.4.0 && <2
, streaming-commons >=0.1.0.0 && <1
, text >=1.2.0.0 && <3
default-language: Haskell2010
if flag(pedantic)
ghc-options: -Wprepositive-qualified-module
if flag(dhall)
cpp-options: -DDHALL
build-depends:
dhall >=1.33.0