the result of me trying to learn purrscript and making a first project!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
2.8 KiB

  1. {-
  2. Welcome to your new Dhall package-set!
  3. Below are instructions for how to edit this file for most use
  4. cases, so that you don't need to know Dhall to use it.
  5. ## Warning: Don't Move This Top-Level Comment!
  6. Due to how `dhall format` currently works, this comment's
  7. instructions cannot appear near corresponding sections below
  8. because `dhall format` will delete the comment. However,
  9. it will not delete a top-level comment like this one.
  10. ## Use Cases
  11. Most will want to do one or both of these options:
  12. 1. Override/Patch a package's dependency
  13. 2. Add a package not already in the default package set
  14. This file will continue to work whether you use one or both options.
  15. Instructions for each option are explained below.
  16. ### Overriding/Patching a package
  17. Purpose:
  18. - Change a package's dependency to a newer/older release than the
  19. default package set's release
  20. - Use your own modified version of some dependency that may
  21. include new API, changed API, removed API by
  22. using your custom git repo of the library rather than
  23. the package set's repo
  24. Syntax:
  25. where `entityName` is one of the following:
  26. - dependencies
  27. - repo
  28. - version
  29. -------------------------------
  30. let upstream = --
  31. in upstream
  32. with packageName.entityName = "new value"
  33. -------------------------------
  34. Example:
  35. -------------------------------
  36. let upstream = --
  37. in upstream
  38. with halogen.version = "master"
  39. with halogen.repo = "https://example.com/path/to/git/repo.git"
  40. with halogen-vdom.version = "v4.0.0"
  41. -------------------------------
  42. ### Additions
  43. Purpose:
  44. - Add packages that aren't already included in the default package set
  45. Syntax:
  46. where `<version>` is:
  47. - a tag (i.e. "v4.0.0")
  48. - a branch (i.e. "master")
  49. - commit hash (i.e. "701f3e44aafb1a6459281714858fadf2c4c2a977")
  50. -------------------------------
  51. let upstream = --
  52. in upstream
  53. with new-package-name =
  54. { dependencies =
  55. [ "dependency1"
  56. , "dependency2"
  57. ]
  58. , repo =
  59. "https://example.com/path/to/git/repo.git"
  60. , version =
  61. "<version>"
  62. }
  63. -------------------------------
  64. Example:
  65. -------------------------------
  66. let upstream = --
  67. in upstream
  68. with benchotron =
  69. { dependencies =
  70. [ "arrays"
  71. , "exists"
  72. , "profunctor"
  73. , "strings"
  74. , "quickcheck"
  75. , "lcg"
  76. , "transformers"
  77. , "foldable-traversable"
  78. , "exceptions"
  79. , "node-fs"
  80. , "node-buffer"
  81. , "node-readline"
  82. , "datetime"
  83. , "now"
  84. ]
  85. , repo =
  86. "https://github.com/hdgarrood/purescript-benchotron.git"
  87. , version =
  88. "v7.0.0"
  89. }
  90. -------------------------------
  91. -}
  92. let upstream =
  93. https://github.com/purescript/package-sets/releases/download/psc-0.14.0-20210308/packages.dhall sha256:5a86da7913f6c84adc2efacfad49ca135af8f62235e7270d9b952a8dda3c4b47
  94. in upstream