gleam: move to by-name

This commit is contained in:
awwpotato
2025-04-17 19:30:06 -07:00
parent d07349bcfd
commit dbf960bc5c
2 changed files with 2 additions and 6 deletions

View File

@@ -1,54 +0,0 @@
{
lib,
rustPlatform,
fetchFromGitHub,
git,
pkg-config,
openssl,
erlang,
nodejs,
bun,
deno,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "gleam";
version = "1.10.0";
src = fetchFromGitHub {
owner = "gleam-lang";
repo = "gleam";
tag = "v${finalAttrs.version}";
hash = "sha256-0qK9dWkKnoXbIIBMN3p5noPEke/bgC8Bjtmf6lwtyr4=";
};
cargoHash = "sha256-EoRu8p6cUe1li54nVUkf+3qywIsDXh4ptIVLluJ3eFs=";
nativeBuildInputs = [
git
pkg-config
erlang
nodejs
bun
deno
];
buildInputs = [ openssl ];
checkFlags = [
# Makes a network request
"--skip=tests::echo::echo_dict"
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Statically typed language for the Erlang VM";
mainProgram = "gleam";
homepage = "https://gleam.run/";
changelog = "https://github.com/gleam-lang/gleam/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = lib.teams.beam.members ++ [ lib.maintainers.philtaken ];
};
})