git.iko.soy/rowtype-yoga/purescript-uuid
on v8.0.0 help sign in
110 lines 2.9 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:
34where `entityName` is one of the following:
35- dependencies
36- repo
37- version
38-------------------------------
39let upstream = --
40in upstream
41 with packageName.entityName = "new value"
42-------------------------------
44Example:
45-------------------------------
46let upstream = --
47in upstream
48 with halogen.version = "master"
49 with halogen.repo = "https://example.com/path/to/git/repo.git"
51 with halogen-vdom.version = "v4.0.0"
52-------------------------------
54### Additions
56Purpose:
57- Add packages that aren't already included in the default package set
59Syntax:
60where `<version>` is:
61- a tag (i.e. "v4.0.0")
62- a branch (i.e. "master")
63- commit hash (i.e. "701f3e44aafb1a6459281714858fadf2c4c2a977")
64-------------------------------
65let upstream = --
66in upstream
67 with new-package-name =
68 { dependencies =
69 [ "dependency1"
70 , "dependency2"
71 ]
72 , repo =
73 "https://example.com/path/to/git/repo.git"
74 , version =
75 "<version>"
76 }
77-------------------------------
79Example:
80-------------------------------
81let upstream = --
82in upstream
83 with benchotron =
84 { dependencies =
85 [ "arrays"
86 , "exists"
87 , "profunctor"
88 , "strings"
89 , "quickcheck"
90 , "lcg"
91 , "transformers"
92 , "foldable-traversable"
93 , "exceptions"
94 , "node-fs"
95 , "node-buffer"
96 , "node-readline"
97 , "datetime"
98 , "now"
99 ]
100 , repo =
101 "https://github.com/hdgarrood/purescript-benchotron.git"
102 , version =
103 "v7.0.0"
104 }
105-------------------------------
106-}
107let upstream =
108 https://github.com/purescript/package-sets/releases/download/psc-0.14.0-20210318/packages.dhall sha256:98bbacd65191cef354ecbafa1610be13e183ee130491ab9c0ef6e3d606f781b5
110in upstream