lua51Packages.xml2lua: init at 1.5-2
required by the upcoming rest.nvim
This commit is contained in:
parent
7ac0d3d060
commit
90e92eb67e
2 changed files with 32 additions and 0 deletions
|
@ -121,3 +121,4 @@ toml,,,,,,mrcjkb
|
|||
toml-edit,,,,,5.1,mrcjkb
|
||||
vstruct,https://github.com/ToxicFrog/vstruct.git,,,,,
|
||||
vusted,,,,,,figsoda
|
||||
xml2lua,,,,,,teto
|
||||
|
|
|
|
@ -3455,6 +3455,37 @@ buildLuarocksPackage {
|
|||
};
|
||||
}) {};
|
||||
|
||||
xml2lua = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }:
|
||||
buildLuarocksPackage {
|
||||
pname = "xml2lua";
|
||||
version = "1.5-2";
|
||||
knownRockspec = (fetchurl {
|
||||
url = "mirror://luarocks/xml2lua-1.5-2.rockspec";
|
||||
sha256 = "1h0zszjzi65jc2rmpam7ai38sx2ph09q66jkik5mgzr6cxm1cm4h";
|
||||
}).outPath;
|
||||
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
|
||||
"url": "https://github.com/manoelcampos/xml2lua",
|
||||
"rev": "b24be89a154d49b33295958584944bfd7ba2b24e",
|
||||
"date": "2021-07-13T10:22:09-03:00",
|
||||
"path": "/nix/store/i5dvpc0mhhw7jbrvg4bsz1scs0kvmx5f-xml2lua",
|
||||
"sha256": "1vk3chcpq8b98dss5kwskbzxig58zar0jgi8mizdccw4rx698c44",
|
||||
"hash": "sha256-hDCUTM+EM9Z+rCg+CbL6qLzY/5qaz6J1Q2khfBlkY+4=",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": true,
|
||||
"deepClone": false,
|
||||
"leaveDotGit": false
|
||||
}
|
||||
'') ["date" "path" "sha256"]) ;
|
||||
|
||||
disabled = (luaOlder "5.1");
|
||||
propagatedBuildInputs = [ lua ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://manoelcampos.github.io/xml2lua/";
|
||||
description = "An XML Parser written entirely in Lua that works for Lua 5.1+";
|
||||
license.fullName = "MIT";
|
||||
};
|
||||
}) {};
|
||||
|
||||
}
|
||||
/* GENERATED - do not edit this file */
|
||||
|
|
Loading…
Reference in a new issue