nixpkgs/pkgs/development/interpreters/nelua/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
764 B
Nix
Raw Normal View History

2022-11-23 05:20:00 +01:00
{ lib, stdenv, fetchFromGitHub, luaPackages }:
stdenv.mkDerivation {
pname = "nelua";
2023-01-27 05:20:00 +01:00
version = "unstable-2023-01-21";
2022-11-23 05:20:00 +01:00
src = fetchFromGitHub {
owner = "edubart";
repo = "nelua-lang";
2023-01-27 05:20:00 +01:00
rev = "d10cc61bc54050b07874a8597f8df20534885105";
hash = "sha256-HyNYqhPCQVBJqEcAUUXfvycXE8tWIMIUJJMTIV48ne8=";
2022-11-23 05:20:00 +01:00
};
makeFlags = [ "PREFIX=$(out)" ];
nativeCheckInputs = [ luaPackages.luacheck ];
2022-11-23 05:20:00 +01:00
doCheck = true;
meta = with lib; {
description = "Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code";
homepage = "https://nelua.io/";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.marsam ];
};
}