From 76b5f4f074fafc697bb6879496e68917e9245223 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Thu, 6 Apr 2023 15:01:54 +0900 Subject: [PATCH 1/3] add ghc & haskell-language-server --- bucket/ghc.json | 33 +++++++++++++++++++++++++++++ bucket/haskell-language-server.json | 27 +++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 bucket/ghc.json create mode 100644 bucket/haskell-language-server.json diff --git a/bucket/ghc.json b/bucket/ghc.json new file mode 100644 index 0000000..66ed917 --- /dev/null +++ b/bucket/ghc.json @@ -0,0 +1,33 @@ +{ + "version": "9.6.1", + "description": "An advanced, purely functional programming language.", + "homepage": "https://www.haskell.org", + "license": "BSD-3-Clause", + "notes": [ + "Installed GHC from the official binary." + ], + "suggest": { + "Stack": "stack" + }, + "architecture": { + "64bit": { + "url": "https://downloads.haskell.org/~ghc/9.6.1/ghc-9.6.1-x86_64-unknown-mingw32.tar.xz", + "extract_dir": "ghc-9.6.1-x86_64-unknown-mingw32" + } + }, + "bin": [ + "bin\\ghc.exe", + "bin\\ghci.exe", + "bin\\ghc-pkg.exe", + "bin\\haddock.exe", + "bin\\hp2ps.exe", + "bin\\hpc.exe", + "bin\\hsc2hs.exe", + "bin\\runghc.exe" + ], + "env_add_path": "lib\\bin", + "checkver": { + "url": "https://www.haskell.org/ghc/", + "regex": "GHC ([\\d\\.]+) Released!" + } +} \ No newline at end of file diff --git a/bucket/haskell-language-server.json b/bucket/haskell-language-server.json new file mode 100644 index 0000000..0f9c483 --- /dev/null +++ b/bucket/haskell-language-server.json @@ -0,0 +1,27 @@ +{ + "version": "1.10.0.0", + "description": "Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.", + "homepage": "https://haskell-language-server.readthedocs.io/en/latest/index.html", + "license": "Apache-2.0", + "architecture": { + "64bit": { + "url": "https://github.com/haskell/haskell-language-server/releases/download/1.10.0.0/haskell-language-server-1.10.0.0-x86_64-mingw64.zip", + "hash": "25e84ee35d7376b1e3b2ddb68808eaba77462d7d0fa2a849bf65dcde1265274e", + "extract_dir": "" + } + }, + "bin": [ + "haskell-language-server-8.10.7.exe", + "haskell-language-server-9.0.2.exe", + "haskell-language-server-9.2.7.exe", + "haskell-language-server-9.4.4.exe", + "haskell-language-server-9.6.1.exe", + "haskell-language-server-wrapper.exe" + ], + "checkver": { + "github": "https://github.com/haskell/haskell-language-server" + }, + "depends": [ + "iquiw/scoop-bucket" + ] +} \ No newline at end of file From 6da0ee581574bc6cb05a6c05e117ca2f4de7fc64 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Thu, 6 Apr 2023 15:20:50 +0900 Subject: [PATCH 2/3] add hash to ghc --- bucket/ghc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/bucket/ghc.json b/bucket/ghc.json index 66ed917..ce26036 100644 --- a/bucket/ghc.json +++ b/bucket/ghc.json @@ -12,6 +12,7 @@ "architecture": { "64bit": { "url": "https://downloads.haskell.org/~ghc/9.6.1/ghc-9.6.1-x86_64-unknown-mingw32.tar.xz", + "hash": "6121a889839d8b409f082169365bbfb6ed9e6a1f6ff0531d577ef7c2a9a417fb", "extract_dir": "ghc-9.6.1-x86_64-unknown-mingw32" } }, From a40bbd7d7e23af80e0fae42c8e5883d19479710c Mon Sep 17 00:00:00 2001 From: qwjyh Date: Thu, 6 Apr 2023 15:23:39 +0900 Subject: [PATCH 3/3] add newline --- bucket/ghc.json | 2 +- bucket/haskell-language-server.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bucket/ghc.json b/bucket/ghc.json index ce26036..eb37f1e 100644 --- a/bucket/ghc.json +++ b/bucket/ghc.json @@ -31,4 +31,4 @@ "url": "https://www.haskell.org/ghc/", "regex": "GHC ([\\d\\.]+) Released!" } -} \ No newline at end of file +} diff --git a/bucket/haskell-language-server.json b/bucket/haskell-language-server.json index 0f9c483..ba3699a 100644 --- a/bucket/haskell-language-server.json +++ b/bucket/haskell-language-server.json @@ -24,4 +24,4 @@ "depends": [ "iquiw/scoop-bucket" ] -} \ No newline at end of file +}