luaPackages.digestif: init at scm-1

This commit is contained in:
Matthieu Coudron 2019-06-05 00:01:42 +09:00
parent 474566bccb
commit 2fc71c7404
2 changed files with 30 additions and 0 deletions

View File

@ -3,6 +3,7 @@ ansicolors,,,,
argparse,,,,
basexx,,,,
binaryheap,,,,
digestif,,http://luarocks.org/dev,,lua5_3
dkjson,,,,
fifo,,,,
http,,,,

1 # nix name luarocks name server version luaversion
3 argparse
4 basexx
5 binaryheap
6 digestif http://luarocks.org/dev lua5_3
7 dkjson
8 fifo
9 http

View File

@ -92,6 +92,35 @@ binaryheap = buildLuarocksPackage {
};
};
};
digestif = buildLuarocksPackage {
pname = "digestif";
version = "scm-1";
knownRockspec = (fetchurl {
url = http://luarocks.org/dev/digestif-scm-1.rockspec;
sha256 = "18rixbni4hmrmh3qj3vpjbsphzdvchswajphc9ysm52ccpyzh687";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "git://github.com/astoff/digestif",
"rev": "19442554ae18607707f09e6663d65bb8bb4ebb58",
"date": "2019-06-01T15:41:36+02:00",
"sha256": "1sglkgx2s1xc725h9b97jhfbi3scs32si83xss5m3n0xidwmlbzb",
"fetchSubmodules": true
}
'') ["date"]) ;
disabled = (luaOlder "5.3");
propagatedBuildInputs = [ lua lpeg dkjson ];
meta = {
homepage = "https://github.com/astoff/digestif/";
description = "Code analyzer for TeX.";
license = {
fullName = "MIT";
};
};
};
dkjson = buildLuarocksPackage {
pname = "dkjson";
version = "2.5-2";