Commit Graph

240 Commits

Author SHA1 Message Date
Janne Heß
cad704c42a luaPackages.json: Init at 0.1.2 2026-07-09 11:30:45 +02:00
Marc Jakobi
4eff3206a0 luaPackages.vicious: build with luarocks 2026-05-31 22:18:48 +02:00
Marc Jakobi
b9d4b037e2 luaPackages.vicious: 2.6.0 -> 2.7.1 2026-05-29 19:12:01 +02:00
makefu
3d23c0560a luaPackages.vicious: update changelog url
contributes to #514132
2026-04-30 13:13:55 +02:00
Matthieu Coudron
1c8355b14e luaPackages.lua-https: init at 0-unstable-2025-02-28 (#503542) 2026-04-26 12:05:18 +00:00
Ulysses Zhan
a8d1958fbc luaPackages.lua-https: init at 0-unstable-2025-02-28
Signed-off-by: Ulysses Zhan <UlyssesZhan@gmail.com>
2026-04-25 17:07:48 -07:00
Stefan Frijters
3439f9f9f8 luaPackages.lua-pam: move env variable into env for structuredAttrs 2026-03-23 16:50:21 +01:00
Michael Daniels
f673b2e6c3 Merge remote-tracking branch 'upstream/staging-next' into staging 2026-01-31 19:55:01 -05:00
Sandro Jäckel
6fda86789f luaPackages.readline: move out of overrides 2026-01-31 23:50:05 +00:00
Sandro Jäckel
4861f9d032 luaPackages.image-nvim: 1.3.0-1 -> 1.4.0 2026-01-31 23:50:05 +00:00
nixpkgs-ci[bot]
7673a2fb77 Merge staging-next into staging 2026-01-26 00:20:52 +00:00
teto
3485f095ad bustedCheckHook: init and convert luaPackages to use it
- add bustedCheckHook in the nativeCheckInputs and busted will run when
  doCheck is enabled. You can customize its call via "bustedFlags" and
  prevent it from running with "dontBustedCheck". If "nlua" is
  available, busted will automatically run busted with nlua as
  interpreter (already done in lux). Goal is to standardize the writing
  of tests so that if feels less like copy & paste.
- removed the default checkPhase from buildLuarocksPackage which was
  running "luarocks test". None of the plugins was using as far as I
  know  because no plugin out there (maybe 2 or 3) uses that ? it could
  be considered a breaking change but in practice I dont think it is.
2026-01-23 17:32:33 +01:00
Artturin
b596934b7a luaPackages.wrapLua: Fix the wrapper on cross
The wrapper was using a makeWrapper targeting the buildPlatform

This is a leftover from a fix I did before I converted luaPackages to
use makeScopeWithSplicing

Fixes: https://www.github.com/NixOS/nixpkgs/issues/481454
2026-01-19 01:24:22 +02:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
André Schröder
09caabb4ec luaPackages.lua-resty-core: 0.1.31 -> 0.1.32 2025-11-11 03:04:31 +01:00
Alex Epelde
986d621826 luaPackages.lua-resty-core: 0.1.28 -> 0.1.31 2025-10-27 17:24:48 -04:00
Alex Epelde
68d3e4fa94 luaPackages.lua-resty-lrucache: 0.13 -> 0.15 2025-10-27 17:24:48 -04:00
Wolfgang Walther
90e7159c55 treewide: remove unused rec
Auto-fix by nixf-diagnose.
2025-10-05 10:49:12 +02:00
Wolfgang Walther
236cf1200e lua{54,Jit}Packages.lua-pam: mark as broken
Removes the roll-your-own-broken-attribute that `disabled` was. The
advantage of `meta.broken`: It can be caught and properly handled by CI,
while the custom `throw` can not.
2025-07-19 13:04:47 +02:00
Gaétan Lepage
d12267ab0a luaPackages.luv: 1.48.0-2 -> 1.50.0-1 (#393966) 2025-04-26 09:13:12 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Stanislav Asunkin
51934865ad luaPackages.luv: use manual packaging
* add tests
* add update script
* build with shared libluv
2025-04-03 23:32:32 +03:00
Aaron VerDow
fc85aa1066 awesome-wm-widgets: init at 0-unstable-2024-02-15 2025-02-19 11:45:09 -06:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Jan Tojnar
b69ed4249d zenity: Move from gnome scope to top-level
It is widely used outside gnome, not much inside.
2024-07-01 08:26:47 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Matthieu C.
2ea757a029 luaPackages.luarocks: generate luarocks as well
When installing a lua package that depends on luarocks, luarocks was not
capable of recognizing the luarocks module: https://github.com/NixOS/nixpkgs/issues/316009 .

As explained here https://github.com/luarocks/luarocks/issues/1659,
luarocks needs a manifest to recognize the package.
I first attempted to generate a manifest with `luarocks-admin
make-manifest` on our current manual luarocks derivation but this ended
up being too hackish as the `make-manifest` requires a .rockspec or
.rock to work, which we had not.

It seemed simpled to just rename the current manual luarocks derivation to luarocks_bootstrap
in order to break cyclic dependencies in buildLuarocksPackage and add a
generated luarocks derivation. Previously it was impossible to test
luarocks because of the cyclic dependency but we will now be able to
test the generated derivation.
2024-05-31 19:59:29 +02:00
Matthieu C.
6427d04c23 lua:: reworked setup-hook to source utils.sh
which contains lua shell utilities that can be reused during the
creation of an environment.
Makes sense because the generation of LUA_PATH is a bit different than
other ecosystems.
2024-05-01 00:18:44 +02:00
Elliot Cameron
a876233b9a luaPackages.lua-resty-core: 0.1.24 -> 0.1.28 2024-04-23 15:18:35 +02:00
traxys
775b3f7585 luaPackages.lua-pam: init at unstable-2015-07-03 2024-01-07 18:08:33 +01:00
github-actions[bot]
449a683b10 Merge master into staging-next 2023-07-24 00:02:26 +00:00
Sandro Jäckel
cf6c96533b treewide: reduce packages I maintainer 2023-07-23 19:30:22 +02:00
github-actions[bot]
88e224380c Merge staging-next into staging 2023-07-10 12:01:51 +00:00
Matthieu Coudron
34b3a809ef buildLuarocksPackage: rename file to match its role 2023-07-10 10:34:34 +02:00
Matthieu Coudron
d87a6a99f6 luarocks: can be embedded with lua.withPackages
lua.withPackages only brings packages that have passthru.luaModule, which was not the case of luarocks (because it's built differently than other lua packages). We call toLuaModule on luarocks so that it is brought in a lua.withPackages call
2023-07-08 19:56:05 +02:00
Nguyễn Gia Phong
e0d77b1e3c luaPackages.vicious: 2.5.1 -> 2.6.0 2023-01-09 15:21:28 +09:00
zowoq
2c4b97d6a0 Revert "luaPackages.lsqlite3complete: init at 0.9.5-1"
This reverts commit 776bc0a8a5.

broke eval
2023-01-02 21:03:17 +10:00
Spencer Pogorzelski
776bc0a8a5 luaPackages.lsqlite3complete: init at 0.9.5-1 2023-01-02 11:47:50 +01:00
Sandro Jäckel
e33fb7418d luaPlugins.lua-resty-core: init at 0.1.24 2022-12-26 03:07:48 +01:00
Sandro Jäckel
40ff955c07 luaPlugins.lua-resty-lrucache: init at 0.13 2022-12-26 03:07:45 +01:00
Sandro Jäckel
2ffe90fd2e luaPlugins: cleanups 2022-12-21 20:31:44 +01:00
Travis A. Everett
2aedc956a6 luaPackages.nfd: fix build on darwin 2022-12-09 15:33:24 -06:00
Artturin
39571bd6fa luaPackages: copy passthruFun from python 2022-08-26 20:55:30 +03:00
Artturin
ec35f6341b lua-packages: try splicing 2022-08-26 20:04:02 +03:00
Artturin
f0ba59156f lua-packages.nix: remove unused args 2022-08-26 20:04:01 +03:00
Artturin
b1f80738f1 lua-packages.nix: run nixpkgs-fmt 2022-08-26 20:04:01 +03:00