diff options
Diffstat (limited to 'pkgs/development/lua-modules/generated-packages.nix')
-rw-r--r-- | pkgs/development/lua-modules/generated-packages.nix | 2247 |
1 files changed, 842 insertions, 1405 deletions
diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix index 178dacd0b3fbe..bccfd1d99e70a 100644 --- a/pkgs/development/lua-modules/generated-packages.nix +++ b/pkgs/development/lua-modules/generated-packages.nix @@ -3,33 +3,25 @@ Regenerate it with: nix run nixpkgs#luarocks-packages-updater You can customize the generated packages in pkgs/development/lua-modules/overrides.nix */ -{ stdenv, lib, fetchurl, fetchgit, callPackage, ... } @ args: +{ stdenv, lib, fetchurl, fetchgit, callPackage, ... }: final: prev: { -alt-getopt = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder }: +alt-getopt = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "alt-getopt"; version = "0.8.0-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/alt-getopt-0.8.0-1.rockspec"; + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/alt-getopt-0.8.0-1.rockspec"; sha256 = "17yxi1lsrbkmwzcn1x48x8758d7v1frsz1bmnpqfv4vfnlh0x210"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/cheusov/lua-alt-getopt", - "rev": "f495c21d6a203ab280603aa5799e636fb5651ae7", - "date": "2017-01-06T13:50:55+03:00", - "path": "/nix/store/z72v77cw9188408ynsppwhlzii2dr740-lua-alt-getopt", - "sha256": "1kq7r5668045diavsqd1j6i9hxdpsk99w8q4zr8cby9y3ws4q6rv", - "hash": "sha256-OxtMNB8++cVQ/gQjntLUt3WYopGhYb1VbIUAZEzJB88=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "cheusov"; + repo = "lua-alt-getopt"; + rev = "0.8.0"; + hash = "sha256-OxtMNB8++cVQ/gQjntLUt3WYopGhYb1VbIUAZEzJB88="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.4"; meta = { homepage = "https://github.com/cheusov/lua-alt-getopt"; @@ -39,12 +31,12 @@ buildLuarocksPackage { }; }) {}; -argparse = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaAtLeast, luaOlder }: +argparse = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "argparse"; version = "0.7.1-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/argparse-0.7.1-1.rockspec"; + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/argparse-0.7.1-1.rockspec"; sha256 = "116iaczq6glzzin6qqa2zn7i22hdyzzsq6mzjiqnz6x1qmi0hig8"; }).outPath; src = fetchzip { @@ -52,8 +44,7 @@ buildLuarocksPackage { sha256 = "0idg79d0dfis4qhbkbjlmddq87np75hb2vj41i6prjpvqacvg5v1"; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "https://github.com/luarocks/argparse"; @@ -62,7 +53,7 @@ buildLuarocksPackage { }; }) {}; -basexx = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +basexx = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "basexx"; version = "0.4.1-1"; @@ -75,8 +66,7 @@ buildLuarocksPackage { sha256 = "1rnz6xixxqwy0q6y2hi14rfid4w47h69gfi0rnlq24fz8q2b0qpz"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/aiq/basexx"; @@ -85,7 +75,7 @@ buildLuarocksPackage { }; }) {}; -binaryheap = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +binaryheap = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "binaryheap"; version = "0.4-1"; @@ -98,8 +88,7 @@ buildLuarocksPackage { sha256 = "0f5l4nb5s7dycbkgh3rrl7pf0npcf9k6m2gr2bsn09fjyb3bdc8h"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/Tieske/binaryheap.lua"; @@ -109,7 +98,7 @@ buildLuarocksPackage { }; }) {}; -bit32 = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +bit32 = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "bit32"; version = "5.3.0-1"; @@ -117,22 +106,14 @@ buildLuarocksPackage { url = "mirror://luarocks/bit32-5.3.0-1.rockspec"; sha256 = "1d6xdihpksrj5a3yvsvnmf3vfk15hj6f8n1rrs65m7adh87hc0yd"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/keplerproject/lua-compat-5.2.git", - "rev": "10c7d40943601eb1f80caa9e909688bb203edc4d", - "date": "2015-02-17T10:44:04+01:00", - "path": "/nix/store/9kz7kgjmq0w9plrpha866bmwsgp4rfhn-lua-compat-5.2", - "sha256": "1ipqlbvb5w394qwhm2f3w6pdrgy8v4q8sps5hh3pqz14dcqwakhj", - "hash": "sha256-Ek7FMWskfHwHhEVfjTDZyL/cruHDiQo5Jmnwsvai+MY=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "keplerproject"; + repo = "lua-compat-5.2"; + rev = "bitlib-5.3.0"; + hash = "sha256-Ek7FMWskfHwHhEVfjTDZyL/cruHDiQo5Jmnwsvai+MY="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "http://www.lua.org/manual/5.2/manual.html#6.7"; @@ -142,7 +123,7 @@ buildLuarocksPackage { }; }) {}; -busted = callPackage({ buildLuarocksPackage, dkjson, fetchgit, fetchurl, lua, lua-term, luaOlder, lua_cliargs, luassert, luasystem, mediator_lua, penlight, say }: +busted = callPackage({ buildLuarocksPackage, dkjson, fetchFromGitHub, fetchurl, lua-term, luaOlder, lua_cliargs, luassert, luasystem, mediator_lua, penlight, say }: buildLuarocksPackage { pname = "busted"; version = "2.2.0-1"; @@ -150,22 +131,15 @@ buildLuarocksPackage { url = "mirror://luarocks/busted-2.2.0-1.rockspec"; sha256 = "0h4zk4lcm40wg3l0vgjn6lsyh9yayhljx65a0pz5n99dxal8lgnf"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/busted.git", - "rev": "02f31a9c103a44e166617cfdb6ba1b8994a9c912", - "date": "2023-11-06T14:24:47+03:00", - "path": "/nix/store/59a4spix6yw8lvkxq7q1fkdv0gfqd72k-busted", - "sha256": "0pwyidy7l223ydsfbf5xsjqgyhm73942ks44d3bivh8ldam4zg74", - "hash": "sha256-5LxPqmoUwR3XaIToKUgap0L/sNS9uOV080MIenyLnl8=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "busted"; + rev = "v2.2.0"; + hash = "sha256-5LxPqmoUwR3XaIToKUgap0L/sNS9uOV080MIenyLnl8="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ dkjson lua lua-term lua_cliargs luassert luasystem mediator_lua penlight say ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ dkjson lua-term lua_cliargs luassert luasystem mediator_lua penlight say ]; meta = { homepage = "https://lunarmodules.github.io/busted/"; @@ -174,7 +148,7 @@ buildLuarocksPackage { }; }) {}; -cassowary = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder, penlight }: +cassowary = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, penlight }: buildLuarocksPackage { pname = "cassowary"; version = "2.3.2-1"; @@ -182,22 +156,15 @@ buildLuarocksPackage { url = "mirror://luarocks/cassowary-2.3.2-1.rockspec"; sha256 = "0c6sflm8zpgbcdj47s3rd34h69h3nqcciaaqd1wdx5m0lwc3mii0"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/sile-typesetter/cassowary.lua", - "rev": "e33195f08438c15d725d283979165fda7c6c3321", - "date": "2022-04-22T11:23:46+03:00", - "path": "/nix/store/51mb376xh9pnh2krk08ljmy01zhr9y3z-cassowary.lua", - "sha256": "1lvl40dhzmbqqjrqpjgqlg2kl993fpdy1mpc6d1610zpa9znx1f0", - "hash": "sha256-wIVuf1L3g2BCM+zW4Nt1IyU6xaP4yYuzxHjVDxsgdNM=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "sile-typesetter"; + repo = "cassowary.lua"; + rev = "v2.3.2"; + hash = "sha256-wIVuf1L3g2BCM+zW4Nt1IyU6xaP4yYuzxHjVDxsgdNM="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua penlight ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ penlight ]; meta = { homepage = "https://github.com/sile-typesetter/cassowary.lua"; @@ -207,7 +174,7 @@ buildLuarocksPackage { }; }) {}; -cldr = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder, penlight }: +cldr = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, penlight }: buildLuarocksPackage { pname = "cldr"; version = "0.3.0-0"; @@ -215,22 +182,15 @@ buildLuarocksPackage { url = "mirror://luarocks/cldr-0.3.0-0.rockspec"; sha256 = "1fnr8k713w21v7hc64s4w5lgcgnbphq3gm69pisc2s4wq2fkija1"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/alerque/cldr-lua.git", - "rev": "4602a7859535ca198ddfaba73a02f9bce3e81025", - "date": "2022-12-06T12:36:06+03:00", - "path": "/nix/store/3xgwqd2pica8301sbfrw4bmv0xm2wzx5-cldr-lua", - "sha256": "0hlfb115qhamczzskvckxczf9dpp8cv8h6vz7zgdl2n025ik9dp4", - "hash": "sha256-5LY0YxHACtreP38biDZD97bkPuuT7an/Z1VBXEJYjkI=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "alerque"; + repo = "cldr-lua"; + rev = "v0.3.0"; + hash = "sha256-5LY0YxHACtreP38biDZD97bkPuuT7an/Z1VBXEJYjkI="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua penlight ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ penlight ]; meta = { homepage = "https://github.com/alerque/cldr-lua"; @@ -240,21 +200,20 @@ buildLuarocksPackage { }; }) {}; -commons-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +commons-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "commons.nvim"; - version = "15.0.0-1"; + version = "15.0.2-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/commons.nvim-15.0.0-1.rockspec"; - sha256 = "1f3izlp5jkr772pfbdm3q6qm5vmqqzdn4pl9qyq9fp9jzxrbv62r"; + url = "mirror://luarocks/commons.nvim-15.0.2-1.rockspec"; + sha256 = "1n78bgp9y2smnhkjkdvn2c6lq6071k9dml4j6r7hk462hxsbjsqn"; }).outPath; src = fetchzip { - url = "https://github.com/linrongbin16/commons.nvim/archive/b50a5a220c25baa5d7568137451bdc8c3c08e80c.zip"; - sha256 = "1ylvrywms5igixmkpgk6kv3a8w6d4c17dzlca9av0xxxj7ny3vgq"; + url = "https://github.com/linrongbin16/commons.nvim/archive/cc17fd28c5f171c5d55f75d668b812e2d70b4cf3.zip"; + sha256 = "0w5z03r59jy3zb653dwp9c6fq8ivjj1j2ksnsx95wlmj1mx04ixi"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://linrongbin16.github.io/commons.nvim/"; @@ -264,7 +223,7 @@ buildLuarocksPackage { }; }) {}; -compat53 = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaAtLeast, luaOlder }: +compat53 = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "compat53"; version = "0.13-1"; @@ -277,8 +236,7 @@ buildLuarocksPackage { sha256 = "06kpx5qyk1zki2r2g6z3alwhvmays50670z7mbl55h7s0kff2cpz"; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "https://github.com/lunarmodules/lua-compat-5.3"; @@ -288,7 +246,7 @@ buildLuarocksPackage { }; }) {}; -cosmo = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lpeg }: +cosmo = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lpeg }: buildLuarocksPackage { pname = "cosmo"; version = "16.06.04-1"; @@ -296,31 +254,23 @@ buildLuarocksPackage { url = "mirror://luarocks/cosmo-16.06.04-1.rockspec"; sha256 = "0ipv1hrlhvaz1myz6qxabq7b7kb3bz456cya3r292487a3g9h9pb"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/mascarenhas/cosmo.git", - "rev": "e774f08cbf8d271185812a803536af8a8240ac51", - "date": "2016-06-17T05:39:58-07:00", - "path": "/nix/store/k3p4xc4cfihp4h8aj6vacr25rpcsjd96-cosmo", - "sha256": "03b5gwsgxd777970d2h6rx86p7ivqx7bry8xmx2r396g3w85qy2p", - "hash": "sha256-V3hcEB/PpJFFrx35vE7HO55rUM8GigZOOue0/jR/ZQ0=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "mascarenhas"; + repo = "cosmo"; + rev = "v16.06.04"; + hash = "sha256-mJE5GkDnfZ3qAQyyyKj+aXOtlITeYs8lerGJSTzU/Tk="; + }; propagatedBuildInputs = [ lpeg ]; meta = { homepage = "http://cosmo.luaforge.net"; description = "Safe templates for Lua"; - maintainers = with lib.maintainers; [ ]; license.fullName = "MIT/X11"; }; }) {}; -coxpcall = callPackage({ buildLuarocksPackage, fetchgit, fetchurl }: +coxpcall = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }: buildLuarocksPackage { pname = "coxpcall"; version = "1.17.0-1"; @@ -328,19 +278,12 @@ buildLuarocksPackage { url = "mirror://luarocks/coxpcall-1.17.0-1.rockspec"; sha256 = "0mf0nggg4ajahy5y1q5zh2zx9rmgzw06572bxx6k8b736b8j7gca"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/keplerproject/coxpcall", - "rev": "ea22f44e490430e40217f0792bf82eaeaec51903", - "date": "2018-02-26T19:53:11-03:00", - "path": "/nix/store/1q4p5qvr6rlwisyarlgnmk4dx6vp8xdl-coxpcall", - "sha256": "1k3q1rr2kavkscf99b5njxhibhp6iwhclrjk6nnnp233iwc2jvqi", - "hash": "sha256-EW8pGI9jiGutNVNmyiCP5sIVYZe2rJQc03OrKXIOeMw=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "keplerproject"; + repo = "coxpcall"; + rev = "v1_17_0"; + hash = "sha256-EW8pGI9jiGutNVNmyiCP5sIVYZe2rJQc03OrKXIOeMw="; + }; meta = { @@ -363,8 +306,7 @@ buildLuarocksPackage { sha256 = "0lhd02ag3r1sxr2hx847rdjkddm04l1vf5234v5cz9bd4kfjw4cy"; }; - disabled = (lua.luaversion != "5.2"); - propagatedBuildInputs = [ lua ]; + disabled = lua.luaversion != "5.2"; meta = { homepage = "http://25thandclement.com/~william/projects/cqueues.html"; @@ -374,7 +316,7 @@ buildLuarocksPackage { }; }) {}; -cyan = callPackage({ argparse, buildLuarocksPackage, fetchgit, fetchurl, luafilesystem, tl }: +cyan = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, luafilesystem, tl }: buildLuarocksPackage { pname = "cyan"; version = "0.3.0-1"; @@ -382,19 +324,12 @@ buildLuarocksPackage { url = "mirror://luarocks/cyan-0.3.0-1.rockspec"; sha256 = "1bs5gwgdhibj2gm8y3810b0hh6s9n00fgij8nnjag9kpqrd80vsj"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/teal-language/cyan", - "rev": "51649e4a814c05deaf5dde929ba82803f5170bbc", - "date": "2024-02-18T03:16:47-06:00", - "path": "/nix/store/dg57a34dhah1gvlvj9y2crmngb5rrg5c-cyan", - "sha256": "0kjvgm2hpgdk2bb4fn426v8yy13gycyzmd4kjwwbh70pa227cwgk", - "hash": "sha256-83F2hFAXHLg4l5O0+j3zbwTv0TaCWEfWErO9C0V9W04=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "teal-language"; + repo = "cyan"; + rev = "51649e4a814c05deaf5dde929ba82803f5170bbc"; + hash = "sha256-83F2hFAXHLg4l5O0+j3zbwTv0TaCWEfWErO9C0V9W04="; + }; propagatedBuildInputs = [ argparse luafilesystem tl ]; @@ -405,27 +340,23 @@ buildLuarocksPackage { }; }) {}; -digestif = callPackage({ buildLuarocksPackage, fetchgit, lpeg, lua, luaOlder, luafilesystem }: +digestif = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lpeg, luaOlder }: buildLuarocksPackage { pname = "digestif"; - version = "dev-1"; - - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/astoff/digestif", - "rev": "c0199f9cd86021c0a89662002d7a3411d12fb168", - "date": "2023-03-10T15:04:26+01:00", - "path": "/nix/store/3s849fwc80lf7pvgsiavqmvc5538cwwd-digestif", - "sha256": "0xccrrfwvcj03nnrzs3iwig7y2ahl706h413hkywcplyd5407dv9", - "hash": "sha256-abcDSGmeXsb9hCMQaMChUAl/XuRx6J+tHUCyzV3OjHU=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + version = "0.5.1-1"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/digestif-0.5.1-1.rockspec"; + sha256 = "03hhzpq1szdw43slq38wbndwh8knv71q9pgwd7hvvkp9wykzjhwr"; + }).outPath; + src = fetchFromGitHub { + owner = "astoff"; + repo = "digestif"; + rev = "v0.5.1"; + hash = "sha256-8QTc4IKD1tjRlyrSZy7cyUzRkvm6IHwlOXchPf2BaMk="; + }; - disabled = (luaOlder "5.3"); - propagatedBuildInputs = [ lpeg lua luafilesystem ]; + disabled = luaOlder "5.3"; + propagatedBuildInputs = [ lpeg ]; meta = { homepage = "https://github.com/astoff/digestif/"; @@ -434,21 +365,20 @@ buildLuarocksPackage { }; }) {}; -dkjson = callPackage({ buildLuarocksPackage, fetchurl, lua, luaAtLeast, luaOlder }: +dkjson = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "dkjson"; version = "2.7-1"; knownRockspec = (fetchurl { url = "mirror://luarocks/dkjson-2.7-1.rockspec"; - sha256 = "sha256-rVMDFF/yY7fTlY4Icj4LWt72qmKMCwedbgoigqx/+U0="; + sha256 = "0kgrgyn848hadsfhf2wccamgdpjs1cz7424fjp9vfqzjbwa06lxd"; }).outPath; src = fetchurl { url = "http://dkolf.de/dkjson-lua/dkjson-2.7.tar.gz"; sha256 = "sha256-TFGmIQLy9r23Z3fx23NgUJtKARaANYi06CVfQ1ryOVw="; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "http://dkolf.de/dkjson-lua/"; @@ -457,7 +387,7 @@ buildLuarocksPackage { }; }) {}; -fennel = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +fennel = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "fennel"; version = "1.4.2-1"; @@ -470,8 +400,7 @@ buildLuarocksPackage { sha256 = "1inhy8rrywx8svdzhy1yaaa0cfyrmi21ckj7h8xmd7yqaw66ma86"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://fennel-lang.org/"; @@ -481,7 +410,7 @@ buildLuarocksPackage { }; }) {}; -fidget-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +fidget-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "fidget.nvim"; version = "1.1.0-1"; @@ -494,8 +423,7 @@ buildLuarocksPackage { sha256 = "0bwjcqkb735wqnzc8rngvpq1b2rxgc7m0arjypvnvzsxw6wd1f61"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/j-hui/fidget.nvim"; @@ -505,12 +433,12 @@ buildLuarocksPackage { }; }) {}; -fifo = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua }: +fifo = callPackage({ buildLuarocksPackage, fetchurl, fetchzip }: buildLuarocksPackage { pname = "fifo"; version = "0.2-0"; knownRockspec = (fetchurl { - url = "mirror://luarocks/fifo-0.2-0.rockspec"; + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/fifo-0.2-0.rockspec"; sha256 = "0vr9apmai2cyra2n573nr3dyk929gzcs4nm1096jdxcixmvh2ymq"; }).outPath; src = fetchzip { @@ -518,7 +446,6 @@ buildLuarocksPackage { sha256 = "1800k7h5hxsvm05bjdr65djjml678lwb0661cll78z1ys2037nzn"; }; - propagatedBuildInputs = [ lua ]; meta = { homepage = "https://github.com/daurnimator/fifo.lua"; @@ -527,7 +454,7 @@ buildLuarocksPackage { }; }) {}; -fluent = callPackage({ buildLuarocksPackage, cldr, fetchgit, fetchurl, lua, luaOlder, luaepnf, penlight }: +fluent = callPackage({ buildLuarocksPackage, cldr, fetchFromGitHub, fetchurl, luaOlder, luaepnf, penlight }: buildLuarocksPackage { pname = "fluent"; version = "0.2.0-0"; @@ -535,22 +462,15 @@ buildLuarocksPackage { url = "mirror://luarocks/fluent-0.2.0-0.rockspec"; sha256 = "1x3nk8xdf923rvdijr0jx8v6w3wxxfch7ri3kxca0pw80b5bc2fa"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/alerque/fluent-lua.git", - "rev": "e1cd4130e460bcd52f9118b7d9f9a72d2e8b902c", - "date": "2022-04-16T23:08:20+03:00", - "path": "/nix/store/flxlnrzg6rx75qikiggmy494npx59p0b-fluent-lua", - "sha256": "12js8l4hcxhziza0sry0f01kfm8f8m6kx843dmcky36z1y2mccmq", - "hash": "sha256-uDJWhQ/fDD9ZbYOgPk1FDlU3A3DAZw3Ujx92BglFWoo=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "alerque"; + repo = "fluent-lua"; + rev = "v0.2.0"; + hash = "sha256-uDJWhQ/fDD9ZbYOgPk1FDlU3A3DAZw3Ujx92BglFWoo="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ cldr lua luaepnf penlight ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ cldr luaepnf penlight ]; meta = { homepage = "https://github.com/alerque/fluent-lua"; @@ -560,7 +480,7 @@ buildLuarocksPackage { }; }) {}; -funnyfiles-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +funnyfiles-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "funnyfiles.nvim"; version = "1.0.1-1"; @@ -573,8 +493,7 @@ buildLuarocksPackage { sha256 = "00p026r05gldbf18mmv8da9ap09di8dhy0rrd586pr2s2s36nzpd"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/aikooo7/funnyfiles.nvim"; @@ -584,21 +503,20 @@ buildLuarocksPackage { }; }) {}; -fzf-lua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +fzf-lua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "fzf-lua"; - version = "0.0.1220-1"; + version = "0.0.1243-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/fzf-lua-0.0.1220-1.rockspec"; - sha256 = "1l9fhd3akahf6v1x7i9zn6z5gflkh7c3d79m23ijqs4m70kpbik0"; + url = "mirror://luarocks/fzf-lua-0.0.1243-1.rockspec"; + sha256 = "1qg36v2gx36k313jisxyf6yjywzqngak2qcx211hd2wzxdnsaxdb"; }).outPath; src = fetchzip { - url = "https://github.com/ibhagwan/fzf-lua/archive/36df11e3bbb6453014ff4736f6805b5a91dda56d.zip"; - sha256 = "1nw3j1g3kqn36lqdslgb7nxcmm5knhwvfadip46milq0qc73yx1p"; + url = "https://github.com/ibhagwan/fzf-lua/archive/9a0912d171940e8701d1f65d5ee2b23b810720c1.zip"; + sha256 = "0xzgpng4r9paza87fnxc3cfn331g1pmcayv1vky7jmriy5xsrxh6"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/ibhagwan/fzf-lua"; @@ -608,7 +526,7 @@ buildLuarocksPackage { }; }) {}; -fzy = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +fzy = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "fzy"; version = "1.0.3-1"; @@ -621,8 +539,7 @@ buildLuarocksPackage { sha256 = "0w3alddhn0jd19vmminbi1b79mzlagyl1lygmfpxhzzccdv4vapm"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/swarn/fzy-lua"; @@ -632,27 +549,19 @@ buildLuarocksPackage { }; }) {}; -gitsigns-nvim = callPackage({ buildLuarocksPackage, fetchgit, lua }: +gitsigns-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, lua }: buildLuarocksPackage { pname = "gitsigns.nvim"; version = "scm-1"; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lewis6991/gitsigns.nvim", - "rev": "d96ef3bbff0bdbc3916a220f5c74a04c4db033f2", - "date": "2024-04-12T16:53:20+01:00", - "path": "/nix/store/q2wga9cw7f4sgklgjygk6gkfd1zqnp5m-gitsigns.nvim", - "sha256": "1lngbagsnk8zmq034j6jq3nl25crvdjvb73y7da7m282cbm3547j", - "hash": "sha256-8pAy6mICiXpUO36ctWXbmRVB7cDSSDIArh9Nq59az9I=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lewis6991"; + repo = "gitsigns.nvim"; + rev = "035da036e68e509ed158414416c827d022d914bd"; + hash = "sha256-UK3DyvrQ0kLm9wrMQ6tLDoDunoThbY/Yfjn+eCZpuMw="; + }; - disabled = (lua.luaversion != "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = lua.luaversion != "5.1"; meta = { homepage = "http://github.com/lewis6991/gitsigns.nvim"; @@ -661,7 +570,7 @@ buildLuarocksPackage { }; }) {}; -haskell-tools-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +haskell-tools-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "haskell-tools.nvim"; version = "3.1.8-1"; @@ -674,17 +583,17 @@ buildLuarocksPackage { sha256 = "14nk6jyq2y4q93ij56bdjy17h3jlmjwsspw3l6ahvjsl6yg1lv75"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/mrcjkb/haskell-tools.nvim"; description = "Supercharge your Haskell experience in neovim!"; + maintainers = with lib.maintainers; [ mrcjkb ]; license.fullName = "GPL-2.0"; }; }) {}; -http = callPackage({ basexx, binaryheap, bit32, buildLuarocksPackage, compat53, cqueues, fetchurl, fetchzip, fifo, lpeg, lpeg_patterns, lua, luaOlder, luaossl }: +http = callPackage({ basexx, binaryheap, bit32, buildLuarocksPackage, compat53, cqueues, fetchurl, fetchzip, fifo, lpeg, lpeg_patterns, luaOlder, luaossl }: buildLuarocksPackage { pname = "http"; version = "0.3-0"; @@ -697,8 +606,8 @@ buildLuarocksPackage { sha256 = "1pqxxxifl2j1cik3kgayx43v6py5jp6r22myhvxfffysb3b84a2l"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ basexx binaryheap bit32 compat53 cqueues fifo lpeg lpeg_patterns lua luaossl ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ basexx binaryheap bit32 compat53 cqueues fifo lpeg lpeg_patterns luaossl ]; meta = { homepage = "https://github.com/daurnimator/lua-http"; @@ -708,7 +617,7 @@ buildLuarocksPackage { }; }) {}; -image-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, magick }: +image-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, magick }: buildLuarocksPackage { pname = "image.nvim"; version = "1.2.0-1"; @@ -721,8 +630,8 @@ buildLuarocksPackage { sha256 = "1v4db60yykjajabmf12zjcg47bb814scjrig0wvn4yc11isinymg"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua magick ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ magick ]; meta = { homepage = "https://github.com/3rd/image.nvim"; @@ -732,7 +641,7 @@ buildLuarocksPackage { }; }) {}; -inspect = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +inspect = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "inspect"; version = "3.1.3-0"; @@ -745,8 +654,7 @@ buildLuarocksPackage { sha256 = "1sqylz5hmj5sbv4gi9988j6av3cb5lwkd7wiyim1h5lr7xhnlf23"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/kikito/inspect.lua"; @@ -755,7 +663,7 @@ buildLuarocksPackage { }; }) {}; -jsregexp = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +jsregexp = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "jsregexp"; version = "0.0.7-1"; @@ -763,22 +671,14 @@ buildLuarocksPackage { url = "mirror://luarocks/jsregexp-0.0.7-1.rockspec"; sha256 = "1yx0340h51xk23n0g8irj5c9bs35zy6p1zl5kp7vy2cwxazbipbl"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/kmarius/jsregexp.git", - "rev": "d76a7d656a122de38789f4b4a345de6290ed83cc", - "date": "2024-01-11T15:13:03+01:00", - "path": "/nix/store/zxx7v0r88k4wz438509sbsw6h1hymqba-jsregexp", - "sha256": "1m0ndsivx98znbc7gh4kcg9c4q8lbflc108xjl53ivmhisd4cx39", - "hash": "sha256-aXRGmo6w7jgKlR2BwKhbFGHC0mOTwHfYsh+lvqNuFtQ=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "kmarius"; + repo = "jsregexp"; + rev = "v0.0.7"; + hash = "sha256-aXRGmo6w7jgKlR2BwKhbFGHC0mOTwHfYsh+lvqNuFtQ="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/kmarius/jsregexp"; @@ -787,7 +687,7 @@ buildLuarocksPackage { }; }) {}; -ldbus = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder }: +ldbus = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "ldbus"; version = "scm-0"; @@ -795,22 +695,14 @@ buildLuarocksPackage { url = "mirror://luarocks/ldbus-scm-0.rockspec"; sha256 = "1c0h6fx7avzh89hl17v6simy1p4mjg8bimlsbjybks0zxznd8rbm"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/daurnimator/ldbus.git", - "rev": "6d4909c983c8a0e2c7384bac8055c628aa524ea2", - "date": "2021-11-10T23:58:54+11:00", - "path": "/nix/store/j830jk2hkanz7abkdsbvg2warsyr0a2c-ldbus", - "sha256": "18q98b98mfvjzbyssf18bpnlx4hsx4s9lwcwia4z9dxiaiw7b77j", - "hash": "sha256-8px1eFSxt/SJipxxmjTpGpJO7V0oOK39+nK7itJCCaM=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "daurnimator"; + repo = "ldbus"; + rev = "6d4909c983c8a0e2c7384bac8055c628aa524ea2"; + hash = "sha256-8px1eFSxt/SJipxxmjTpGpJO7V0oOK39+nK7itJCCaM="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "https://github.com/daurnimator/ldbus"; @@ -819,7 +711,7 @@ buildLuarocksPackage { }; }) {}; -ldoc = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, markdown, penlight }: +ldoc = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, markdown, penlight }: buildLuarocksPackage { pname = "ldoc"; version = "1.5.0-1"; @@ -827,19 +719,12 @@ buildLuarocksPackage { url = "mirror://luarocks/ldoc-1.5.0-1.rockspec"; sha256 = "1c0yx9j3yqlzxpmspz7n7l1nvh2sww84zhkb1fsbg042sr8h9bxp"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/ldoc.git", - "rev": "09f82c959c50d8c3d5a968c379b1c75de66b002d", - "date": "2023-05-03T00:05:39+03:00", - "path": "/nix/store/7l5xpw1grnwr5m8myll63gyy4311glb1-ldoc", - "sha256": "0g65dd51l42693jr3251p6s40950wcwfr1kspjvc2frkwm7qpv9i", - "hash": "sha256-Me2LT+UzO8G2vHqG7DjjoCRAtLmhiJHlSEYQGkprxTw=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "ldoc"; + rev = "v1.5.0"; + hash = "sha256-Me2LT+UzO8G2vHqG7DjjoCRAtLmhiJHlSEYQGkprxTw="; + }; propagatedBuildInputs = [ markdown penlight ]; @@ -850,7 +735,7 @@ buildLuarocksPackage { }; }) {}; -lgi = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lgi = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lgi"; version = "0.9.2-1"; @@ -858,22 +743,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lgi-0.9.2-1.rockspec"; sha256 = "1gqi07m4bs7xibsy4vx8qgyp3yb1wnh0gdq1cpwqzv35y6hn5ds3"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/pavouk/lgi.git", - "rev": "0fdcf8c677094d0c109dfb199031fdbc0c9c47ea", - "date": "2017-10-09T20:55:55+02:00", - "path": "/nix/store/vh82n8pc8dy5c8nph0vssk99vv7q4qg2-lgi", - "sha256": "03rbydnj411xpjvwsyvhwy4plm96481d7jax544mvk7apd8sd5jj", - "hash": "sha256-UpamUbvqzF0JKV3J0wIiJlV6iedwe823vD0EIm3zKw8=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "pavouk"; + repo = "lgi"; + rev = "0.9.2"; + hash = "sha256-UpamUbvqzF0JKV3J0wIiJlV6iedwe823vD0EIm3zKw8="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "http://github.com/pavouk/lgi"; @@ -882,7 +759,7 @@ buildLuarocksPackage { }; }) {}; -linenoise = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +linenoise = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "linenoise"; version = "0.9-1"; @@ -892,8 +769,7 @@ buildLuarocksPackage { sha256 = "177h6gbq89arwiwxah9943i8hl5gvd9wivnd1nhmdl7d8x0dn76c"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/hoelzro/lua-linenoise"; @@ -915,8 +791,7 @@ buildLuarocksPackage { sha256 = "1w9g36nhxv92cypjia7igg1xpfrn3dbs3hfy6gnnz5mx14v50abf"; }; - disabled = (lua.luaversion != "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = lua.luaversion != "5.1"; meta = { homepage = "http://www.myriabit.com/ljsyscall/"; @@ -926,7 +801,7 @@ buildLuarocksPackage { }; }) {}; -lmathx = callPackage({ buildLuarocksPackage, fetchurl, lua }: +lmathx = callPackage({ buildLuarocksPackage, fetchurl }: buildLuarocksPackage { pname = "lmathx"; version = "20150624-1"; @@ -939,7 +814,6 @@ buildLuarocksPackage { sha256 = "1r0ax3lq4xx6469aqc6qlfl3jynlghzhl5j65mpdj0kyzv4nknzf"; }; - propagatedBuildInputs = [ lua ]; meta = { homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lmathx"; @@ -949,7 +823,7 @@ buildLuarocksPackage { }; }) {}; -lmpfrlib = callPackage({ buildLuarocksPackage, fetchurl, lua, luaAtLeast, luaOlder }: +lmpfrlib = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "lmpfrlib"; version = "20170112-2"; @@ -962,8 +836,7 @@ buildLuarocksPackage { sha256 = "1bkfwdacj1drzqsfxf352fjppqqwi5d4j084jr9vj9dvjb31rbc1"; }; - disabled = (luaOlder "5.3") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.3" || luaAtLeast "5.5"; meta = { homepage = "http://www.circuitwizard.de/lmpfrlib/lmpfrlib.html"; @@ -973,7 +846,7 @@ buildLuarocksPackage { }; }) {}; -loadkit = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +loadkit = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "loadkit"; version = "1.1.0-1"; @@ -981,22 +854,14 @@ buildLuarocksPackage { url = "mirror://luarocks/loadkit-1.1.0-1.rockspec"; sha256 = "08fx0xh90r2zvjlfjkyrnw2p95xk1a0qgvlnq4siwdb2mm6fq12l"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/leafo/loadkit.git", - "rev": "95b13a36442f59b41ab52df96d52233c4a725dfd", - "date": "2023-08-17T11:36:25-07:00", - "path": "/nix/store/9xcy2p5pxiq0p17szv8p2lagb6xzb8c8-loadkit", - "sha256": "0hivmn5r1scxv3nckm4hqfplq33wiab3ypjwsfdkmp3bdri0dhxs", - "hash": "sha256-usMGYm5r3Dqb01xeP5aKfAxMr8OQ1Mns2J3pkIutO0I=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "leafo"; + repo = "loadkit"; + rev = "v1.1.0"; + hash = "sha256-fw+aoP9+yDpme4qXupE07cV1QGZjb2aU7IOHapG+ihU="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/leafo/loadkit"; @@ -1006,7 +871,7 @@ buildLuarocksPackage { }; }) {}; -lpeg = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +lpeg = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lpeg"; version = "1.1.0-1"; @@ -1019,8 +884,7 @@ buildLuarocksPackage { sha256 = "0aimsjpcpkh3kk65f0pg1z2bp6d83rn4dg6pgbx1yv14s9kms5ab"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "http://www.inf.puc-rio.br/~roberto/lpeg.html"; @@ -1030,7 +894,7 @@ buildLuarocksPackage { }; }) {}; -lpeg_patterns = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lpeg, lua }: +lpeg_patterns = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lpeg }: buildLuarocksPackage { pname = "lpeg_patterns"; version = "0.5-0"; @@ -1043,7 +907,7 @@ buildLuarocksPackage { sha256 = "1s3c179a64r45ffkawv9dnxw4mzwkzj00nr9z2gs5haajgpjivw6"; }; - propagatedBuildInputs = [ lpeg lua ]; + propagatedBuildInputs = [ lpeg ]; meta = { homepage = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip"; @@ -1052,7 +916,7 @@ buildLuarocksPackage { }; }) {}; -lpeglabel = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +lpeglabel = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lpeglabel"; version = "1.6.0-1"; @@ -1065,8 +929,7 @@ buildLuarocksPackage { sha256 = "1i02lsxj20iygqm8fy6dih1gh21lqk5qj1mv14wlrkaywnv35wcv"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/sqmedeiros/lpeglabel/"; @@ -1075,7 +938,7 @@ buildLuarocksPackage { }; }) {}; -lrexlib-gnu = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lrexlib-gnu = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lrexlib-gnu"; version = "2.9.2-1"; @@ -1083,22 +946,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lrexlib-gnu-2.9.2-1.rockspec"; sha256 = "14dp5lzpz2prvimpcbqjygbyh9h791h0ywjknj9wgrjjd62qsy6i"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/rrthomas/lrexlib.git", - "rev": "9aa5e7e9ca47da1bd0e023dfa0b1b2d43aa358f3", - "date": "2023-11-05T17:32:50+00:00", - "path": "/nix/store/z74bw029468iizgrv19wllpzsvazj3bg-lrexlib", - "sha256": "15y9ha28qq08b100a32s72h6rx1bqs7gl5h7j3zacy5ixyyl6cqg", - "hash": "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "rrthomas"; + repo = "lrexlib"; + rev = "rel-2-9-2"; + hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/rrthomas/lrexlib"; @@ -1107,7 +962,7 @@ buildLuarocksPackage { }; }) {}; -lrexlib-pcre = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lrexlib-pcre = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lrexlib-pcre"; version = "2.9.2-1"; @@ -1115,22 +970,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lrexlib-pcre-2.9.2-1.rockspec"; sha256 = "1214ssm6apgprryqvijjjn82ikb27ylq94yijqf7qjyiy6pz7dc1"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/rrthomas/lrexlib.git", - "rev": "9aa5e7e9ca47da1bd0e023dfa0b1b2d43aa358f3", - "date": "2023-11-05T17:32:50+00:00", - "path": "/nix/store/z74bw029468iizgrv19wllpzsvazj3bg-lrexlib", - "sha256": "15y9ha28qq08b100a32s72h6rx1bqs7gl5h7j3zacy5ixyyl6cqg", - "hash": "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "rrthomas"; + repo = "lrexlib"; + rev = "rel-2-9-2"; + hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/rrthomas/lrexlib"; @@ -1140,7 +987,7 @@ buildLuarocksPackage { }; }) {}; -lrexlib-posix = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lrexlib-posix = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lrexlib-posix"; version = "2.9.2-1"; @@ -1148,22 +995,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lrexlib-posix-2.9.2-1.rockspec"; sha256 = "1i11cdvz09a3wjhfjgc88g0mdmdrk13fnhhgskzgm5cmhsdx4s0i"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/rrthomas/lrexlib.git", - "rev": "9aa5e7e9ca47da1bd0e023dfa0b1b2d43aa358f3", - "date": "2023-11-05T17:32:50+00:00", - "path": "/nix/store/z74bw029468iizgrv19wllpzsvazj3bg-lrexlib", - "sha256": "15y9ha28qq08b100a32s72h6rx1bqs7gl5h7j3zacy5ixyyl6cqg", - "hash": "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "rrthomas"; + repo = "lrexlib"; + rev = "rel-2-9-2"; + hash = "sha256-DzNDve+xeKb+kAcW+o7GK/RsoDhaDAVAWAhgjISCyZc="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/rrthomas/lrexlib"; @@ -1172,7 +1011,7 @@ buildLuarocksPackage { }; }) {}; -lua-cjson = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lua-cjson = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-cjson"; version = "2.1.0.10-1"; @@ -1180,22 +1019,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-cjson-2.1.0.10-1.rockspec"; sha256 = "05sp7rq72x4kdkyid1ch0yyscwsi5wk85d2hj6xwssz3h8n8drdg"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/openresty/lua-cjson", - "rev": "96e6e0ce67ed070a52223c1e9518c9018b1ce376", - "date": "2021-12-10T20:19:58+08:00", - "path": "/nix/store/1ac8lz6smfa8zqfipqfsg749l9rw4ly9-lua-cjson", - "sha256": "03hdsv7d77mggis58k8fmlpbh1d544m0lfqyl9rpjcqkiqs1qvza", - "hash": "sha256-6m8cNI4TM3lzoh47CiohpQW4Lq0OTVR0fK+e087WDQ4=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "openresty"; + repo = "lua-cjson"; + rev = "2.1.0.10"; + hash = "sha256-/SeQro0FaJn91bAGjsVIin+mJF89VUm/G0KyJkV9Qps="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "http://www.kyne.com.au/~mark/software/lua-cjson.php"; @@ -1204,7 +1035,7 @@ buildLuarocksPackage { }; }) {}; -lua-cmsgpack = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lua-cmsgpack = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-cmsgpack"; version = "0.4.0-0"; @@ -1212,22 +1043,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-cmsgpack-0.4.0-0.rockspec"; sha256 = "10cvr6knx3qvjcw1q9v05f2qy607mai7lbq321nx682aa0n1fzin"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/antirez/lua-cmsgpack.git", - "rev": "dec1810a70d2948725f2e32cc38163de62b9d9a7", - "date": "2015-06-03T08:39:04+02:00", - "path": "/nix/store/ksqvl7hbd5s7nb6hjffyic1shldac4z2-lua-cmsgpack", - "sha256": "0j0ahc9rprgl6dqxybaxggjam2r5i2wqqsd6764n0d7fdpj9fqm0", - "hash": "sha256-oGKX5G3uNGCJOaZpjLmIJYuq5HtdLd9xM/TlmxODCkg=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "antirez"; + repo = "lua-cmsgpack"; + rev = "0.4.0"; + hash = "sha256-oGKX5G3uNGCJOaZpjLmIJYuq5HtdLd9xM/TlmxODCkg="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "http://github.com/antirez/lua-cmsgpack"; @@ -1236,7 +1059,7 @@ buildLuarocksPackage { }; }) {}; -lua-curl = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaAtLeast, luaOlder }: +lua-curl = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "lua-curl"; version = "0.3.13-1"; @@ -1249,8 +1072,7 @@ buildLuarocksPackage { sha256 = "0gn59bwrnb2mvl8i0ycr6m3jmlgx86xlr9mwnc85zfhj7zhi5anp"; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "https://github.com/Lua-cURL"; @@ -1259,30 +1081,22 @@ buildLuarocksPackage { }; }) {}; -lua-ffi-zlib = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lua-ffi-zlib = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-ffi-zlib"; version = "0.6-0"; knownRockspec = (fetchurl { - url = "mirror://luarocks/lua-ffi-zlib-0.6-0.rockspec"; + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lua-ffi-zlib-0.6-0.rockspec"; sha256 = "060sac715f1ris13fjv6gwqm0lk6by0a2zhldxd8hdrc0jss8p34"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/hamishforbes/lua-ffi-zlib", - "rev": "61e95cb434e4047c8bc65a180c293a05bf754416", - "date": "2023-08-11T09:28:16+12:00", - "path": "/nix/store/gfyr81q84mgpgwyh28xpzlf34ndjkfwc-lua-ffi-zlib", - "sha256": "0r6vima495h0d4f8ibf3fv9b6k7rqnavgvsy78dybslrm7lwsz4p", - "hash": "sha256-l3zN6amZ6uUbOl7vt5XF+Uyz0nbDrYgcaQCWRFSN22Q=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "hamishforbes"; + repo = "lua-ffi-zlib"; + rev = "v0.6"; + hash = "sha256-l3zN6amZ6uUbOl7vt5XF+Uyz0nbDrYgcaQCWRFSN22Q="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/hamishforbes/lua-ffi-zlib"; @@ -1290,7 +1104,7 @@ buildLuarocksPackage { }; }) {}; -lua-iconv = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +lua-iconv = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-iconv"; version = "7.0.0-4"; @@ -1303,8 +1117,7 @@ buildLuarocksPackage { sha256 = "0arp0h342hpp4kfdxc69yxspziky4v7c13jbf12yrs8f1lnjzr0x"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/lunarmodules/lua-iconv/"; @@ -1313,30 +1126,23 @@ buildLuarocksPackage { }; }) {}; -lua-lsp = callPackage({ buildLuarocksPackage, dkjson, fetchgit, fetchurl, inspect, lpeglabel, lua, luaAtLeast, luaOlder }: +lua-lsp = callPackage({ buildLuarocksPackage, dkjson, fetchFromGitHub, fetchurl, inspect, lpeglabel, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "lua-lsp"; version = "0.1.0-2"; knownRockspec = (fetchurl { - url = "mirror://luarocks/lua-lsp-0.1.0-2.rockspec"; + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lua-lsp-0.1.0-2.rockspec"; sha256 = "19jsz00qlgbyims6cg8i40la7v8kr7zsxrrr3dg0kdg0i36xqs6c"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/Alloyed/lua-lsp", - "rev": "6afbe53b43d9fb2e70edad50081cc3062ca3d78f", - "date": "2020-10-17T15:07:11-04:00", - "path": "/nix/store/qn9syhm875k1qardhhsp025cm3dbnqvm-lua-lsp", - "sha256": "17k3jq61jz6j9bz4vc3hmsfx1s26cfgq1acja8fqyixljklmsbqp", - "hash": "sha256-Fy9d6ZS0R48dUpKpgJ9jRujQna5wsE3+StJ8GQyWY54=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "Alloyed"; + repo = "lua-lsp"; + rev = "v0.1.0"; + hash = "sha256-Fy9d6ZS0R48dUpKpgJ9jRujQna5wsE3+StJ8GQyWY54="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); - propagatedBuildInputs = [ dkjson inspect lpeglabel lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.4"; + propagatedBuildInputs = [ dkjson inspect lpeglabel ]; meta = { homepage = "https://github.com/Alloyed/lua-lsp"; @@ -1345,7 +1151,7 @@ buildLuarocksPackage { }; }) {}; -lua-messagepack = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +lua-messagepack = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-messagepack"; version = "0.5.4-1"; @@ -1358,8 +1164,7 @@ buildLuarocksPackage { sha256 = "0kk1n9kf6wip8k2xx4wjlv7647biji2p86v4jf0h6d6wkaypq0kz"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://fperrad.frama.io/lua-MessagePack/"; @@ -1368,7 +1173,7 @@ buildLuarocksPackage { }; }) {}; -lua-protobuf = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lua-protobuf = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-protobuf"; version = "0.5.1-1"; @@ -1376,22 +1181,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-protobuf-0.5.1-1.rockspec"; sha256 = "1ljn0xwrhcr49k4fzrh0g1q13j16sa6h3wd5q62995q4jlrmnhja"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/starwing/lua-protobuf.git", - "rev": "5e998726522725138fb4066f03a5cc478c7f7b2c", - "date": "2024-04-01T17:44:38+08:00", - "path": "/nix/store/rdayi9dlv3r62pb1lrl7xg6s1wib3n4v-lua-protobuf", - "sha256": "0vzm2x7vlfby8xqiqa68bqjki3h5775jhfhkvg4mfk152rm1ybhf", - "hash": "sha256-Di4fahYlTFfJ2xM6KMs5BY44JV7IKBxxR345uk8X9W8=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "starwing"; + repo = "lua-protobuf"; + rev = "0.5.1"; + hash = "sha256-Di4fahYlTFfJ2xM6KMs5BY44JV7IKBxxR345uk8X9W8="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/starwing/lua-protobuf"; @@ -1401,7 +1198,7 @@ buildLuarocksPackage { }; }) {}; -lua-resty-http = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lua-resty-http = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-resty-http"; version = "0.17.2-0"; @@ -1409,22 +1206,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-resty-http-0.17.2-0.rockspec"; sha256 = "10swbq779d1q794d17269v0ln26hblsk7kvxj9s60rx71skzql6s"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/ledgetech/lua-resty-http", - "rev": "183310324026120ab7eaf5dd82b9be90ae63aadf", - "date": "2024-02-29T19:43:47+00:00", - "path": "/nix/store/wv99dz7m98dps8qbg5bgvddbgwyw7v84-lua-resty-http", - "sha256": "0xllxaph4r5sk2xc6cpji9i537vr2cgc7n7q7qpq6a8q6jkwy79y", - "hash": "sha256-Ph3PpzQYKYMvPvjYwx4TeZ9RYoryMsO6mLpkAq/qlHY=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "ledgetech"; + repo = "lua-resty-http"; + rev = "v0.17.2"; + hash = "sha256-Ph3PpzQYKYMvPvjYwx4TeZ9RYoryMsO6mLpkAq/qlHY="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/ledgetech/lua-resty-http"; @@ -1433,7 +1222,7 @@ buildLuarocksPackage { }; }) {}; -lua-resty-jwt = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, lua-resty-openssl, luaOlder }: +lua-resty-jwt = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-resty-openssl, luaOlder }: buildLuarocksPackage { pname = "lua-resty-jwt"; version = "0.2.3-0"; @@ -1441,22 +1230,15 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-resty-jwt-0.2.3-0.rockspec"; sha256 = "1fxdwfr4pna3fdfm85kin97n53caq73h807wjb59wpqiynbqzc8c"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/cdbattags/lua-resty-jwt", - "rev": "b3d5c085643fa95099e72a609c57095802106ff9", - "date": "2021-01-20T16:53:57-05:00", - "path": "/nix/store/z4a8ffxj2i3gbjp0f8r377cdp88lkzl4-lua-resty-jwt", - "sha256": "07w8r8gqbby06x493qzislig7a3giw0anqr4ivp3g2ms8v9fnng6", - "hash": "sha256-5lnr0ka6ijfujiRjqwCPb6jzItXx45FIN8CvhR/KiB8=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "cdbattags"; + repo = "lua-resty-jwt"; + rev = "v0.2.3"; + hash = "sha256-m8UbvKk2DR8yCYX9Uv5HjXcZDVyVeRlUKp7UiaN/SkA="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua lua-resty-openssl ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ lua-resty-openssl ]; meta = { homepage = "https://github.com/cdbattags/lua-resty-jwt"; @@ -1465,7 +1247,7 @@ buildLuarocksPackage { }; }) {}; -lua-resty-openidc = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, lua-resty-http, lua-resty-jwt, lua-resty-session, luaOlder }: +lua-resty-openidc = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-resty-http, lua-resty-jwt, lua-resty-session, luaOlder }: buildLuarocksPackage { pname = "lua-resty-openidc"; version = "1.7.6-3"; @@ -1473,22 +1255,15 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-resty-openidc-1.7.6-3.rockspec"; sha256 = "08nq24kxw51xiyyp5jailyqjfsgz4m4fzy4hb7g3fv76vcsf8msp"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/zmartzone/lua-resty-openidc", - "rev": "5a7b9e2cfe4f5aab7c60032e6ca94d2d534f7d19", - "date": "2023-01-30T19:06:51+01:00", - "path": "/nix/store/nyd2jqhlq8gx4chapqyxk2q4dsxgm8hz-lua-resty-openidc", - "sha256": "15dh9z7y84n840x02xsn2m9h9hdakbbv4p1z7dfz85v5w5i6c86p", - "hash": "sha256-1yBmYuFlF/RdOz9csteaqsEEUxVWdwE6IMgS5M9PsJU=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "zmartzone"; + repo = "lua-resty-openidc"; + rev = "v1.7.6"; + hash = "sha256-1yBmYuFlF/RdOz9csteaqsEEUxVWdwE6IMgS5M9PsJU="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua lua-resty-http lua-resty-jwt lua-resty-session ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ lua-resty-http lua-resty-jwt lua-resty-session ]; meta = { homepage = "https://github.com/zmartzone/lua-resty-openidc"; @@ -1497,27 +1272,20 @@ buildLuarocksPackage { }; }) {}; -lua-resty-openssl = callPackage({ buildLuarocksPackage, fetchgit, fetchurl }: +lua-resty-openssl = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }: buildLuarocksPackage { pname = "lua-resty-openssl"; - version = "1.2.1-1"; + version = "1.3.1-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/lua-resty-openssl-1.2.1-1.rockspec"; - sha256 = "1xd3z9kgns4p7v725kb781kg6v5fq8yibvarlqvz368l24js63ak"; + url = "mirror://luarocks/lua-resty-openssl-1.3.1-1.rockspec"; + sha256 = "1rqsmsnnnz78yb0x2xf7764l3rk54ngk3adm6an4g7dm5kryv33f"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/fffonion/lua-resty-openssl.git", - "rev": "58c6ce6885556ed7cb85dde83d673fad05ba73aa", - "date": "2024-02-28T12:55:27+08:00", - "path": "/nix/store/5827180ly4rwyb07d6gb6f5g713j3w2b-lua-resty-openssl", - "sha256": "1m7bvxplg47c5dy9faahjy620bc179kld77v4mysw489kqd7zkc0", - "hash": "sha256-gM1/Gp4JEa59JfucRmc6gS0gjJdQKZd8K+yQR2/f69Q=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "fffonion"; + repo = "lua-resty-openssl"; + rev = "1.3.1"; + hash = "sha256-4h6oIdiMyW9enJToUBtRuUdnKSyWuFFxIDvj4dFRKDs="; + }; meta = { @@ -1527,7 +1295,7 @@ buildLuarocksPackage { }; }) {}; -lua-resty-session = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, lua-ffi-zlib, lua-resty-openssl, luaOlder }: +lua-resty-session = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua-ffi-zlib, lua-resty-openssl, luaOlder }: buildLuarocksPackage { pname = "lua-resty-session"; version = "4.0.5-1"; @@ -1535,22 +1303,15 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-resty-session-4.0.5-1.rockspec"; sha256 = "0h0kqwna46mrraq310qjb7yigxwv13n4czk24xnqr21czxsskzkg"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/bungle/lua-resty-session.git", - "rev": "5f2aed616d16fa7ca04dc40e23d6941740cd634d", - "date": "2023-08-16T18:24:43+03:00", - "path": "/nix/store/s6i1idv9lx52x7lcl0kc2c9sm9pic4kq-lua-resty-session", - "sha256": "08pih1baqhlvsqvcr1zzympmn8v7gskmis6ffhigll37hbzvljcz", - "hash": "sha256-n0m6/4JnUPoidM7oWKd+ZyNbb/X/h8w21ptCrFaA8SI=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "bungle"; + repo = "lua-resty-session"; + rev = "v4.0.5"; + hash = "sha256-n0m6/4JnUPoidM7oWKd+ZyNbb/X/h8w21ptCrFaA8SI="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua lua-ffi-zlib lua-resty-openssl ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ lua-ffi-zlib lua-resty-openssl ]; meta = { homepage = "https://github.com/bungle/lua-resty-session"; @@ -1559,27 +1320,20 @@ buildLuarocksPackage { }; }) {}; -lua-rtoml = callPackage({ buildLuarocksPackage, fetchgit, lua, luaOlder, luarocks-build-rust-mlua }: +lua-rtoml = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaOlder, luarocks-build-rust-mlua }: buildLuarocksPackage { pname = "lua-rtoml"; version = "0.2-0"; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lblasc/lua-rtoml.git", - "rev": "c83f56b9519d85968d663308e303f384c55c7b18", - "date": "2023-11-02T14:28:19+01:00", - "path": "/nix/store/x6mm838p27gwk45j23jkd0cpzxncxgci-lua-rtoml", - "sha256": "11i2km1k686nbh2ylfrcn3grd816vdhnigjjaiykkgwj0i8il6ix", - "hash": "sha256-PRoaUQSSvzl9VFK+aGHbJqCW37AsO+oFXNYgM0OdIoY=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lblasc"; + repo = "lua-rtoml"; + rev = "c83f56b9519d85968d663308e303f384c55c7b18"; + hash = "sha256-PRoaUQSSvzl9VFK+aGHbJqCW37AsO+oFXNYgM0OdIoY="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua luarocks-build-rust-mlua ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ luarocks-build-rust-mlua ]; meta = { homepage = "https://github.com/lblasc/lua-rtoml"; @@ -1589,27 +1343,19 @@ buildLuarocksPackage { }; }) {}; -lua-subprocess = callPackage({ buildLuarocksPackage, fetchgit, lua, luaOlder }: +lua-subprocess = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaOlder }: buildLuarocksPackage { pname = "subprocess"; version = "scm-1"; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/0x0ade/lua-subprocess.git", - "rev": "bfa8e97da774141f301cfd1106dca53a30a4de54", - "date": "2021-01-09T22:31:54+01:00", - "path": "/nix/store/3lr7n1k85kbf718wxr51xd40i8dfs5qd-lua-subprocess", - "sha256": "0p91hda0b0hpgdbff5drcyygaizq086gw8vnvzn0y0fg3mc9if70", - "hash": "sha256-4LiYWB3PAQ/s33Yj/gwC+Ef1vGe5FedWexeCBVSDIV0=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "0x0ade"; + repo = "lua-subprocess"; + rev = "bfa8e97da774141f301cfd1106dca53a30a4de54"; + hash = "sha256-4LiYWB3PAQ/s33Yj/gwC+Ef1vGe5FedWexeCBVSDIV0="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/xlq/lua-subprocess"; @@ -1640,7 +1386,7 @@ buildLuarocksPackage { }; }) {}; -lua-toml = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lua-toml = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-toml"; version = "2.0-1"; @@ -1648,22 +1394,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-toml-2.0-1.rockspec"; sha256 = "0zd3hrj1ifq89rjby3yn9y96vk20ablljvqdap981navzlbb7zvq"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/jonstoler/lua-toml.git", - "rev": "13731a5dd48c8c314d2451760604810bd6221085", - "date": "2017-12-08T16:30:50-08:00", - "path": "/nix/store/cnpflpyj441c65jhb68hjr2bcvnj9han-lua-toml", - "sha256": "0lklhgs4n7gbgva5frs39240da1y4nwlx6yxaj3ix6r5lp9sh07b", - "hash": "sha256-6wCo06Ulmx6HVN2bTrklPqgGiEhDZ1fUfusdS/SDdFI=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "jonstoler"; + repo = "lua-toml"; + rev = "v2.0.1"; + hash = "sha256-6wCo06Ulmx6HVN2bTrklPqgGiEhDZ1fUfusdS/SDdFI="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/jonstoler/lua-toml"; @@ -1672,7 +1410,7 @@ buildLuarocksPackage { }; }) {}; -lua-utils-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +lua-utils-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "lua-utils.nvim"; version = "1.0.2-1"; @@ -1685,8 +1423,7 @@ buildLuarocksPackage { sha256 = "0bnl2kvxs55l8cjhfpa834bm010n8r4gmsmivjcp548c076msagn"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/nvim-neorg/lua-utils.nvim"; @@ -1696,7 +1433,7 @@ buildLuarocksPackage { }; }) {}; -lua-yajl = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lua-yajl = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-yajl"; version = "2.0-1"; @@ -1704,22 +1441,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-yajl-2.0-1.rockspec"; sha256 = "0h600zgq5qc9z3cid1kr35q3qb98alg0m3qf0a3mfj33hya6pcxp"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/brimworks/lua-yajl.git", - "rev": "c0b598a70966b6cabc57a110037faf9091436f30", - "date": "2020-11-12T06:22:23-08:00", - "path": "/nix/store/9acgxpqk52kwn03m5xasn4f6mmsby2r9-lua-yajl", - "sha256": "1frry90y7vqnw1rd1dfnksilynh0n24gfhkmjd6wwba73prrg0pf", - "hash": "sha256-7oKX8x1HLc5Nk3VC94iwAFpPo57WtdBy4Bbv40HyObs=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "brimworks"; + repo = "lua-yajl"; + rev = "v2.0"; + hash = "sha256-/UhdjTUzd5ZsQG3CaS6i0cYOgkLR4TJCUAcw5yYhYEI="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "http://github.com/brimworks/lua-yajl"; @@ -1729,7 +1458,7 @@ buildLuarocksPackage { }; }) {}; -lua-zlib = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lua-zlib = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua-zlib"; version = "1.2-2"; @@ -1737,22 +1466,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lua-zlib-1.2-2.rockspec"; sha256 = "1ycjy59w6rkhasqqbiyra0f1sj87fswcz25zwxy4gyv7rrwy5hxd"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/brimworks/lua-zlib.git", - "rev": "a305d98f473d0a253b6fd740ce60d7d5a5f1cda0", - "date": "2017-10-07T08:26:37-07:00", - "path": "/nix/store/6hjfczd3xkilkdxidgqzdrwmaiwnlf05-lua-zlib", - "sha256": "1cv12s5c5lihmf3hb0rz05qf13yihy1bjpb7448v8mkiss6y1s5c", - "hash": "sha256-rOjgjdZxVrQRIWdduYKH0Y/gcAE/gwWHqzDSwooWYbM=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "brimworks"; + repo = "lua-zlib"; + rev = "v1.2"; + hash = "sha256-3gDYO4KcGUmcJFV22NDXWrFDwHNmPvMp++iXrz+QbC0="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/brimworks/lua-zlib"; @@ -1762,7 +1483,7 @@ buildLuarocksPackage { }; }) {}; -lua_cliargs = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lua_cliargs = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lua_cliargs"; version = "3.0.2-1"; @@ -1770,22 +1491,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lua_cliargs-3.0.2-1.rockspec"; sha256 = "1gp3n9ipaqdk59ilqx1ci5faxmx4dh9sgg3279jb8yfa7wg5b8pf"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/lua_cliargs.git", - "rev": "5e77d9e2295abd3a67af509090ac7b430f4ad266", - "date": "2023-12-18T14:11:33+03:00", - "path": "/nix/store/0lzpybn6s27nhia20kcsa6n1bsm32ki4-lua_cliargs", - "sha256": "0a4920kyqf4qc12srg8yvwfwh33n6pm6k2md1jy7mfqb1w2ymgf0", - "hash": "sha256-wL3qBQ8Lu3q8DK2Kaeo1dgzIHd8evaxFYJg47CcQiSg=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "lua_cliargs"; + rev = "v3.0.2"; + hash = "sha256-wL3qBQ8Lu3q8DK2Kaeo1dgzIHd8evaxFYJg47CcQiSg="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/lunarmodules/lua_cliargs.git"; @@ -1794,27 +1507,19 @@ buildLuarocksPackage { }; }) {}; -luabitop = callPackage({ buildLuarocksPackage, fetchgit, lua, luaAtLeast, luaOlder }: +luabitop = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luabitop"; version = "1.0.2-3"; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/teto/luabitop.git", - "rev": "8d7b674386460ca83e9510b3a8a4481344eb90ad", - "date": "2021-08-30T10:14:03+02:00", - "path": "/nix/store/sdnza0zpmlkz9jppnysasbvqy29f4zia-luabitop", - "sha256": "1b57f99lrjbwsi4m23cq5kpj0dbpxh3xwr0mxs2rzykr2ijpgwrw", - "hash": "sha256-PPN3ZRR5+p+F7hVk3gfsdzUg7yyYDVFJ1HzJTFNyp6w=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "teto"; + repo = "luabitop"; + rev = "96f0a3d73ae5183d0a81bc2f29326eaa06becbfd"; + hash = "sha256-PrM8ncb3TaqgVhFdRa+rUsJ5WuIzS4/DRqVqj8tCaeg="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.3"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.3"; meta = { homepage = "http://bitop.luajit.org/"; @@ -1823,7 +1528,7 @@ buildLuarocksPackage { }; }) {}; -luacheck = callPackage({ argparse, buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder, luafilesystem }: +luacheck = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luafilesystem }: buildLuarocksPackage { pname = "luacheck"; version = "1.1.2-1"; @@ -1831,22 +1536,15 @@ buildLuarocksPackage { url = "mirror://luarocks/luacheck-1.1.2-1.rockspec"; sha256 = "11p7kf7v1b5rhi3m57g2zqwzmnnp79v76gh13b0fg2c78ljkq1k9"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/luacheck.git", - "rev": "418f48976c73be697fe64b0eba9ea9821ac9bca8", - "date": "2023-12-08T15:44:11+03:00", - "path": "/nix/store/yf6mjkl5vw6fx57p0f0b046q0yfsn0h0-luacheck", - "sha256": "12jlp2a9l3x9a52b6za6h3jfx31kwg3cv4b10nqpp5jxx530fh81", - "hash": "sha256-AUEHRuldlnuxBWGRzcbjM4zu5IBGfbNEUakPmpS4VIo=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "luacheck"; + rev = "v1.1.2"; + hash = "sha256-AUEHRuldlnuxBWGRzcbjM4zu5IBGfbNEUakPmpS4VIo="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ argparse lua luafilesystem ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ argparse luafilesystem ]; meta = { homepage = "https://github.com/lunarmodules/luacheck"; @@ -1855,7 +1553,7 @@ buildLuarocksPackage { }; }) {}; -luacov = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder }: +luacov = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luacov"; version = "0.15.0-1"; @@ -1863,22 +1561,14 @@ buildLuarocksPackage { url = "mirror://luarocks/luacov-0.15.0-1.rockspec"; sha256 = "18byfl23c73pazi60hsx0vd74hqq80mzixab76j36cyn8k4ni9db"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/keplerproject/luacov.git", - "rev": "19b52ca0298c8942df82dd441d7a4a588db4c413", - "date": "2021-02-15T18:47:58-03:00", - "path": "/nix/store/9vm38il9knzx2m66m250qj1fzdfzqg0y-luacov", - "sha256": "08550nna6qcb5jn6ds1hjm6010y8973wx4qbf9vrvrcn1k2yr6ki", - "hash": "sha256-cZrsxQyW5Z13cguTzsdJyIMATJUw6GasLItho6wFpSA=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "keplerproject"; + repo = "luacov"; + rev = "v0.15.0"; + hash = "sha256-cZrsxQyW5Z13cguTzsdJyIMATJUw6GasLItho6wFpSA="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "https://keplerproject.github.io/luacov/"; @@ -1887,7 +1577,7 @@ buildLuarocksPackage { }; }) {}; -luadbi = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder }: +luadbi = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luadbi"; version = "0.7.3-1"; @@ -1895,22 +1585,14 @@ buildLuarocksPackage { url = "mirror://luarocks/luadbi-0.7.3-1.rockspec"; sha256 = "0lyiwyg6qnnj7d5rxim6b9p68nbszmwhg57xjlvalbcgwgipk1ns"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/mwild1/luadbi", - "rev": "eee6ef21c75cfb25c5166fd94c0c5a2ed2bf0f85", - "date": "2024-03-04T17:01:25-05:00", - "path": "/nix/store/ryvf83j6b2j4c40jlam6ccf75fn6rrfh-luadbi", - "sha256": "1wivk3z1vab4izfn3jnqj7rcw3797x0sby5131hz9g07irxvys1g", - "hash": "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "mwild1"; + repo = "luadbi"; + rev = "v0.7.3"; + hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "https://github.com/mwild1/luadbi"; @@ -1919,30 +1601,23 @@ buildLuarocksPackage { }; }) {}; -luadbi-mysql = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder, luadbi }: +luadbi-mysql = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder, luadbi }: buildLuarocksPackage { pname = "luadbi-mysql"; version = "0.7.3-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/luadbi-mysql-0.7.3-1.rockspec"; + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luadbi-mysql-0.7.3-1.rockspec"; sha256 = "1x0pl6qpdi4vmhxs2076kkxmikbv0asndh8lp34r47lym37hcrr3"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/mwild1/luadbi", - "rev": "eee6ef21c75cfb25c5166fd94c0c5a2ed2bf0f85", - "date": "2024-03-04T17:01:25-05:00", - "path": "/nix/store/ryvf83j6b2j4c40jlam6ccf75fn6rrfh-luadbi", - "sha256": "1wivk3z1vab4izfn3jnqj7rcw3797x0sby5131hz9g07irxvys1g", - "hash": "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "mwild1"; + repo = "luadbi"; + rev = "v0.7.3"; + hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua luadbi ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; + propagatedBuildInputs = [ luadbi ]; meta = { homepage = "https://github.com/mwild1/luadbi"; @@ -1951,7 +1626,7 @@ buildLuarocksPackage { }; }) {}; -luadbi-postgresql = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder, luadbi }: +luadbi-postgresql = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder, luadbi }: buildLuarocksPackage { pname = "luadbi-postgresql"; version = "0.7.3-1"; @@ -1959,22 +1634,15 @@ buildLuarocksPackage { url = "mirror://luarocks/luadbi-postgresql-0.7.3-1.rockspec"; sha256 = "1bnjsgk7cl6wmfhmn8b0av49yabf8flhdi1jhczksvvpf32p77bw"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/mwild1/luadbi", - "rev": "eee6ef21c75cfb25c5166fd94c0c5a2ed2bf0f85", - "date": "2024-03-04T17:01:25-05:00", - "path": "/nix/store/ryvf83j6b2j4c40jlam6ccf75fn6rrfh-luadbi", - "sha256": "1wivk3z1vab4izfn3jnqj7rcw3797x0sby5131hz9g07irxvys1g", - "hash": "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "mwild1"; + repo = "luadbi"; + rev = "v0.7.3"; + hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua luadbi ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; + propagatedBuildInputs = [ luadbi ]; meta = { homepage = "https://github.com/mwild1/luadbi"; @@ -1983,7 +1651,7 @@ buildLuarocksPackage { }; }) {}; -luadbi-sqlite3 = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder, luadbi }: +luadbi-sqlite3 = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder, luadbi }: buildLuarocksPackage { pname = "luadbi-sqlite3"; version = "0.7.3-1"; @@ -1991,22 +1659,15 @@ buildLuarocksPackage { url = "mirror://luarocks/luadbi-sqlite3-0.7.3-1.rockspec"; sha256 = "0ppkk1jkxw2fhc4x26h7h2bks51shl3am552phn7all5h3k7h3by"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/mwild1/luadbi", - "rev": "eee6ef21c75cfb25c5166fd94c0c5a2ed2bf0f85", - "date": "2024-03-04T17:01:25-05:00", - "path": "/nix/store/ryvf83j6b2j4c40jlam6ccf75fn6rrfh-luadbi", - "sha256": "1wivk3z1vab4izfn3jnqj7rcw3797x0sby5131hz9g07irxvys1g", - "hash": "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "mwild1"; + repo = "luadbi"; + rev = "v0.7.3"; + hash = "sha256-L2i/e44HvPRhGKH4pUE/6QzO8pHYymHdj2SpHf6YO/I="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua luadbi ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; + propagatedBuildInputs = [ luadbi ]; meta = { homepage = "https://github.com/mwild1/luadbi"; @@ -2015,7 +1676,7 @@ buildLuarocksPackage { }; }) {}; -luaepnf = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lpeg, lua, luaAtLeast, luaOlder }: +luaepnf = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lpeg, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luaepnf"; version = "0.3-2"; @@ -2023,22 +1684,15 @@ buildLuarocksPackage { url = "mirror://luarocks/luaepnf-0.3-2.rockspec"; sha256 = "0kqmnj11wmfpc9mz04zzq8ab4mnbkrhcgc525wrq6pgl3p5li8aa"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/siffiejoe/lua-luaepnf.git", - "rev": "4e0a867ff54cf424e1558781f5d2c85d2dc2137c", - "date": "2015-01-15T16:54:10+01:00", - "path": "/nix/store/n7gb0z26sl7dzdyy3bx1y3cz3npsna7d-lua-luaepnf", - "sha256": "1lvsi3fklhvz671jgg0iqn0xbkzn9qjcbf2ks41xxjz3lapjr6c9", - "hash": "sha256-iZksr6Ljy94D0VO4xSRO9s/VgcURvCfDMX9DOt2IetM=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "siffiejoe"; + repo = "lua-luaepnf"; + rev = "v0.3"; + hash = "sha256-iZksr6Ljy94D0VO4xSRO9s/VgcURvCfDMX9DOt2IetM="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lpeg lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; + propagatedBuildInputs = [ lpeg ]; meta = { homepage = "http://siffiejoe.github.io/lua-luaepnf/"; @@ -2047,7 +1701,7 @@ buildLuarocksPackage { }; }) {}; -luaevent = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +luaevent = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luaevent"; version = "0.4.6-1"; @@ -2060,8 +1714,7 @@ buildLuarocksPackage { sha256 = "0pbh315d3p7hxgzmbhphkcldxv2dadbka96131b8j5914nxvl4nx"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/harningt/luaevent"; @@ -2070,7 +1723,7 @@ buildLuarocksPackage { }; }) {}; -luaexpat = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +luaexpat = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luaexpat"; version = "1.4.1-1"; @@ -2078,22 +1731,14 @@ buildLuarocksPackage { url = "mirror://luarocks/luaexpat-1.4.1-1.rockspec"; sha256 = "1abwd385x7wnza7qqz5s4aj6m2l1c23pjmbgnpq73q0s17pn1h0c"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/luaexpat.git", - "rev": "e0dd18e946f079a1308497cfde1f6ad482858e15", - "date": "2024-04-09T09:50:02+02:00", - "path": "/nix/store/3n2hssn7d5wzvi127hy0am64yv0i2q9a-luaexpat", - "sha256": "14x4wqjcjd6v6zirpkkm7d9vbv4y897v598jbwrql4w0hw7z5xqj", - "hash": "sha256-EvfyD4eAE4ozXxKlsk9Cnuy1Uzt1zpvjN9s0ySTmpJM=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "luaexpat"; + rev = "1.4.1"; + hash = "sha256-SnI+a7555R/EFFdnrvJohP6uzwQiMNQPqgp0jxAI178="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://lunarmodules.github.io/luaexpat"; @@ -2103,7 +1748,7 @@ buildLuarocksPackage { }; }) {}; -luaffi = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +luaffi = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luaffi"; version = "scm-1"; @@ -2111,22 +1756,14 @@ buildLuarocksPackage { url = "mirror://luarocks/luaffi-scm-1.rockspec"; sha256 = "1nia0g4n1yv1sbv5np572y8yfai56a8bnscir807s5kj5bs0xhxm"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/facebook/luaffifb.git", - "rev": "a1cb731b08c91643b0665935eb5622b3d621211b", - "date": "2021-03-01T11:46:30-05:00", - "path": "/nix/store/6dwfn64p3clcsxkq41b307q8izi0fvji-luaffifb", - "sha256": "0nj76fw3yi57vfn35yvbdmpdbg9gmn5j1gw84ajs9w1j86sc0661", - "hash": "sha256-wRjAtEEy8KSlIoi/IIutL73Vbm1r+zKs26dEP7gzR1o=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "facebook"; + repo = "luaffifb"; + rev = "a1cb731b08c91643b0665935eb5622b3d621211b"; + hash = "sha256-wRjAtEEy8KSlIoi/IIutL73Vbm1r+zKs26dEP7gzR1o="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/facebook/luaffifb"; @@ -2135,7 +1772,7 @@ buildLuarocksPackage { }; }) {}; -luafilesystem = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +luafilesystem = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luafilesystem"; version = "1.8.0-1"; @@ -2143,22 +1780,14 @@ buildLuarocksPackage { url = "mirror://luarocks/luafilesystem-1.8.0-1.rockspec"; sha256 = "18nkaks0b75dmycljg5vljap5w8d0ysdkg96yl5szgzr7nzrymfa"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/keplerproject/luafilesystem", - "rev": "7c6e1b013caec0602ca4796df3b1d7253a2dd258", - "date": "2020-04-22T22:16:42-03:00", - "path": "/nix/store/qzjav1cmn4zwclpfs0xzykpbv835d84z-luafilesystem", - "sha256": "16hpwhj6zgkjns3zilcg3lxfijm3cl71v39y9n5lbjk4b9kkwh54", - "hash": "sha256-pEA+Z1pkykWLTT6NHQ5lo8roOh2P0fiHtnK+byTkF5o=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "keplerproject"; + repo = "luafilesystem"; + rev = "v1_8_0"; + hash = "sha256-pEA+Z1pkykWLTT6NHQ5lo8roOh2P0fiHtnK+byTkF5o="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/keplerproject/luafilesystem"; @@ -2168,7 +1797,7 @@ buildLuarocksPackage { }; }) {}; -lualdap = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +lualdap = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "lualdap"; version = "1.4.0-1"; @@ -2176,22 +1805,14 @@ buildLuarocksPackage { url = "mirror://luarocks/lualdap-1.4.0-1.rockspec"; sha256 = "0n924gxm6ccr9hjk4bi5z70vgh7g75dl7293pab41a2qcrlsj9nk"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lualdap/lualdap", - "rev": "7a73c883012f9d12a05563afbb3481a57055368c", - "date": "2023-11-04T09:38:06+01:00", - "path": "/nix/store/7j6wl1f9qg4kh9zwm8fnc0ky7zhf7qbf-lualdap", - "sha256": "0xq0xi3ymg5lk6dh7782ddjnz5bjycd2xnc5dp1cwssi37nm7pdv", - "hash": "sha256-u91T7RlRa87CbYXZLhrzcpVvZWsCnQObmbS86kfsAHc=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lualdap"; + repo = "lualdap"; + rev = "v1.4.0"; + hash = "sha256-u91T7RlRa87CbYXZLhrzcpVvZWsCnQObmbS86kfsAHc="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://lualdap.github.io/lualdap/"; @@ -2201,7 +1822,7 @@ buildLuarocksPackage { }; }) {}; -lualogging = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, luasocket }: +lualogging = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luasocket }: buildLuarocksPackage { pname = "lualogging"; version = "1.8.2-1"; @@ -2209,19 +1830,12 @@ buildLuarocksPackage { url = "mirror://luarocks/lualogging-1.8.2-1.rockspec"; sha256 = "164c4xgwkv2ya8fbb22wm48ywc4gx939b574r6bgl8zqayffdqmx"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/lualogging.git", - "rev": "465c994788f1bc18fca950934fa5ec9a909f496c", - "date": "2023-01-27T20:29:41+01:00", - "path": "/nix/store/pvb3yq11xgqhq6559sjd8rkf1x991rrz-lualogging", - "sha256": "1mz5iiv9pfikkm4ay7j0q6mk3bmcxylnlg9piwda47xxc1zyb1j4", - "hash": "sha256-RIblf2C9H6Iajzc9aqnvrK4xq8FAHq9InTO6m3aM5dc=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "lualogging"; + rev = "v1.8.2"; + hash = "sha256-RIblf2C9H6Iajzc9aqnvrK4xq8FAHq9InTO6m3aM5dc="; + }; propagatedBuildInputs = [ luasocket ]; @@ -2232,7 +1846,7 @@ buildLuarocksPackage { }; }) {}; -luaossl = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua }: +luaossl = callPackage({ buildLuarocksPackage, fetchurl, fetchzip }: buildLuarocksPackage { pname = "luaossl"; version = "20220711-0"; @@ -2245,7 +1859,6 @@ buildLuarocksPackage { sha256 = "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb"; }; - propagatedBuildInputs = [ lua ]; meta = { homepage = "http://25thandclement.com/~william/projects/luaossl.html"; @@ -2254,7 +1867,7 @@ buildLuarocksPackage { }; }) {}; -luaposix = callPackage({ bit32, buildLuarocksPackage, fetchurl, fetchzip, lua, luaAtLeast, luaOlder }: +luaposix = callPackage({ bit32, buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luaposix"; version = "34.1.1-1"; @@ -2267,8 +1880,8 @@ buildLuarocksPackage { sha256 = "0863r8c69yx92lalj174qdhavqmcs2cdimjim6k55qj9yn78v9zl"; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); - propagatedBuildInputs = [ bit32 lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.4"; + propagatedBuildInputs = [ bit32 ]; meta = { homepage = "http://github.com/luaposix/luaposix/"; @@ -2278,7 +1891,7 @@ buildLuarocksPackage { }; }) {}; -luarepl = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +luarepl = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luarepl"; version = "0.10-1"; @@ -2291,8 +1904,7 @@ buildLuarocksPackage { sha256 = "0wv37h9w6y5pgr39m7yxbf8imkwvaila6rnwjcp0xsxl5c1rzfjm"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/hoelzro/lua-repl"; @@ -2301,7 +1913,7 @@ buildLuarocksPackage { }; }) {}; -luarocks-build-rust-mlua = callPackage({ buildLuarocksPackage, fetchgit, fetchurl }: +luarocks-build-rust-mlua = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }: buildLuarocksPackage { pname = "luarocks-build-rust-mlua"; version = "0.2.0-1"; @@ -2309,19 +1921,12 @@ buildLuarocksPackage { url = "mirror://luarocks/luarocks-build-rust-mlua-0.2.0-1.rockspec"; sha256 = "0mpxj2wpzgqffic1j6agisaawbfhh16gis29x6y60kyjq446mv0z"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/khvzak/luarocks-build-rust-mlua", - "rev": "461a9a3b717d4a34d29b6a324046ff8773ebe943", - "date": "2023-08-29T00:54:12+01:00", - "path": "/nix/store/qcls9aqaahfpykfphrnivg2wh7jdpcfv-luarocks-build-rust-mlua", - "sha256": "071lpnzn49fn8gvkcqkryl1h934yv5x1rw5mnki3d0xzzmg6pavz", - "hash": "sha256-f6trXv2/gzbitLXwHHrZnowEA/V5Yjb3Q9YlYr+9NBw=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "khvzak"; + repo = "luarocks-build-rust-mlua"; + rev = "0.2.0"; + hash = "sha256-f6trXv2/gzbitLXwHHrZnowEA/V5Yjb3Q9YlYr+9NBw="; + }; meta = { @@ -2356,7 +1961,7 @@ buildLuarocksPackage { }; }) {}; -luasec = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder, luasocket }: +luasec = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luasocket }: buildLuarocksPackage { pname = "luasec"; version = "1.3.2-1"; @@ -2364,22 +1969,15 @@ buildLuarocksPackage { url = "mirror://luarocks/luasec-1.3.2-1.rockspec"; sha256 = "09nqs60cmbq1bi70cdh7v5xjnlsm2mrxv9pmbbvczijvz184jh33"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/brunoos/luasec", - "rev": "4c06287052d68fdbe7429b8f967cdc8ee94aa44a", - "date": "2023-08-31T17:09:53-03:00", - "path": "/nix/store/wnl78b5l3dxw52slphmi4rmr1cd8bd3r-luasec", - "sha256": "0rrdfbnkd8pgqwh3f0iyd5cxy7g1h0568a88m3sq1z7715js4yx3", - "hash": "sha256-o3uiZQnn/ID1qAgpZAqA4R3fWWk+Ajcgx++iNu1yLWc=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "brunoos"; + repo = "luasec"; + rev = "v1.3.2"; + hash = "sha256-o3uiZQnn/ID1qAgpZAqA4R3fWWk+Ajcgx++iNu1yLWc="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua luasocket ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ luasocket ]; meta = { homepage = "https://github.com/brunoos/luasec/wiki"; @@ -2389,7 +1987,7 @@ buildLuarocksPackage { }; }) {}; -luasnip = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, jsregexp, lua, luaOlder }: +luasnip = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, jsregexp, luaOlder }: buildLuarocksPackage { pname = "luasnip"; version = "2.3.0-1"; @@ -2402,8 +2000,8 @@ buildLuarocksPackage { sha256 = "0bbackpym8k11gm32iwwzqjnqanpralanfjkl4lrs33xl7lsylqk"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ jsregexp lua ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ jsregexp ]; meta = { homepage = "https://github.com/L3MON4D3/LuaSnip"; @@ -2412,7 +2010,7 @@ buildLuarocksPackage { }; }) {}; -luasocket = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +luasocket = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luasocket"; version = "3.1.0-1"; @@ -2420,22 +2018,14 @@ buildLuarocksPackage { url = "mirror://luarocks/luasocket-3.1.0-1.rockspec"; sha256 = "0wg9735cyz2gj7r9za8yi83w765g0f4pahnny7h0pdpx58pgfx4r"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/luasocket.git", - "rev": "95b7efa9da506ef968c1347edf3fc56370f0deed", - "date": "2022-07-27T10:07:00+03:00", - "path": "/nix/store/r5pqxqjkdwl80nmjkv400mbls7cfymjc-luasocket", - "sha256": "13hyf9cvny0kxwyg08929kkl31w74j66fj6zg1myyjr9nh5b795h", - "hash": "sha256-sKSzCrQpS+9reN9IZ4wkh4dB50wiIfA87xN4u1lyHo4=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "luasocket"; + rev = "v3.1.0"; + hash = "sha256-sKSzCrQpS+9reN9IZ4wkh4dB50wiIfA87xN4u1lyHo4="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/lunarmodules/luasocket"; @@ -2444,7 +2034,7 @@ buildLuarocksPackage { }; }) {}; -luasql-sqlite3 = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +luasql-sqlite3 = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luasql-sqlite3"; version = "2.6.1-3"; @@ -2452,22 +2042,14 @@ buildLuarocksPackage { url = "mirror://luarocks/luasql-sqlite3-2.6.1-3.rockspec"; sha256 = "1qf8cx4cmsngwp65ksdsf5dsv6yhb4qwdrd2lkpyqaq6p55jfkyb"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/luasql.git", - "rev": "930aeb330781b9d77daff9d87ba31314939ebc23", - "date": "2024-02-07T15:31:36-03:00", - "path": "/nix/store/6sljqfgnipf4l8czzgry0y408y5818f4-luasql", - "sha256": "1f911s111h613b8psmqwknmm13z644rfdl4n6crs3n1v63n4dsmc", - "hash": "sha256-rOpG7DA72KEzM5bQ5jIh5o9Qq50cV33RGsHAEIIOIbk=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "luasql"; + rev = "2.6.0"; + hash = "sha256-bRddE9K9f6TFBD2nY5kkS0BzXilfUP7Z358QLPfna+I="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://lunarmodules.github.io/luasql/"; @@ -2477,7 +2059,7 @@ buildLuarocksPackage { }; }) {}; -luassert = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder, say }: +luassert = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, say }: buildLuarocksPackage { pname = "luassert"; version = "1.9.0-1"; @@ -2485,22 +2067,15 @@ buildLuarocksPackage { url = "mirror://luarocks/luassert-1.9.0-1.rockspec"; sha256 = "1bkzr03190p33lprgy51nl84aq082fyc3f7s3wkk7zlay4byycxd"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/luassert.git", - "rev": "8d8dc8a54cc468048a128a867f6449a6c3fdd11a", - "date": "2022-08-24T00:00:45+03:00", - "path": "/nix/store/vfcl25wxps5kvh5prjkkjlj1ga3kgw63-luassert", - "sha256": "0wlp6qdm9dkwzs8lvnj7zvmid4y12v717ywlhxn2brkbjpvl2dwf", - "hash": "sha256-jjdB95Vr5iVsh5T7E84WwZMW6/5H2k2R/ny2VBs2l3I=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "luassert"; + rev = "v1.9.0"; + hash = "sha256-jjdB95Vr5iVsh5T7E84WwZMW6/5H2k2R/ny2VBs2l3I="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua say ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ say ]; meta = { homepage = "https://lunarmodules.github.io/busted/"; @@ -2509,7 +2084,7 @@ buildLuarocksPackage { }; }) {}; -luasystem = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +luasystem = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luasystem"; version = "0.3.0-2"; @@ -2517,22 +2092,14 @@ buildLuarocksPackage { url = "mirror://luarocks/luasystem-0.3.0-2.rockspec"; sha256 = "02kwkcwf81v6ncxl1ng2pxlhalz78q2476snh5xxv3wnwqwbp10a"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/luasystem.git", - "rev": "c06963917ccc951a1058d7b7f412c52d3c4f443a", - "date": "2023-12-16T00:18:54+01:00", - "path": "/nix/store/kbal1mi8j60d3nm2mf7kdhz55dv23qk6-luasystem", - "sha256": "11d65rnf8y2jnr5nc5gij666p1bsw701ldd9n8sjm0bq3z9lfcd1", - "hash": "sha256-oTFH0x94gSo1sqk1GsDheoVrjJHxFWZLtlJ45GwupoU=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "luasystem"; + rev = "v0.3.0"; + hash = "sha256-oTFH0x94gSo1sqk1GsDheoVrjJHxFWZLtlJ45GwupoU="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/lunarmodules/luasystem"; @@ -2541,7 +2108,7 @@ buildLuarocksPackage { }; }) {}; -luaunbound = callPackage({ buildLuarocksPackage, fetchurl, lua, luaAtLeast, luaOlder }: +luaunbound = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luaunbound"; version = "1.0.0-1"; @@ -2554,8 +2121,7 @@ buildLuarocksPackage { sha256 = "1lsh0ylp5xskygxl5qdv6mhkm1x8xp0vfd5prk5hxkr19jk5mr3d"; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "https://www.zash.se/luaunbound.html"; @@ -2564,7 +2130,7 @@ buildLuarocksPackage { }; }) {}; -luaunit = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaAtLeast, luaOlder }: +luaunit = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luaunit"; version = "3.4-1"; @@ -2577,8 +2143,7 @@ buildLuarocksPackage { sha256 = "0qf07y3229lq3qq1mfkv83gzbc7dgyr67hysqjb5bbk333flv56r"; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "http://github.com/bluebird75/luaunit"; @@ -2588,7 +2153,7 @@ buildLuarocksPackage { }; }) {}; -luautf8 = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +luautf8 = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luautf8"; version = "0.1.5-2"; @@ -2601,8 +2166,7 @@ buildLuarocksPackage { sha256 = "077ji840wfmy7hq0y13l01dv6jhasznykf89gk9m672jhz6dxggl"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "http://github.com/starwing/luautf8"; @@ -2612,7 +2176,7 @@ buildLuarocksPackage { }; }) {}; -luazip = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder }: +luazip = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luazip"; version = "1.2.7-1"; @@ -2620,22 +2184,14 @@ buildLuarocksPackage { url = "mirror://luarocks/luazip-1.2.7-1.rockspec"; sha256 = "1wxy3p2ksaq4s8lg925mi9cvbh875gsapgkzm323dr8qaxxg7mba"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/mpeterv/luazip", - "rev": "e424f667cc5c78dd19bb5eca5a86b3c8698e0ce5", - "date": "2017-09-05T14:02:52+03:00", - "path": "/nix/store/idllj442c0iwnx1cpkrifx2afb7vh821-luazip", - "sha256": "1jlqzqlds3aa3hnp737fm2awcx0hzmwyd87klv0cv13ny5v9f2x4", - "hash": "sha256-pAuXdvF2hM3ApvOg5nn9EHTGlajujHMtHEoN3Sj+mMo=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "mpeterv"; + repo = "luazip"; + rev = "1.2.7"; + hash = "sha256-pAuXdvF2hM3ApvOg5nn9EHTGlajujHMtHEoN3Sj+mMo="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.4"; meta = { homepage = "https://github.com/mpeterv/luazip"; @@ -2644,27 +2200,22 @@ buildLuarocksPackage { }; }) {}; -lush-nvim = callPackage({ buildLuarocksPackage, fetchgit, lua, luaAtLeast, luaOlder }: +lush-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "lush.nvim"; version = "scm-1"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/lush.nvim-scm-1.rockspec"; + sha256 = "0ivir5p3mmv051pyya2hj1yrnflrv8bp38dx033i3kzfbpyg23ca"; + }).outPath; + src = fetchFromGitHub { + owner = "rktjmp"; + repo = "lush.nvim"; + rev = "7c0e27f50901481fe83b974493c4ea67a4296aeb"; + hash = "sha256-GVGIZPBrunaWexwdnkbc0LxM3xMHslrwON2FunN3TDE="; + }; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/rktjmp/lush.nvim", - "rev": "bc12f010b34cfeefac35720656eb777753b165d9", - "date": "2024-03-17T14:18:46+11:00", - "path": "/nix/store/9i1sasxxkjc8gbmnhlm0hq5x19hpcyzx-lush.nvim", - "sha256": "06am05fcipfxz8nfr6yg8yhkcdir53asl9h3k40hl0sscx4a03s9", - "hash": "sha256-SQ+gSGdaAwoBmQMmqtUoOTY2oUfPm+ws+t3dyFwBVRk=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; - - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.4"; meta = { homepage = "https://github.com/rktjmp/lush.nvim"; @@ -2674,7 +2225,7 @@ buildLuarocksPackage { }; }) {}; -luuid = callPackage({ buildLuarocksPackage, fetchurl, lua, luaAtLeast, luaOlder }: +luuid = callPackage({ buildLuarocksPackage, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "luuid"; version = "20120509-2"; @@ -2687,8 +2238,7 @@ buildLuarocksPackage { sha256 = "1bfkj613d05yps3fivmz0j1bxf2zkg9g1yl0ifffgw0vy00hpnvm"; }; - disabled = (luaOlder "5.2") || (luaAtLeast "5.4"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.2" || luaAtLeast "5.4"; meta = { homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#luuid"; @@ -2697,7 +2247,7 @@ buildLuarocksPackage { }; }) {}; -luv = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +luv = callPackage({ buildLuarocksPackage, cmake, fetchurl, luaOlder }: buildLuarocksPackage { pname = "luv"; version = "1.44.2-1"; @@ -2710,8 +2260,8 @@ buildLuarocksPackage { sha256 = "0c2wkszxw6gwa4l6g1d2zzh660j13lif6c7a910vq7zn8jycgd9y"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; + nativeBuildInputs = [ cmake ]; meta = { homepage = "https://github.com/luvit/luv"; @@ -2720,7 +2270,7 @@ buildLuarocksPackage { }; }) {}; -lyaml = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaAtLeast, luaOlder }: +lyaml = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "lyaml"; version = "6.2.8-1"; @@ -2733,8 +2283,7 @@ buildLuarocksPackage { sha256 = "0r3jjsd8x2fs1aanki0s1mvpznl16f32c1qfgmicy0icgy5xfch0"; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "http://github.com/gvvaughan/lyaml"; @@ -2744,7 +2293,7 @@ buildLuarocksPackage { }; }) {}; -magick = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua }: +magick = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua }: buildLuarocksPackage { pname = "magick"; version = "1.6.0-1"; @@ -2752,22 +2301,14 @@ buildLuarocksPackage { url = "mirror://luarocks/magick-1.6.0-1.rockspec"; sha256 = "1pg150xsxnqvlhxpiy17s9hm4dkc84v46mlwi9rhriynqz8qks9w"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/leafo/magick.git", - "rev": "6971fa700c4d392130492a3925344b51c7cc54aa", - "date": "2022-03-10T20:02:11-08:00", - "path": "/nix/store/fpl99q09zg3qnk4kagxk1djabl1dm47l-magick", - "sha256": "01b9qsz27f929rz5z7vapqhazxak74sichdwkjwb219nlhrwfncm", - "hash": "sha256-lVnHM6Q2BbG4nLxBFjU5U/WvIL5qn19+TiK5I77GaQU=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "leafo"; + repo = "magick"; + rev = "v1.6.0"; + hash = "sha256-gda+vLrWyMQ553jVCIRl1qYTS/rXsGhxrBsrJyI8EN4="; + }; - disabled = (lua.luaversion != "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = lua.luaversion != "5.1"; meta = { homepage = "https://github.com/leafo/magick.git"; @@ -2777,7 +2318,7 @@ buildLuarocksPackage { }; }) {}; -markdown = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder }: +markdown = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "markdown"; version = "0.33-1"; @@ -2785,22 +2326,14 @@ buildLuarocksPackage { url = "mirror://luarocks/markdown-0.33-1.rockspec"; sha256 = "02sixijfi6av8h59kx3ngrhygjn2sx1c85c0qfy20gxiz72wi1pl"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/mpeterv/markdown", - "rev": "8c09109924b218aaecbfd4d4b1de538269c4d765", - "date": "2015-09-27T17:49:28+03:00", - "path": "/nix/store/akl80hh077hm20bdqj1lksy0fn2285b5-markdown", - "sha256": "019bk2qprszqncnm8zy6ns6709iq1nwkf7i86nr38f035j4lc11y", - "hash": "sha256-PgRGiSwDODSyNSgeN7kNOCZwjLbGf1Qts/jrfLGYKwU=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "mpeterv"; + repo = "markdown"; + rev = "0.33"; + hash = "sha256-PgRGiSwDODSyNSgeN7kNOCZwjLbGf1Qts/jrfLGYKwU="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.4"; meta = { homepage = "https://github.com/mpeterv/markdown"; @@ -2809,7 +2342,7 @@ buildLuarocksPackage { }; }) {}; -mediator_lua = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +mediator_lua = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "mediator_lua"; version = "1.1.2-0"; @@ -2822,8 +2355,7 @@ buildLuarocksPackage { sha256 = "16zzzhiy3y35v8advmlkzpryzxv5vji7727vwkly86q8sagqbxgs"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "http://olivinelabs.com/mediator_lua/"; @@ -2832,7 +2364,7 @@ buildLuarocksPackage { }; }) {}; -middleclass = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +middleclass = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "middleclass"; version = "4.1.1-0"; @@ -2845,8 +2377,7 @@ buildLuarocksPackage { sha256 = "11ahv0b9wgqfnabv57rb7ilsvn2vcvxb1czq6faqrsqylvr5l7nh"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/kikito/middleclass"; @@ -2855,7 +2386,7 @@ buildLuarocksPackage { }; }) {}; -mimetypes = callPackage({ buildLuarocksPackage, fetchurl, lua, luaOlder }: +mimetypes = callPackage({ buildLuarocksPackage, fetchurl, luaOlder }: buildLuarocksPackage { pname = "mimetypes"; version = "1.0.0-3"; @@ -2868,8 +2399,7 @@ buildLuarocksPackage { sha256 = "1rc5lnzvw4cg8wxn4w4sar2xgf5vaivdd2hgpxxcqfzzcmblg1zk"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github/lunarmodules/lua-mimetypes/"; @@ -2878,27 +2408,20 @@ buildLuarocksPackage { }; }) {}; -moonscript = callPackage({ argparse, buildLuarocksPackage, fetchgit, lpeg, lua, luaOlder, luafilesystem }: +moonscript = callPackage({ argparse, buildLuarocksPackage, fetchFromGitHub, lpeg, luaOlder, luafilesystem }: buildLuarocksPackage { pname = "moonscript"; version = "dev-1"; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/leafo/moonscript.git", - "rev": "d5341c9093c49d3724072b209cde28b5cb0f47c9", - "date": "2023-11-06T12:54:51-08:00", - "path": "/nix/store/djmh6brp03gy8nyzxjfvzkpy440fj05z-moonscript", - "sha256": "1h65cxh5rhnxx99asdydkc9yf6gnf61m97jvl03g31f65jl22lxi", - "hash": "sha256-sVMhqCzGhfEGoFueVINx9hnnE5vNN61S6t3CXGBnxcA=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "leafo"; + repo = "moonscript"; + rev = "d5341c9093c49d3724072b209cde28b5cb0f47c9"; + hash = "sha256-sVMhqCzGhfEGoFueVINx9hnnE5vNN61S6t3CXGBnxcA="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ argparse lpeg lua luafilesystem ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ argparse lpeg luafilesystem ]; meta = { homepage = "http://moonscript.org"; @@ -2929,21 +2452,21 @@ buildLuarocksPackage { }; }) {}; -neotest = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, plenary-nvim }: +neotest = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio, plenary-nvim }: buildLuarocksPackage { pname = "neotest"; - version = "4.2.0-1"; + version = "5.2.3-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/neotest-4.2.0-1.rockspec"; - sha256 = "0mkjwag6h7psff6rmsirn945ax38dszag0kwch2az2axk1nl6nj8"; + url = "mirror://luarocks/neotest-5.2.3-1.rockspec"; + sha256 = "16pwkwv2dmi9aqhp6bdbgwhksi891iz73rvksqmv136jx6fi7za1"; }).outPath; src = fetchzip { - url = "https://github.com/nvim-neotest/neotest/archive/a2f1cb4072bb29fcc067605fb712bbd83917513e.zip"; - sha256 = "0f8rn9v26v3a6yq0wngdzrgz5rdwlpmnc74b98l1aqb2ikn6gxvd"; + url = "https://github.com/nvim-neotest/neotest/archive/5caac5cc235d495a2382bc2980630ef36ac87032.zip"; + sha256 = "1i1d6m17wf3p76nm75jk4ayd4zyhslmqi2pc7j8qx87391mnz2c4"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua plenary-nvim ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ nvim-nio plenary-nvim ]; meta = { homepage = "https://github.com/nvim-neotest/neotest"; @@ -2953,7 +2476,7 @@ buildLuarocksPackage { }; }) {}; -nlua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +nlua = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "nlua"; version = "0.1.0-1"; @@ -2966,8 +2489,7 @@ buildLuarocksPackage { sha256 = "1x3pbv5ngbk0sjgwfpjsv3x49wzq4x29d9rm0hgyyb2g2mwag3jc"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/mfussenegger/nlua"; @@ -2977,7 +2499,7 @@ buildLuarocksPackage { }; }) {}; -nui-nvim = callPackage({ buildLuarocksPackage, fetchgit, fetchurl }: +nui-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl }: buildLuarocksPackage { pname = "nui.nvim"; version = "0.3.0-1"; @@ -2985,19 +2507,12 @@ buildLuarocksPackage { url = "mirror://luarocks/nui.nvim-0.3.0-1.rockspec"; sha256 = "0ng75wzbc0bn4zgwqk7dx5hazybfqxpjfzp7k2syh7kajmsy8z8b"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/MunifTanjim/nui.nvim.git", - "rev": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733", - "date": "2024-02-17T02:19:19+06:00", - "path": "/nix/store/llww4x7kg89998avrv3h15zhsajsr37h-nui.nvim", - "sha256": "0fjrnhfhq7sn3am7283adar0jlf6gcyq303kxkwqvxzvvdg9nirg", - "hash": "sha256-L0ebXtv794357HOAgT17xlEJsmpqIHGqGlYfDB20WTo=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "MunifTanjim"; + repo = "nui.nvim"; + rev = "0.3.0"; + hash = "sha256-L0ebXtv794357HOAgT17xlEJsmpqIHGqGlYfDB20WTo="; + }; meta = { @@ -3008,27 +2523,19 @@ buildLuarocksPackage { }; }) {}; -nvim-cmp = callPackage({ buildLuarocksPackage, fetchgit, lua, luaAtLeast, luaOlder }: +nvim-cmp = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "nvim-cmp"; version = "scm-1"; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/hrsh7th/nvim-cmp", - "rev": "ce16de5665c766f39c271705b17fff06f7bcb84f", - "date": "2024-04-02T16:05:54+09:00", - "path": "/nix/store/f9ax2s683i9q6gr4mwh85fil8lqz00ax-nvim-cmp", - "sha256": "10i720fidv41421as9i2xp4d4kr69zfyvkxjhgv6h41fdi75070c", - "hash": "sha256-DBxQTmwuEGj2g7LP7d1PJk/SyO0iJq2CIIHsFh0QJ4I=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "hrsh7th"; + repo = "nvim-cmp"; + rev = "8f3c541407e691af6163e2447f3af1bd6e17f9a3"; + hash = "sha256-rz+JMd/hsUEDNVan2sCuEGtbsOVi6oRmPtps+7qSXQE="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.4"; meta = { homepage = "https://github.com/hrsh7th/nvim-cmp"; @@ -3037,7 +2544,7 @@ buildLuarocksPackage { }; }) {}; -nvim-nio = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +nvim-nio = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "nvim-nio"; version = "1.9.0-1"; @@ -3050,8 +2557,7 @@ buildLuarocksPackage { sha256 = "0y3afl42z41ymksk29al5knasmm9wmqzby860x8zj0i0mfb1q5k5"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/nvim-neotest/nvim-nio"; @@ -3061,21 +2567,21 @@ buildLuarocksPackage { }; }) {}; -pathlib-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, nvim-nio }: +pathlib-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio }: buildLuarocksPackage { pname = "pathlib.nvim"; - version = "2.2.0-1"; + version = "2.2.2-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/pathlib.nvim-2.2.0-1.rockspec"; - sha256 = "0zj3psdq06822y8vl117z3y7zlc6jxwqppbv9irgwzr60wdz517n"; + url = "mirror://luarocks/pathlib.nvim-2.2.2-1.rockspec"; + sha256 = "04dklc0ibl6dbfckmkpj2s1gvjfmr0k2hyagw37rxypifncrffkr"; }).outPath; src = fetchzip { - url = "https://github.com/pysan3/pathlib.nvim/archive/v2.2.0.zip"; - sha256 = "1nyl3y0z2rrr35dyk2ypv8xjx43zamqxlpdq468iyyhfvkplz9yw"; + url = "https://github.com/pysan3/pathlib.nvim/archive/v2.2.2.zip"; + sha256 = "10jhbdffaw1rh1qppzllmy96dbsn741bk46mph5kxpjq4ldx27hz"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua nvim-nio ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ nvim-nio ]; meta = { homepage = "https://pysan3.github.io/pathlib.nvim/"; @@ -3084,27 +2590,23 @@ buildLuarocksPackage { }; }) {}; -penlight = callPackage({ buildLuarocksPackage, fetchgit, lua, luaOlder, luafilesystem }: +penlight = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luafilesystem }: buildLuarocksPackage { pname = "penlight"; - version = "dev-1"; - - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/penlight.git", - "rev": "ba1c8e51e047e9f33fa45c6a5f3b93fe4a35727b", - "date": "2024-04-02T13:58:00+02:00", - "path": "/nix/store/ypgbcsi4n5pvjlzgq64qv0xvs7s01c4a-penlight", - "sha256": "0dw7ggnzwxaax1hvw6h4lb9ff0ap2wnaf3ma0fv1jqwaaav1gfd2", - "hash": "sha256-orkXtlKKYxm2A6oOpywXVwHn0qIEGr5h6Ep1/u17hzc=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + version = "1.14.0-1"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/penlight-1.14.0-1.rockspec"; + sha256 = "1zmibf0pgcnf0lj1xmxs0srbyy1cswvb9g1jajy9lhicnpqqlgvh"; + }).outPath; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "penlight"; + rev = "1.14.0"; + hash = "sha256-4zAt0GgQEkg9toaUaDn3ST3RvjLUDsuOzrKi9lhq0fQ="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua luafilesystem ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ luafilesystem ]; meta = { homepage = "https://lunarmodules.github.io/penlight"; @@ -3114,27 +2616,20 @@ buildLuarocksPackage { }; }) {}; -plenary-nvim = callPackage({ buildLuarocksPackage, fetchgit, lua, luaAtLeast, luaOlder, luassert }: +plenary-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, luaAtLeast, luaOlder, luassert }: buildLuarocksPackage { pname = "plenary.nvim"; version = "scm-1"; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/nvim-lua/plenary.nvim", - "rev": "8aad4396840be7fc42896e3011751b7609ca4119", - "date": "2024-03-25T13:22:05+01:00", - "path": "/nix/store/jni4wdb67id5s257ps8ld4is7m3cpqxr-plenary.nvim", - "sha256": "06ahw1mxjp5g1kbsdza29hyawr4blqzw3vb9d4rg2d5qmnwcbky0", - "hash": "sha256-wM/FuK24NPEyaWntwT+mi2SuPExC/abXDK9c2WvgUBk=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "nvim-lua"; + repo = "plenary.nvim"; + rev = "08e301982b9a057110ede7a735dd1b5285eb341f"; + hash = "sha256-vy0MXEoSM4rvYpfwbc2PnilvMOA30Urv0FAxjXuvqQ8="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.4"); - propagatedBuildInputs = [ lua luassert ]; + disabled = luaOlder "5.1" || luaAtLeast "5.4"; + propagatedBuildInputs = [ luassert ]; meta = { homepage = "http://github.com/nvim-lua/plenary.nvim"; @@ -3143,27 +2638,23 @@ buildLuarocksPackage { }; }) {}; -rapidjson = callPackage({ buildLuarocksPackage, fetchgit, lua, luaOlder }: +rapidjson = callPackage({ buildLuarocksPackage, cmake, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "rapidjson"; version = "0.7.1-1"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/rapidjson-0.7.1-1.rockspec"; + sha256 = "01lbsn9rckdyx0va7nm9dammic9117kxiawp55yg2h5q3p978d41"; + }).outPath; + src = fetchFromGitHub { + owner = "xpol"; + repo = "lua-rapidjson"; + rev = "v0.7.1"; + hash = "sha256-y/czEVPtCt4uN1n49Qi7BrgZmkG+SDXlM5D2GvvO2qg="; + }; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/xpol/lua-rapidjson", - "rev": "242b40c8eaceb0cc43bcab88309736461cac1234", - "date": "2021-04-09T19:59:20+08:00", - "path": "/nix/store/65l71ph27pmipgrq8j4whg6n8h2avvs4-lua-rapidjson", - "sha256": "1a6srvximxlh6gjkaj5y86d1kf06pc4gby2r6wpdw2pdac8k7xyb", - "hash": "sha256-y/czEVPtCt4uN1n49Qi7BrgZmkG+SDXlM5D2GvvO2qg=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; - - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; + nativeBuildInputs = [ cmake ]; meta = { homepage = "https://github.com/xpol/lua-rapidjson"; @@ -3172,7 +2663,7 @@ buildLuarocksPackage { }; }) {}; -rest-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, lua-curl, luaOlder, mimetypes, nvim-nio, xml2lua }: +rest-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua-curl, luaOlder, mimetypes, nvim-nio, xml2lua }: buildLuarocksPackage { pname = "rest.nvim"; version = "2.0.1-1"; @@ -3185,8 +2676,8 @@ buildLuarocksPackage { sha256 = "09rs04d5h061zns1kdfycryx4ll8ix15q3ybpmqsdyp2gn8l77df"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua lua-curl mimetypes nvim-nio xml2lua ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ lua-curl mimetypes nvim-nio xml2lua ]; meta = { homepage = "https://github.com/rest-nvim/rest.nvim"; @@ -3196,21 +2687,21 @@ buildLuarocksPackage { }; }) {}; -rocks-config-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, rocks-nvim }: +rocks-config-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, rocks-nvim }: buildLuarocksPackage { pname = "rocks-config.nvim"; - version = "1.4.0-1"; + version = "1.5.0-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/rocks-config.nvim-1.4.0-1.rockspec"; - sha256 = "0q630hxcxx05v6agddm4f9hhp433hipsyhqy0m7y8fcgxkh6qxiz"; + url = "mirror://luarocks/rocks-config.nvim-1.5.0-1.rockspec"; + sha256 = "14rj1p7grmdhi3xm683c3c441xxcldhi5flh6lg1fab1rm9mij6b"; }).outPath; src = fetchzip { - url = "https://github.com/nvim-neorocks/rocks-config.nvim/archive/v1.4.0.zip"; - sha256 = "0yw7am97q3ybifqfnzy8b505cp8hwzlnycqvsjdwr16dl2ihn6v7"; + url = "https://github.com/nvim-neorocks/rocks-config.nvim/archive/v1.5.0.zip"; + sha256 = "0kpvd9ddj1vhkz54ckqsym4fbj1krzpp8cslb20k8qk2n1ccjynv"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua rocks-nvim ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ rocks-nvim ]; meta = { homepage = "https://github.com/nvim-neorocks/rocks-config.nvim"; @@ -3244,7 +2735,7 @@ buildLuarocksPackage { }; }) {}; -rocks-git-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, nvim-nio, rocks-nvim }: +rocks-git-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, nvim-nio, rocks-nvim }: buildLuarocksPackage { pname = "rocks-git.nvim"; version = "1.4.0-1"; @@ -3257,8 +2748,8 @@ buildLuarocksPackage { sha256 = "0yjigf9pzy53yylznnnb68dwmylx9a3qv84kdc2whsf4cj23m2nj"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua nvim-nio rocks-nvim ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ nvim-nio rocks-nvim ]; meta = { homepage = "https://github.com/nvim-neorocks/rocks-git.nvim"; @@ -3268,45 +2759,67 @@ buildLuarocksPackage { }; }) {}; -rocks-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, fidget-nvim, fzy, lua, luaOlder, nvim-nio, toml-edit }: +rocks-nvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, fidget-nvim, fzy, luaOlder, nvim-nio, rtp-nvim, toml-edit }: buildLuarocksPackage { pname = "rocks.nvim"; - version = "2.21.1-1"; + version = "2.26.0-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/rocks.nvim-2.21.1-1.rockspec"; - sha256 = "0qf0hbknn87y6fp49r9810fbnwprv6rmwdqj96c8iibxg7qzda23"; + url = "mirror://luarocks/rocks.nvim-2.26.0-1.rockspec"; + sha256 = "1piypyxq1c6l203f3w8z4fhfi649h5ppl58lckvxph9dvidg11lf"; }).outPath; src = fetchzip { - url = "https://github.com/nvim-neorocks/rocks.nvim/archive/v2.21.1.zip"; - sha256 = "1va06snki6m93hs62ypy94chcjvg09pilqiivvr401vp2jzsmydx"; + url = "https://github.com/nvim-neorocks/rocks.nvim/archive/v2.26.0.zip"; + sha256 = "10wck99dfwxv49pkd9pva7lqr4a79zccbqvb75qbxkgnj0yd5awc"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ fidget-nvim fzy lua nvim-nio toml-edit ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ fidget-nvim fzy nvim-nio rtp-nvim toml-edit ]; meta = { homepage = "https://github.com/nvim-neorocks/rocks.nvim"; description = "Neovim plugin management inspired by Cargo, powered by luarocks"; - maintainers = with lib.maintainers; [ teto mrcjkb ]; + maintainers = with lib.maintainers; [ mrcjkb ]; license.fullName = "GPL-3.0"; }; }) {}; -rustaceanvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: + +rtp-nvim = callPackage ({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: +buildLuarocksPackage { + pname = "rtp.nvim"; + version = "1.0.0-1"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/rtp.nvim-1.0.0-1.rockspec"; + sha256 = "0ddlwhk62g3yx1ysddsmlggfqv0hj7dljgczfwij1ijbz7qyp3hy"; + }).outPath; + src = fetchzip { + url = "https://github.com/nvim-neorocks/rtp.nvim/archive/v1.0.0.zip"; + sha256 = "1kx7qzdz8rpwsjcp63wwn619nrkxn6xd0nr5pfm3g0z4072nnpzn"; + }; + + disabled = luaOlder "5.1"; + + meta = { + homepage = "https://github.com/nvim-neorocks/rtp.nvim"; + description = "Source plugin and ftdetect directories on the Neovim runtimepath."; + license.fullName = "GPL-3.0"; + }; +}) {}; + +rustaceanvim = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }: buildLuarocksPackage { pname = "rustaceanvim"; - version = "4.21.1-1"; + version = "4.22.8-1"; knownRockspec = (fetchurl { - url = "mirror://luarocks/rustaceanvim-4.21.1-1.rockspec"; - sha256 = "11z9rwnnqsmdrmzah2lwfxl01zk3yr0dnf9c2xqbcpfvq08v8p2c"; + url = "mirror://luarocks/rustaceanvim-4.22.8-1.rockspec"; + sha256 = "18hghs9v9j3kv3fxwdp7qk9vhbxn4c8xd8pyxwnyjq5ad7ninr82"; }).outPath; src = fetchzip { - url = "https://github.com/mrcjkb/rustaceanvim/archive/4.21.1.zip"; - sha256 = "0zb8h8m9ypdl9i8dvgm3lb9b7fgw746wq7y94b8dbqjmbwrdsspl"; + url = "https://github.com/mrcjkb/rustaceanvim/archive/4.22.8.zip"; + sha256 = "1n9kqr8xdqamc8hd8a155h7rzyda8bz39n0zdgdw0j8hqc214vmm"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/mrcjkb/rustaceanvim"; @@ -3316,27 +2829,22 @@ buildLuarocksPackage { }; }) {}; -say = callPackage({ buildLuarocksPackage, fetchgit, lua, luaOlder }: +say = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "say"; - version = "scm-1"; - - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lunarmodules/say.git", - "rev": "3e1f783d0aa496eb21d16e85b2235335cb9332df", - "date": "2023-08-13T02:37:27+03:00", - "path": "/nix/store/5biavac0k8z0xg4rr3bm8z3kdi8mm8c0-say", - "sha256": "04dkf0av6n71vmz0h86i5brklvaf9p91lkldn1xldpdr0qqs0x63", - "hash": "sha256-w3SgMQa53UZ7sI1OGtJNTm068yrRIAh+3eFYsxVwsxE=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + version = "1.4.1-3"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/say-1.4.1-3.rockspec"; + sha256 = "0iibmq5m5092y168banckgs15ngj2yjx11n40fyk7jly4pbasljq"; + }).outPath; + src = fetchFromGitHub { + owner = "lunarmodules"; + repo = "say"; + rev = "v1.4.1"; + hash = "sha256-IjNkK1leVtYgbEjUqguVMjbdW+0BHAOCE0pazrVuF50="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://lunarmodules.github.io/say"; @@ -3345,30 +2853,22 @@ buildLuarocksPackage { }; }) {}; -serpent = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaAtLeast, luaOlder }: +serpent = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "serpent"; version = "0.30-2"; knownRockspec = (fetchurl { - url = "mirror://luarocks/serpent-0.30-2.rockspec"; - sha256 = "0v83lr9ars1n0djbh7np8jjqdhhaw0pdy2nkcqzqrhv27rzv494n"; + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/serpent-0.30-2.rockspec"; + sha256 = "01696wwp1m8jlcj0y1wwscnz3cpcjdvm8pcnc6c6issa2s4544vr"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/pkulchenko/serpent", - "rev": "d78683597606c6e13a1fed039bc91d86eb8f600f", - "date": "2017-09-01T21:35:14-07:00", - "path": "/nix/store/z6df44n3p07n4bia7s514vgngbkbpnap-serpent", - "sha256": "0q80yfrgqgr01qprf0hrp284ngb7fbcq1v9rbzmdkhbm9lpgy8v8", - "hash": "sha256-aCP/Lk11wdnqXzntgNlyZz1LkLgZApcvDiA//LLzAGE=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "pkulchenko"; + repo = "serpent"; + rev = "0.30"; + hash = "sha256-aCP/Lk11wdnqXzntgNlyZz1LkLgZApcvDiA//LLzAGE="; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "https://github.com/pkulchenko/serpent"; @@ -3378,7 +2878,7 @@ buildLuarocksPackage { }; }) {}; -sqlite = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, luv }: +sqlite = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luv }: buildLuarocksPackage { pname = "sqlite"; version = "v1.2.2-0"; @@ -3386,19 +2886,12 @@ buildLuarocksPackage { url = "mirror://luarocks/sqlite-v1.2.2-0.rockspec"; sha256 = "0jxsl9lpxsbzc6s5bwmh27mglkqz1299lz68vfxayvailwl3xbxm"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/tami5/sqlite.lua.git", - "rev": "6c00ab414dc1b69621b145908c582b747f24b46e", - "date": "2022-06-17T15:57:13+03:00", - "path": "/nix/store/637s46bsvsxfnzmy6ygig3y0vqmf3r8p-sqlite.lua", - "sha256": "0ckifx6xxrannn9szacgiiqjsp4rswghxscdl3s411dhas8djj1m", - "hash": "sha256-NUjZkFawhUD0oI3pDh/XmVwtcYyPqa+TtVbl3k13cTI=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "tami5"; + repo = "sqlite.lua"; + rev = "v1.2.2"; + hash = "sha256-NUjZkFawhUD0oI3pDh/XmVwtcYyPqa+TtVbl3k13cTI="; + }; propagatedBuildInputs = [ luv ]; @@ -3409,27 +2902,20 @@ buildLuarocksPackage { }; }) {}; -std-_debug = callPackage({ buildLuarocksPackage, fetchgit, lua, luaAtLeast, luaOlder }: +std-_debug = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "std._debug"; - version = "git-1"; - - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/lua-stdlib/_debug.git", - "rev": "8b80b14bbbe7259a47c160176546bb152bb2d6f1", - "date": "2023-01-31T16:39:35-07:00", - "path": "/nix/store/i24iz2hvnjp18iz9z8kljsy9iv17m2zl-_debug", - "sha256": "07z5lz3gy8wzzks79r3v68vckj42i3sybhfmqx7h2s58ld2kn5fd", - "hash": "sha256-zRU7RaOoaAFPx9XB5fWIgsjJNjJ75HT0/J8j/8an5R8=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + version = "1.0.1-1"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/std._debug-1.0.1-1.rockspec"; + sha256 = "0mr9hgzfr9v37da9rfys2wjq48hi3lv27i3g38433dlgbxipsbc4"; + }).outPath; + src = fetchzip { + url = "http://github.com/lua-stdlib/_debug/archive/v1.0.1.zip"; + sha256 = "19vfpv389q79vgxwhhr09l6l6hf6h2yjp09zvnp0l07ar4v660pv"; + }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "http://lua-stdlib.github.io/_debug"; @@ -3438,7 +2924,7 @@ buildLuarocksPackage { }; }) {}; -std-normalize = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaAtLeast, luaOlder, std-_debug }: +std-normalize = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder, std-_debug }: buildLuarocksPackage { pname = "std.normalize"; version = "2.0.3-1"; @@ -3451,8 +2937,8 @@ buildLuarocksPackage { sha256 = "1gyywglxd2y7ck3hk8ap73w0x7hf9irpg6vgs8yc6k9k4c5g3fgi"; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua std-_debug ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; + propagatedBuildInputs = [ std-_debug ]; meta = { homepage = "https://lua-stdlib.github.io/normalize"; @@ -3461,7 +2947,7 @@ buildLuarocksPackage { }; }) {}; -stdlib = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaAtLeast, luaOlder }: +stdlib = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaAtLeast, luaOlder }: buildLuarocksPackage { pname = "stdlib"; version = "41.2.2-1"; @@ -3474,8 +2960,7 @@ buildLuarocksPackage { sha256 = "0ry6k0wh4vyar1z68s0qmqzkdkfn9lcznsl8av7x78qz6l16wfw4"; }; - disabled = (luaOlder "5.1") || (luaAtLeast "5.5"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1" || luaAtLeast "5.5"; meta = { homepage = "http://lua-stdlib.github.io/lua-stdlib"; @@ -3485,7 +2970,7 @@ buildLuarocksPackage { }; }) {}; -teal-language-server = callPackage({ buildLuarocksPackage, cyan, dkjson, fetchgit, fetchurl, luafilesystem }: +teal-language-server = callPackage({ buildLuarocksPackage, cyan, dkjson, fetchFromGitHub, fetchurl, luafilesystem }: buildLuarocksPackage { pname = "teal-language-server"; version = "dev-1"; @@ -3493,19 +2978,12 @@ buildLuarocksPackage { url = "mirror://luarocks/teal-language-server-dev-1.rockspec"; sha256 = "01l44c6bknz7ff9xqgich31hlb0yk4ms5k1hs4rhm3cs95s5vlzc"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://git@github.com/teal-language/teal-language-server.git", - "rev": "67b5d7cad60b9df472851a2c61591f2aab97da47", - "date": "2022-12-21T20:33:53-06:00", - "path": "/nix/store/qyaz38njm8qgyfxca6m6f8i4lkfcfdb0-teal-language-server", - "sha256": "12nqarykmdvxxci9l6gq2yhn4pjzzqlxyrl2c8svb97hka68wjvx", - "hash": "sha256-fUuOjJrwpLU1YoJm3yn+X15ioRf4GZoi6323On1W2Io=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "teal-language"; + repo = "teal-language-server"; + rev = "67b5d7cad60b9df472851a2c61591f2aab97da47"; + hash = "sha256-fUuOjJrwpLU1YoJm3yn+X15ioRf4GZoi6323On1W2Io="; + }; propagatedBuildInputs = [ cyan dkjson luafilesystem ]; @@ -3516,7 +2994,7 @@ buildLuarocksPackage { }; }) {}; -telescope-manix = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder, telescope-nvim }: +telescope-manix = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, telescope-nvim }: buildLuarocksPackage { pname = "telescope-manix"; version = "1.0.2-1"; @@ -3529,8 +3007,8 @@ buildLuarocksPackage { sha256 = "0y3n270zkii123r3987xzvp194dl0q1hy234v95w7l48cf4v495k"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua telescope-nvim ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ telescope-nvim ]; meta = { homepage = "https://github.com/mrcjkb/telescope-manix"; @@ -3539,7 +3017,7 @@ buildLuarocksPackage { }; }) {}; -telescope-nvim = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, plenary-nvim }: +telescope-nvim = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, lua, plenary-nvim }: buildLuarocksPackage { pname = "telescope.nvim"; version = "scm-1"; @@ -3547,22 +3025,15 @@ buildLuarocksPackage { url = "mirror://luarocks/telescope.nvim-scm-1.rockspec"; sha256 = "07mjkv1nv9b3ifxk2bbpbhvp0awblyklyz6aaqw418x4gm4q1g35"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/nvim-telescope/telescope.nvim", - "rev": "5a701e99906961218b55d7ad6c2a998f066c6fe0", - "date": "2024-04-10T01:26:51+00:00", - "path": "/nix/store/xipvnxyxi80swp58xvpfwh48pjbdxl0i-telescope.nvim", - "sha256": "02d877a6lp3fgh75m10n3scyk4sdran10pbsp0ghp7xids1fg985", - "hash": "sha256-BaXngm6xnwsfuHpdEKzKTZPpmR4WhFoOfG5catQ5qAk=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "nvim-telescope"; + repo = "telescope.nvim"; + rev = "35f94f0ef32d70e3664a703cefbe71bd1456d899"; + hash = "sha256-AtvZ7b2bg+Iaei4rRzTBYf76vHJH2Yq5tJAJZrZw/pk="; + }; - disabled = (lua.luaversion != "5.1"); - propagatedBuildInputs = [ lua plenary-nvim ]; + disabled = lua.luaversion != "5.1"; + propagatedBuildInputs = [ plenary-nvim ]; meta = { homepage = "https://github.com/nvim-telescope/telescope.nvim"; @@ -3571,7 +3042,7 @@ buildLuarocksPackage { }; }) {}; -tiktoken_core = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder, luarocks-build-rust-mlua }: +tiktoken_core = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder, luarocks-build-rust-mlua }: buildLuarocksPackage { pname = "tiktoken_core"; version = "0.2.1-1"; @@ -3579,22 +3050,15 @@ buildLuarocksPackage { url = "mirror://luarocks/tiktoken_core-0.2.1-1.rockspec"; sha256 = "0mdmrpg82vmk0cqiqdayyk4vvl299z0xqrg58q18dfs5nc27wkla"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/gptlang/lua-tiktoken", - "rev": "61d831a81a01ba095f8c94e148b721b3aa7b1e45", - "date": "2024-03-03T23:24:06+00:00", - "path": "/nix/store/5ik17k726wl8hpz295n7dqq3438k8ddj-lua-tiktoken", - "sha256": "11lpzxmmb4zglkp9czlzggd8i46r7whpq021b5d3fx7bc5a81d3n", - "hash": "sha256-drSAVGHrdDdaWUEAfCE/2ZCI2nuffpbupO+TVWv/l4Y=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "gptlang"; + repo = "lua-tiktoken"; + rev = "0.2.1"; + hash = "sha256-drSAVGHrdDdaWUEAfCE/2ZCI2nuffpbupO+TVWv/l4Y="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua luarocks-build-rust-mlua ]; + disabled = luaOlder "5.1"; + propagatedBuildInputs = [ luarocks-build-rust-mlua ]; meta = { homepage = "https://github.com/gptlang/lua-tiktoken"; @@ -3604,7 +3068,7 @@ buildLuarocksPackage { }; }) {}; -tl = callPackage({ argparse, buildLuarocksPackage, compat53, fetchgit, fetchurl, luafilesystem }: +tl = callPackage({ argparse, buildLuarocksPackage, compat53, fetchFromGitHub, fetchurl, luafilesystem }: buildLuarocksPackage { pname = "tl"; version = "0.15.3-1"; @@ -3612,19 +3076,12 @@ buildLuarocksPackage { url = "mirror://luarocks/tl-0.15.3-1.rockspec"; sha256 = "15p67r5bjp997pymjq80yn1gyf7r5g2nwkachkwx88100ihblqrc"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/teal-language/tl", - "rev": "28f8fd9eb1a756267b8cde25990dfae27f8f5bcc", - "date": "2023-11-05T23:31:17-03:00", - "path": "/nix/store/8qbkpkni2ci042ryzjh0nfxnrmmckg3l-tl", - "sha256": "0spr0zajy8i91n0jqmjpgdcsryrlras6fv60np9ml1rfirh0yk4y", - "hash": "sha256-nkwPYI4uB1rTtcBsZ7TKNPusWXtXViyBDSkiL9UH+Wo=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "teal-language"; + repo = "tl"; + rev = "v0.15.3"; + hash = "sha256-nkwPYI4uB1rTtcBsZ7TKNPusWXtXViyBDSkiL9UH+Wo="; + }; propagatedBuildInputs = [ argparse compat53 luafilesystem ]; @@ -3639,18 +3096,18 @@ buildLuarocksPackage { toml = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: buildLuarocksPackage { pname = "toml"; - version = "0.4.0-0"; + version = "0.3.0-0"; knownRockspec = (fetchurl { - url = "mirror://luarocks/toml-0.4.0-0.rockspec"; - sha256 = "17yr5gj9yyax3wzn7cv3vvkjrg5qq4yfw8sc6v72ivg79fhvwnli"; + url = "mirror://luarocks/toml-0.3.0-0.rockspec"; + sha256 = "0y4qdzsvf4xwnr49xcpbqclrq9d6snv83cbdkrchl0cn4cx6zpxy"; }).outPath; src = fetchgit ( removeAttrs (builtins.fromJSON ''{ "url": "https://github.com/LebJe/toml.lua.git", - "rev": "1a9b2a5726b9ba7b5d328e54ae36047ffe1730f2", - "date": "2024-01-02T12:05:36-05:00", - "path": "/nix/store/2d6rhs6wdya63q86ca2gi59n8c3dc57c-toml.lua", - "sha256": "12cy73cni3h1mkmjagh58fv112kxfg2z624ssh2banw53pvphmfd", - "hash": "sha256-zVV49x2FW7UE1JoI88VzfYoQtkMFPiXrrAGOaNk4nok=", + "rev": "319e9accf8c5cedf68795354ba81e54c817d1277", + "date": "2023-02-19T23:00:49-05:00", + "path": "/nix/store/p6a98sqp9a4jwsw6ghqcwpn9lxmhvkdg-toml.lua", + "sha256": "05p33bq0ajl41vbsw9bx73shpf0p11n5gb6yy8asvp93zh2m51hq", + "hash": "sha256-GIZSBfwj3a0V8t6sV2wIF7gL9Th9Ja7XDoRKBfAa4xY=", "fetchLFS": false, "fetchSubmodules": true, "deepClone": false, @@ -3669,7 +3126,7 @@ buildLuarocksPackage { }; }) {}; -toml-edit = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, lua, luaOlder }: +toml-edit = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, luarocks-build-rust-mlua }: buildLuarocksPackage { pname = "toml-edit"; version = "0.3.6-1"; @@ -3682,8 +3139,8 @@ buildLuarocksPackage { sha256 = "19v6axraj2n22lmilfr4x9nr40kcjb6wnpsfhf1mh2zy9nsd6ji6"; }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; + nativeBuildInputs = [ luarocks-build-rust-mlua ]; meta = { homepage = "https://github.com/vhyrro/toml-edit.lua"; @@ -3714,27 +3171,22 @@ buildLuarocksPackage { }; }) {}; -vstruct = callPackage({ buildLuarocksPackage, fetchgit, lua, luaOlder }: +vstruct = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "vstruct"; - version = "2.2.0-1"; - - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/ToxicFrog/vstruct.git", - "rev": "227433d5d0ea69760c8ada1954e22d318aaafc30", - "date": "2024-02-26T20:52:23-05:00", - "path": "/nix/store/d6a7rz62m7s6k71v4cycq1yq9gpl9b04-vstruct", - "sha256": "1x8g9l28vqqyvhd9zr3a0ylh2fiihdf1x4jkh68cl6kqcnz3g7xk", - "hash": "sha256-s583vmV4GsqQgVOSHlyDMToBqQdq5J8a3B7jjQRND/U=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + version = "2.1.1-1"; + knownRockspec = (fetchurl { + url = "mirror://luarocks/vstruct-2.1.1-1.rockspec"; + sha256 = "111ff5207hspda9fpj9dqdd699rax0df3abdnfbmdbdy3j07dd04"; + }).outPath; + src = fetchFromGitHub { + owner = "ToxicFrog"; + repo = "vstruct"; + rev = "v2.1.1"; + hash = "sha256-p9yRJ3Kr6WQ4vBSTOVLoX6peNCJW6b6kgXCySg7aiWo="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "https://github.com/ToxicFrog/vstruct"; @@ -3742,7 +3194,7 @@ buildLuarocksPackage { }; }) {}; -vusted = callPackage({ buildLuarocksPackage, busted, fetchgit, fetchurl, luasystem }: +vusted = callPackage({ buildLuarocksPackage, busted, fetchFromGitHub, fetchurl, luasystem }: buildLuarocksPackage { pname = "vusted"; version = "2.3.4-1"; @@ -3750,19 +3202,12 @@ buildLuarocksPackage { url = "mirror://luarocks/vusted-2.3.4-1.rockspec"; sha256 = "1yzdr0xgsjfr4a80a2zrj58ls0gmms407q4h1dx75sszppzvm1wc"; }).outPath; - src = fetchgit ( removeAttrs (builtins.fromJSON ''{ - "url": "https://github.com/notomo/vusted.git", - "rev": "e0c5e542945844fdb4551b4dc7881b9ee780f57a", - "date": "2024-01-03T15:52:14+09:00", - "path": "/nix/store/4nacg6j8z42nz1114hrpap0z3x7jpgzy-vusted", - "sha256": "05mzhvv55gpj0qbq8i7y8fhknmzrdxsv2cr8mgwm2v3bffc7h7k6", - "hash": "sha256-Zh54mHNrbFH5qygzsXVv+Vc7oUP+RIQXBvK+UvaGvxY=", - "fetchLFS": false, - "fetchSubmodules": true, - "deepClone": false, - "leaveDotGit": false -} - '') ["date" "path" "sha256"]) ; + src = fetchFromGitHub { + owner = "notomo"; + repo = "vusted"; + rev = "v2.3.4"; + hash = "sha256-Zh54mHNrbFH5qygzsXVv+Vc7oUP+RIQXBvK+UvaGvxY="; + }; propagatedBuildInputs = [ busted luasystem ]; @@ -3774,7 +3219,7 @@ buildLuarocksPackage { }; }) {}; -xml2lua = callPackage({ buildLuarocksPackage, fetchgit, fetchurl, lua, luaOlder }: +xml2lua = callPackage({ buildLuarocksPackage, fetchFromGitHub, fetchurl, luaOlder }: buildLuarocksPackage { pname = "xml2lua"; version = "1.5-2"; @@ -3782,22 +3227,14 @@ buildLuarocksPackage { 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"]) ; + src = fetchFromGitHub { + owner = "manoelcampos"; + repo = "xml2lua"; + rev = "v1.5-2"; + hash = "sha256-hDCUTM+EM9Z+rCg+CbL6qLzY/5qaz6J1Q2khfBlkY+4="; + }; - disabled = (luaOlder "5.1"); - propagatedBuildInputs = [ lua ]; + disabled = luaOlder "5.1"; meta = { homepage = "http://manoelcampos.github.io/xml2lua/"; |