From 1072989015a69f3d738f75016dc9e2d2b3a6552e Mon Sep 17 00:00:00 2001 From: Malix Date: Mon, 30 Sep 2024 19:37:29 +0000 Subject: [PATCH] feat: gleam Co-authored-by: Kirupa Chinnathambi Co-authored-by: Ali Satter --- gleam/README.md | 9 +++++++++ gleam/dev.nix | 9 +++++++++ gleam/idx-template.json | 21 +++++++++++++++++++++ gleam/idx-template.nix | 4 ++++ 4 files changed, 43 insertions(+) create mode 100644 gleam/README.md create mode 100644 gleam/dev.nix create mode 100644 gleam/idx-template.json create mode 100644 gleam/idx-template.nix diff --git a/gleam/README.md b/gleam/README.md new file mode 100644 index 00000000..1f927668 --- /dev/null +++ b/gleam/README.md @@ -0,0 +1,9 @@ +# Gleam + +![icon](https://gleam.run/images/lucy/lucy.svg) + +A statically typed language for the Erlang virtual machine. + + + Try in IDX + diff --git a/gleam/dev.nix b/gleam/dev.nix new file mode 100644 index 00000000..ae938e16 --- /dev/null +++ b/gleam/dev.nix @@ -0,0 +1,9 @@ +{ + "pkgs ? import {} // { allowUnfree = true; }": { + "devShell": pkgs.mkShell { + "buildInputs": [ + pkgs.gleam + ] + } + } +} diff --git a/gleam/idx-template.json b/gleam/idx-template.json new file mode 100644 index 00000000..d5376414 --- /dev/null +++ b/gleam/idx-template.json @@ -0,0 +1,21 @@ +{ + "name": "Gleam", + "description": "A statically typed language for the Erlang virtual machine.", + "icon": "https://gleam.run/images/lucy/lucy.svg", + "repository": "https://github.com/project-idx/community-templates/tree/main/gleam", + "maintainers": [ + { + "name": "Malix", + "email": "alixbrunetcontact@gmail.com" + } + ], + "category": "Languages", + "templates": [ + { + "name": "Basic", + "description": "A basic Gleam project.", + "path": "/gleam" + } + ], + "samples": [] +} diff --git a/gleam/idx-template.nix b/gleam/idx-template.nix new file mode 100644 index 00000000..d6bfcff6 --- /dev/null +++ b/gleam/idx-template.nix @@ -0,0 +1,4 @@ +{ + "builder": "nix", + "path": "/gleam/dev.nix" +}