1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 11:02:05 +00:00

luarocks: Add 'markdown'

This commit is contained in:
Will Dietz 2019-03-25 03:50:46 -05:00
parent c1f3c92fef
commit 55f7515442
2 changed files with 21 additions and 0 deletions

View file

@ -21,6 +21,7 @@ luaevent,
luacheck
luaffi,,http://luarocks.org/dev,
luuid,
markdown,
penlight,
say,
std__debug,std._debug,

1 # nix name, luarocks name, server, version/additionnal args
21 luacheck
22 luaffi,,http://luarocks.org/dev,
23 luuid,
24 markdown,
25 penlight,
26 say,
27 std__debug,std._debug,

View file

@ -488,6 +488,26 @@ luuid = buildLuarocksPackage {
};
};
};
markdown = buildLuarocksPackage {
pname = "markdown";
version = "0.33-1";
src = fetchurl {
url = https://luarocks.org/markdown-0.33-1.src.rock;
sha256 = "01xw4b4jvmrv1hz2gya02g3nphsj3hc94hsbc672ycj8pcql5n5y";
};
disabled = ( luaOlder "5.1" ) || ( luaAtLeast "5.4" );
propagatedBuildInputs = [ lua ];
buildType = "builtin";
meta = {
homepage = "https://github.com/mpeterv/markdown";
description = "Markdown text-to-html markup system.";
license = {
fullName = "MIT/X11";
};
};
};
penlight = buildLuarocksPackage {
pname = "penlight";
version = "1.5.4-1";