diff --git a/pkgs/development/interpreters/nelua/default.nix b/pkgs/development/interpreters/nelua/default.nix new file mode 100644 index 000000000000..6c0eb2222513 --- /dev/null +++ b/pkgs/development/interpreters/nelua/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub, luaPackages }: + +stdenv.mkDerivation { + pname = "nelua"; + version = "unstable-2022-11-20"; + + src = fetchFromGitHub { + owner = "edubart"; + repo = "nelua-lang"; + rev = "63909dc834708a5bd7c21d65a6633880f40295db"; + hash = "sha256-GeknXYsdRUzihzF3qHcCgbcB3w8geiWe5O1Az+4UqMs="; + }; + + makeFlags = [ "PREFIX=$(out)" ]; + + checkInputs = [ luaPackages.luacheck ]; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 318099a89a0e..89c70a3400dd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15796,6 +15796,8 @@ with pkgs; mujs = callPackage ../development/interpreters/mujs { }; + nelua = callPackage ../development/interpreters/nelua { }; + nextflow = callPackage ../development/interpreters/nextflow { }; ngn-k = callPackage ../development/interpreters/ngn-k { };