lisette: init at 0.1.2

This commit is contained in:
Pol Dellaiera
2026-04-04 11:01:46 +02:00
parent 6f7315fcdf
commit e308dc72ca
+44
View File
@@ -0,0 +1,44 @@
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
go,
writableTmpDirAsHomeHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "lisette";
version = "0.1.2";
src = fetchFromGitHub {
owner = "ivov";
repo = "lisette";
tag = "lisette-v${finalAttrs.version}";
hash = "sha256-wUd4LjwbsW5hS2VAbzzq9oDDPLbdXie6JmkuOEBsjmA=";
};
cargoHash = "sha256-E+8eFfftyrIGNfddQqDmmfPpv1FyYg2u00+KKru+B0Y=";
preCheck = ''
export NO_COLOR=true
'';
nativeCheckInputs = [
go
writableTmpDirAsHomeHook
];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "version";
meta = {
description = "Little language inspired by Rust that compiles to Go";
homepage = "https://github.com/ivov/lisette";
changelog = "https://github.com/ivov/lisette/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ drupol ];
mainProgram = "lis";
};
})