git.iko.soy/rowtype-yoga/purescript-arraybuffer-builder
on master help sign in
PureScript 0.14
commite2ff47a29b5dc1d8b630af4f19a40d65a90ef7ec authorJames Brock <jamesbrock@gmail.com> dateMon 1 Mar 2021, 18:03 (6 years ago) parent0cb18a5
4 files changed+61−20
CHANGELOG.md+4 packages.dhall+46−7 shell.nix+4−12 spago.dhall+7−1
CHANGELOG.md+4
@@ -1,3 +1,7 @@
1+## 2021-04-28
2+
3+Build for PureScript v0.14.1
4+
15## v1.1.0 2020-09-10
26
37Add and export
packages.dhall+46−7
@@ -117,16 +117,55 @@ let additions =
117117-------------------------------
118118-}
119119
120−
121−-- let upstream =
122−-- https://github.com/purescript/package-sets/releases/download/psc-0.13.8-20210118/packages.dhall sha256:a59c5c93a68d5d066f3815a89f398bcf00e130a51cb185b2da29b20e2d8ae115
123−
124−-- https://github.com/purescript-contrib/purescript-arraybuffer-types/commit/bb88e5957cb006dd4eac339daa1f098c59fe3aba
125120let upstream =
126− https://raw.githubusercontent.com/purescript/package-sets/prepare-0.14/src/packages.dhall sha256:baefc2d9387175879c9576620d245e708b11cda41569aac9631b351cb0616d06
121+ https://github.com/purescript/package-sets/releases/download/psc-0.14.1-20210427/packages.dhall sha256:edbb8f70232fb83895c7ce02f5d2b29f6ee1722f1a70fc58d3bc0ab0de18afe4
127122
128123let overrides = {=}
129124
130−let additions = {=}
125+-- TODO Remove all of these additions when they are in package-sets for
126+-- Purescript v0.14.
127+let additions =
128+ { arraybuffer =
129+ { dependencies =
130+ [ "effect"
131+ , "arraybuffer-types"
132+ , "maybe"
133+ , "typelevel"
134+ , "uint"
135+ , "float32"
136+ , "partial"
137+ , "nullable"
138+ , "functions"
139+ ]
140+ , repo =
141+ "https://github.com/jacereda/purescript-arraybuffer.git"
142+ , version =
143+ "v8.0.3"
144+ }
145+ , float32 =
146+ { dependencies =
147+ [ "prelude"
148+ ]
149+ , repo =
150+ "https://github.com/athanclark/purescript-float32.git"
151+ , version =
152+ "v0.2.0"
153+ }
154+ , uint =
155+ { dependencies =
156+ [ "effect"
157+ , "quickcheck-laws"
158+ , "console"
159+ , "maybe"
160+ , "math"
161+ , "psci-support"
162+ , "quickcheck"
163+ ]
164+ , repo =
165+ "https://github.com/athanclark/purescript-float32.git"
166+ , version =
167+ "v5.1.4"
168+ }
169+ }
131170
132171in upstream // overrides // additions
shell.nix+4−12
@@ -1,22 +1,14 @@
11{ pkgs ? import <nixpkgs> { } }:
22let
3− # easy-ps = import
4− # (pkgs.fetchFromGitHub {
5− # owner = "justinwoo";
6− # repo = "easy-purescript-nix";
7− # rev = "1ec689df0adf8e8ada7fcfcb513876307ea34226";
8− # sha256 = "12hk2zbjkrq2i5fs6xb3x254lnhm9fzkcxph0a7ngxyzfykvf4hi";
9− # }) {
10− # inherit pkgs;
11− # };
123 easy-ps = import (builtins.fetchGit {
13− url = "git@github.com:ptrfrncsmrph/easy-purescript-nix.git";
14− rev = "d53b10391c3ec289f8afdc664f743824115bbe70";
4+ url = "git@github.com:justinwoo/easy-purescript-nix.git";
5+ ref = "master";
6+ rev = "dae91f43317fd5ff207e11ea6bf4b6130e4ba9fc";
157 }) { inherit pkgs; };
168in
179pkgs.mkShell {
1810 buildInputs = [
19− easy-ps.purs-0_14_0-rc5
11+ easy-ps.purs-0_14_1
2012 easy-ps.spago
2113 easy-ps.pulp
2214 pkgs.nodejs-14_x
spago.dhall+7−1
@@ -2,7 +2,13 @@
22-}
33{ name = "arraybuffer-builder"
44, dependencies =
5− [ "arraybuffer-types"
5+ [ "effect"
6+ , "float32"
7+ , "maybe"
8+ , "prelude"
9+ , "transformers"
10+ , "uint"
11+ , "arraybuffer-types"
612 , "arraybuffer"
713 ]
814, packages = ./packages.dhall