git.iko.soy/rowtype-yoga/psfp
on da9406d help sign in
rowtype-yoga/psfp/server/packages.dhall
280 lines 8.3 kB history raw
1{-
2Welcome to your new Dhall package-set!
4Below are instructions for how to edit this file for most use
5cases, so that you don't need to know Dhall to use it.
7## Warning: Don't Move This Top-Level Comment!
9Due to how `dhall format` currently works, this comment's
10instructions cannot appear near corresponding sections below
11because `dhall format` will delete the comment. However,
12it will not delete a top-level comment like this one.
14## Use Cases
16Most will want to do one or both of these options:
171. Override/Patch a package's dependency
182. Add a package not already in the default package set
20This file will continue to work whether you use one or both options.
21Instructions for each option are explained below.
23### Overriding/Patching a package
25Purpose:
26- Change a package's dependency to a newer/older release than the
27 default package set's release
28- Use your own modified version of some dependency that may
29 include new API, changed API, removed API by
30 using your custom git repo of the library rather than
31 the package set's repo
33Syntax:
34Replace the overrides' "{=}" (an empty record) with the following idea
35The "//" or "⫽" means "merge these two records and
36 when they have the same value, use the one on the right:"
37-------------------------------
38let override =
39 { packageName =
40 upstream.packageName // { updateEntity1 = "new value", updateEntity2 = "new value" }
41 , packageName =
42 upstream.packageName // { version = "v4.0.0" }
43 , packageName =
44 upstream.packageName // { repo = "https://www.example.com/path/to/new/repo.git" }
45 }
46-------------------------------
48Example:
49-------------------------------
50let overrides =
51 { halogen =
52 upstream.halogen // { version = "master" }
53 , halogen-vdom =
54 upstream.halogen-vdom // { version = "v4.0.0" }
55 }
56-------------------------------
58### Additions
60Purpose:
61- Add packages that aren't already included in the default package set
63Syntax:
64Replace the additions' "{=}" (an empty record) with the following idea:
65-------------------------------
66let additions =
67 { "package-name" =
68 { dependencies =
69 [ "dependency1"
70 , "dependency2"
71 ]
72 , repo =
73 "https://example.com/path/to/git/repo.git"
74 , version =
75 "tag ('v4.0.0') or branch ('master')"
76 }
77 , "package-name" =
78 { dependencies =
79 [ "dependency1"
80 , "dependency2"
81 ]
82 , repo =
83 "https://example.com/path/to/git/repo.git"
84 , version =
85 "tag ('v4.0.0') or branch ('master')"
86 }
87 , etc.
88 }
89-------------------------------
91Example:
92-------------------------------
93let additions =
94 { benchotron =
95 { dependencies =
96 [ "arrays"
97 , "exists"
98 , "profunctor"
99 , "strings"
100 , "quickcheck"
101 , "lcg"
102 , "transformers"
103 , "foldable-traversable"
104 , "exceptions"
105 , "node-fs"
106 , "node-buffer"
107 , "node-readline"
108 , "datetime"
109 , "now"
110 ],
111 , repo =
112 "https://github.com/hdgarrood/purescript-benchotron.git"
113 , version =
114 "v7.0.0"
115 }
116 }
117-------------------------------
118-}
119let upstream =
120 -- https://github.com/purescript/package-sets/releases/download/psc-0.13.6-20200309/packages.dhall sha256:9221987b4e7ea99ccd0efbe056f7bebc872cd92e0058efe5baa181d73359e7b3
121 https://github.com/purescript/package-sets/releases/download/psc-0.14.0-20210317/packages.dhall sha256:e2e744972f9b60188dcf07f41418661b505c9ee2e9f91e57e67daefad3a5ae09
123let overrides =
124 { react-basic-hooks =
125 upstream.react-basic-hooks
126 // { repo =
127 "https://github.com/i-am-the-slime/purescript-react-basic-hooks.git"
128 , version = "e04b106ab2dfda3f9a1407420c434a908ff72b90"
129 }
130 , css =
131 upstream.css
132 // { repo = "https://github.com/i-am-the-slime/purescript-css.git"
133 , version = "8ea0bab17c268d9c62a09892d7ba231dcbe6308b"
134 }
136 , node-net = upstream.node-net
137 // { repo = "https://github.com/i-am-the-slime/purescript-node-net.git"
138 , version = "b4efc12a6bc8df695f90e408290b3b82dcd8548b"
139 }
140 }
142let additions =
143 { react-testing-library =
144 { dependencies =
145 [ "aff-promise"
146 , "console"
147 , "debug"
148 , "effect"
149 , "foreign"
150 , "foreign-object"
151 , "psci-support"
152 , "react-basic-hooks"
153 , "remotedata"
154 , "run"
155 , "simple-json"
156 , "spec"
157 , "spec-discovery"
158 ]
159 , repo =
160 "https://github.com/i-am-the-slime/purescript-react-testing-library.git"
161 , version = "13a63056506a3ce32572e326130be325931ba7c0"
162 }
163 , pseudo-random =
164 { dependencies =
165 [ "prelude", "console", "effect", "lcg", "arrays", "st" ]
166 , repo = "https://github.com/opyapeus/purescript-pseudo-random.git"
167 , version = "7715e8a2c096c480a093a5e0a6df1ece4df5ed2a"
168 }
169 , oneof =
170 { dependencies =
171 [ "assert"
172 , "console"
173 , "effect"
174 , "foreign"
175 , "foreign-object"
176 , "literal"
177 , "maybe"
178 , "newtype"
179 , "proxy"
180 , "psci-support"
181 , "tuples"
182 , "unsafe-coerce"
183 ]
184 , repo = "https://github.com/jvliwanag/purescript-oneof.git"
185 , version = "0325fddf6ee8a181fac2128c9b542c2c01ddd361"
186 }
187 , literal =
188 { dependencies =
189 [ "assert"
190 , "effect"
191 , "console"
192 , "integers"
193 , "numbers"
194 , "partial"
195 , "psci-support"
196 , "unsafe-coerce"
197 , "typelevel-prelude"
198 ]
199 , repo = "https://github.com/jvliwanag/purescript-literal.git"
200 , version = "7b2ae20f77c67b7e419a92fdd0dc7a09b447b18e"
201 }
202 , justifill =
203 { dependencies = [ "record", "typelevel-prelude" ]
204 , repo = "https://github.com/i-am-the-slime/purescript-justifill.git"
205 , version = "2de06260ae8e37355678198180bbdd06c91457e3"
206 }
207 , matryoshka =
208 { dependencies =
209 [ "prelude", "fixed-points", "free", "transformers", "profunctor" ]
210 , repo = "https://github.com/slamdata/purescript-matryoshka.git"
211 , version = "caaca2d836d52159ba7963333996286a00428394"
212 }
213 , interpolate =
214 { dependencies = [ "prelude" ]
215 , repo = "https://github.com/jordanmartinez/purescript-interpolate.git"
216 , version = "v2.0.1"
217 }
218 , yoga-components = ../components/spago.dhall as Location
219 , foreign-generic = {
220 dependencies =
221 [ "effect"
222 , "foreign"
223 , "foreign-object"
224 , "ordered-collections"
225 , "exceptions"
226 , "record"
227 , "identity"
228 ]
229 , repo =
230 "https://github.com/fsoikin/purescript-foreign-generic.git"
231 , version =
232 "c9ceaa48d4a03ee3db55f1abfb45f830cae329e7"
233 }
234 , uuid = {
235 dependencies =
236 [ "console"
237 , "effect"
238 , "psci-support"
239 , "spec"
240 , "foreign-generic"
241 ]
242 , repo =
243 "https://github.com/spicydonuts/purescript-uuid.git"
244 , version =
245 "7c9b1a1261aadb4db4886b3123683ca29c2663a5"
246 }
247 , express = {
248 dependencies =
249 [ "aff"
250 , "console"
251 , "effect"
252 , "foreign"
253 , "foreign-generic"
254 , "node-http"
255 , "psci-support"
256 , "test-unit"
257 ]
258 , repo =
259 "https://github.com/i-am-the-slime/purescript-express.git"
260 , version =
261 "0.14"
262 }
263 , simple-json = {
264 dependencies =
265 [ "prelude"
266 , "typelevel-prelude"
267 , "record"
268 , "variant"
269 , "nullable"
270 , "foreign-object"
271 , "foreign"
272 , "exceptions"
273 , "arrays"
274 ]
275 , repo = "https://github.com/angelinatarapko/purescript-simple-json.git"
276 , version = "patch-1"
277 }
280in upstream // overrides // additions