2020-10-08 20:27:33 +00:00
|
|
|
{-
|
|
|
|
### Overriding/Patching a package
|
|
|
|
let upstream = --
|
|
|
|
in upstream
|
|
|
|
with halogen.version = "master"
|
|
|
|
with halogen.repo = "https://example.com/path/to/git/repo.git"
|
|
|
|
with halogen-vdom.version = "v4.0.0"
|
2019-01-31 02:54:47 +00:00
|
|
|
|
2020-10-08 20:27:33 +00:00
|
|
|
### Additions
|
|
|
|
let upstream = --
|
|
|
|
in upstream
|
|
|
|
with new-package-name =
|
|
|
|
{ dependencies =
|
|
|
|
[ "dependency1"
|
|
|
|
, "dependency2"
|
|
|
|
]
|
|
|
|
, repo =
|
|
|
|
"https://example.com/path/to/git/repo.git"
|
|
|
|
, version =
|
|
|
|
"<version>"
|
|
|
|
}
|
|
|
|
-}
|
|
|
|
let upstream =
|
2022-06-01 14:52:33 +00:00
|
|
|
https://raw.githubusercontent.com/purescript/package-sets/psc-0.15.2-20220531/src/packages.dhall
|
|
|
|
sha256:278d3608439187e51136251ebf12fabda62d41ceb4bec9769312a08b56f853e3
|
2021-02-25 16:46:53 +00:00
|
|
|
in upstream
|
2022-06-01 14:52:33 +00:00
|
|
|
with simple-json = {
|
|
|
|
dependencies= [
|
|
|
|
"arrays",
|
|
|
|
"exceptions",
|
|
|
|
"foreign",
|
|
|
|
"foreign-object",
|
|
|
|
"nullable",
|
|
|
|
"prelude",
|
|
|
|
"record",
|
|
|
|
"typelevel-prelude",
|
|
|
|
"variant"
|
|
|
|
],
|
|
|
|
repo= "https://github.com/justinwoo/purescript-simple-json.git",
|
|
|
|
version= "v9.0.0"
|
|
|
|
}
|
|
|
|
with simple-json = {
|
|
|
|
dependencies= [
|
|
|
|
"arrays",
|
|
|
|
"exceptions",
|
|
|
|
"foreign",
|
|
|
|
"foreign-object",
|
|
|
|
"nullable",
|
|
|
|
"prelude",
|
|
|
|
"record",
|
|
|
|
"typelevel-prelude",
|
|
|
|
"variant"
|
|
|
|
],
|
|
|
|
repo= "https://github.com/justinwoo/purescript-simple-json.git",
|
|
|
|
version= "v9.0.0"
|
|
|
|
}
|