forked from dfinity/cancan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package-set.dhall
46 lines (41 loc) · 1.4 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
let upstream = https://github.com/kritzcreek/vessel-package-set/releases/download/mo-0.5.7-20210211/package-set.dhall sha256:43565631bf6b43639fcd0cae5cbb6b5d4f9bf5139e66ef600b8f7ded31821325
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 = "dfx-0.7.0-beta.2"
, dependencies = [] : List Text
},
{ name = "crud"
, repo = "https://github.com/matthewhammer/motoko-crud"
, version = "master"
, dependencies = [] : List Text
},
{ name = "sequence"
, repo = "https://github.com/matthewhammer/motoko-sequence"
, version = "master"
, dependencies = [] : List Text
},
{ name = "bigmap"
, repo = "[email protected]:dfinity/motoko-bigmap.git"
, version = "master"
, dependencies = ["base", "SHA256"]
}
]
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