spago2nix/spago-packages.nix
justinwoo fa5f164fb5 update usages
* dhall changes mean that i can no longer use expressions from old
packages sets
2021-05-08 13:19:42 +00:00

851 lines
29 KiB
Nix

# This file was generated by Spago2Nix
{ pkgs ? import <nixpkgs> {} }:
let
inputs = {
"aff" = pkgs.stdenv.mkDerivation {
name = "aff";
version = "v5.1.2";
src = pkgs.fetchgit {
url = "https://github.com/slamdata/purescript-aff.git";
rev = "78916a9c7e6d203f1d9f441c8eaa257d6475e978";
sha256 = "1ygjxbm2bqw82sm17szhzz4jihvbg9mszx1ii0n3sj72bnz02avz";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"arraybuffer-types" = pkgs.stdenv.mkDerivation {
name = "arraybuffer-types";
version = "v2.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript-contrib/purescript-arraybuffer-types.git";
rev = "505aa3de50a1400e5f2fce4a8e7b1a39abaa8fd9";
sha256 = "059a8n49yhl46l1b1j2qj4ichzq6dzj29ajkfvw88npzj5w2rshy";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"arrays" = pkgs.stdenv.mkDerivation {
name = "arrays";
version = "v5.3.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-arrays.git";
rev = "463dcacb99455de5e28ac4a3312bb795f293d2d9";
sha256 = "1z8i4mr30mjsvmw743g0m1yxfgqa9rhbgq7jq3955mg7j80j5r7w";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"bifunctors" = pkgs.stdenv.mkDerivation {
name = "bifunctors";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-bifunctors.git";
rev = "1062425892b4a1c734ec653dded22546e3063b27";
sha256 = "1bdra5fbkraglqrrm484vw8h0wwk48kzkn586v4y7fg106q1q386";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"console" = pkgs.stdenv.mkDerivation {
name = "console";
version = "v4.4.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-console.git";
rev = "9b48f83997168b94418d64d9e7b5c1763b30bdab";
sha256 = "1w9k2g242lvyv4npb5rqfbdq1ngh7s7v12zarxn8yxgq15palh3m";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"const" = pkgs.stdenv.mkDerivation {
name = "const";
version = "v4.1.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-const.git";
rev = "bc5db27b0ed3947fa5e2074ccbab01236eec3fa4";
sha256 = "0qbd2aisax52yw6sybdhs7na943cbsd6mylhhgsamrf7hzh6v51p";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"contravariant" = pkgs.stdenv.mkDerivation {
name = "contravariant";
version = "v4.0.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-contravariant.git";
rev = "cb69db0253c2e2ed3fef784dad58f3418a8ee834";
sha256 = "0dd17lwlybpz4i54cxnqdgy38rjlbw9p7bw1r43is6z3kdc8983a";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"control" = pkgs.stdenv.mkDerivation {
name = "control";
version = "v4.2.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-control.git";
rev = "05d40c5855a0eda3bc396a3d815eaf213a0534e6";
sha256 = "1nm45khn2dvlyv059nzpz1w7d3nfsvq45hnb2qllrbzyv7rlxmi8";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"datetime" = pkgs.stdenv.mkDerivation {
name = "datetime";
version = "v4.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-datetime.git";
rev = "9e76abe96f45a68eb0bb23d0afd56031a8070bee";
sha256 = "06ghfvbvd5sd0q014qi8j8glk2g2j9f8z8cwq2318kllp92gz07q";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"distributive" = pkgs.stdenv.mkDerivation {
name = "distributive";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-distributive.git";
rev = "3a43c0690883816e9ebeac510698423cfff5c174";
sha256 = "0zbn0yq1vv7fbbf1lncg80irz0vg7wnw9b9wrzxhdzpbkw4jinsl";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"effect" = pkgs.stdenv.mkDerivation {
name = "effect";
version = "v2.0.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-effect.git";
rev = "6caa8e1e162a21eed025613c2c19194b996ef779";
sha256 = "1vqw5wrdxzh1ww6z7271xr4kg4mx0r3k3mwg18dmgmzj11wbn2wh";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"either" = pkgs.stdenv.mkDerivation {
name = "either";
version = "v4.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-either.git";
rev = "8b4b38a729f8e88750b03e5c7baf2b3863ce4742";
sha256 = "12j7vvjly0bgxidxmb2pflx0zy7x425dnvxk2y1pm66n0hbsq7ns";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"enums" = pkgs.stdenv.mkDerivation {
name = "enums";
version = "v4.0.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-enums.git";
rev = "19800105b556798ea5650f8a01bfe5ea17cfc6eb";
sha256 = "0qq0pgmq497nfml0y8xb2qdpga5xqp9sqq4ilv1rpyhg1v7nzb6v";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"exceptions" = pkgs.stdenv.mkDerivation {
name = "exceptions";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-exceptions.git";
rev = "9012eb08749e9ccd5da45bdece5d576e5fc0b0db";
sha256 = "17s0rg9k4phivhx9j3l2vqqfdhk61gpj1xfqy8w6zj3rnxj0b2cv";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"foldable-traversable" = pkgs.stdenv.mkDerivation {
name = "foldable-traversable";
version = "v4.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-foldable-traversable.git";
rev = "29d5b873cc86f17e0082d777629819a96bdbc7a1";
sha256 = "03x89xcmphckzjlp4chc7swrpw347ll5bvr2yp7x9v2jqw2jlyi1";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"foreign" = pkgs.stdenv.mkDerivation {
name = "foreign";
version = "v5.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-foreign.git";
rev = "3b8f3ae608db339ed5cff35d2017a07efb905b4d";
sha256 = "15mz2s4f8crkd721z4df2aag4s0wil6fs07cpcmi7dpnkn7a4nab";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"foreign-object" = pkgs.stdenv.mkDerivation {
name = "foreign-object";
version = "v2.0.3";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-foreign-object.git";
rev = "8a7dc21c48e3e6d31e253b0e58dd95a3bbd7f6e7";
sha256 = "07wiql59zfj901nk9526b6rykn9m24jjcs8v5dgxbr1c3hiab9n3";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"functions" = pkgs.stdenv.mkDerivation {
name = "functions";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-functions.git";
rev = "c63451ae74f6fba7a4eede5f87208a73c537af77";
sha256 = "0675k5kxxwdvsjs6a3is8pwm3hmv0vbcza1b8ls10gymmfz3k3hj";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"functors" = pkgs.stdenv.mkDerivation {
name = "functors";
version = "v3.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-functors.git";
rev = "96bcf8a970a40115a76a20d19e50aa3b524adcf3";
sha256 = "1cnn3zhk6qcyiwbbpvrdqgsbch4qihx2y9d6sv45bvd8kzrbd306";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"gen" = pkgs.stdenv.mkDerivation {
name = "gen";
version = "v2.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-gen.git";
rev = "36f36f03f082b57e402c27f1513f8935caa54101";
sha256 = "0pk68cn1s89hql30ydks9gh34gbxg391smi2albx3qvxnfkrpxca";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"generics-rep" = pkgs.stdenv.mkDerivation {
name = "generics-rep";
version = "v6.1.3";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-generics-rep.git";
rev = "ab0e9bc996769237eef2a661ab900b5cbb9022b9";
sha256 = "18yz3wfhh0xk1aw6scgv94mlr0hyf0q1ydhi8y3wm4zlch0lpy5i";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"globals" = pkgs.stdenv.mkDerivation {
name = "globals";
version = "v5.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-globals.git";
rev = "0e31d4e66972feb49e209fc140744c1d914d0b8b";
sha256 = "0ryhrb2n6p1p35v5a854i640abylyyz3xqkrf5i9qf2lp6qjpsj4";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"identity" = pkgs.stdenv.mkDerivation {
name = "identity";
version = "v4.1.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-identity.git";
rev = "1b7938abdc8cb28c0ac5f80f63405d53e3173a8e";
sha256 = "1scdgbfkphfmapw7p9rnsiynpmqzyvnal2glzj450q51f8g1dhld";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"integers" = pkgs.stdenv.mkDerivation {
name = "integers";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-integers.git";
rev = "3850da9cd96b37c71685b6bc3bf0cb489baefc93";
sha256 = "17d4bfpnrmbxlc7hhhrvnli70ydaqyr26zgvc9q52a76zgdcb4cf";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"invariant" = pkgs.stdenv.mkDerivation {
name = "invariant";
version = "v4.1.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-invariant.git";
rev = "b704c5bda262719ca5cc88a3f8554edff8f03256";
sha256 = "1fimpbh3yb7clvqxcdf4yf9im64z0v2s9pbspfacgq5b4vshjas9";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"js-date" = pkgs.stdenv.mkDerivation {
name = "js-date";
version = "v6.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript-contrib/purescript-js-date.git";
rev = "f332c15f14322434ddd1945ca2db8040294447bf";
sha256 = "19qyzbr4a1ca8znbd8gcbz0a801f5p1v238ky3408gdx4ba32zjd";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"kishimen" = pkgs.stdenv.mkDerivation {
name = "kishimen";
version = "v1.0.1";
src = pkgs.fetchgit {
url = "https://github.com/justinwoo/purescript-kishimen.git";
rev = "8a9b11f9bcdaf4ff63c2e572def3d0b2a4e2c870";
sha256 = "153d0mlf2x7xvbql5w0s4jl56s51aq0bg8ldxd3fm2kj7m0bay22";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"lazy" = pkgs.stdenv.mkDerivation {
name = "lazy";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-lazy.git";
rev = "5bbd04f507a704f39aa756b5e12ed6665205fe2e";
sha256 = "156q89l4nvvn14imbhp6xvvm82q7kqh1pyndmldmnkhiqyr84vqv";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"lists" = pkgs.stdenv.mkDerivation {
name = "lists";
version = "v5.4.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-lists.git";
rev = "62900a56f6864638c952575dfd211a1cc55be7da";
sha256 = "0l0jiqhcjzkg4nv2a6h2vdf4izr9mf7cxc86cq1hf3j4dh6spym1";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"math" = pkgs.stdenv.mkDerivation {
name = "math";
version = "v2.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-math.git";
rev = "8be36d24f9d2d8795adf04791446bbc458297b9b";
sha256 = "1msmy9w7y6fij62sdc55w68gpwkhm6lhgc8qjisjk4sxx1wdg1rr";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"maybe" = pkgs.stdenv.mkDerivation {
name = "maybe";
version = "v4.0.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-maybe.git";
rev = "81f0397636bcbca28642f62421aebfd9e1afa7fb";
sha256 = "073wa0d51daxdwacfcxg5pf6ch63n4ii55xm1ih87bxrg8mp52mx";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"motsunabe" = pkgs.stdenv.mkDerivation {
name = "motsunabe";
version = "v2.0.0";
src = pkgs.fetchgit {
url = "https://github.com/justinwoo/purescript-motsunabe.git";
rev = "d016e6319fef40119abba726e31d066e7c211875";
sha256 = "03r81xs0gw5nchm93ap2lpirkng8bzgsb8xc5jxlii4sw8wn8ndh";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"newtype" = pkgs.stdenv.mkDerivation {
name = "newtype";
version = "v3.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-newtype.git";
rev = "7d85fa6a040208c010b05f7c23af6a943ba08763";
sha256 = "0qvk9p41miy806b05b4ikbr3if0fcyc35gfrwd2mflcxxp46011c";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"node-buffer" = pkgs.stdenv.mkDerivation {
name = "node-buffer";
version = "v6.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript-node/purescript-node-buffer.git";
rev = "dac7d4734a739cea2cd379f6bae5226dbab26da2";
sha256 = "0pgl8r1rwzmbvwgbibk24jpgf6m7xcw3y7zfn6psgzca44c4hgsv";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"node-child-process" = pkgs.stdenv.mkDerivation {
name = "node-child-process";
version = "v6.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript-node/purescript-node-child-process.git";
rev = "887b252ef85975f4cf31dfd9079f6d98d905fc1b";
sha256 = "1r5gx9gr5xkrbvdnv6704zmpb987dgpblmhq5yhwq2xir6w35qnn";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"node-fs" = pkgs.stdenv.mkDerivation {
name = "node-fs";
version = "v5.0.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript-node/purescript-node-fs.git";
rev = "02d610f237dc130edb5ee594fd46b16c691b79eb";
sha256 = "0i3bd7aw16vyb5sh5fzlvgg9q6cjdvmnfs57in6rxm34z8d8c0p8";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"node-fs-aff" = pkgs.stdenv.mkDerivation {
name = "node-fs-aff";
version = "v6.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript-node/purescript-node-fs-aff.git";
rev = "d02c0a209824c3fce8254dddd94d85990e9ad1b6";
sha256 = "0vjc9zag7y20yxhhv45hrwv9fbpmp0szv40vaxl5x8mnd5wv28x7";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"node-path" = pkgs.stdenv.mkDerivation {
name = "node-path";
version = "v3.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript-node/purescript-node-path.git";
rev = "e3a704d5fc7d25fa93c6cd0eb92dbce9e5ebd69a";
sha256 = "0j1ni52m62dpcrfakl1ik131i31bkg91yv0p1c40sdw0f59fzf6x";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"node-streams" = pkgs.stdenv.mkDerivation {
name = "node-streams";
version = "v4.0.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript-node/purescript-node-streams.git";
rev = "88740eeda2017d3ddcde50eea59d57c7749d8524";
sha256 = "12dki2li0d7s54kvcr6gksb5nxf6kzs93gwxnq4bh1flri8p0i7r";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"nonempty" = pkgs.stdenv.mkDerivation {
name = "nonempty";
version = "v5.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-nonempty.git";
rev = "36ca3b2fa6d98b1c9d2ee05643341e496fbeab57";
sha256 = "1vz174sg32cqrp52nwb2vz9frrzmdwzzlgl4vc2cm5wlf2anirxj";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"now" = pkgs.stdenv.mkDerivation {
name = "now";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript-contrib/purescript-now.git";
rev = "090feddf7c7dec2a812eca090cd211e87ccad606";
sha256 = "18h5pif2dy4r7w1xg2zw4mvdqlar9xqp3rawkiavmsc946ncf3zs";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"nullable" = pkgs.stdenv.mkDerivation {
name = "nullable";
version = "v4.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript-contrib/purescript-nullable.git";
rev = "8d413f02224b8281bfa8037e45fbbf9fe2e254fd";
sha256 = "14qaxxga8gqlr4pijyvqycdyhjr6qpz3h4aarficw5j75b7x8nyv";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"ordered-collections" = pkgs.stdenv.mkDerivation {
name = "ordered-collections";
version = "v1.6.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-ordered-collections.git";
rev = "54af8b281bf01acfc14e147debec76974901e93c";
sha256 = "0r48p94d3cyzni2z7ikzcap472k23dx8zq37c1prmjb01v03mfvc";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"orders" = pkgs.stdenv.mkDerivation {
name = "orders";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-orders.git";
rev = "80e22c22c72c846e09ef9dfcdb40b3eee39118d6";
sha256 = "13p1sm4dxkmxhld9x5qqg62iiajjb3qpzs66c1r24y5fs4zsfry4";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"parallel" = pkgs.stdenv.mkDerivation {
name = "parallel";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-parallel.git";
rev = "4d6c8b05041a36c300dfca2ba8f1f3443ca26bc6";
sha256 = "1d5bnagabw2k8yxywkygwrpblb2ggqh2fhpqfrx2sj1y53x332hg";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"partial" = pkgs.stdenv.mkDerivation {
name = "partial";
version = "v2.0.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-partial.git";
rev = "76b63a324f7eafbb859256771b5bb7404082af96";
sha256 = "11qr80989g7xmvw1brnrclsbg2wdkbr5k3cqpngfip3nnirrypcn";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"posix-types" = pkgs.stdenv.mkDerivation {
name = "posix-types";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript-node/purescript-posix-types.git";
rev = "1d4cd274436cc1e470dc6bf7735bcfdf0092d884";
sha256 = "0xvxjvxr7n4dv53p8w5qfmgx37cga5bp2rjhkbfvj89rb74vm3i1";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"prelude" = pkgs.stdenv.mkDerivation {
name = "prelude";
version = "v4.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-prelude.git";
rev = "a96663b34364fdd0885a200955e35b99f4e58c43";
sha256 = "1frvjrv0mr508r6683l1mp5rzm1y2dz76fz40zf4k2c64sy6y1xm";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"proxy" = pkgs.stdenv.mkDerivation {
name = "proxy";
version = "v3.0.2";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-proxy.git";
rev = "9ddbdabfcb0dc50f258dbc791b7258ca7c3487eb";
sha256 = "0p941cp8qz7dqyvybm7l1dyx6hbid4azxf35clj9i0zxr4k3vb8l";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"record" = pkgs.stdenv.mkDerivation {
name = "record";
version = "v2.0.2";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-record.git";
rev = "93c235249d4f47a3c8300089596c2afe67e27577";
sha256 = "0ap1mc7bi8a20c5g11lxif6q68s2sc31khirfabngr1jpsm3r4lw";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"refs" = pkgs.stdenv.mkDerivation {
name = "refs";
version = "v4.1.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-refs.git";
rev = "e8b175477661e433175e76548168290c40e0ce4b";
sha256 = "08161iy1xbafzblv033v84156azpcqkiw9v9d6gliphrq5fm17gm";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"simple-json" = pkgs.stdenv.mkDerivation {
name = "simple-json";
version = "v7.0.0";
src = pkgs.fetchgit {
url = "https://github.com/justinwoo/purescript-simple-json.git";
rev = "d6c4163f6ad65be97b148ebf86c900cb821da5a8";
sha256 = "1x2f4zq1m9r3vg9hdpjld98jd56w7fss8fzvlrmnrw6xzd1gi456";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"simple-json-utils" = pkgs.stdenv.mkDerivation {
name = "simple-json-utils";
version = "v0.1.0";
src = pkgs.fetchgit {
url = "https://github.com/justinwoo/purescript-simple-json-utils.git";
rev = "ec5df413e1058959454e380de42f590046a43373";
sha256 = "05mpvn3hrl86sapns88h7k9ccv29d8xmcnll8iz6ix5ibmh9vk2v";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"st" = pkgs.stdenv.mkDerivation {
name = "st";
version = "v4.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-st.git";
rev = "8133841b8b545f3a273caebb6103f7c640fc35eb";
sha256 = "1jpz8rpk2ac6kshflri8pdw4s1hf8g4alz5bw69x23sj9sccxgs0";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"strings" = pkgs.stdenv.mkDerivation {
name = "strings";
version = "v4.0.2";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-strings.git";
rev = "ec6da8faa02112a82286c0ff1c5e8fccd969ca42";
sha256 = "164mx0j9pv47m2hzckq51aa1rpb5wijcrh4bi78xn3s8n0fb6dq1";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"sunde" = pkgs.stdenv.mkDerivation {
name = "sunde";
version = "v2.0.0";
src = pkgs.fetchgit {
url = "https://github.com/justinwoo/purescript-sunde.git";
rev = "e9c898ac0ffd5e61d82a6c02606ab84241278709";
sha256 = "051kfqc06fbhavd3anvfhi5wfj76a6q4piis4lplypaw9g4n64l2";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"tailrec" = pkgs.stdenv.mkDerivation {
name = "tailrec";
version = "v4.1.1";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-tailrec.git";
rev = "5a32aa5a4f3651b66cc0e87bcb9861116f9913a3";
sha256 = "0n0sxr44d1lwlrgv8b48ml6vg0r5abfvyywn50jb0i1agnm53i4n";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"transformers" = pkgs.stdenv.mkDerivation {
name = "transformers";
version = "v4.2.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-transformers.git";
rev = "0e473e5ef0e294615ca0d9aab0bcffee47b2870d";
sha256 = "03qmvl9s7lbvm73dy9ps6qp39pdcm91hb8yakgj7aq8hgpj7b6bg";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"tuples" = pkgs.stdenv.mkDerivation {
name = "tuples";
version = "v5.1.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-tuples.git";
rev = "0036bf9d99b721fd0f2e539d24e18e484b016927";
sha256 = "045nsy0r2g51gih0wjhcvhl6gfr8947mlrqwg644ygz72rjm8wq4";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"type-equality" = pkgs.stdenv.mkDerivation {
name = "type-equality";
version = "v3.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-type-equality.git";
rev = "2cdae51c394401cd5fc04b03c341273b41532b7d";
sha256 = "1b7szyca5s96gaawvgwrw7fa8r7gqsdff7xhz3vvngnylv2scl3w";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"typelevel-prelude" = pkgs.stdenv.mkDerivation {
name = "typelevel-prelude";
version = "v5.0.2";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-typelevel-prelude.git";
rev = "9f8788ba16ddda8f70e54e5228422348c13c817c";
sha256 = "1kp1b35y8wzin9m5lfyp239nclq703xz2b4373x3075xfp6qdcwf";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"unfoldable" = pkgs.stdenv.mkDerivation {
name = "unfoldable";
version = "v4.1.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-unfoldable.git";
rev = "077e787108e02bd16a1b27e57847d5baede7dd61";
sha256 = "03g2zz26ai8a44z07jhdj0yvv8q6nq6ifcrzc7qjmdkjywg2cj9v";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"unsafe-coerce" = pkgs.stdenv.mkDerivation {
name = "unsafe-coerce";
version = "v4.0.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-unsafe-coerce.git";
rev = "fa6a5ca9b4581c00ee0b8539306a49badb7bee60";
sha256 = "0k9255mk2mz6xjb11pwkgfcblmmyvr86ig5kr92jwy95xim09zip";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"validation" = pkgs.stdenv.mkDerivation {
name = "validation";
version = "v4.2.0";
src = pkgs.fetchgit {
url = "https://github.com/purescript/purescript-validation.git";
rev = "bef3f9da737516e69f00d35310334004c29355cb";
sha256 = "03irk6n7jgsimhp9ckrg2ns7qbc8d383ls3sslxgir5mr8xdc44g";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
"variant" = pkgs.stdenv.mkDerivation {
name = "variant";
version = "v6.0.1";
src = pkgs.fetchgit {
url = "https://github.com/natefaubion/purescript-variant.git";
rev = "31e620334124d2ca8b1e608c27d74b607a5831e9";
sha256 = "0cn227q57zbqm6r1aw5kvnp1x8zkc1x7wx28yyz311lmy7k1mkql";
};
phases = "installPhase";
installPhase = "ln -s $src $out";
};
};
cpPackage = pkg:
let
target = ".spago/${pkg.name}/${pkg.version}";
in ''
if [ ! -e ${target} ]; then
echo "Installing ${target}."
mkdir -p ${target}
cp --no-preserve=mode,ownership,timestamp -r ${toString pkg.outPath}/* ${target}
else
echo "${target} already exists. Skipping."
fi
'';
getGlob = pkg: ''".spago/${pkg.name}/${pkg.version}/src/**/*.purs"'';
getStoreGlob = pkg: ''"${pkg.outPath}/src/**/*.purs"'';
in {
inherit inputs;
installSpagoStyle = pkgs.writeShellScriptBin "install-spago-style" ''
set -e
echo installing dependencies...
${builtins.toString (builtins.map cpPackage (builtins.attrValues inputs))}
echo "echo done."
'';
buildSpagoStyle = pkgs.writeShellScriptBin "build-spago-style" ''
set -e
echo building project...
purs compile ${builtins.toString (builtins.map getGlob (builtins.attrValues inputs))} "$@"
echo done.
'';
buildFromNixStore = pkgs.writeShellScriptBin "build-from-store" ''
set -e
echo building project using sources from nix store...
purs compile ${builtins.toString (
builtins.map getStoreGlob (builtins.attrValues inputs))} "$@"
echo done.
'';
mkBuildProjectOutput =
{ src, purs }:
pkgs.stdenv.mkDerivation {
name = "build-project-output";
src = src;
buildInputs = [ purs ];
installPhase = ''
mkdir -p $out
purs compile "$src/**/*.purs" ${builtins.toString
(builtins.map
(x: ''"${x.outPath}/src/**/*.purs"'')
(builtins.attrValues inputs))}
mv output $out
'';
};
}