Halogen Modal Component
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.
 
 
 
 

129 lines
3.4 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. Replace the overrides' "{=}" (an empty record) with the following idea
  26. The "//" or "⫽" means "merge these two records and
  27. when they have the same value, use the one on the right:"
  28. -------------------------------
  29. let override =
  30. { packageName =
  31. upstream.packageName // { updateEntity1 = "new value", updateEntity2 = "new value" }
  32. , packageName =
  33. upstream.packageName // { version = "v4.0.0" }
  34. , packageName =
  35. upstream.packageName // { repo = "https://www.example.com/path/to/new/repo.git" }
  36. }
  37. -------------------------------
  38. Example:
  39. -------------------------------
  40. let overrides =
  41. { halogen =
  42. upstream.halogen // { version = "master" }
  43. , halogen-vdom =
  44. upstream.halogen-vdom // { version = "v4.0.0" }
  45. }
  46. -------------------------------
  47. ### Additions
  48. Purpose:
  49. - Add packages that aren't already included in the default package set
  50. Syntax:
  51. Replace the additions' "{=}" (an empty record) with the following idea:
  52. -------------------------------
  53. let additions =
  54. { package-name =
  55. { dependencies =
  56. [ "dependency1"
  57. , "dependency2"
  58. ]
  59. , repo =
  60. "https://example.com/path/to/git/repo.git"
  61. , version =
  62. "tag ('v4.0.0') or branch ('master')"
  63. }
  64. , package-name =
  65. { dependencies =
  66. [ "dependency1"
  67. , "dependency2"
  68. ]
  69. , repo =
  70. "https://example.com/path/to/git/repo.git"
  71. , version =
  72. "tag ('v4.0.0') or branch ('master')"
  73. }
  74. , etc.
  75. }
  76. -------------------------------
  77. Example:
  78. -------------------------------
  79. let additions =
  80. { benchotron =
  81. { dependencies =
  82. [ "arrays"
  83. , "exists"
  84. , "profunctor"
  85. , "strings"
  86. , "quickcheck"
  87. , "lcg"
  88. , "transformers"
  89. , "foldable-traversable"
  90. , "exceptions"
  91. , "node-fs"
  92. , "node-buffer"
  93. , "node-readline"
  94. , "datetime"
  95. , "now"
  96. ]
  97. , repo =
  98. "https://github.com/hdgarrood/purescript-benchotron.git"
  99. , version =
  100. "v7.0.0"
  101. }
  102. }
  103. -------------------------------
  104. -}
  105. let upstream =
  106. https://github.com/purescript/package-sets/releases/download/psc-0.13.6-20200226/packages.dhall sha256:3a52562e05b31a7b51d12d5b228ccbe567c527781a88e9028ab42374ab55c0f1
  107. let overrides = {=}
  108. let additions = {=}
  109. in upstream // overrides // additions