-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvira.cabal
160 lines (147 loc) · 3.13 KB
/
vira.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
cabal-version: 2.4
name: vira
version: 0.1.0.0
license: AGPL-3.0-or-later
copyright: 2024 Juspay
maintainer: srid@srid.ca
author: Sridhar Ratnakumar
category: Web
homepage: https://github.com/juspay/vira
synopsis: Nix CI & Cache
description: vira - Nix CI & Cache
extra-source-files:
LICENSE
README.md
data-dir: static
data-files:
htmx-extensions/src/sse/sse.js
tailwind.css
flag ghcid
default: False
manual: True
common shared
default-language: GHC2021
ghc-options:
-Wall -Wincomplete-record-updates -Wincomplete-uni-patterns
-Wmissing-deriving-strategies -Wunused-foralls -Wunused-foralls
-fprint-explicit-foralls -fprint-explicit-kinds
-fplugin=Effectful.Plugin
mixins:
base hiding (Prelude),
relude (Relude as Prelude, Relude.Container.One),
relude
default-extensions:
DataKinds
DeriveTraversable
DerivingStrategies
DerivingVia
ImportQualifiedPost
LambdaCase
MultiWayIf
NoStarIsType
OverloadedStrings
StrictData
TypeFamilies
ViewPatterns
common library-shared
import: shared
build-depends:
, acid-state
, aeson
, async
, autodocodec
, base >=4 && <5
, bytestring
, co-log
, co-log-core
, co-log-effectful
, dani-servant-lucid2
, data-default
, deriving-aeson
, directory
, effectful
, effectful-core
, effectful-plugin
, effectful-th
, filepath
, gitlib
, hostname
, hspec
, hspec-discover
, htmx
, htmx-lucid
, htmx-servant
, ixset-typed
, lucid2
, mtl
, opt-env-conf
, optics-core
, process
, profunctors
, QuickCheck
, relude >=1.0
, safecopy
, servant
, servant-event-stream
, servant-server
, shower
, sqlite-simple
, stm
, streaming
, time
, wai-extra
, wai-middleware-static
, warp
, which
, with-utf8
library
import: library-shared
hs-source-dirs: src
autogen-modules: Paths_vira
exposed-modules:
Paths_vira
Vira.App
Vira.App.AcidState
Vira.App.CLI
Vira.App.LinkTo.Resolve
Vira.App.LinkTo.Type
Vira.App.Logging
Vira.App.Servant
Vira.App.Stack
Vira.Lib.Cachix
Vira.Lib.Git
Vira.Lib.HTMX
Vira.Lib.Omnix
Vira.Lib.Process
Vira.Page.JobLog
Vira.Page.JobPage
Vira.Page.RegistryPage
Vira.Page.RepoPage
Vira.Routes
Vira.State.Acid
Vira.State.Core
Vira.State.Type
Vira.Status
Vira.Supervisor
Vira.Supervisor.Type
Vira.Toplevel
Vira.Widgets
executable vira
import: library-shared
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
hs-source-dirs: app
autogen-modules: Paths_vira
other-modules: Paths_vira
if flag(ghcid)
hs-source-dirs: src
else
build-depends: vira
executable vira-tests
import: library-shared
main-is: Test.hs
hs-source-dirs: test
if flag(ghcid)
hs-source-dirs: src
else
build-depends: vira