Commit Graph

42 Commits

Author SHA1 Message Date
Matthieu Coudron
9a70fbc593 luarocks-nix: nix_v3.5.0 -> nix_v3.5.0-1
that changes some rules as how to normalize nix names
2021-07-30 00:32:16 +02:00
Felix Buehler
87316d778b various: cleanup of "inherit version;" 2021-07-18 00:19:24 +02:00
Andrew Childs
2316ada93f luarocks: use targetPlatform.darwinMinVersion as default 2021-04-11 09:47:10 +09:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Sandro
c58219fff6
Merge pull request #110467 from teto/luarocks-update 2021-01-24 03:18:07 +01:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Matthieu Coudron
2db2a966ea luarocks-nix: update 20190907 -> 20210122
rebased on top of luarocks 3.5
2021-01-22 22:47:26 +01:00
Bernardo Meurer
81461cff5f
Revert "Merge pull request #79750 from doronbehar/update-luarocks"
This reverts commit 0566b5ce19, reversing
changes made to 4d6e3bf127.
2020-03-01 18:39:58 -08:00
Doron Behar
d4f09b6590 luarocks: 3.2.1 -> 3.3.1 2020-02-10 19:45:36 +02:00
Matthieu Coudron
2edf9a0332 luarocks-nix: fix generation when missing license
vstruct rockspec doesnt contain a license, which made luarocks-nix
crash. Bump luarocks nix to fix this.
2020-01-25 19:39:28 +01:00
Matthieu Coudron
59d65e23e1
Merge pull request #68258 from teto/luarocks-nix_bump
Moved luarocks-nix to community and leverage luarocks mirrors when possible.
2019-09-09 12:41:54 +09:00
Matthieu Coudron
4a3189085a luarocks-nix: bump to 2019-09-07
added version and transferred the repostiory to nix-community.
With this bump, luarocks-nix generates mirro://luarocks urls.
2019-09-08 01:14:16 +09:00
Doron Behar
18b783b9bd luarocks: 3.1.3 -> 3.2.1 2019-09-07 23:53:48 +09:00
Lily Ballard
45e6253678 luarocks: Update detected platform version
Now that our MACOSX_DEPLOYMENT_TARGET is set to 10.12, we shouldn't be
hardcoding the platform at build time as 10.10. This change makes it
inherit the MACOSX_DEPLOYMENT_TARGET value.
2019-08-15 23:10:10 +09:00
Alexei Robyn
f8efece8e7 luarocks: 3.0.4 -> 3.1.3
The newer version silences some superfluous warnings we were previously
getting in Nix builds using luarocks.
2019-06-13 20:52:34 +10:00
Alexei Robyn
00622f144e luarocks-nix: Bump to version that supports --maintainers argument 2019-06-13 20:03:25 +10:00
Matthieu Coudron
441ef28ac5 luarocks-nix: update that fixes indentation
Finally fixes indentation.
- removed buildType as it was not used
- doesn't crash on missing description anymore
2019-06-04 18:57:36 +09:00
Will Dietz
6975dee942 luarocks-nix: update for formatting fixes 2019-04-28 10:10:50 -05:00
Matthieu Coudron
68a72f1a47 luarocks-nix: bump to match luarocks
Also made changes to lua package generation system to account for packages like cqueues
that have one version per lua interpreter.
The csv file also accepts comments now.
2019-03-07 17:43:07 +09:00
Matthieu Coudron
c37b8925ba luarocks: 2.4.4 -> 3.0.4
Some new features like test_dependencies/build_dependencies and flags ( --lua-versions)
that should make nix integration easier:
https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md
2019-03-07 17:43:07 +09:00
Michael Raskin
3aae18f7dd luarocks: fix meta after refactoring, thanks to @peti for mentioning 2019-03-06 12:31:06 +01:00
Michael Raskin
73a82dcc44 luarocks: switch to a less intrusive update-walker metadata style 2019-03-06 11:54:21 +01:00
Daiderd Jordan
4195766cea
luarocks: remove unzip from setup-hook
The unzip variable is only set if it's an attribute and it's a
propagated input so it is already part of PATH.
2019-02-11 21:38:10 +01:00
Daiderd Jordan
be1291e11b
luarocks: patch sw_vers and gcc on darwin
The sw_vers binary is not part of the stdenv and it would make builds
impure based on what macOS version they where built on.
2019-02-11 21:38:09 +01:00
Matthieu Coudron
2ba891788b Lua generate nix packages from luarocks (#54978)
* 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
2019-02-04 11:30:58 +00:00
Matthieu Coudron
15a8719d40 luarocks-nix: init
luarocks-nix is a fork of luarocks that adds a "nix" command capable of
converting luarocks package descriptions into nix derivations (though nixpkgs is
still missing the lua infrastructure).
2019-01-22 16:52:43 +09:00
Matthieu Coudron
d7a48fc80d luarocks: support more usage
better support for luarocks in a shell (helpful to develop on luarocks).
Also adds unpacker for src.rock/rockspec files.
Also allows to use luarocks to build cmake based rocks.
2019-01-22 16:52:43 +09:00
Ryan Mulligan
1a4b6a6d41 lua51Packages.luarocks: 2.4.3 -> 2.4.4
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks --help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks --version` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks --help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 --help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 --version` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 --help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-5.1 help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin --help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin --version` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin --help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 --help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 help` got 0 exit code
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 --version` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 --help` and found version 2.4.4
- ran `/nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4/bin/luarocks-admin-5.1 help` and found version 2.4.4
- found 2.4.4 with grep in /nix/store/az3lanws83s5q26z1s03rx6z6yxphjbq-luarocks-2.4.4
- directory tree listing: https://gist.github.com/cb3889fda28e8066faebd32a433c69d2
2018-03-20 16:38:20 -07:00
Michael Raskin
84f8ba819e luarocks: 2.4.2 -> 2.4.3 2017-11-11 15:31:42 +01:00
Michael Raskin
16ea6c7439 luarocks: 2.4.0 -> 2.4.2 2017-01-02 20:18:51 +01:00
Alexei Boronine
a7347d9e9c luarocks: enable Darwin 2016-12-18 04:04:56 +08:00
Michael Raskin
f5375a5a9d luarocks: 2.3.0 -> 2.4.0 2016-09-26 15:49:30 +02:00
Michael Raskin
761340140c luarocks: 2.2.2 -> 2.3.0 2016-01-01 12:30:17 +03:00
Michael Raskin
d1d2a9856c Update luarocks 2015-05-10 13:36:45 +03:00
Michael Raskin
c64b5270fe update luarocks 2015-03-21 21:29:39 +03:00
Michael Raskin
8da8c805bb Update luarocks 2014-08-14 10:14:21 +04:00
Michael Raskin
97c61e9a44 Updating LuaRocks 2014-05-28 01:33:28 +04:00
Michael Raskin
dc4d698e22 Update LuaRocks 2014-03-08 21:13:00 +04:00
Michael Raskin
5c90e785b2 Updating LuaRocks to 2.1.1 2013-11-25 10:59:38 +04:00
Michael Raskin
20e8f46022 Updating luarocks to 2.1.0 2013-10-20 21:08:09 +04:00
Evgeny Egorochkin
8a2da95255 luarocks: fix version to match tarball 2013-07-14 02:08:49 +03:00
Michael Raskin
eb946b4795 Luarocks: new package 2013-06-07 14:05:13 +04:00