generated from srid/rib-sample
-
-
Notifications
You must be signed in to change notification settings - Fork 150
/
neuron.cabal
210 lines (203 loc) · 4.79 KB
/
neuron.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
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
cabal-version: 2.4
name: neuron
version: 1.9.35.3
license: AGPL-3.0-only
copyright: 2020 Sridhar Ratnakumar
maintainer: [email protected]
author: Sridhar Ratnakumar
category: Web
homepage: https://neuron.zettel.page
bug-reports: https://github.com/srid/neuron/issues
synopsis:
Future-proof system for plain-text notes.
description:
neuron is a future-proof system for managing and publishing your plain-text Zettelkasten notes.
data-files:
neuron-search
source-repository head
type: git
location: https://github.com/srid/neuron
flag ghcid
default: False
manual: True
common ghc-common
ghc-options:
-Wall
-Wincomplete-record-updates
-Wincomplete-uni-patterns
common library-common
import: ghc-common
default-language: Haskell2010
build-depends:
base >=4.12 && < 4.15,
aeson-gadt-th >= 0.2.5.0,
aeson-pretty,
aeson >= 1.5.2.0,
algebraic-graphs >= 0.5,
ansi-terminal,
async,
clay,
co-log,
commonmark >= 0.1.0.2 && < 0.3,
commonmark-extensions ^>= 0.2.0.4,
commonmark-pandoc >= 0.1.0.0 && < 0.3,
constraints-extras,
containers,
data-default,
dependent-map,
dependent-sum-aeson-orphans >= 0.2.1.0,
dependent-sum-template,
dependent-sum,
dhall >= 1.30,
directory-contents,
directory,
either,
exceptions,
feed,
file-embed,
filepath,
filepattern,
foldl,
fsnotify,
HsYAML,
iso8601-time,
lsp,
megaparsec,
modern-uri,
mtl,
optparse-applicative,
pandoc-link-context >= 1.2.0,
pandoc-types >= 1.21,
parsec,
parser-combinators,
reflex-dom-core,
reflex-dom-pandoc >= 1.0.0.0,
reflex-fsnotify,
reflex,
relude >= 0.7.0.0 && < 1.0.0.0,
split,
shower,
tagged,
text,
time,
timeit,
unicode-transforms,
unix,
uri-encode,
uuid,
wai-app-static,
wai-extra,
warp,
which,
with-utf8,
library
import: library-common
hs-source-dirs: src
exposed-modules:
Neuron.Config.Type
Neuron.Markdown
Neuron.Plugin
Neuron.Plugin.Type
Neuron.Plugin.Plugins.DirTree
Neuron.Plugin.Plugins.NeuronIgnore
Neuron.Plugin.Plugins.Tags
Neuron.Plugin.Plugins.Links
Neuron.Plugin.Plugins.UpTree
Neuron.Plugin.Plugins.Feed
Neuron.Zettelkasten.ID
Neuron.Zettelkasten.Zettel
Neuron.Zettelkasten.Zettel.Error
Neuron.Zettelkasten.Zettel.Parser
Neuron.Zettelkasten.Connection
Neuron.Zettelkasten.Query
Neuron.Zettelkasten.Query.Graph
Neuron.Zettelkasten.Graph
Neuron.Zettelkasten.Graph.Type
Neuron.Zettelkasten.Graph.Build
Neuron.Zettelkasten.Resolver
Neuron.Cache.Type
Neuron.Frontend.Route
Neuron.Frontend.Route.Data
Neuron.Frontend.Route.Data.Types
Neuron.Frontend.Manifest
Neuron.Frontend.Common
Neuron.Frontend.Widget
Neuron.Frontend.Widget.InvertedTree
Neuron.Frontend.Zettel.View
Neuron.Frontend.Zettel.CSS
Neuron.Frontend.Impulse
Neuron.Frontend.Theme
Neuron.Frontend.View
Neuron.Frontend.CSS
Text.Megaparsec.Simple
Text.Pandoc.Util
Text.URI.Util
Data.TagTree
Data.PathTree
Data.Graph.Labelled
Data.Graph.Labelled.Type
Data.Graph.Labelled.Algorithm
Data.Graph.Labelled.Build
Data.Time.DateMayTime
Data.YAML.ToJSON
Data.Structured.Breadcrumb
Data.Structured.OpenGraph
Data.Structured.OpenGraph.Render
System.Directory.Contents.Extra
Options.Applicative.Extra
Neuron.Backend
Neuron.Reactor
Neuron.Reactor.Build
Neuron.CLI.App
Neuron.CLI.Query
Neuron.CLI.Logging
Neuron.CLI.New
Neuron.CLI.Open
Neuron.CLI.Search
Neuron.CLI.Types
Neuron.CLI.Parser
Neuron.Config
Neuron.Version
Neuron.Cache
Neuron.Frontend.Static.Html
Neuron.Frontend.Static.HeadHtml
Neuron.Frontend.Static.StructuredData
Neuron.Zettelkasten.ID.Scheme
autogen-modules:
Paths_neuron
other-modules:
Paths_neuron
test-suite neuron-test
import: library-common
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
relude,
hspec,
QuickCheck,
time
default-language: Haskell2010
if (flag(ghcid))
hs-source-dirs: src
else
build-depends: neuron
other-modules:
Data.PathTreeSpec
Data.TagTreeSpec
Data.Graph.Labelled.AlgorithmSpec
Neuron.VersionSpec
Neuron.Zettelkasten.ID.SchemeSpec
Neuron.Zettelkasten.IDSpec
Neuron.Zettelkasten.ZettelSpec
-- To profile: ghc-options: -fexternal-interpreter -prof -fprof-auto -rtsopts
executable neuron
import: library-common
hs-source-dirs: exe
main-is: Main.hs
-- FIXME: Threaded runtime causes high cpu usage when using reflex headless
-- ghc-options: -threaded -rtsopts -with-rtsopts=-N
if (flag(ghcid))
hs-source-dirs: src
else
build-depends: neuron