|
| 1 | +/* pkgs/development/lua-modules/generated-packages.nix is an auto-generated file -- DO NOT EDIT! |
| 2 | +Regenerate it with: |
| 3 | +nixpkgs$ ./maintainers/scripts/update-luarocks-packages |
| 4 | +
|
| 5 | +You can customize the generated packages in pkgs/development/lua-modules/overrides.nix |
| 6 | +*/ |
| 7 | + |
| 8 | +{ self, stdenv, lib, fetchurl, fetchgit, callPackage, ... } @ args: |
| 9 | +final: prev: |
| 10 | +{ |
| 11 | +date = callPackage({ luaOlder, fetchgit, luaAtLeast, lua, buildLuarocksPackage }: |
| 12 | +buildLuarocksPackage { |
| 13 | + pname = "date"; |
| 14 | + version = "2.2-2"; |
| 15 | + knownRockspec = (fetchurl { |
| 16 | + url = "mirror://luarocks/date-2.2-2.rockspec"; |
| 17 | + sha256 = "0z2gb4rxfrkdx3zlysmlvfpm867fk0yq0bsn7yl789pvgf591l1x"; |
| 18 | + }).outPath; |
| 19 | + src = fetchgit ( removeAttrs (builtins.fromJSON ''{ |
| 20 | + "url": "https://github.com/Tieske/date.git", |
| 21 | + "rev": "e309741edc15bde2c884b0db09d8560848773b50", |
| 22 | + "date": "2023-06-19T14:52:25+02:00", |
| 23 | + "path": "/nix/store/mqai2jv2nligylw4bazrk1cw51q493mr-date", |
| 24 | + "sha256": "1s7bz4ivmpyc8mchp4nxm4b1yqf002ryjr30lwdswf64aljlx640", |
| 25 | + "hash": "sha256-gJhOJVXEOK4bp2Bk6bMAwGEfFqndkgtZRczfuiP56+g=", |
| 26 | + "fetchLFS": false, |
| 27 | + "fetchSubmodules": true, |
| 28 | + "deepClone": false, |
| 29 | + "leaveDotGit": false |
| 30 | +} |
| 31 | + '') ["date" "path"]) ; |
| 32 | + |
| 33 | + disabled = (luaOlder "5.0") || (luaAtLeast "5.5"); |
| 34 | + propagatedBuildInputs = [ lua ]; |
| 35 | + |
| 36 | + meta = { |
| 37 | + homepage = "https://github.com/Tieske/date"; |
| 38 | + description = "Date & Time module for Lua 5.x"; |
| 39 | + license.fullName = "MIT"; |
| 40 | + }; |
| 41 | +}) {}; |
| 42 | + |
| 43 | + ansicolors = self.callPackage |
| 44 | + ({ fetchurl, buildLuarocksPackage, lua, luaOlder }: |
| 45 | + super.buildLuarocksPackage { |
| 46 | + pname = "ansicolors"; |
| 47 | + version = "1.0.2-3"; |
| 48 | + knownRockspec = (fetchurl { |
| 49 | + url = "mirror://luarocks/ansicolors-1.0.2-3.rockspec"; |
| 50 | + sha256 = "19y962xdx5ldl3596ywdl7n825dffz9al6j6rx6pbgmhb7pi8s5v"; |
| 51 | + }).outPath; |
| 52 | + src = fetchurl { |
| 53 | + url = "https://github.com/kikito/ansicolors.lua/archive/v1.0.2.tar.gz"; |
| 54 | + sha256 = "0r4xi57njldmar9pn77l0vr5701rpmilrm51spv45lz0q9js8xps"; |
| 55 | + }; |
| 56 | + |
| 57 | + disabled = (luaOlder "5.1"); |
| 58 | + propagatedBuildInputs = [ lua ]; |
| 59 | + |
| 60 | + meta = { |
| 61 | + homepage = "https://github.com/kikito/ansicolors.lua"; |
| 62 | + description = "Library for color Manipulation."; |
| 63 | + license.fullName = "MIT <http://opensource.org/licenses/MIT>"; |
| 64 | + }; |
| 65 | + }) |
| 66 | + { }; |
| 67 | + |
| 68 | + |
| 69 | +lapis = callPackage({ argparse, luaossl, ansicolors, lua-cjson, lua, luasocket, lpeg, fetchgit, buildLuarocksPackage, etlua, date, loadkit, pgmoon }: |
| 70 | +buildLuarocksPackage { |
| 71 | + pname = "lapis"; |
| 72 | + version = "1.14.0-1"; |
| 73 | + knownRockspec = (fetchurl { |
| 74 | + url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lapis-1.14.0-1.rockspec"; |
| 75 | + sha256 = "1iax1n4nfk81vlslnb92wnpg03scci7p7983dwvkhk5nan63vnmh"; |
| 76 | + }).outPath; |
| 77 | + src = fetchgit ( removeAttrs (builtins.fromJSON ''{ |
| 78 | + "url": "https://github.com/leafo/lapis.git", |
| 79 | + "rev": "fce55fddfafca91b12fcbf21e9ac322ad68fa22e", |
| 80 | + "date": "2023-07-20T12:10:03-07:00", |
| 81 | + "path": "/nix/store/ggb7qsjbqcj5d6qs31mcllawzgazlk2m-lapis", |
| 82 | + "sha256": "0qnz6arsqyr3scsz7zd9a6qwpjha2x6k3ymkk20nm74a2s7v8yz1", |
| 83 | + "hash": "sha256-4Xu0jxaKnGqBmLP6MU0XCsrLsVGp/fM10yN7rLMy32I=", |
| 84 | + "fetchLFS": false, |
| 85 | + "fetchSubmodules": true, |
| 86 | + "deepClone": false, |
| 87 | + "leaveDotGit": false |
| 88 | +} |
| 89 | + '') ["date" "path"]) ; |
| 90 | + |
| 91 | + propagatedBuildInputs = [ ansicolors argparse date etlua loadkit lpeg lua lua-cjson luaossl luasocket pgmoon ]; |
| 92 | + |
| 93 | + meta = { |
| 94 | + homepage = "http://leafo.net/lapis"; |
| 95 | + description = "A web framework for MoonScript & Lua"; |
| 96 | + license.fullName = "MIT"; |
| 97 | + }; |
| 98 | +}) {}; |
| 99 | + |
| 100 | +etlua = self.callPackage ({ lua, buildLuarocksPackage, fetchgit, fetchurl, luaOlder }: |
| 101 | +buildLuarocksPackage { |
| 102 | + pname = "etlua"; |
| 103 | + version = "1.3.0-1"; |
| 104 | + knownRockspec = (fetchurl { |
| 105 | + url = "mirror://luarocks/etlua-1.3.0-1.rockspec"; |
| 106 | + sha256 = "1g98ibp7n2p4js39din2balncjnxxdbaq6msw92z072s2cccx9cf"; |
| 107 | + }).outPath; |
| 108 | + src = fetchgit ( removeAttrs (builtins.fromJSON ''{ |
| 109 | + "url": "https://github.com/leafo/etlua.git", |
| 110 | + "rev": "8dda2e5aeb4413446172a562a9a374b700054836", |
| 111 | + "date": "2019-08-02T18:07:22-07:00", |
| 112 | + "path": "/nix/store/kk7sib6lwra0wyf6yjc8shkny7b5qnm7-etlua", |
| 113 | + "sha256": "0ns7vvzslxhx39xwhxzi6cwkk2vcxidxidgysr03sq47h8daspig", |
| 114 | + "hash": "sha256-L16tGoKHYD1A1v612FvsbIs5OTPxd8h7Gh12qv/eR1s=", |
| 115 | + "fetchLFS": false, |
| 116 | + "fetchSubmodules": true, |
| 117 | + "deepClone": false, |
| 118 | + "leaveDotGit": false |
| 119 | +} |
| 120 | + '') ["date" "path"]) ; |
| 121 | + |
| 122 | + disabled = (luaOlder "5.1"); |
| 123 | + propagatedBuildInputs = [ lua ]; |
| 124 | + |
| 125 | + meta = { |
| 126 | + homepage = "https://github.com/leafo/etlua"; |
| 127 | + description = "Embedded templates for Lua"; |
| 128 | + license.fullName = "MIT"; |
| 129 | + }; |
| 130 | +}) {}; |
| 131 | + |
| 132 | +pgmoon = callPackage({ lua, luaOlder, buildLuarocksPackage, lpeg, fetchgit }: |
| 133 | +buildLuarocksPackage { |
| 134 | + pname = "pgmoon"; |
| 135 | + version = "1.16.0-1"; |
| 136 | + knownRockspec = (fetchurl { |
| 137 | + url = "mirror://luarocks/pgmoon-1.16.0-1.rockspec"; |
| 138 | + sha256 = "0qibc6pbal0n5p7c0v0rxrc2b3qdkbbz5wpn4nihsv7vkhjaqhx8"; |
| 139 | + }).outPath; |
| 140 | + src = fetchgit ( removeAttrs (builtins.fromJSON ''{ |
| 141 | + "url": "https://github.com/leafo/pgmoon.git", |
| 142 | + "rev": "7b7ef2a3f17d32881c61f0fb258d2ee01718942c", |
| 143 | + "date": "2022-11-22T14:49:59-08:00", |
| 144 | + "path": "/nix/store/jjyf1rij16mlqfx55rrpwadcnn8mf663-pgmoon", |
| 145 | + "sha256": "1ifivvkkqwcgp9s9ynlb394973mbhwgs9yvalbyn3170n78msacb", |
| 146 | + "hash": "sha256-iyld0bHghGH9omr7pB+Hq46TSBqLWp90uo9xPOfe0cU=", |
| 147 | + "fetchLFS": false, |
| 148 | + "fetchSubmodules": true, |
| 149 | + "deepClone": false, |
| 150 | + "leaveDotGit": false |
| 151 | +} |
| 152 | + '') ["date" "path"]) ; |
| 153 | + |
| 154 | + disabled = (luaOlder "5.1"); |
| 155 | + propagatedBuildInputs = [ lpeg lua ]; |
| 156 | + |
| 157 | + meta = { |
| 158 | + homepage = "https://github.com/leafo/pgmoon"; |
| 159 | + description = "Postgres driver for OpenResty and Lua"; |
| 160 | + license.fullName = "MIT"; |
| 161 | + }; |
| 162 | +}) {}; |
| 163 | + |
| 164 | + |
| 165 | +} |
| 166 | +/* GENERATED - do not edit this file */ |
0 commit comments