diff options
author | Matthieu Coudron <886074+teto@users.noreply.github.com> | 2024-02-05 20:57:55 +0100 |
---|---|---|
committer | Matthieu Coudron <886074+teto@users.noreply.github.com> | 2024-02-06 10:36:20 +0100 |
commit | 90e92eb67edaa4db7a6513287aec122f90ee3c01 (patch) | |
tree | 6c0f2e79c7737ed4f1129899da0274f64151fdfd /pkgs/development/lua-modules | |
parent | 7ac0d3d0603b98d825f4466615c91d5628b2abda (diff) | |
download | nixlib-90e92eb67edaa4db7a6513287aec122f90ee3c01.tar nixlib-90e92eb67edaa4db7a6513287aec122f90ee3c01.tar.gz nixlib-90e92eb67edaa4db7a6513287aec122f90ee3c01.tar.bz2 nixlib-90e92eb67edaa4db7a6513287aec122f90ee3c01.tar.lz nixlib-90e92eb67edaa4db7a6513287aec122f90ee3c01.tar.xz nixlib-90e92eb67edaa4db7a6513287aec122f90ee3c01.tar.zst nixlib-90e92eb67edaa4db7a6513287aec122f90ee3c01.zip |
lua51Packages.xml2lua: init at 1.5-2
required by the upcoming rest.nvim
Diffstat (limited to 'pkgs/development/lua-modules')
-rw-r--r-- | pkgs/development/lua-modules/generated-packages.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index 9fdcc3b202ac..3bc58c29ff96 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -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 */ |