about summary refs log tree commit diff
path: root/pkgs/development/interpreters/lua-5
Commit message (Collapse)AuthorAge
* treewide: Per RFC45, remove all unquoted URLsMichael Reilly2020-04-10
|
* buidLuarocksPackage: add a checkPhaseMatthieu Coudron2020-02-26
|
* buildLuarocksPackage: extraVariables is now an attrsetMatthieu Coudron2020-02-26
|
* build-lua-package: dont patchShebangs folderMatthieu Coudron2020-02-25
| | | | | It can be source of trouble for some read-only folders (libluv for instance) and slow down install.
* lua5: Fix src URLsChuck2020-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | The 672c3c1d2a8ed40c1ef6bd29823af6a8c915584c refactor accidentally dropped the last version component from the source URLs. This change puts its back. $ for lua in lua5_{1,2,3};do nix-instantiate --json --eval . -A $lua.src.urls | jq -r '.[]' | xargs nix-prefetch-url; done Before this change: lua-5.1.tar.gz 1hbjhh211p82vhwqhx4mmhmvhv56060acnka80gbmfdk3q3bjnvz (wrong hash because this is lua 5.1.0. We want 5.1.5 ) lua-5.2.tar.gz HTTP error 404 lua-5.3.tar.gz HTTP error 404 After this change: lua-5.1.5.tar.gz 0cskd4w0g6rdm2q8q3i4n1h3j8kylhs3rq8mxwl9vwlmlxbgqh16 lua-5.2.4.tar.gz 0jwznq0l8qg9wh5grwg07b5cy3lzngvl5m2nl1ikp6vqssmf9qmr <-- Desired hash lua-5.3.5.tar.gz 1b2qn2rv96nmbm6zab4l877bd4zq7wpwm8drwjiy2ih4jqzysbhc Converted to base16 with `nix-hash --type sha256 --to-base16`: lua-5.1.5.tar.gz 2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333 <-- Desired hash lua-5.2.4.tar.gz b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b lua-5.3.5.tar.gz 0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac <-- Desired hash
* Merge remote-tracking branch 'upstream/master' into wrapper-pname-supportJohn Ericson2019-11-24
|\
| * Merge pull request #73946 from Ericson2314/fix-lua-envJohn Ericson2019-11-23
| |\ | | | | | | lua wrapper: Fix bash error
| | * lua wrapper: Fix bash errorJohn Ericson2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recently, we made it harder for external code to use some stdenv-only bash variables by unsetting them in [1] But Lua's `withPackages` was sourcing some setup hooks in [2], which required those bash variables. I say great! We caught something bad: Lua should use normal dependencies, even though that is harder with `buildEnv`. Now it works that way, and everything is fine. [1]: https://github.com/NixOS/nixpkgs/blob/9d3911f806034197bb7ace586cc3696ffce7f447/pkgs/stdenv/generic/setup.sh#L574-L578 [2]: https://github.com/NixOS/nixpkgs/blob/9d3911f806034197bb7ace586cc3696ffce7f447/pkgs/development/interpreters/lua-5/wrapper.nix#L23-L27 CC @matthewbauer
| * | lua-5.3: add patch for CVE-2019-6706Christian Kauhaus2019-11-21
| |/ | | | | | | | | | | | | | | Taken from http://launchpadlibrarian.net/417853567/lua5.3_5.3.3-1_5.3.3-1ubuntu0.18.10.1.diff.gz and adapted to our needs. Re #54799
| * Merge staging-next into stagingFrederik Rietdijk2019-11-11
| |\
| | * lua5_1: rename patch file to match its CVE idPierre Bourdon2019-10-02
| | |
| * | lua-5 setup hook: LUA_PATH and LUA_CPATH can be undefinedJohn Ericson2019-11-08
| |/
* / treewide: Get rid of most `parseDrvName` without breaking compatJohn Ericson2019-11-24
|/ | | | | That is because this commit should be merged to both master and release-19.09.
* lua*Packages: Consolidate separate setup hooks togetherAlexei Robyn2019-09-01
| | | | | | | | | | | | | | | - Lua packages now consistently use LUA_PATH/LUA_CPATH rather than a mix of those and NIX_LUA_PATH/NIX_LUA_CPATH - Lua libraries are now consistently only added to the search path variables if: 1) The library actually has a corresponding directory to search 2) The library is not already present in the search path This should help prevent the search paths from growing overly large - Fixed bugs in some path helpers - Changed the affected shell script indentation to 2 spaces; nixpkgs shell scripts are inconsistently split between 2 and 4 space indentation, but 2 matches better with the Nix expressions, so IMO it makes more sense
* Merge staging-next into stagingFrederik Rietdijk2019-08-31
|\
| * Merge master into staging-nextFrederik Rietdijk2019-08-31
| |\
| | * remove empty nix filezimbatm2019-08-31
| | | | | | | | | | | | | | | | | | Nix repl hangs when evaluating empty files. find -name "*.nix" -empty -delete
* | | treewide: remove redundant recvolth2019-08-28
|/ /
* | Merge branch 'master' into staging-nextVladimír Čunát2019-08-24
|\| | | | | | | | | | | | | | | | | | | There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
| * lua: fix cross-compilation; fixes #66742Vika2019-08-19
| | | | | | | | | | The makefile isn't able to find the toolchain when cross-compiling. I helped it a little bit by adding the parameters explicitly.
* | treewide: name -> pname (easy cases) (#66585)volth2019-08-15
|/ | | | | | | | | treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
* luajitPackages: Improve derivation namesAlexei Robyn2019-06-24
| | | | | | | `"lua" + lua.luaversion + "-"` resolves to "lua51-" for both Lua 5.1 and LuaJIT packages. With this, LuaJIT packages instead get `lua.name + "-"`, which currently resolves to "luajit-2.1.0-beta3-". This makes it easy to distinguish the two in store paths etc.
* Merge pull request #63108 from Shados/lua-packaging-improvements-prMatthieu Coudron2019-06-19
|\ | | | | Lua/luarocks packaging improvements
| * buildLuarocksPackage: Several improvementsAlexei Robyn2019-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of main changes: - Now makes use of luarocks dependency resolution (builds will fail if rockspec dependencies are unmet) - Renamed argument `external_deps` -> `exernalDeps` and add functionality to handle external dependencies that are multiple-output derivations - Added an `extraVariables` argument for appending to the contents of luarocks config `variables` table - The `rockspecFilename` argument default is now actually used - The `disabled` argument can now be overriden with a less-restrictive check, as it now just sets `meta.broken` instead of throwing an error during eval - The `doCheck` argument is now actually honored if set to `true`
* | treewide: remove unused variables (#63177)volth2019-06-16
|/ | | | | | * treewide: remove unused variables * making ofborg happy
* lua: removed zip.nix orphan fileMatthieu Coudron2019-06-05
| | | | | I couldn't find any reference to it and luazip was already packaged in lua-packages.nix (now generated).
* fix lua53Packages.luaWill Dietz2019-04-27
|
* lua: merge lua5.X interpreters (#59919)Matthieu Coudron2019-04-27
| | | | | | lua: merge lua5.X interpreters similar to what was done for python. Makes it easier to change the passthru settings and the lua infrastructure.
* buildLuarocksPackage: forcefully create $outMatthieu Coudron2019-04-14
| | | | Allows to work around https://github.com/luarocks/luarocks/issues/988 on darwin
* buildLuarocksPackage: adjust the manifest pathMatthieu Coudron2019-03-08
| | | | the new luarocks 3.0.4 uses different paths for the manifests, hence creating new collisions.
* lua: run postConfigure hook for rock and rockspecMatthieu Coudron2019-03-07
| | | | it was previously run only for src.rock
* Lua generate nix packages from luarocks (#54978)Matthieu Coudron2019-02-04
| | | | | | | | | | | | | | * lua: generate packages from luarocks * luarocks-nix: update * removed packages already available in nixpkgs * adressing reviews update script can now accept another csv file as input with -c * Remove obsolete comment
* lua-5 setup-hook: quiet noisy 'cd -' printing path repeatedlyWill Dietz2019-01-30
|
* lua: add withPackages function (#54460)Matthieu Coudron2019-01-30
| | | | | | | * lua: add withPackages function First step towards more automation similar to the haskell backend. Follow up of https://github.com/NixOS/nixpkgs/pull/33903
* lua: 5.2.3 -> 5.2.4 (#47126)Christian Kauhaus2018-09-22
| | | Lua 5.2.4 is the EOL point release of the 5.2 series.
* lua: remove lua4 and lua5_0Christian Kauhaus2018-09-21
| | | | | | | | | | Both versions are not maintained anymore upstream and have open security issues, e.g. https://nvd.nist.gov/vuln/detail/CVE-2014-5461. The same holds for lua5_1 but that seems to be in use in some places. Re #47122 Re #47123
* Merge #43141: lua-5.3 and lpeg updatesVladimír Čunát2018-07-21
|\
| * lua5_3: update interpreter version 5.3.4 -> 5.3.5Philipp Gesang2018-07-11
| | | | | | | | | | | | | | Update to the most recent version of the 5.3 series that was released yesterday. Signed-off-by: Philipp Gesang <phg@phi-gamma.net>
* | pkgs/*: remove unreferenced function argumentsvolth2018-07-21
|/
* Merge pull request #42473 from roosemberth/lua53-pkgconfigMatthew Bauer2018-07-05
|\ | | | | lua5.3/pkgconfig: add lua5.3.pc
| * lua5.3/pkgconfig: add lua5.3.pcRoosembert Palacios2018-06-24
| | | | | | | | | | | | | | Some applications try to build using `pkgconfig lua5.3 --libs...` as some major distributions use this name. Add a symlink to the lua.pc pkgconfig file. Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
* | treewide: http -> https sources (#42676)Silvan Mosberger2018-06-28
|/ | | | | | | | | * treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
* lua5.1: fix broken source fetch (#40748)Benjamin Hipple2018-05-19
| | | | | The upstream src URL for the patch appears to no longer exist. Per discussion in https://github.com/NixOS/nixpkgs/issues/39927, the upstream URL is not stable, so this commit inlines the patch in the nixpkgs src tree.
* lua-{5.2,5.3}: cross fixups, drop crossAttrsWill Dietz2018-03-21
| | | | | | | | | | | mostly just forward environment variables to make arguments, this partially reverts 5d1e51a199917fa945cb59567597e354c6e4f56d which removed them because they're already set in env-- but that's not enough to override make vars. Also, readline is buildInput not nativeBuildInput (we need headers and to link against it)
* lua: Fix cross-compilationBen Gamari2018-02-13
|
* maintainers: remove mornfall from packagesYegor Timoshenko2018-01-17
|
* lua-5: isMingw -> isMinGWWill Dietz2018-01-09
|
* Merge pull request #31006 from florianjacob/prosodyOrivej Desh2017-12-09
|\ | | | | Improvements for Prosody
| * lua-filesystem: remove flosse from the list of maintainersMarkus Kohlhase2017-11-06
| |
* | lua5_1: provide versionOrivej Desh2017-11-29
|/