-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage-set.dhall
50 lines (46 loc) · 1.46 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
let upstream = https://github.com/dfinity/vessel-package-set/releases/download/mo-0.7.3-20221102/package-set.dhall sha256:9c989bdc496cf03b7d2b976d5bf547cfc6125f8d9bb2ed784815191bd518a7b9
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",
version = "moc-0.7.4",
repo = "https://github.com/dfinity/motoko-base",
dependencies = [] : List Text
},
{
name = "candid",
version = "main",
repo = "https://github.com/gekctek/motoko_candid",
dependencies = [] : List Text
},
{
name = "itertools",
version = "master",
repo = "https://github.com/NatLabs/Itertools",
dependencies = [] : List Text
},
{
name = "xtended-numbers",
version = "v1.0.0",
repo = "https://github.com/gekctek/motoko_numbers",
dependencies = [] : List Text
}
] : List Package
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