Commit Graph

7 Commits

Author SHA1 Message Date
Matthieu C.
5f3faeb529 luarocks-packages-updater: move to by-name 2024-08-25 18:12:18 +02:00
Matthieu C.
35e972e3a4 vimPluginsUpdater: make development easier
`nix develop .#vimPluginsUpdater` now lets you enter a shell where you
can run `pkgs/applications/editors/vim/plugins/update.py` and
iteratively develop !

- removed `warn` warning from python by using `warning` instead
- `plugin2nix` was calling the same bit of code over and over thus
  slowing down the generator by a lot
2024-07-15 10:31:28 +02:00
Matthieu Coudron
80011bef3c luaPackages: update on 2024-04-21
luaPackages.rlua-toml: fix overrides

luaPackages.dkjson: rollback changes

because of this checksum issue...

luaPackages: update on 2024-04-29
2024-05-01 00:11:50 +02:00
Matthieu C.
9e22d74930 luarocks-packages.csv: changed repo by rockspec uri
This is a breaking change that converts the 'src' csv column (a git URI) to a 'rockspec'
fullpath uri.
before this, luarocks-nix would clone the repo and look for rockspecs
with a brittle algorithm. This removes the ambiguity on which rockspec
to package while allowing to remove a bunch of brittle code from
luarocks-nix.
2024-05-01 00:11:49 +02:00
Mathew Polzin
8042fcecd0 doc: update name of luarocks update package in codedoc 2024-04-06 20:40:27 +02:00
Matthieu Coudron
8e9d4495c7 luarocks-packages-updater: silence some warnings
The script used to output:

```
Warning: Lua 5.1 interpreter not found at /nix/store/w577gc82dg7r1p480pp1kjbq7i32lhh2-lua-5.2.4
```
not sure why luarocks outputs since since it works nevertheless

added .flake8 so that the editor can pick it up too.
2023-12-17 22:44:40 +01:00
Matthieu Coudron
f15e58cbeb
luarocks-packages-update: init (#262156)
* luarocks-packages-updater: init

Goal is to make it possible to maintain out-of-tree luarocks packages
without needing to clone nixpkgs.

maintainers/scripts/update-luarocks-packages gets renamed to
pkgs/development/lua-modules/updater/updater.py

Once merged you can run for instance
nix run nixpkgs#luarocks-packages-updater -- -i contrib/luarocks-packages.csv -o contrib/generated-packages.nix

I also set the parallelism (--proc) to 1 by default else luarocks fails
because of https://github.com/luarocks/luarocks/issues/1540

* Update maintainers/scripts/pluginupdate.py

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>

---------

Co-authored-by: Marc Jakobi <mrcjkb89@outlook.com>
2023-10-29 21:02:55 +01:00