File: debian.cabal

package info (click to toggle)
haskell-debian 4.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: haskell: 3,914; makefile: 5
file content (147 lines) | stat: -rw-r--r-- 3,831 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
141
142
143
144
145
146
147
cabal-version:  3.0
Name:           debian
Version:        4.0.5
License:        BSD-3-Clause
License-File:   debian/copyright
Author:         David Fox <dsf@seereason.com>, Jeremy Shaw <jeremy@seereason.com>, Clifford Beshers <beshers@seereason.com>
Category:       Debian
Maintainer:     Clint Adams <clint@debian.org>
Homepage:       https://github.com/clinty/debian-haskell
Build-Type:     Simple
Synopsis:       Modules for working with the Debian package system
Tested-With:    GHC ==9.6.2 || ==9.4.7 || ==9.2.8 || ==9.0.2 || ==8.10.7
Description:
  This library includes modules covering some basic data types defined by
  the Debian policy manual - version numbers, control file syntax, etc.
extra-source-files:
  Test/Main.hs, Test/Changes.hs, Test/Dependencies.hs,
  Test/Versions.hs, Test/Control.hs, changelog, debian/changelog, debian/changelog.pre-debian

flag network-uri
 Description: Get Network.URI from the network-uri package
 Default: True

flag threaded
  description: build threaded
  default: True

Library
 Hs-Source-Dirs: src
 Build-Depends:
   base >= 4 && < 5,
   bytestring,
   bz2,
   Cabal >= 2.2.0.1,
   containers,
   directory >= 1.2.3.0,
   either,
   exceptions,
   filepath,
   hostname,
   HUnit,
   lens,
   ListLike >= 4.3.5,
   mtl,
   old-locale,
   parsec >= 2 && <4,
   pretty >= 1.1.2,
   process,
   process-extras >= 0.2.0,
   pureMD5,
   QuickCheck,
   regex-compat,
   regex-tdfa,
   SHA,
   syb,
   template-haskell,
   temporary,
   text,
   th-lift,
   th-orphans,
   time,
   unix,
   utf8-string,
   zlib
 if flag(network-uri)
   Build-Depends: network-uri >= 2.6
 else
   Build-Depends: network >= 2.4 && < 2.6
 default-language: Haskell2010
 ghc-options: -Wall
 Exposed-modules:
        Debian.Apt.Dependencies,
        Debian.Apt.Index,
        Debian.Apt.Methods,
        Debian.Apt.Package,
        Debian.Arch,
        Debian.Changes,
        Debian.Codename,
        Debian.Control,
        Debian.Control.Common,
        Debian.Control.Builder,
        Debian.Control.ByteString,
        Debian.Control.Policy,
        Debian.Control.String,
        Debian.Control.Text,
        Debian.Control.TextLazy,
        Debian.Deb,
        Debian.Extra.Files,
        Debian.GenBuildDeps,
        Debian.Loc,
        Debian.Pretty,
        Debian.Relation,
        Debian.Relation.ByteString,
        Debian.Relation.Common,
        Debian.Relation.String,
        Debian.Relation.Text,
        Debian.Release,
        Debian.Sources,
        Debian.Version,
        Debian.Version.ByteString,
        Debian.Version.Common,
        Debian.Version.String,
        Debian.Version.Text,
        Debian.TH,
        Debian.Time,
        Debian.URI,
        Debian.UTF8,
        Debian.Util.FakeChanges,
        Debian.VendorURI
 other-modules:
        Debian.Version.Internal

Executable fakechanges
 Hs-Source-Dirs: utils
 Main-is: FakeChanges.hs
 Build-Depends: base, debian, directory, filepath
 ghc-options: -threaded -W
 default-extensions:           ExistentialQuantification CPP
 default-language: Haskell2010

Executable apt-get-build-depends
 Hs-Source-Dirs: utils
 Main-is: AptGetBuildDeps.hs
 Build-Depends: base, debian, process
 ghc-options: -W
 if flag(threaded)
   ghc-options: -threaded
 default-extensions:           ExistentialQuantification CPP
 default-language: Haskell2010

Test-Suite debian-tests
  Type: exitcode-stdio-1.0
  Hs-Source-Dirs: Test
  Main-Is: Main.hs
 Build-Depends: base, Cabal, debian, HUnit, parsec, pretty >= 1.1.2, regex-tdfa, text
 other-modules: Apt
              , Changes
              , Control
              , Dependencies
              , Paths_debian
              , Versions
 autogen-modules: Paths_debian
 default-language: Haskell2010

source-repository head
  type:     git
  location: https://github.com/clinty/debian-haskell