From 76b5f4f074fafc697bb6879496e68917e9245223 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Thu, 6 Apr 2023 15:01:54 +0900 Subject: [PATCH] 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