Commit Graph

8879 Commits

Author SHA1 Message Date
Weijia Wang
5f5062d1ef Merge branch 'master' into staging-next 2024-02-23 05:09:55 +01:00
Thiago Kenji Okada
8d40d6f4e1
Merge pull request #290639 from r-ryantm/auto-update/babashka-unwrapped
babashka-unwrapped: 1.3.188 -> 1.3.189
2024-02-22 16:08:21 +00:00
Martin Weinelt
faadcf03b6
Merge pull request #289531 from mweinelt/python312full-bluez
cpython: allow full variant on all platformns where bluez is available
2024-02-22 16:37:11 +01:00
R. Ryantm
00f70f03b7 babashka-unwrapped: 1.3.188 -> 1.3.189 2024-02-22 14:47:07 +00:00
github-actions[bot]
e98fe116d8
Merge master into staging-next 2024-02-21 12:01:10 +00:00
Mario Rodas
be2e6cc72d
Merge pull request #290314 from r-ryantm/auto-update/wasmtime
wasmtime: 17.0.1 -> 18.0.1
2024-02-21 05:00:04 -05:00
R. Ryantm
1b109bf79a wasmtime: 17.0.1 -> 18.0.1 2024-02-20 23:48:15 +00:00
R. Ryantm
f996174da0 jruby: 9.4.5.0 -> 9.4.6.0 2024-02-20 18:42:36 +00:00
github-actions[bot]
ba5eeff4f5
Merge master into staging-next 2024-02-20 06:01:15 +00:00
Martin Weinelt
fa83add1b9
Merge pull request #271597 from adisbladis/python-runtime-build-time-sep
python3.pkgs.buildPythonPackage: Separate runtime & build time dependencies
2024-02-20 05:05:20 +01:00
github-actions[bot]
2d9ce4a9af
Merge master into staging-next 2024-02-19 18:01:11 +00:00
R. Ryantm
02759ac1db expr: 1.16.0 -> 1.16.1 2024-02-18 10:22:24 +00:00
github-actions[bot]
68a2e7449b
Merge staging-next into staging 2024-02-18 06:01:34 +00:00
Martin Weinelt
35c5863c29
Merge pull request #271961 from adisbladis/python-pypaBuildHook-tests
python3.pkgs.pypaBuildHook: Fix passthru.tests
2024-02-18 06:05:26 +01:00
adisbladis
4d0cca4654 mk-python-derivation: Add build-system argument
Much like the previous commit that adds dependencies &
optional-dependencies this aligns PEP-517 build systems with how they
are defined in PEP-518/PEP-621.

The naming `build-system` (singular) is aligned with upstream Python standards.
2024-02-18 17:40:42 +13:00
adisbladis
b9138b7c07 mk-python-derivation: Add dependencies & optional-dependencies arguments
Since https://github.com/NixOS/nixpkgs/pull/161835 we've had the
concept of `passthru.optional-dependencies` for Python optional deps.

Having to explicitly put optional-dependencies in the passthru attrset
is a bit strange API-wise, even though it semantically makes sense.

This change unifies the handling of non-optional & optional Python
dependencies using the names established from PEP-621 (standardized pyproject.toml project metadata).
2024-02-18 17:40:42 +13:00
github-actions[bot]
2ad339408a
Merge staging-next into staging 2024-02-18 00:02:44 +00:00
Pavol Rusnak
6f9f08d3a6
Merge pull request #289371 from nagy/nagy/micropython 2024-02-17 19:15:45 -03:00
github-actions[bot]
8bc9edd60d
Merge staging-next into staging 2024-02-17 18:01:24 +00:00
Mario Rodas
c06b377b63
Merge pull request #288463 from MidAutumnMoon/ruby-finalattrs
ruby: replace `rec {}` with `finalAttrs` & make overriding possible
2024-02-17 11:28:27 -05:00
Matthieu Coudron
50e877ed89 buildLuarocksPackage: accept structured luarocks config
There is an arbitrary mapping being done right now between
nixpkgs lua infrastructre and luarocks config schema.
This is confusing if you use lua so let's make it possible to use the
lua names in the nixpkgs, thanks to the lib.generators.toLua convertor.

The only nixpkgs thing to remember should be to put the config into `luarocksConfig`

`buildLuarocksPackage.extraVariables` should become `buildLuarocksPackage.luarocksConfig.variables`
2024-02-17 15:58:13 +01:00
Martin Weinelt
bc775ec0dd
cpython: allow full variant on all platformns where bluez is available
Closes: #289113
2024-02-17 14:05:32 +01:00
Daniel Nagy
baed3bc2a0
micropython: 1.21.0 -> 1.22.1
Also install mpy-cross, since we are already building it.
2024-02-17 12:45:00 +01:00
adisbladis
e23b901321 python3.hooks: Dont completely overwrite passthru when creating setup hook 2024-02-17 21:19:26 +13:00
adisbladis
48a49f76d7 python3.pkgs.pypaBuildHook: Fix passthru.tests 2024-02-17 21:19:24 +13:00
Mario Rodas
f04eaa26a8 luau: 0.612 -> 0.613
Diff: https://github.com/luau-lang/luau/compare/0.612...0.613

Changelog: https://github.com/luau-lang/luau/releases/tag/0.613
2024-02-17 04:20:00 +00:00
github-actions[bot]
6d90f72388
Merge staging-next into staging 2024-02-16 18:01:48 +00:00
R. Ryantm
f9fc9264db cel-go: 0.19.0 -> 0.20.0 2024-02-16 02:23:06 +00:00
github-actions[bot]
b84d283f08
Merge staging-next into staging 2024-02-16 00:02:45 +00:00
Pol Dellaiera
7323b4ae72
php83: 8.3.2 -> 8.3.3
Diff: https://github.com/php/php-src/compare/php-8.3.2..php-8.3.3
Changelog: 3a832a2aad/NEWS (L3)
2024-02-15 22:03:29 +01:00
Pol Dellaiera
728d5991d9
php82: 8.2.15 -> 8.2.16
Diff: https://github.com/php/php-src/compare/php-8.2.15..php-8.2.16
Changelog: abf6a8a89d/NEWS (L3)
2024-02-15 21:59:08 +01:00
github-actions[bot]
14262b89f6
Merge staging-next into staging 2024-02-15 12:01:37 +00:00
R. Ryantm
cb1b73c031 erlang_24: 24.3.4.15 -> 24.3.4.16 2024-02-15 03:27:49 +00:00
lassulus
38905fc7ee
Merge pull request #287957 from DavHau/python
pythonCatchConflictsHook: scan $out, not sys.path (2)
2024-02-13 14:22:53 +07:00
MidAutumnMoon
51aeaf7a61
ruby: replace rec {} with finalAttrs & make overriding possible
Without this change, use overrideAttrs on Ruby
won't change the instance used by Gems, making it
very difficult to build a custom Ruby (e.g. add devdoc).
2024-02-13 14:39:35 +08:00
DavHau
ffa815958e pythonCatchConflictsHook: make compatible to all python 3 versions 2024-02-13 11:15:41 +07:00
DavHau
0cbd114d41 pythonCatchConflictsHook: improve and add tests 2024-02-13 11:15:41 +07:00
Matthieu Coudron
000b7bfd47
buildLuarocksPackage: ability to self reference extraConfig (#288253)
makes overrideAttrs for lua packages even more powerful.
As a consequence, it simplifies the implementation of buildNeovimPlugin.
2024-02-12 18:11:24 +01:00
phaer
2651ddc7b0 python/catch_conflicts: scan $out, not sys.path
This changes the non-legacy version of pythonCatchConflictsHook
to recursively scan the output of the target derivation  as well
as its propagatedBuildInputs for duplicate dependencies.

Previously, we did scan sys.path but did prove problematic as it
produced false positives i.e. when build-time dependencies of
hooks - such as setuptools in pythonCatchConflictsHook itself -
where mistakenly flagged as duplicates; even though the are
not included in the outputs of the target dervation.

As all python runtime-dependencies are currently passed via
propagatedBuildInputs in nixpkgs, scanning that plus
site-packages seems sufficient to catch all conflicts that
matter at runtime and less likely to produce false positives.

The legacyHook in catch_conflicts_py2.py needs to be migrated
as well, if it's still needed.
2024-02-12 19:52:28 +07:00
github-actions[bot]
496cd829f0
Merge staging-next into staging 2024-02-11 18:01:38 +00:00
Matthieu Coudron
089f45ce69
buildLuarocksPackage: remove rockspecDir (#288036)
it was used only once and complexifies the buildLuarocksPackage function uselessly.
because buildLuarocksPackage accepts ... args, it wont trigger eval failures but this may break out of tree packages where the build can't find the rockspec anymore. Specify the path via `knownRockspec` if that's the case.
2024-02-11 15:09:01 +01:00
github-actions[bot]
1fe30fdf4b
Merge staging-next into staging 2024-02-10 18:01:16 +00:00
Mario Rodas
427d230dee
Merge pull request #287747 from r-ryantm/auto-update/starlark-rust
starlark-rust: 0.11.0 -> 0.12.0
2024-02-10 08:29:24 -05:00
github-actions[bot]
30da98a1d6
Merge staging-next into staging 2024-02-10 12:02:02 +00:00
R. Ryantm
a509ea56af starlark-rust: 0.11.0 -> 0.12.0 2024-02-10 11:53:56 +00:00
Mario Rodas
db19b7f939
Merge pull request #287679 from marsam/update-racket
racket: 8.11.1 -> 8.12
2024-02-10 06:30:47 -05:00
Mario Rodas
ce5180776e
Merge pull request #287680 from marsam/update-luau
luau: 0.611 -> 0.612
2024-02-10 06:26:24 -05:00
Yt
3df8b0b1dc
Merge pull request #287338 from r-ryantm/auto-update/erlang_odbc_javac
erlang_odbc_javac: 25.3.2.8 -> 25.3.2.9
2024-02-10 10:27:08 +00:00
Mario Rodas
e5667c4a09 racket,racket-minimal: 8.11.1 -> 8.12
Changelog: https://blog.racket-lang.org/2024/02/racket-v8-12.html
2024-02-10 04:20:00 +00:00
Mario Rodas
cc593cd0fe luau: 0.611 -> 0.612
Diff: https://github.com/luau-lang/luau/compare/0.611...0.612

Changelog: https://github.com/luau-lang/luau/releases/tag/0.612
2024-02-10 04:20:00 +00:00