-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathspacecookie.cabal
More file actions
124 lines (112 loc) · 4.71 KB
/
spacecookie.cabal
File metadata and controls
124 lines (112 loc) · 4.71 KB
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
cabal-version: 3.0
name: spacecookie
version: 1.1.0.1
synopsis: Gopher server library and daemon
description: Simple gopher library that allows writing custom gopher
applications. Also includes a fully-featured gopher server
daemon complete with gophermap-support built on top of it.
license: GPL-3.0-only
license-file: LICENSE
author: Lukas Epple
maintainer: sternenseemann@systemli.org
category: Network
build-type: Simple
homepage: https://github.com/sternenseemann/spacecookie
bug-reports: https://github.com/sternenseemann/spacecookie/issues
extra-doc-files: CHANGELOG.md
README.md
docs/rfc1436.txt
docs/man/spacecookie.1
docs/man/spacecookie.json.5
docs/man/spacecookie.gophermap.5
extra-source-files: etc/spacecookie.json
etc/spacecookie.service
etc/spacecookie.socket
test/data/pygopherd.gophermap
test/data/bucktooth.gophermap
test/integration/root/.gophermap
test/integration/root/dir/.hidden
test/integration/root/dir/another/.git-hello
test/integration/root/dir/macintosh.hqx
test/integration/root/dir/mystery-file
test/integration/root/dir/strange.tXT
test/integration/root/plain.txt
test/integration/spacecookie.json
flag install-daemon
description: Whether to build and install the executable spacecookie gopher daemon
default: True
manual: True
common common
default-language: Haskell2010
build-depends: base >= 4.9 && <5
, bytestring >= 0.10 && < 0.13
, attoparsec >= 0.13 && < 0.15
, containers >= 0.6 && < 0.9
, filepath >= 1.5.2.0 && < 1.6
, os-string >= 2.0.6 && < 2.1
common common-executables
ghc-options:
-- Needed by curl to work reliably in the test suite
-- https://github.com/GaloisInc/curl/pull/25
-threaded
-- Limit frequency of the idle GC to every 10s
-rtsopts
-with-rtsopts=-I10
common lib-exec-deps
build-depends: socket >= 0.8.2 && < 0.9
, text >= 1.2 && < 2.2
, utf8-string >= 1.0 && < 1.1
common exec-test-deps
build-depends: directory >= 1.3 && < 1.4
executable spacecookie
import: common, common-executables
, lib-exec-deps, exec-test-deps
if !flag(install-daemon)
buildable: False
main-is: Main.hs
build-depends: spacecookie
, aeson >= 1.5 && < 2.3
, systemd >= 2.1.0 && < 2.5
, fast-logger >= 2.4.0 && < 3.3
, unix >= 2.7 && < 2.9
, file-io >= 0.1.0 && < 0.3
hs-source-dirs: server
other-modules: Network.Spacecookie.Config
, Network.Spacecookie.Systemd
, Network.Spacecookie.FileType
, Network.Spacecookie.Path
, Paths_spacecookie
autogen-modules: Paths_spacecookie
library
import: common, lib-exec-deps
hs-source-dirs: src
exposed-modules: Network.Gopher
, Network.Gopher.Util.Gophermap
other-modules: Network.Gopher.Types
, Network.Gopher.Log
, Network.Gopher.Util.Socket
build-depends: async >= 2.2 && < 2.3
, mtl >= 2.2 && < 2.4
test-suite test
import: common, common-executables, exec-test-deps
type: exitcode-stdio-1.0
main-is: EntryPoint.hs
hs-source-dirs: test, server
other-modules: Test.FileTypeDetection
, Test.Gophermap
, Test.Integration
, Test.Sanitization
, Network.Spacecookie.FileType
, Network.Spacecookie.Path
build-depends: tasty >= 1.2 && < 1.6
, tasty-hunit >= 0.10 && < 0.11
, tasty-expected-failure >= 0.11 && < 0.13
, spacecookie
, process >= 1.2.0 && < 1.7
, download-curl >= 0.1 && < 0.2
source-repository head
type: git
location: https://github.com/sternenseemann/spacecookie.git
source-repository head
type: git
location: https://git.sterni.lv/spacecookie