Commit Graph

59 Commits

Author SHA1 Message Date
Matthieu Coudron
6aaf666aaa bumped luarocks-nix 2022-09-04 20:55:40 +02:00
Matthieu Coudron
bb22a35529 luarocks: 3.9.0 -> 3.9.1 2022-09-04 20:55:40 +02:00
Sergei Trofimovich
f59fcefd8d luarocks: explicitly set 'configurePlatforms = [ ];'
Without the change build with `config.configurePlatformsByDefault = true`
fails as:

    Error: Unknown flag: --build=x86_64-unknown-linux-gnu
2022-06-23 09:04:08 +01:00
Matthieu Coudron
77a0e5f36e luarocks: 3.8.0 -> 3.9.0
pass the config to the luarocks binary

also bumps luarocks-nix: bump package due to the luarocks rebase
2022-06-13 11:17:24 +02:00
Matthieu Coudron
8bb4179147 luarocks: 3.2 -> 3.8 2022-03-29 03:27:53 +02:00
Matthieu Coudron
2c338f5122 luarocks-nix: bump 2022-03-29 03:18:46 +02:00
Felix Buehler
ae45cea36e treewide: remove all .upstream files 2022-01-30 23:02:53 +01:00
Felix Buehler
09e3b7a570 treewide: remove all updateWalker/downloadURLRegexp 2022-01-26 21:46:08 +01:00
Matthieu Coudron
253af9151f luaPackages: update
- luarocks-nix: bumped to pass args too, `package_X = callPackage ...`.
  It allows to remove the annoying `with self`.
  This new version disables tests (because broken) and now emits derivation
  with a callPackage in front.
- replaced X.override with lib.overrideLuarocks, it should be used
whenever buildInputs/extraVariables is changed since it impacts the
generated luarocks config.
Once structured attributes are in, it will be easier to have the
luarocks config generated by a hook and we probably will be able to
replace all overrideLuarocks by overrideAttrs.
2021-10-18 19:48:07 +02:00
Michael Raskin
397b649283 luaPackages.luarocks-3_7: init so that the reverted update can be accessed if desired 2021-10-16 20:57:36 +02:00
Michael Raskin
5c93a7780a Revert "luarocks: 3.2.1 -> 3.7.0"
This reverts commit eec90bc9d5.

See discussion in:
  https://github.com/NixOS/nixpkgs/pull/141718
  https://github.com/NixOS/nixpkgs/pull/80528
2021-10-16 20:54:36 +02:00
Aman Verma
eec90bc9d5 luarocks: 3.2.1 -> 3.7.0 2021-10-15 02:14:05 -04:00
Michael Raskin
e4f82b3722
Merge pull request #136507 from teto/luarocks-completion
luarocks: add bash/zsh completion
2021-09-03 06:02:00 +00:00
Matthieu Coudron
a9667fc80f luarocks: add bash/zsh completion 2021-09-02 22:57:06 +02:00
Matthieu Coudron
e62a0eac8f buildLuarocksPackage: cleanup 2021-08-31 22:16:28 +02:00
Matthieu Coudron
1d22aed041 luarocks-nix: bumped luarocks-nix
this new version removes support of src.rock but now supports rockspecs embedded in a repo. The goal is to be able to support neovim plugins that provide a rockspec, even when they are not registered on luarocks.
2021-08-31 01:01:56 +02:00
Matthieu Coudron
15e5c92495 luaPackages: update 2021-08-31 00:07:28 +02:00
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