Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

glas: init at 0.2.2 #298321

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions pkgs/by-name/gl/glas/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:

rustPlatform.buildRustPackage rec {
pname = "glas";
version = "0.2.2";

src = fetchFromGitHub {
owner = "maurobalbi";
repo = "glas";
rev = "v${version}";
sha256 = "sha256-y1sPDCHIfECEhKP6EQs3kDrX/yM+ni0irfPe1c50jJU=";
};

cargoHash = "sha256-h27NqsVOW+LM83xtSAV7cvlRbznGE87aJb2/WeSmfOY=";

doInstallCheck = true;
postInstallCheck = ''
$out/bin/glas --help > /dev/null
'';

meta = {
description = "A language server for the Gleam programming language.";
homepage = "https://github.com/maurobalbi/glas";
changelog = "https://github.com/maurobalbi/glas/tag/v${version}";
license = with lib.licenses; [
bhankas marked this conversation as resolved.
Show resolved Hide resolved
asl20
mit
];
mainProgram = "glas";
maintainers = with lib.maintainers; [ payas ];
};
}