-
Notifications
You must be signed in to change notification settings - Fork 0
/
package-set.dhall
35 lines (32 loc) · 1.07 KB
/
package-set.dhall
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
let upstream = https://github.com/dfinity/vessel-package-set/releases/download/mo-0.6.7-20210818/package-set.dhall sha256:c4bd3b9ffaf6b48d21841545306d9f69b57e79ce3b1ac5e1f63b068ca4f89957
let Package =
{ name : Text, version : Text, repo : Text, dependencies : List Text }
let
-- This is where you can add your own packages to the package-set
additions =
[
{ name = "base"
, repo = "https://github.com/dfinity/motoko-base"
, version = "moc-0.6.24"
, dependencies = [] : List Text
}
, { dependencies = [ "base" ]
, name = "sha224"
, repo = "https://github.com/flyq/motoko-sha224.git"
, version = "v0.1.0"
},
]
let
{- This is where you can override existing packages in the package-set
For example, if you wanted to use version `v2.0.0` of the foo library:
let overrides = [
{ name = "foo"
, version = "v2.0.0"
, repo = "https://github.com/bar/foo"
, dependencies = [] : List Text
}
]
-}
overrides =
[] : List Package
in upstream # additions # overrides