From 921d0813abe28c6f43beff95de4df17dca37c25a Mon Sep 17 00:00:00 2001 From: James Brock Date: Mon, 11 Mar 2024 14:50:02 +0700 Subject: [PATCH] purs: 0.15.10 -> 0.15.15 --- default.nix | 21 ++++++++++++++++++++- purs/0.15.11.nix | 29 +++++++++++++++++++++++++++++ purs/0.15.12.nix | 29 +++++++++++++++++++++++++++++ purs/0.15.13.nix | 29 +++++++++++++++++++++++++++++ purs/0.15.14.nix | 29 +++++++++++++++++++++++++++++ purs/0.15.15.nix | 29 +++++++++++++++++++++++++++++ purs/0.15.16-0.nix | 29 +++++++++++++++++++++++++++++ 7 files changed, 194 insertions(+), 1 deletion(-) create mode 100755 purs/0.15.11.nix create mode 100755 purs/0.15.12.nix create mode 100755 purs/0.15.13.nix create mode 100755 purs/0.15.14.nix create mode 100755 purs/0.15.15.nix create mode 100755 purs/0.15.16-0.nix diff --git a/default.nix b/default.nix index a6b8b2b..6aecfdf 100644 --- a/default.nix +++ b/default.nix @@ -6,6 +6,25 @@ let }; inputs = rec { + purs-0_15_16-0 = import ./purs/0.15.16-0.nix { + inherit pkgs; + }; + purs-0_15_15 = import ./purs/0.15.15.nix { + inherit pkgs; + }; + purs-0_15_14 = import ./purs/0.15.14.nix { + inherit pkgs; + }; + purs-0_15_13 = import ./purs/0.15.13.nix { + inherit pkgs; + }; + purs-0_15_12 = import ./purs/0.15.12.nix { + inherit pkgs; + }; + purs-0_15_11 = import ./purs/0.15.11.nix { + inherit pkgs; + }; + purs-0_15_10 = import ./purs/0.15.10.nix { inherit pkgs; }; @@ -106,7 +125,7 @@ let inherit pkgs; }; - purs = purs-0_15_10; + purs = purs-0_15_15; purs-simple = purs; diff --git a/purs/0.15.11.nix b/purs/0.15.11.nix new file mode 100755 index 0000000..4fefb1c --- /dev/null +++ b/purs/0.15.11.nix @@ -0,0 +1,29 @@ +{ pkgs ? import { }, system ? pkgs.stdenv.hostPlatform.system }: + +let + version = "v0.15.11"; + + urls = { + "x86_64-linux" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/linux64.tar.gz"; + sha256 = "0vrbgmgmmwbyxl969k59zkfrq5dxshspnzskx8zmhcy4flamz8av"; + }; + "x86_64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos.tar.gz"; + sha256 = "0h923269zb9hwlifcv8skz17zlggh8hsxhrgf33h2inl1midvgq5"; + }; + "aarch64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos-arm64.tar.gz"; + sha256 = "1ffhcwzb4cazxviqdl9zwg0jnbhsisg2pbxkqbk63zj2grjcpg86"; + }; + }; + + src = + if builtins.hasAttr system urls then + (pkgs.fetchurl urls.${system}) + else + throw "Architecture not supported: ${system}"; +in +import ./mkPursDerivation.nix { + inherit pkgs version src; +} diff --git a/purs/0.15.12.nix b/purs/0.15.12.nix new file mode 100755 index 0000000..5a67e00 --- /dev/null +++ b/purs/0.15.12.nix @@ -0,0 +1,29 @@ +{ pkgs ? import { }, system ? pkgs.stdenv.hostPlatform.system }: + +let + version = "v0.15.12"; + + urls = { + "x86_64-linux" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/linux64.tar.gz"; + sha256 = "05xwplibkv86iiwpv29vg3zxp5yw7waw86zh08q3p0qx355wjy73"; + }; + "x86_64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos.tar.gz"; + sha256 = "13d2mmphxy9f9yy242qsm58hipr612jymwy7lhf0is4y4m2lvrk2"; + }; + "aarch64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos-arm64.tar.gz"; + sha256 = "0s8j9svgxir0rb0wxkshwal60962g5z0pysdyrjgcr9r77y5gffk"; + }; + }; + + src = + if builtins.hasAttr system urls then + (pkgs.fetchurl urls.${system}) + else + throw "Architecture not supported: ${system}"; +in +import ./mkPursDerivation.nix { + inherit pkgs version src; +} diff --git a/purs/0.15.13.nix b/purs/0.15.13.nix new file mode 100755 index 0000000..788b176 --- /dev/null +++ b/purs/0.15.13.nix @@ -0,0 +1,29 @@ +{ pkgs ? import { }, system ? pkgs.stdenv.hostPlatform.system }: + +let + version = "v0.15.13"; + + urls = { + "x86_64-linux" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/linux64.tar.gz"; + sha256 = "0sr2k9awgjjz0k6lkd78kjmyv4wdgnwy3837bcw13mzg7j7bmrmi"; + }; + "x86_64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos.tar.gz"; + sha256 = "0z2fyckyk5nx7awigsjfi4ybd5jn7hxvpq6i5wpx407xfwbhl554"; + }; + "aarch64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos-arm64.tar.gz"; + sha256 = "0wdh9gv0qnrgsyvrzj1whyvbc5pf0vbk5wgcwh9vdpr2dw90m0ps"; + }; + }; + + src = + if builtins.hasAttr system urls then + (pkgs.fetchurl urls.${system}) + else + throw "Architecture not supported: ${system}"; +in +import ./mkPursDerivation.nix { + inherit pkgs version src; +} diff --git a/purs/0.15.14.nix b/purs/0.15.14.nix new file mode 100755 index 0000000..d8c6744 --- /dev/null +++ b/purs/0.15.14.nix @@ -0,0 +1,29 @@ +{ pkgs ? import { }, system ? pkgs.stdenv.hostPlatform.system }: + +let + version = "v0.15.14"; + + urls = { + "x86_64-linux" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/linux64.tar.gz"; + sha256 = "0i717gb4d21m0pi1k90g5diq3yja1pwlw6ripv0d70jdnd9gsdl9"; + }; + "x86_64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos.tar.gz"; + sha256 = "01973wiybblfbgjbqrhr8435y6jk6c94i667nr3zxkxy4np3lv3q"; + }; + "aarch64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos-arm64.tar.gz"; + sha256 = "1sc8ygiha980wbg60bkinvvpdn4bdasq9zffanbxck8msdwxc4zx"; + }; + }; + + src = + if builtins.hasAttr system urls then + (pkgs.fetchurl urls.${system}) + else + throw "Architecture not supported: ${system}"; +in +import ./mkPursDerivation.nix { + inherit pkgs version src; +} diff --git a/purs/0.15.15.nix b/purs/0.15.15.nix new file mode 100755 index 0000000..9096d74 --- /dev/null +++ b/purs/0.15.15.nix @@ -0,0 +1,29 @@ +{ pkgs ? import { }, system ? pkgs.stdenv.hostPlatform.system }: + +let + version = "v0.15.15"; + + urls = { + "x86_64-linux" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/linux64.tar.gz"; + sha256 = "1w4jgjpfhaw3gkx9sna64lq9m030x49w4lwk01ik5ci0933imzj3"; + }; + "x86_64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos.tar.gz"; + sha256 = "178ix54k2yragcgn0j8z1cfa78s1qbh1bsx3v9jnngby8igr6yn3"; + }; + "aarch64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos-arm64.tar.gz"; + sha256 = "0bi231z1yhb7kjfn228wjkj6rv9lgpagz9f4djr2wy3kqgck4xg0"; + }; + }; + + src = + if builtins.hasAttr system urls then + (pkgs.fetchurl urls.${system}) + else + throw "Architecture not supported: ${system}"; +in +import ./mkPursDerivation.nix { + inherit pkgs version src; +} diff --git a/purs/0.15.16-0.nix b/purs/0.15.16-0.nix new file mode 100755 index 0000000..7830c1d --- /dev/null +++ b/purs/0.15.16-0.nix @@ -0,0 +1,29 @@ +{ pkgs ? import { }, system ? pkgs.stdenv.hostPlatform.system }: + +let + version = "v0.15.16-0"; + + urls = { + "x86_64-linux" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/linux64.tar.gz"; + sha256 = "1shpa3ya7jkmdasqbxkk85j8blp39jfajgknwkl7xx3jrkrxx1rn"; + }; + "x86_64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos.tar.gz"; + sha256 = "1635hfd0m74wayj18nxl642nf8mpc14655jh65blm5w3fbl5dnj1"; + }; + "aarch64-darwin" = { + url = "https://github.com/purescript/purescript/releases/download/${version}/macos-arm64.tar.gz"; + sha256 = "1rygzxkzlsac9p48brf66255ag92k82sw6b18hzrsx166av5qc7w"; + }; + }; + + src = + if builtins.hasAttr system urls then + (pkgs.fetchurl urls.${system}) + else + throw "Architecture not supported: ${system}"; +in +import ./mkPursDerivation.nix { + inherit pkgs version src; +}