3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #67231 from Shados/add-moonscript

Add Moonscript
This commit is contained in:
Matthieu Coudron 2019-08-22 16:15:20 +09:00 committed by GitHub
commit 40235b78a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View file

@ -1,4 +1,5 @@
# nix name, luarocks name, server, version,luaversion,maintainers
alt-getopt,,,,,arobyn
ansicolors,,,,,
argparse,,,,,
basexx,,,,,
@ -56,6 +57,7 @@ luv,,,,,
markdown,,,,,
mediator_lua,,,,,
mpack,,,,,
moonscript,,,,,arobyn
nvim-client,,,,,
penlight,,,,,
rapidjson,,,,,

1 # nix name luarocks name server version luaversion maintainers
2 alt-getopt arobyn
3 ansicolors
4 argparse
5 basexx
57 markdown
58 mediator_lua
59 mpack
60 moonscript arobyn
61 nvim-client
62 penlight
63 rapidjson

View file

@ -10,6 +10,26 @@ self: super:
with self;
{
alt-getopt = buildLuarocksPackage {
pname = "alt-getopt";
version = "0.8.0-1";
src = fetchurl {
url = https://luarocks.org/alt-getopt-0.8.0-1.src.rock;
sha256 = "1mi97dqb97sf47vb6wrk12yf1yxcaz0asr9gbgwyngr5n1adh5i3";
};
disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
propagatedBuildInputs = [ lua ];
meta = with stdenv.lib; {
homepage = "https://github.com/cheusov/lua-alt-getopt";
description = "Process application arguments the same way as getopt_long";
maintainers = with maintainers; [ arobyn ];
license = {
fullName = "MIT/X11";
};
};
};
ansicolors = buildLuarocksPackage {
pname = "ansicolors";
version = "1.0.2-3";
@ -1190,6 +1210,26 @@ mpack = buildLuarocksPackage {
};
};
};
moonscript = buildLuarocksPackage {
pname = "moonscript";
version = "0.5.0-1";
src = fetchurl {
url = https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/moonscript-0.5.0-1.src.rock;
sha256 = "09vv3ayzg94bjnzv5fw50r683ma0x3lb7sym297145zig9aqb9q9";
};
disabled = (luaOlder "5.1");
propagatedBuildInputs = [ lua lpeg alt-getopt luafilesystem ];
meta = with stdenv.lib; {
homepage = "http://moonscript.org";
description = "A programmer friendly language that compiles to Lua";
maintainers = with maintainers; [ arobyn ];
license = {
fullName = "MIT";
};
};
};
nvim-client = buildLuarocksPackage {
pname = "nvim-client";
version = "0.2.0-1";