Compare commits

..

331 Commits

Author SHA1 Message Date
Dmitry Kalinkin
74b43602bc libredirect: skip system() test when not in a sandbox 2023-02-14 12:13:34 -05:00
Artturi
fa169bb239 Merge pull request #214207 from Artturin/ssytemdbuildbash1 2023-02-13 22:34:23 +02:00
Dmitry Kalinkin
938a52f603 gtest: ensure C++17 support for aarch64 (#215767) 2023-02-13 15:31:27 -05:00
superherointj
ca784e051c Merge pull request #213788 from SuperSandro2000/eventlet-march
python310Packages.eventlet: disable test_fork_after_monkey_patch test…
2023-02-13 16:50:28 -03:00
github-actions[bot]
f60ea3cf39 Merge staging-next into staging 2023-02-13 18:01:55 +00:00
github-actions[bot]
e84df07fe1 Merge master into staging-next 2023-02-13 18:01:22 +00:00
Dmitry Kalinkin
be5517c731 Merge pull request #216153 from alyssais/validobj-python3.11
python311.pkgs.validobj: disable
2023-02-13 12:59:15 -05:00
Dmitry Kalinkin
f032544122 Merge pull request #215867 from veprbl/pr/nnpdf_4_0_6
nnpdf: 4.0.4 -> 4.0.6, provide n3fit
2023-02-13 12:58:38 -05:00
Mario Rodas
5b7b4ed32e Merge pull request #216182 from evils/wxgtk32
wxGTK32: 3.2.2 -> 3.2.2.1
2023-02-13 12:52:41 -05:00
Martin Weinelt
ba2a8cce95 Merge pull request #216165 from alyssais/certomancer-0.9.1
python3.pkgs.certomancer: 0.8.2 -> 0.9.1
2023-02-13 17:39:16 +00:00
Martin Weinelt
492cb35f5c Merge pull request #216097 from alyssais/lightning-drop
python3.pkgs.lightning: drop
2023-02-13 17:34:01 +00:00
Martin Weinelt
a072b08754 Merge pull request #216185 from alyssais/quantiphy-2.19
python3.pkgs.quantiphy: 2.18 -> 2.19
2023-02-13 17:29:21 +00:00
Martin Weinelt
d56a97cc04 Merge pull request #216189 from alyssais/python2-eval
python2: fix eval
2023-02-13 17:17:40 +00:00
Alyssa Ross
b4f74e334e python2: fix eval
Fixes: ee90eca180 ("cpython: Migrate sha256 occurences to hash")
2023-02-13 17:14:19 +00:00
Martin Weinelt
3865c1767b Merge pull request #216183 from NixOS/home-assistant
home-assistant: 2023.2.3 -> 2023.2.4
2023-02-13 16:59:04 +00:00
Alyssa Ross
032b2cf74a python3.pkgs.quantiphy: 2.18 -> 2.19
Adds Python 3.11 support.
2023-02-13 16:18:13 +00:00
Martin Weinelt
1069dbc604 python310Packages.raincloudy: Fix build
Due to an improper update during a python-updates cycle this package
broke.

With version 1.2.0 there is now `raincloudy.aio`, which does not get
installed on recent setuptools versions, due to a misconfigured packages
configuration in setup.py.

Also convert the build process to a PEP517 based build using
setuptools and fix the distinfo version by adding setuptools-scm.

Additionally `aiohttp` is an undeclared dependencym, for which a PR has
already been submitted upstream.
2023-02-13 17:16:05 +01:00
Martin Weinelt
b421e2a0a3 home-assistant: 2023.2.3 -> 2023.2.4
https://github.com/home-assistant/core/releases/tag/2023.2.4
2023-02-13 17:16:05 +01:00
Martin Weinelt
22b11b3bb8 python310Packages.yalexs-ble: 1.12.8 -> 1.12.12
Diff: https://github.com/bdraco/yalexs-ble/compare/refs/tags/v1.12.8...1.12.12

Changelog: https://github.com/bdraco/yalexs-ble/blob/v1.12.12/CHANGELOG.md
2023-02-13 17:16:04 +01:00
Martin Weinelt
18a3b21de2 python310Packages.xiaomi-ble: 0.16.1 -> 0.16.3
Diff: https://github.com/Bluetooth-Devices/xiaomi-ble/compare/refs/tags/v0.16.1...v0.16.3

Changelog: https://github.com/Bluetooth-Devices/xiaomi-ble/releases/tag/v0.16.3
2023-02-13 17:16:04 +01:00
Martin Weinelt
a3526481a6 python310Packages.oralb-ble: 0.17.4 -> 0.17.5
Diff: https://github.com/Bluetooth-Devices/oralb-ble/compare/refs/tags/v0.17.4...v0.17.5

Changelog: https://github.com/Bluetooth-Devices/oralb-ble/releases/tag/v0.17.5
2023-02-13 17:16:04 +01:00
Martin Weinelt
c1cf9a0fe6 python310Packages.aioesphomeapi: 13.2.0 -> 13.3.1
Diff: https://github.com/esphome/aioesphomeapi/compare/refs/tags/v13.2.0...v13.3.1

Changelog: https://github.com/esphome/aioesphomeapi/releases/tag/v13.3.1
2023-02-13 17:16:04 +01:00
Evils
4ec05165a3 wxGTK32: 3.2.2 -> 3.2.2.1 2023-02-13 17:02:29 +01:00
Sandro
cc443761cb Merge pull request #214534 from dramforever/qemu-remove-cpu-flag 2023-02-13 16:54:13 +01:00
Weijia Wang
014464d96d Merge pull request #198188 from r-ryantm/auto-update/python310Packages.chart-studio
python310Packages.chart-studio: 5.11.0 -> 5.13.0
2023-02-13 16:47:07 +01:00
Weijia Wang
587ee6ba8d Merge pull request #201643 from r-ryantm/auto-update/python310Packages.coconut
python310Packages.coconut: 2.1.1 -> 2.2.0
2023-02-13 16:46:06 +01:00
Weijia Wang
9508228cdf Merge pull request #211085 from r-ryantm/auto-update/python310Packages.inquirer
python310Packages.inquirer: 3.1.1 -> 3.1.2
2023-02-13 16:41:45 +01:00
Weijia Wang
6297ccd442 Merge pull request #212323 from r-ryantm/auto-update/python310Packages.types-protobuf
python310Packages.types-protobuf: 4.21.0.2 -> 4.21.0.5
2023-02-13 16:38:51 +01:00
K900
144905bc70 Merge pull request #216167 from fufexan/helvum
helvum: 0.3.4 -> 0.4.0
2023-02-13 18:33:06 +03:00
Pavol Rusnak
14cb2130bb Merge pull request #216166 from mmilata/torq-01817
torq: 0.17.3 -> 0.18.17, fix frontend build
2023-02-13 16:20:52 +01:00
Weijia Wang
8e63fa3f0a Merge pull request #215841 from r-ryantm/auto-update/python310Packages.oslo-log
python310Packages.oslo-log: 5.0.2 -> 5.1.0
2023-02-13 16:06:19 +01:00
Weijia Wang
326e986d8b Merge pull request #215915 from r-ryantm/auto-update/python310Packages.clustershell
python310Packages.clustershell: 1.9 -> 1.9.1
2023-02-13 16:05:42 +01:00
Weijia Wang
76035a8552 Merge pull request #215919 from r-ryantm/auto-update/python310Packages.iminuit
python310Packages.iminuit: 2.18.0 -> 2.19.0
2023-02-13 16:05:27 +01:00
Weijia Wang
344656ded0 Merge pull request #215907 from r-ryantm/auto-update/awscli2
awscli2: 2.9.21 -> 2.9.23
2023-02-13 16:04:55 +01:00
Weijia Wang
d1bb9549e9 Merge pull request #215932 from r-ryantm/auto-update/python310Packages.drf-yasg
python310Packages.drf-yasg: 1.21.4 -> 1.21.5
2023-02-13 16:03:10 +01:00
Weijia Wang
1797956a8c Merge pull request #216130 from r-ryantm/auto-update/python310Packages.holoviews
python310Packages.holoviews: 1.15.3 -> 1.15.4
2023-02-13 16:01:41 +01:00
Weijia Wang
9125ce608f Merge pull request #216121 from r-ryantm/auto-update/python310Packages.vowpalwabbit
python310Packages.vowpalwabbit: 9.6.0 -> 9.7.0
2023-02-13 16:00:49 +01:00
Mihai Fufezan
a098dc81ae helvum: 0.3.4 -> 0.4.0 2023-02-13 16:09:09 +02:00
Alyssa Ross
3af4729a32 python3.pkgs.certomancer: 0.8.2 -> 0.9.1
Adds Python 3.11 compatibility.
2023-02-13 14:00:02 +00:00
Martin Milata
bb62992d4e torq: 0.17.3 -> 0.18.17 2023-02-13 14:58:50 +01:00
Martin Milata
8c9a8fa6e3 torq: copy frontend instead of linking 2023-02-13 14:58:49 +01:00
Martin Weinelt
d87b0e29ff Merge pull request #215401 from mweinelt/python-3.10.10-3.11.2
python310: 3.10.9 -> 3.10.10; python311: 3.11.1 -> 3.11.2
2023-02-13 13:26:00 +00:00
github-actions[bot]
29c2637dda Merge staging-next into staging 2023-02-13 12:02:05 +00:00
Alyssa Ross
832acbd743 python311.pkgs.validobj: disable 2023-02-13 11:24:27 +00:00
Vladimír Čunát
410d64db35 mesa: 22.3.4 -> 22.3.5
https://docs.mesa3d.org/relnotes/22.3.5.html
Fixes #216137
2023-02-13 10:39:07 +01:00
R. Ryantm
04b686d4d6 python310Packages.holoviews: 1.15.3 -> 1.15.4 2023-02-13 08:22:11 +00:00
R. Ryantm
0d48da7e29 python310Packages.vowpalwabbit: 9.6.0 -> 9.7.0 2023-02-13 06:07:10 +00:00
github-actions[bot]
29cdca7736 Merge staging-next into staging 2023-02-13 06:02:02 +00:00
Weijia Wang
de9e9c8ce7 Merge pull request #216094 from winterqt/fix-apple-source-releases-iokit
darwin.apple_sdk.frameworks.IOKit: fix on x86_64-darwin
2023-02-13 05:40:10 +01:00
Alyssa Ross
1280a27bbd python3.pkgs.lightning: drop
Tests fail with Python 3.11, no maintainer, and upstream has been dead
for several years.
2023-02-13 00:45:23 +00:00
Winter
66f6a84904 darwin.apple_sdk.frameworks.IOKit: fix on x86_64-darwin
7abd144913 switched the source releases to
pull from GitHub. This resulted in the IOUSBFamily installation failing,
as the extracted directory's name changed from `IOUSBFamily-630.4.5` to
`IOUSBFamily-IOUSBFamily-630.4.5`. This didn't occur for any other frameworks
because we used wildcards for copying them already.
2023-02-12 19:30:40 -05:00
github-actions[bot]
2ca4ddc9dd Merge staging-next into staging 2023-02-13 00:02:51 +00:00
Sandro Jäckel
29226cfea7 python310Packages.eventlet: disable test_fork_after_monkey_patch test all the time 2023-02-12 23:45:49 +01:00
Mario Rodas
aa1b867e9a Merge pull request #211326 from r-ryantm/auto-update/maturin
maturin: 0.14.5 -> 0.14.12
2023-02-12 16:29:59 -05:00
Mario Rodas
25bb46d1d2 Merge pull request #208301 from r-ryantm/auto-update/neon
neon: 0.32.3 -> 0.32.4
2023-02-12 14:02:23 -05:00
Mario Rodas
b6d77cc534 Merge pull request #215256 from marsam/update-sphinx-rtd-theme
python310Packages.sphinx-rtd-theme: 1.1.1 -> 1.2.0
2023-02-12 14:00:44 -05:00
Mario Rodas
194bea6113 Merge pull request #212160 from marsam/update-libimagequant
libimagequant: 2.17.0 -> 4.0.5
2023-02-12 14:00:07 -05:00
github-actions[bot]
8e2a123807 Merge staging-next into staging 2023-02-12 18:01:40 +00:00
Mario Rodas
9baa528861 Merge pull request #211670 from r-ryantm/auto-update/hdf5
hdf5: 1.12.2 -> 1.14.0
2023-02-12 11:29:08 -05:00
github-actions[bot]
ec17e92f67 Merge staging-next into staging 2023-02-12 16:03:16 +00:00
Mario Rodas
c0d2793475 Merge pull request #209848 from r-ryantm/auto-update/libopenmpt
libopenmpt: 0.6.6 -> 0.6.8
2023-02-12 10:19:10 -05:00
github-actions[bot]
2dac3f9f96 Merge staging-next into staging 2023-02-12 12:02:07 +00:00
R. Ryantm
b512908f99 python310Packages.drf-yasg: 1.21.4 -> 1.21.5 2023-02-12 07:03:21 +00:00
github-actions[bot]
23496088d9 Merge staging-next into staging 2023-02-12 06:02:09 +00:00
R. Ryantm
4ea38729b3 python310Packages.iminuit: 2.18.0 -> 2.19.0 2023-02-12 04:43:56 +00:00
Mario Rodas
ef0e55f22b maturin: 0.14.12 -> 0.14.13
https://github.com/PyO3/maturin/releases/tag/v0.14.13
2023-02-12 04:20:00 +00:00
R. Ryantm
a6081aedf8 python310Packages.clustershell: 1.9 -> 1.9.1 2023-02-12 03:55:47 +00:00
R. Ryantm
98c1d7eb67 awscli2: 2.9.21 -> 2.9.23 2023-02-12 02:07:47 +00:00
Martin Weinelt
d704ee72c9 python3.tests.nixenv-virtualenv: Fix on darwin
The virtualenv mode is trying to be smart and checks whether it can
write to $out, which for some reason fails on darwin.

> virtualenv: error: argument dest: the destination . is not write-able at /nix/store

But what does work is creating it in the pwd and moving it to $out,
because mv just does what it is told.
2023-02-12 03:03:31 +01:00
Martin Weinelt
f75329f0bc python310Packages.ephemeral-port-reserve: Fix tests on darwin 2023-02-12 01:04:54 +01:00
github-actions[bot]
516d7767c0 Merge staging-next into staging 2023-02-12 00:03:10 +00:00
Fabian Affolter
1b6ed251b7 Merge pull request #213580 from fabaff/dnspython-bump
python310Packages.dnspython: 2.2.1 -> 2.3.0
2023-02-12 00:59:40 +01:00
Martin Weinelt
a48dcc5da1 python310Packages.asgiref: Fix tests on darwin 2023-02-12 00:53:43 +01:00
Martin Weinelt
20c723dd07 python3.tests.condaExamplePackage: Exclude on non-linux
Allow python3.tests to eval on other platforms than linux, by excluding
conda tests when not on linux, because they include alsa-lib, which is
linux-only.
2023-02-11 23:22:09 +01:00
Dmitry Kalinkin
34ccf74c23 python3Packages.n3fit: init at 4.0 2023-02-11 15:37:08 -05:00
Robert Scott
f6664fb8ad Merge pull request #215653 from trofi/zstd-update
zstd: 1.5.2 -> 1.5.4
2023-02-11 20:15:43 +00:00
Dmitry Kalinkin
ede042f54d nnpdf: 4.0.4 -> 4.0.6 2023-02-11 14:56:24 -05:00
github-actions[bot]
b0f16e56b0 Merge staging-next into staging 2023-02-11 18:01:50 +00:00
Martin Weinelt
ee90eca180 cpython: Migrate sha256 occurences to hash 2023-02-11 17:50:53 +01:00
Martin Weinelt
f0b8e02958 python311: 3.11.1 -> 3.11.2
https://docs.python.org/release/3.11.2/whatsnew/changelog.html
2023-02-11 17:50:10 +01:00
Martin Weinelt
f228b9368b python310: 3.10.9 -> 3.10.10
https://docs.python.org/release/3.10.10/whatsnew/changelog.html
2023-02-11 17:50:10 +01:00
Martin Weinelt
a94804c451 python39: Move out of sources attrset 2023-02-11 17:50:08 +01:00
R. Ryantm
3dc2e4d016 python310Packages.oslo-log: 5.0.2 -> 5.1.0 2023-02-11 15:48:35 +00:00
Sergei Trofimovich
baccb31d34 Merge pull request #214130 from r-ryantm/auto-update/doxygen
doxygen: 1.9.5 -> 1.9.6
2023-02-11 14:16:49 +00:00
github-actions[bot]
a5b021e538 Merge staging-next into staging 2023-02-11 12:01:48 +00:00
github-actions[bot]
c2e38ff7b6 Merge staging-next into staging 2023-02-11 06:01:49 +00:00
Martin Weinelt
af976a9d56 Merge pull request #215683 from helsinki-systems/upd/nss_esr
nss_esr: 3.79.3 -> 3.79.4
2023-02-11 01:23:47 +00:00
github-actions[bot]
35f3a899ba Merge staging-next into staging 2023-02-11 00:02:55 +00:00
Artturi
aaa9ea8ec6 Merge pull request #208537 from Artturin/makesetuphooksupportstrictdeps 2023-02-10 20:08:32 +02:00
github-actions[bot]
1c178195e0 Merge staging-next into staging 2023-02-10 18:01:57 +00:00
7c6f434c
bc1660f05b Merge pull request #215584 from superherointj/fix-libsecret-non-deterministic-fail
libsecret: fix non-deterministic fail of test-collection
2023-02-10 15:15:19 +00:00
Martin Weinelt
016028bcaf Merge pull request #215678 from erikarvstedt/fix-flit-scm-src-2
python3Packages.flit-scm: Fix src hash
2023-02-10 13:21:14 +00:00
ajs124
bc8cfa181b nss_esr: 3.79.3 -> 3.79.4
https://github.com/nss-dev/nss/blob/master/doc/rst/releases/nss_3_79_4.rst
2023-02-10 14:13:46 +01:00
Vladimír Čunát
13e8ec1f2d Merge branch 'staging-next' into staging 2023-02-10 13:46:44 +01:00
Vladimír Čunát
3741288a4e Merge branch 'master' into staging-next 2023-02-10 13:46:24 +01:00
Erik Arvstedt
400212a902 python3Packages.flit-scm: Fix src hash
The fetcher params were changed in the previous commit (de08f0ba6d),
but the hash wasn't updated.
2023-02-10 13:08:06 +01:00
Alyssa Ross
d607d078e2 rust-bindgen: 0.63.0 -> 0.64.0
Changelog[1] and my testing suggests generated bindings aren't going
to change much or at all.

[1]: ae6817256a/CHANGELOG.md
2023-02-10 10:32:55 +00:00
Pavol Rusnak
43885865ac Merge pull request #215284 from prusnak/portaudio-jack
portaudio: build with jack support
2023-02-10 11:27:22 +01:00
Fabian Affolter
df6cdf026f python310Packages.eventlet: 0.33.1 -> 0.33.3
Diff: https://github.com/eventlet/eventlet/compare/v0.33.1...v0.33.3
2023-02-10 11:20:17 +01:00
Fabian Affolter
240a2d51ef python310Packages.dnspython: 2.2.1 -> 2.3.0
Changelog: https://github.com/rthalley/dnspython/blob/v2.3.0/doc/whatsnew.rst
2023-02-10 10:06:04 +01:00
Fabian Affolter
1b48e26a61 python310Packages.dnspython: add changelog to meta 2023-02-10 10:06:03 +01:00
Fabian Affolter
806b928949 Merge pull request #213544 from fabaff/watchdog-bump
python310Packages.watchdog: 2.2.0 -> 2.2.1
2023-02-10 09:45:54 +01:00
Sergei Trofimovich
32693f33a2 zstd: 1.5.2 -> 1.5.4
Changes: https://github.com/facebook/zstd/releases/tag/v1.5.4
2023-02-10 08:32:14 +00:00
github-actions[bot]
f72b07e57d Merge staging-next into staging 2023-02-10 06:01:53 +00:00
github-actions[bot]
0417b0e54f Merge staging-next into staging 2023-02-10 00:03:00 +00:00
superherointj
54a6770929 libsecret: fix non-deterministic fail of test-collection
Problem usually happens when all CPUs are busy.

Upstream issue: https://gitlab.gnome.org/GNOME/libsecret/-/issues/80

Logs: https://gist.github.com/superherointj/08d68a9674f695e73bbabcf8c9a1e535
2023-02-09 19:32:46 -03:00
figsoda
5bc96030b0 rustc: 1.67.0 -> 1.67.1
Diff: https://github.com/rust-lang/rust/compare/1.67.0...1.67.1

Changelog: https://blog.rust-lang.org/2023/02/09/Rust-1.67.1.html
2023-02-10 06:55:18 +10:00
R. Ryantm
5cbeee05f3 python310Packages.types-protobuf: 4.21.0.2 -> 4.21.0.5 2023-02-09 19:30:07 +00:00
github-actions[bot]
87e315024e Merge staging-next into staging 2023-02-09 18:01:44 +00:00
dramforever
08e6d08ace qemu: Remove --cpu= flag
'./configure --cpu=$(uname -m)' (essentially) breaks the case of riscv,
where the configure script expects '--cpu=riscv', but 'uname -m' gives
'riscv{32,64}'. This eventually leads to user-mode emulation being
disabled.

Since the configure script can auto-detect the parameter based on
compilers, remove this flag.

Originally added in #147692, but apparently it's not needed and @NickCao
couldn't remember why it was added. See also mailing list discussion at
https://lore.kernel.org/qemu-devel/20230204112502.2558739-1-mjt@msgid.tls.msk.ru/T/
2023-02-10 00:02:36 +08:00
Artturi
56c4f27b18 Merge pull request #215488 from alyssais/strip-nondeterminism-1.13.1
strip-nondeterminism: fix build
2023-02-09 17:21:53 +02:00
dramforever
f70071e41d qemu: fix cross compilation, again
The python dependencies were fixed for cross in #147692, but the changes
are reversed #190560 due to concerns of accidentally mixing python
versions. Compromise by using python3Packages.python.
2023-02-09 21:55:51 +08:00
github-actions[bot]
8c32008a02 Merge staging-next into staging 2023-02-09 12:02:05 +00:00
Alyssa Ross
92e6b205ed strip-nondeterminism: 1.13.0 -> 1.13.1
Fixes build.
2023-02-09 10:35:27 +00:00
Alyssa Ross
18d1c014bf file: fix identification of pyzip files 2023-02-09 10:33:18 +00:00
github-actions[bot]
bd14a95898 Merge staging-next into staging 2023-02-09 06:01:47 +00:00
Martin Weinelt
8e69a97f51 Merge pull request #215361 from dotlambda/cryptography-39.0.1
python310Packages.cryptography: 39.0.0 -> 39.0.1
2023-02-09 01:18:36 +00:00
Nick Cao
6d65e4f449 Merge pull request #215337 from PedroHLC/hwdata-0.367
hwdata: 0.366 -> 0.367
2023-02-09 08:13:10 +08:00
github-actions[bot]
bece38afcc Merge staging-next into staging 2023-02-09 00:02:56 +00:00
Robert Schütz
1f6d0b6016 python310Packages.cryptography: 39.0.0 -> 39.0.1
fixes CVE-2023-23931

Changelog: https://cryptography.io/en/latest/changelog/#v39-0-1
2023-02-08 11:22:31 -08:00
PedroHLC ☭
d5f88d5d1c hwdata: 0.366 -> 0.367 2023-02-08 13:48:36 -03:00
ajs124
555c21b15d Merge pull request #214981 from superherointj/fix-musl-mariadb
mariadb: fix musl, make Numa optional; pmdk: remove
2023-02-08 14:29:17 +01:00
Nick Cao
b216ad166a Merge pull request #214929 from superherointj/fix-musl-libptytty
libptytty: fix cross compilation, musl (dynamic), static
2023-02-08 20:18:25 +08:00
github-actions[bot]
657c59c551 Merge staging-next into staging 2023-02-08 12:02:21 +00:00
Pavol Rusnak
a83c427483 portaudio: build with jack support 2023-02-08 11:42:05 +01:00
superherointj
476d2bc651 libptytty: fix musl and static
* Fixes Cross Compilation, Musl Dynamic and Static.
* Marks broken Musl Static.
2023-02-08 05:32:20 -03:00
github-actions[bot]
5780c84a93 Merge staging-next into staging 2023-02-08 06:01:45 +00:00
Mario Rodas
99eda60ce6 neon: 0.32.4 -> 0.32.5
https://github.com/notroj/neon/compare/0.32.3...0.32.4
2023-02-08 04:20:00 +00:00
Mario Rodas
1d71a154a2 python310Packages.sphinx-rtd-theme: 1.1.1 -> 1.2.0
https://github.com/readthedocs/sphinx_rtd_theme/releases/tag/1.2.0
2023-02-08 04:20:00 +00:00
Sandro
7f09c17574 Merge pull request #212258 from SuperSandro2000/python310Packages.ujson 2023-02-07 21:08:21 +01:00
Sandro
eaaca27fa3 Merge pull request #215138 from laalsaas/util-linux-completion 2023-02-07 21:05:17 +01:00
Artturin
680309fc9c add docs for makeSetupHook 2023-02-07 21:02:02 +02:00
Artturin
8f171925b3 makeSetupHook: deprecate deps argument 2023-02-07 21:02:02 +02:00
Artturin
4e3dcf364e treewide: makeSetupHook deps -> propagatedBuildInputs 2023-02-07 21:02:00 +02:00
Artturin
8be7ab60b1 wrapGAppsHook: make it work with strictDeps
remove unused input

add test for GDK_PIXBUF_MODULE_FILE

run tests with strictDeps

if the tests work with strictDeps then they work with non strictDeps
2023-02-07 21:00:18 +02:00
Artturin
9a9c42e19f makeSetupHook: support depsTargetTargetPropagated 2023-02-07 21:00:18 +02:00
Artturin
84e37a10ec stdenv: allow propagating propagated dependencies separately from the
fixup phase

for makeSetupHook
2023-02-07 21:00:18 +02:00
github-actions[bot]
371c2a6303 Merge staging-next into staging 2023-02-07 18:02:15 +00:00
laalsaas
7d9ab620de util-linux: install completion 2023-02-07 16:19:56 +01:00
Florian Klink
025d8692b2 Merge pull request #215094 from chuangzhu/systemd-want-gcrypt
systemd: fix build when withResolved=false and withImportd=true
2023-02-07 12:49:32 +01:00
superherointj
8e8822c872 mariadb: remove pmdk; make Numa optional 2023-02-07 08:20:53 -03:00
superherointj
ffeb843237 pmdk: removed
No further support or maintenance planned by upstream.
https://pmem.io/blog/2022/11/update-on-pmdk-and-our-long-term-support-strategy/

Alpine also removed pmdk package:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/43663
2023-02-07 08:20:53 -03:00
Chuang Zhu
b89799acf0 systemd: fix build when withResolved=false and withImportd=true 2023-02-07 18:17:34 +08:00
Janne Heß
2e4cb39214 Merge pull request #214862 from r-ryantm/auto-update/vim
vim: 9.0.0609 -> 9.0.1275
2023-02-07 10:25:01 +01:00
Sergei Trofimovich
fa0633e7fa libvisual: pull upstream fix for pkg-config SDL1 discovery
Without the change cross-compilation fails in `staging-next` as:

    $ nix build --no-link -f. pkgsCross.riscv64.libvisual
    ...
    > checking for riscv64-unknown-linux-gnu-sdl-config... no
    > checking for sdl-config... no

While at it added `strictDeps = true;`.
2023-02-07 07:18:56 +01:00
github-actions[bot]
99cce0e1f1 Merge staging-next into staging 2023-02-07 06:02:00 +00:00
Martin Weinelt
e1739b19ca pdfsam-basic: Fix jdk override
Resolves a conflict between two PRs:
= https://github.com/NixOS/nixpkgs/pull/206643
= https://github.com/NixOS/nixpkgs/pull/214984
2023-02-07 01:44:47 +01:00
Sandro
bf2dad5f5f Merge pull request #213434 from SuperSandro2000/pycryptodome 2023-02-07 01:27:01 +01:00
github-actions[bot]
d3648def80 Merge staging-next into staging 2023-02-07 00:02:46 +00:00
Sandro
1faf1ea8eb Merge pull request #212312 from SuperSandro2000/python310Packages.cryptography 2023-02-07 00:01:15 +01:00
Alyssa Ross
40d92d3be5 isocodes: enable parallel building
Tested at -j8.
2023-02-06 21:38:36 +00:00
Alyssa Ross
ff58d2801c isocodes: fix cross to non-Python platforms
These were being patched for the host system's Python, which was
incorrect, as they are not installed.  But the patching turns out not
to be required at all any more, as the build system runs the scripts
with the python3 command instead of directly.
2023-02-06 21:38:36 +00:00
zowoq
421acf1022 buildGo{Module,Package}: respect nix hardening flags when setting buildmode 2023-02-07 06:20:57 +10:00
Sergei Trofimovich
4abe923106 Merge pull request #214596 from trofi/libbsd-update
libbsd: 0.11.6 -> 0.11.7
2023-02-06 19:40:16 +00:00
Artturi
aa7d2fe7dc Merge pull request #214937 from hercules-ci/support-NIX_ATTRS-envs 2023-02-06 20:59:10 +02:00
Weijia Wang
acc47db7e6 Merge pull request #214962 from alyssais/libvmaf-bsd
Revert "Revert Merge #214786: libvmaf: fix build for BSD"
2023-02-06 19:12:34 +01:00
github-actions[bot]
36822caa75 Merge staging-next into staging 2023-02-06 18:02:09 +00:00
Alyssa Ross
a7ba7b6d01 Revert "Revert Merge #214786: libvmaf: fix build for BSD"
This reverts commit 8030c64577.

Reverted due to an accidental mass rebuild.  Relanding on staging.
2023-02-06 16:43:21 +00:00
Robert Hensing
afef6588e2 stdenv/setup.sh: Allow NIX_ATTRS_{JSON,SH}_FILE to be set correctly by Nix 2023-02-06 14:17:59 +01:00
Artturi
73f0983f41 Merge pull request #210449 from wegank/darwin-hash
treewide: update darwin sdk hashes
2023-02-06 15:03:49 +02:00
github-actions[bot]
8702f45128 Merge staging-next into staging 2023-02-06 12:02:09 +00:00
github-actions[bot]
d016f8ed64 Merge staging-next into staging 2023-02-06 06:01:56 +00:00
R. Ryantm
9e0c9db6c2 vim: 9.0.0609 -> 9.0.1275 2023-02-06 02:33:36 +00:00
github-actions[bot]
68f2c8f820 Merge staging-next into staging 2023-02-06 00:03:04 +00:00
Alyssa Ross
43ad4f2ef0 openjpeg: fix tests
It seems that in the few weeks between me writing the previous patch
and submitting it for review, I had forgotten I hadn't tested the
non-cross case yet, and so hadn't caught that the tests didn't
actually work any more.  Oops!

Fixes: 3404d6b0f7 ("openjpeg: move jpylizer to nativeCheckInputs")
2023-02-05 22:23:41 +00:00
John Ericson
3226550f0b Merge pull request #214782 from alyssais/gobject-introspection
Remove lots more obsolete gobject-introspection build inputs
2023-02-05 14:05:32 -05:00
John Ericson
2f063f02dc Merge pull request #214779 from alyssais/chez-racket-bsd
chez-racket: support many more platforms
2023-02-05 14:04:26 -05:00
John Ericson
6977491210 Merge pull request #214789 from alyssais/openjpeg-bsd
openjpeg: move jpylizer to nativeCheckInputs
2023-02-05 14:01:47 -05:00
John Ericson
c00251e357 Merge pull request #214790 from alyssais/libdrm-freebsd
libdrm: fix build for FreeBSD
2023-02-05 13:59:44 -05:00
John Ericson
617742df4e Merge pull request #214785 from alyssais/doxygen-iconv
doxygen: depend on libiconv unconditionally
2023-02-05 13:59:05 -05:00
github-actions[bot]
7f765c49f6 Merge staging-next into staging 2023-02-05 18:01:54 +00:00
Alyssa Ross
f672b49afc libdrm: fix build for FreeBSD
I've changed etnaviv from being explicitly enabled on ARM to using
its auto value, as it is now enabled by default on appropriate
architectures (including ARM).

Make omap and etnaviv Linux-only as they both include Linux headers.
They're disabled in FreeBSD Ports too.
2023-02-05 17:07:49 +00:00
Alyssa Ross
3404d6b0f7 openjpeg: move jpylizer to nativeCheckInputs
This is useful when cross-compiling to platforms that we can't build
Python for (and also just more semantically correct).
2023-02-05 17:05:54 +00:00
Alyssa Ross
aa01f2c1d0 chez-racket: depend on libiconv unconditionally
libiconv is already defined per-platform.  The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.

Required to build for FreeBSD.
2023-02-05 16:42:42 +00:00
Alyssa Ross
5eca7873b9 chez-racket: support many more platforms
I split out architecture and operating system, since the values don't
depend on each other, and this saves a lot of repetition.
2023-02-05 16:42:34 +00:00
Alyssa Ross
5445b924f8 doxygen: depend on libiconv unconditionally
libiconv is already defined per-platform.  The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.

Required to build for FreeBSD.
2023-02-05 16:35:25 +00:00
R. Ryantm
d3edbcdb7a maturin: 0.14.5 -> 0.14.12 2023-02-05 15:30:23 +00:00
Fabian Affolter
e580519465 Merge pull request #214327 from fabaff/types-toml-bump
python310Packages.types-toml: 0.10.8.1 -> 0.10.8.2
2023-02-05 14:01:03 +01:00
github-actions[bot]
dae72e8486 Merge staging-next into staging 2023-02-05 12:02:01 +00:00
Alyssa Ross
da2dfc91fd pango: broaden platforms
Builds for FreeBSD.
2023-02-05 10:14:46 +00:00
Alyssa Ross
697e78baaf pango: re-disable introspection when not available
gobject-introspection is now usable when cross-compiling, but only if
we can emulate the host platform, which is not the case in general.
For example, when cross-compiling from Linux to BSD.

Fixes: 1bd8727a4c ("various: enable gobject-introspection when cross-compiling")
2023-02-05 10:14:46 +00:00
Alyssa Ross
c5b8ba3891 harfbuzz: broaden platforms
Builds for FreeBSD.
2023-02-05 10:14:46 +00:00
Alyssa Ross
07d1985822 harfbuzz: re-disable introspection when not available
gobject-introspection is now usable when cross-compiling, but only if
we can emulate the host platform, which is not the case in general.
For example, when cross-compiling from Linux to BSD.

Fixes: 1bd8727a4c ("various: enable gobject-introspection when cross-compiling")
2023-02-05 10:14:46 +00:00
Alyssa Ross
0807fca47e libxml2: restrict Python support in cross builds 2023-02-05 10:14:46 +00:00
github-actions[bot]
a3083db625 Merge staging-next into staging 2023-02-05 06:01:48 +00:00
github-actions[bot]
dfee1a3150 Merge staging-next into staging 2023-02-05 00:03:15 +00:00
Sergei Trofimovich
22080492aa Merge pull request #214421 from trofi/xorg.fontutil-update
xorg.fontutil: 1.3.1 -> 1.3.3
2023-02-04 22:12:24 +00:00
superherointj
65f4af1c15 Merge pull request #210149 from NickCao/ninja-cross
ninja: fix cross compilation
2023-02-04 17:34:21 -03:00
Sergei Trofimovich
8e09232439 libbsd: 0.11.6 -> 0.11.7
While at it added trivial updater.
2023-02-04 20:34:08 +00:00
Alyssa Ross
309e4dc8b9 python3.pkgs.pygobject: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:37 +00:00
Alyssa Ross
448dde20b1 gpsd: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:35 +00:00
Alyssa Ross
583a3c8b2a umockdev: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:34 +00:00
Alyssa Ross
c4dc6ca635 polkit: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:28 +00:00
Alyssa Ross
fcda6023e2 libvirt-glib: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:25 +00:00
Alyssa Ross
f7af17693e libsecret: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:23 +00:00
Alyssa Ross
883eeac4ec librsvg: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:20 +00:00
Alyssa Ross
61f9920880 libqrtr-glib: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:18 +00:00
Alyssa Ross
6ae50e12ee libnotify: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:16 +00:00
Alyssa Ross
8f8a6ebd14 libmanette: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:15 +00:00
Alyssa Ross
71a5e14eb3 libical: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:08 +00:00
Alyssa Ross
0a62fb98de libgudev: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:06 +00:00
Alyssa Ross
9c6bce8748 gjs: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:04 +00:00
Alyssa Ross
781b5f6a29 accountsservice: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:03 +00:00
Alyssa Ross
7e5ee09366 terminator: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:45:01 +00:00
Alyssa Ross
db96503b4e autokey: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:44:59 +00:00
Alyssa Ross
736acf668f udiskie: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:44:58 +00:00
Alyssa Ross
5de3af2d1d genxword: remove obsolete gobject-introspection build input
Since b2f9cd34e7 ("gobject-introspection: use wrapper.nix for the
native package too so we can propagate the dev output"),
gobject-introspection doesn't need to be included in buildInputs when
it's in nativeBuildInputs, as it's propagated from the setup hook.

Removing the build input fixes evaluation in buildPackages when
cross-compiling to platforms that gobject-introspection is unsupported
on, like ghcjs.

Tested building natively on x86_64-linux, in
pkgsCross.aarch64-multiplatform, and in pkgsCross.ghcjs.buildPackages.
2023-02-04 18:44:45 +00:00
github-actions[bot]
b95fd52eb6 Merge staging-next into staging 2023-02-04 18:02:07 +00:00
Thiago Kenji Okada
2b7a2cf9d9 Merge pull request #206643 from thiagokokada/openjdk-refactor
openjdk*: disable JavaFX by default; openjfx*: add with{Media,Webkit} options and remove gtk2
2023-02-04 14:35:03 +00:00
Thiago Kenji Okada
a42fdc6aa9 openjfx19: expose it to all-packages.nix
The other versions are also exposed, this is the only one that is not.
2023-02-04 12:27:24 +00:00
Thiago Kenji Okada
e5f214ff21 doc: document openjdk changes 2023-02-04 12:25:33 +00:00
Thiago Kenji Okada
3be06e76e3 pdfsam-basic: enable JavaFX 2023-02-04 12:25:33 +00:00
Thiago Kenji Okada
ad11f9c9ab bisq-desktop: enable JavaFX 2023-02-04 12:25:33 +00:00
Thiago Kenji Okada
ce6bc62d48 openjdk19: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:25:31 +00:00
Thiago Kenji Okada
6ba603bcc9 openjdk18: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:25:29 +00:00
Thiago Kenji Okada
83a10248e3 openjdk17: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:25:27 +00:00
Thiago Kenji Okada
644ec84b74 openjdk16: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:25:25 +00:00
Thiago Kenji Okada
4161997c71 openjdk15: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:25:23 +00:00
Thiago Kenji Okada
0ff244342e openjdk14: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:25:21 +00:00
Thiago Kenji Okada
3db2a9d2d3 openjdk13: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:25:19 +00:00
Thiago Kenji Okada
368a7a0285 openjdk12: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:25:16 +00:00
Thiago Kenji Okada
c51774444c openjdk11: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
2023-02-04 12:19:13 +00:00
Thiago Kenji Okada
a41cfc36f5 openjfx19: remove gtk2 2023-02-04 12:17:06 +00:00
Thiago Kenji Okada
1caf19b8e0 openjfx19: add with{Media,Webkit} options 2023-02-04 12:17:06 +00:00
Thiago Kenji Okada
c6323fe258 openjfx17: remove gtk2 2023-02-04 12:17:06 +00:00
Thiago Kenji Okada
d7c4a9bf93 openjfx17: add with{Media,Webkit} options 2023-02-04 12:17:06 +00:00
Thiago Kenji Okada
a76479057a openjfx15: remove gtk2 2023-02-04 12:17:06 +00:00
Thiago Kenji Okada
390227326d openjfx15: add with{Media,Webkit} options 2023-02-04 12:17:06 +00:00
Thiago Kenji Okada
45d339096f openjfx11: remove gtk2 2023-02-04 12:17:06 +00:00
Thiago Kenji Okada
976849f2e6 openjfx11: remove unnecessary NIX_CFLAGS_COMPILE options 2023-02-04 12:17:06 +00:00
Thiago Kenji Okada
640c102321 openjfx11: add with{Media,Webkit} options 2023-02-04 12:17:06 +00:00
github-actions[bot]
b53f8350a5 Merge staging-next into staging 2023-02-04 12:01:59 +00:00
github-actions[bot]
191f7a9ec6 Merge staging-next into staging 2023-02-04 06:01:46 +00:00
Robert Scott
62fe0b7b68 Merge pull request #214404 from trofi/re2-update
re2: 2022-12-01 -> 2023-02-01
2023-02-04 00:04:34 +00:00
Nick Cao
70599398d8 ninja: fix cross compilation 2023-02-04 08:03:58 +08:00
github-actions[bot]
7c824bb1b1 Merge staging-next into staging 2023-02-04 00:02:42 +00:00
Sergei Trofimovich
8c24528b11 xorg.fontutil: 1.3.1 -> 1.3.3
Changes:
- 1.3.3: https://lists.x.org/archives/xorg-announce/2022-July/003190.html
- 1.3.2: https://lists.x.org/archives/xorg-announce/2019-August/003019.html
2023-02-03 21:23:31 +00:00
superherointj
1e72ba7b9a Merge pull request #214295 from NickCao/meson-fix
meson: cleanup after https://github.com/NixOS/nixpkgs/pull/214046
2023-02-03 18:06:22 -03:00
Thiago Kenji Okada
0bfb9df52b Merge pull request #214285 from thiagokokada/bump-openjdk
openjdk{8,11,17},openjfx{11,17,19}: bumps
2023-02-03 21:00:20 +00:00
Sergei Trofimovich
33ec6774e9 re2: 2022-12-01 -> 2023-02-01
Changes: https://github.com/google/re2/compare/2022-12-01...2023-02-01
2023-02-03 19:15:54 +00:00
Thiago Kenji Okada
0685060feb openjfx19: 19+11 -> 19.0.2.1+1 2023-02-03 18:05:35 +00:00
Thiago Kenji Okada
89b1bf06df openjdk19: 19.0.1+10 -> 19.0.2+7 2023-02-03 18:05:35 +00:00
Florian Klink
1099adf48b Merge pull request #214387 from flokli/nixpkgs-2
pipewire: fix pipewire-rs builds
2023-02-03 17:16:10 +01:00
Florian Klink
9be0f13aba pipewire: fix pipewire-rs builds
backport a fix for rust-cbindgen errors in downstream packages
See https://github.com/NixOS/nixpkgs/pull/211872#issuecomment-1415981135
for details.
2023-02-03 17:08:31 +01:00
Artturi
b4bc1009b3 Merge pull request #214353 from Artturin/rocsplit 2023-02-03 15:44:11 +02:00
Jan Tojnar
c2b3bb6d6a Merge pull request #214086 from jtojnar/modemmanager
modemmanager: 1.18.12 → 1.20.4
2023-02-03 14:38:03 +01:00
Jan Tojnar
ff6056463e Merge pull request #214067 from jtojnar/gnome-staging
GNOME staging updates
2023-02-03 14:37:51 +01:00
Nick Cao
7c72674285 Merge pull request #213631 from PedroHLC/vulkan-1.3.239.0
vulkan-sdk: 1.3.236.0 -> 1.3.239.0
2023-02-03 21:23:36 +08:00
PedroHLC ☭
be82be9775 vk-bootstrap: 0.6 -> 0.7 2023-02-03 09:26:32 -03:00
Randy Eckenrode
7cf72768c0 glslang: revert AppleClang linker option 2023-02-03 09:23:30 -03:00
PedroHLC ☭
44a1fb1b9c spirv-cross: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:30 -03:00
PedroHLC ☭
7a5a9bbf9e vulkan-tools-lunarg: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:30 -03:00
PedroHLC ☭
c171fe67c3 vulkan-tools: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:30 -03:00
PedroHLC ☭
51b8f73d57 vulkan-extension-layer: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:30 -03:00
PedroHLC ☭
df3b29de7e vulkan-validation-layers: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:29 -03:00
PedroHLC ☭
9102bfddb5 spirv-tools: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:29 -03:00
PedroHLC ☭
b402229177 vulkan-loader: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:29 -03:00
PedroHLC ☭
29e6668a9f vulkan-headers: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:29 -03:00
PedroHLC ☭
88847203be spirv-headers: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:29 -03:00
PedroHLC ☭
1c7f726a65 glslang: 1.3.236.0 -> 1.3.239.0 2023-02-03 09:23:24 -03:00
github-actions[bot]
f482bbe208 Merge staging-next into staging 2023-02-03 12:01:52 +00:00
Artturin
c80031505e roc-toolkit: split output
propagated-build-inputs are written in out if dev does not exist
2023-02-03 13:14:11 +02:00
Artturi
dcc7df7fe6 Merge pull request #211685 from Artturin/splicingstuff1-split 2023-02-03 12:49:08 +02:00
Thiago Kenji Okada
a8c155e0f6 openjfx17: 17.0.5+1 -> 17.0.6+3 2023-02-03 10:47:29 +00:00
Benjamin Asbach
42d51f710a openjdk17: 17.0.5+8 -> 17.0.6+10 2023-02-03 10:47:29 +00:00
Fabian Affolter
9b65aebff1 python310Packages.types-toml: 0.10.8.1 -> 0.10.8.2 2023-02-03 11:43:40 +01:00
Nick Cao
3daee4c5ee meson: cleanup after https://github.com/NixOS/nixpkgs/pull/214046 2023-02-03 14:02:22 +08:00
github-actions[bot]
931f54ceff Merge staging-next into staging 2023-02-03 06:02:05 +00:00
Nick Cao
f6b50bf72d Merge pull request #213668 from reckenrode/moltenvk-1.2.2
moltenvk: 1.2.1 -> 1.2.2
2023-02-03 08:59:38 +08:00
Artturi
88536ae112 Merge pull request #210349 from prusnak/hidapi
hidapi: 0.12.0 -> 0.13.1
2023-02-03 02:19:04 +02:00
Thiago Kenji Okada
61de80e499 openjfx11: 11.0.17+1 -> 11.0.18+1 2023-02-03 00:09:51 +00:00
github-actions[bot]
4f5d9f58a2 Merge staging-next into staging 2023-02-03 00:03:01 +00:00
Thiago Kenji Okada
c1c6d7325c openjdk11: 11.0.17+8 -> 11.0.18+10 2023-02-03 00:01:06 +00:00
Thiago Kenji Okada
c62f7d2457 openjdk8: 352-ga -> 362-ga 2023-02-02 23:54:59 +00:00
Weijia Wang
0437df79ed Merge pull request #214223 from Mic92/ruby-fix
ruby: fix default CC not beeing set
2023-02-02 23:37:17 +01:00
github-actions[bot]
89bb6efd2d Merge staging-next into staging 2023-02-02 18:01:42 +00:00
Jörg Thalheim
42a4f2fd0a ruby: fix default CC not beeing set
This is a regression introduced in https://github.com/NixOS/nixpkgs/pull/202041
2023-02-02 18:41:53 +01:00
Artturin
1db2422130 systemd: disallowedReferences nativeBuildInputs
add cross to passthru.tests to prevent cross breaking
2023-02-02 18:57:58 +02:00
Thomas Tuegel
ae2a076cad Merge pull request #213926 from NickCao/qt-wrap
qt5.wrapQtAppsHook: fix interaction with strictDeps
2023-02-02 10:37:52 -06:00
Artturin
2142bc8d33 systemd: don't reference build bash
the .install files retained references to build bash

$ pwd
/nix/store/yfzncfa577cbc0r1bm1fjdc1szyy0dif-systemd-aarch64-unknown-linux-gnu-252.4/lib
$ tree kernel
kernel
├── install.conf
└── install.d
    ├── 50-depmod.install
    └── 90-loaderentry.install
2023-02-02 18:12:12 +02:00
Martin Weinelt
2adc7639fa Merge pull request #214064 from mweinelt/pyopenssl-23.0.0
python3Packages.pyopenssl: 22.1.0 -> 23.0.0
2023-02-02 12:42:48 +00:00
github-actions[bot]
978e92d997 Merge staging-next into staging 2023-02-02 12:02:05 +00:00
Sergei Trofimovich
a67949a3fc Merge pull request #211571 from bouk/bouk/boost-add-zstd-lzma
boost: add zstd and lzma support
2023-02-02 11:54:12 +00:00
Jan Tojnar
7673d2be90 gi-docgen: 2022.2 → 2023.1
https://gitlab.gnome.org/GNOME/gi-docgen/-/compare/2022.2...2023.1

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-02-02 11:53:36 +01:00
Bouke van der Bijl
ab04f4777b boost: add zstd and lzma support
The boost iostreams library supports zstd and lzma compression if it can
find the packages: https://www.boost.org/doc/libs/1_79_0/libs/iostreams/doc/installation.html
2023-02-02 10:55:16 +01:00
R. Ryantm
f08158b03d doxygen: 1.9.5 -> 1.9.6 2023-02-02 08:22:47 +00:00
github-actions[bot]
b5a491579d Merge staging-next into staging 2023-02-02 06:02:00 +00:00
Dmitry Bogatov
69b3d7ef23 python3.pkgs.typeguard: build offline documentation 2023-02-02 00:25:32 -05:00
Weijia Wang
e9202e95e6 Merge pull request #207167 from alyssais/xorg-darwin
xorg.xorgserver: 1.18.4 -> 1.20.14 on Darwin (still broken)
2023-02-02 06:23:57 +01:00
Martin Weinelt
0f59c03483 Merge pull request #214060 from mweinelt/pillow-9.4.0
python3Packages.pillow: 9.3.0 -> 9.4.0
2023-02-02 03:34:52 +00:00
Weijia Wang
327876fb7a xorg.xorgserver: remove 1.18 compat 2023-02-02 04:08:37 +01:00
Martin Weinelt
fa7a52b9a9 python3Packages.pyopenssl: 22.1.0 -> 23.0.0
https://github.com/pyca/pyopenssl/blob/23.0.0/CHANGELOG.rst

Some light reformatting and we are building the documentation now.
2023-02-02 02:18:55 +01:00
Jan Tojnar
233dac2934 modemmanager: 1.18.12 → 1.20.4
- Tarballs no longer available.
- Autotools no longer supported.
- Formatting the expression.
- Dropped default configure flags (`--with-polkit` implies `yes`, which gets interpreted as `strict` on Autotools, which is the default with Meson; `systemd_suspend_resume` and `systemd_journal` default to `true` with Meson)
- Dropped flags for paths that can be obtained from pkg-config (does not work for udev).

https://lists.freedesktop.org/archives/modemmanager-devel/2022-October/009455.html
https://lists.freedesktop.org/archives/wayland-devel/2022-November/042515.html
https://lists.freedesktop.org/archives/modemmanager-devel/2022-November/009525.html
https://lists.freedesktop.org/archives/modemmanager-devel/2022-December/009563.html
2023-02-02 01:26:32 +01:00
Jan Tojnar
57af6a6e7d libqmi: 1.30.8 → 1.32.2
- Autotools no longer supported.
- Tarballs no longer available.

https://lists.freedesktop.org/archives/libqmi-devel/2022-October/003803.html
https://lists.freedesktop.org/archives/libqmi-devel/2022-October/003808.html
https://lists.freedesktop.org/archives/libqmi-devel/2022-October/003811.html
https://lists.freedesktop.org/archives/libqmi-devel/2022-November/003812.html
2023-02-02 01:26:32 +01:00
github-actions[bot]
d80e8093d2 Merge staging-next into staging 2023-02-02 00:03:09 +00:00
Jan Tojnar
a1e8dfcdf4 libmbim: 1.26.4 → 1.28.2
- Autotools no longer supported.
- Tarballs no longer available.

https://lists.freedesktop.org/archives/libmbim-devel/2022-October/001193.html
https://lists.freedesktop.org/archives/libmbim-devel/2022-October/001195.html
https://lists.freedesktop.org/archives/libmbim-devel/2022-October/001196.html
https://lists.freedesktop.org/archives/libmbim-devel/2022-October/001197.html
https://lists.freedesktop.org/archives/libmbim-devel/2022-November/001198.html
2023-02-02 00:52:01 +01:00
Robert Scott
dc7580e6c1 Merge pull request #214030 from LeSuisse/libde265-1.0.11
libde265: 1.0.10 -> 1.0.11
2023-02-01 23:47:43 +00:00
R. RyanTM
bf928e5579 libinput: 1.21.0 → 1.22.1
https://lists.freedesktop.org/archives/wayland-devel/2022-November/042515.html
https://gitlab.freedesktop.org/libinput/libinput/-/compare/1.21.0...1.22.1
2023-02-02 00:12:46 +01:00
R. Ryantm
ab1de37ebc libwacom: 2.4.0 -> 2.6.0 2023-02-02 00:10:36 +01:00
Jan Tojnar
746e2b1fc4 glib: 2.74.3 → 2.74.5
https://gitlab.gnome.org/GNOME/glib/-/compare/2.74.3...2.74.5

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-02-02 00:06:52 +01:00
Jan Tojnar
e0e87e36c6 networkmanager: 1.40.6 → 1.40.12
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/compare/1.40.6...1.40.12

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-02-02 00:06:49 +01:00
Martin Weinelt
5bbc0c8891 python3Packages.pillow: 9.3.0 -> 9.4.0
https://github.com/python-pillow/Pillow/releases/tag/9.4.0
2023-02-01 23:07:31 +01:00
Thomas Gerbet
b39c23d283 libde265: 1.0.10 -> 1.0.11
Changelog:
https://github.com/strukturag/libde265/releases/tag/v1.0.11
2023-02-01 21:09:20 +01:00
superherointj
bb9930984e Merge pull request #213625 from superherointj/cmocka-enable-tests-set-broken-for-static-staging
cmocka: enable tests and set broken for static
2023-02-01 15:34:08 -03:00
github-actions[bot]
8de5ed2542 Merge staging-next into staging 2023-02-01 18:01:56 +00:00
Weijia Wang
7abd144913 treewide: update darwin sdk hashes 2023-02-01 12:36:48 +01:00
Nick Cao
67751b2737 qt5.wrapQtAppsHook: fix interaction with strictDeps 2023-02-01 15:10:50 +08:00
Randy Eckenrode
6668f9ae8c moltenvk: 1.2.1 -> 1.2.2
https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.2
2023-01-30 17:26:25 -05:00
superherointj
d9f45ec99e cmocka: enable tests and set broken for static 2023-01-30 18:24:03 -03:00
Fabian Affolter
4ccd49d249 python310Packages.watchdog: 2.2.0 -> 2.2.1
Changelog: https://github.com/gorakhargosh/watchdog/blob/v2.2.1/changelog.rst
2023-01-30 14:23:21 +01:00
R. Ryantm
6ee589b39a libopenmpt: 0.6.6 -> 0.6.8 2023-01-30 06:35:11 +00:00
Pavol Rusnak
ad068a815c python3Packages.hidapi: 0.12.0.post2 -> 0.13.1 2023-01-29 19:11:40 +00:00
Pavol Rusnak
7039d66a59 hidapi: 0.12.0 -> 0.13.1 2023-01-29 19:11:40 +00:00
Sandro Jäckel
c9ecfe7eda python310Packages.pycryptodome: 3.16.0 -> 3.17.0 2023-01-29 19:05:35 +01:00
Artturin
a0f4e8746d tests.overriding: add repeatedOverrides-pname, repeatedOverrides-entangled-pname
from https://github.com/NixOS/nixpkgs/pull/201734#pullrequestreview-1185972282
2023-01-28 12:10:47 +02:00
R. Ryantm
1f88480755 python310Packages.chart-studio: 5.11.0 -> 5.13.0 2023-01-26 16:29:55 +00:00
Sandro Jäckel
9b0ba273bf python310Packages.cryptography: 38.0.4 -> 39.0.0 2023-01-23 22:15:38 +01:00
Sandro Jäckel
7cbb0b7098 python310Packages.ujson: 5.6.0 -> 5.7.0 2023-01-23 13:02:07 +01:00
Mario Rodas
8c4cb4ae31 libimagequant: add pillow as reverse dependency to passthru.tests 2023-01-22 04:20:00 +00:00
Mario Rodas
42fc350000 libimagequant: 2.17.0 -> 4.1.0 2023-01-22 04:20:00 +00:00
Artturin
9c0ac5691c tests.overriding: init
only outputs the first failing test atm
2023-01-20 19:20:03 +02:00
Artturin
b94fa2c253 python-packages-base: use extends instead of //
// shouldn't be used when overrideAttrs is available

here we can use extends instead of overrideAttrs for performance
2023-01-20 19:19:18 +02:00
Robert Hensing
5b2f597b11 lib.extendDerivation: Fix interaction between output selection and overrideAttrs 2023-01-20 02:45:34 +02:00
R. Ryantm
bd33397607 hdf5: 1.12.2 -> 1.14.0 2023-01-19 23:03:46 +00:00
Fabian Affolter
187e43489b python310Packages.inquirer: add changelog to meta
- add pythonImportsCheck
2023-01-16 14:21:27 +01:00
R. Ryantm
112a1cffab python310Packages.inquirer: 3.1.1 -> 3.1.2 2023-01-16 12:23:51 +00:00
R. Ryantm
dce177b067 python310Packages.coconut: 2.1.1 -> 2.2.0 2023-01-15 11:54:19 +00:00
Robert Hensing
bff126ffbc stdenv.mkDerivation: Make overrideAttrs overridable
(cherry picked from commit 43c8b43f808f48fd5600afcad5503eaeaf6d71b7)
2023-01-15 04:37:14 +02:00
R. Ryantm
32c3b6983b neon: 0.32.3 -> 0.32.4 2022-12-30 00:51:40 +00:00
Alyssa Ross
0a55054b16 xorg.xorgserver: 1.18.4 -> 1.20.14 on Darwin (still broken)
Previously, Darwin was kept on 1.18 because more recent versions were
broken, but now 1.18 is also broken on Darwin, so we might as well get
rid of the special case and bring Darwin forward.  With these changes,
xQuartz builds on Darwin, but when run it will exit immediately.

This makes Darwin use the same derivation as Linux by default, which
will enable further cleanups.  But as a result, we have to fix some
Linuxisms.

 * Only add libdrm dependency on compatible platforms.
 * Add libepoxy dependency for all platforms.
 * Add bootstrap_cmds dependency on Darwin.
 * Disable glamor on Darwin.
2022-12-21 22:39:58 +00:00
Alyssa Ross
494f5ba951 quartz-wm: --enable-xplugin-dock-support
This is required to avoid using a proprietary binary, which doesn't
even exist for aarch64.
2022-12-21 22:39:49 +00:00
194 changed files with 1717 additions and 983 deletions

View File

@@ -6,6 +6,7 @@
This chapter describes several special builders.
</para>
<xi:include href="special/fhs-environments.section.xml" />
<xi:include href="special/makesetuphook.section.xml" />
<xi:include href="special/mkshell.section.xml" />
<xi:include href="special/darwin-builder.section.xml" />
</chapter>

View File

@@ -0,0 +1,37 @@
# pkgs.makeSetupHook {#sec-pkgs.makeSetupHook}
`pkgs.makeSetupHook` is a builder that produces hooks that go in to `nativeBuildInputs`
## Usage {#sec-pkgs.makeSetupHook-usage}
```nix
pkgs.makeSetupHook {
name = "something-hook";
propagatedBuildInputs = [ pkgs.commandsomething ];
depsTargetTargetPropagated = [ pkgs.libsomething ];
} ./script.sh
```
#### setup hook that depends on the hello package and runs hello and @shell@ is substituted with path to bash
```nix
pkgs.makeSetupHook {
name = "run-hello-hook";
propagatedBuildInputs = [ pkgs.hello ];
substitutions = { shell = "${pkgs.bash}/bin/bash"; };
passthru.tests.greeting = callPackage ./test { };
meta.platforms = lib.platforms.linux;
} (writeScript "run-hello-hook.sh" ''
#!@shell@
hello
'')
```
## Attributes
* `name` Set the name of the hook.
* `propagatedBuildInputs` Runtime dependencies (such as binaries) of the hook.
* `depsTargetTargetPropagated` Non-binary dependencies.
* `meta`
* `passthru`
* `substitutions` Variables for `substituteAll`

View File

@@ -213,7 +213,14 @@ rec {
outputSpecified = true;
drvPath = assert condition; drv.${outputName}.drvPath;
outPath = assert condition; drv.${outputName}.outPath;
};
} //
# TODO: give the derivation control over the outputs.
# `overrideAttrs` may not be the only attribute that needs
# updating when switching outputs.
lib.optionalAttrs (passthru?overrideAttrs) {
# TODO: also add overrideAttrs when overrideAttrs is not custom, e.g. when not splicing.
overrideAttrs = f: (passthru.overrideAttrs f).${outputName};
};
};
outputsList = map outputToAttrListElement outputs;

View File

@@ -247,6 +247,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The new option `services.tailscale.useRoutingFeatures` controls various settings for using Tailscale features like exit nodes and subnet routers. If you wish to use your machine as an exit node, you can set this setting to `server`, otherwise if you wish to use an exit node you can set this setting to `client`. The strict RPF warning has been removed as the RPF will be loosened automatically based on the value of this setting.
- `openjdk` from version 11 and above is not build with `openjfx` (i.e.: JavaFX) support by default anymore. You can re-enable it by overriding, e.g.: `openjdk11.override { enableJavaFX = true; };`.
- [Xastir](https://xastir.org/index.php/Main_Page) can now access AX.25 interfaces via the `libax25` package.
- `tvbrowser-bin` was removed, and now `tvbrowser` is built from source.

View File

@@ -267,6 +267,7 @@ lvm vgchange -ay
if test -n "$debug1devices"; then fail; fi
@postDeviceCommands@
# Check the specified file system, if appropriate.
@@ -483,8 +484,6 @@ if test -e /sys/power/resume -a -e /sys/power/disk; then
fi
fi
@postDeviceCommands@
# If we have a path to an iso file, find the iso and link it to /dev/root
if [ -n "$isoPath" ]; then
mkdir -p /findiso

View File

@@ -16,20 +16,20 @@
stdenv.mkDerivation rec {
pname = "helvum";
version = "0.3.4";
version = "0.4.0";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "pipewire";
repo = pname;
rev = version;
sha256 = "0nhv6zw2zzxz2bg2zj32w1brywnm5lv6j3cvmmvwshc389z2k5x1";
hash = "sha256-TvjO7fGobGmAltVHeXWyMtMLANdVWVGvBYq20JD3mMI=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-EIHO9qVPIXgezfFOaarlTU0an762nFmX1ELbQuAZ7rY";
hash = "sha256-W5Imlut30cjV4A6TCjBFLbViB0CDUucNsvIUiCXqu7I=";
};
nativeBuildInputs = [
@@ -50,9 +50,6 @@ stdenv.mkDerivation rec {
pipewire
];
# FIXME: workaround for Pipewire 0.3.64 deprecated API change, remove when fixed upstream
NIX_CFLAGS_COMPILE = [ "-DPW_ENABLE_DEPRECATED" ];
meta = with lib; {
description = "A GTK patchbay for pipewire";
homepage = "https://gitlab.freedesktop.org/pipewire/helvum";

View File

@@ -6,20 +6,20 @@
let
pname = "torq";
version = "0.17.3";
version = "0.18.17";
src = fetchFromGitHub {
owner = "lncapital";
repo = pname;
rev = "v${version}";
hash = "sha256-fqHJZi1NQCrZqsa+N+FVYZ8s9o0D555Sqn5qNlJ1MmI=";
hash = "sha256-xiA66yGo8b1+zZ7jQ7SFOtNPmqbdna7fUCT21uibrIM=";
};
web = buildNpmPackage {
pname = "${pname}-frontend";
inherit version;
src = "${src}/web";
npmDepsHash = "sha256-8mUfTFzPjQlQvhC3zZf+WruDBkYnmGt3yckNi0CPWs0=";
npmDepsHash = "sha256-/7x5RWYIB5BChYMnMuFVVaZd0pVkew4i4QrF7hSFnCM=";
# copied from upstream Dockerfile
npmInstallFlags = [ "--legacy-peer-deps" ];
@@ -29,14 +29,14 @@ let
# override npmInstallHook, we only care about the build/ directory
installPhase = ''
mkdir $out
cp -r build $out/
cp -r build/* $out/
'';
};
in
buildGoModule rec {
inherit pname version src;
vendorHash = "sha256-HETN2IMnpxnTyg6bQDpoD0saJu+gKocdEf0VzEi12Gs=";
vendorHash = "sha256-bvisI589Gq9IdyJEqI+uzs3iDPOTUkq95P3n/KoFhF0=";
subPackages = [ "cmd/torq" ];
@@ -47,7 +47,8 @@ buildGoModule rec {
];
postInstall = ''
ln -s ${web} $out/web
mkdir -p $out/web/build
cp -r ${web}/* $out/web/build/
'';
meta = with lib; {

View File

@@ -1,12 +1,12 @@
{ lib, fetchFromGitHub }:
rec {
version = "9.0.0609";
version = "9.0.1275";
src = fetchFromGitHub {
owner = "vim";
repo = "vim";
rev = "v${version}";
hash = "sha256-UBj3pXY6rdekKnCX/V/4o8LLBMZkNs1U4Z4KuvisIYQ=";
hash = "sha256-WDnlYi9o2Kv/f3Fh1MHcfTlBTe1fxw4UyKJlKY04fyA=";
};
enableParallelBuilding = true;

View File

@@ -363,7 +363,7 @@ rec {
vimGenDocHook = callPackage ({ vim }:
makeSetupHook {
name = "vim-gen-doc-hook";
deps = [ vim ];
propagatedBuildInputs = [ vim ];
substitutions = {
vimBinary = "${vim}/bin/vim";
inherit rtpPath;
@@ -373,7 +373,7 @@ rec {
vimCommandCheckHook = callPackage ({ neovim-unwrapped }:
makeSetupHook {
name = "vim-command-check-hook";
deps = [ neovim-unwrapped ];
propagatedBuildInputs = [ neovim-unwrapped ];
substitutions = {
vimBinary = "${neovim-unwrapped}/bin/nvim";
inherit rtpPath;
@@ -383,7 +383,7 @@ rec {
neovimRequireCheckHook = callPackage ({ neovim-unwrapped }:
makeSetupHook {
name = "neovim-require-check-hook";
deps = [ neovim-unwrapped ];
propagatedBuildInputs = [ neovim-unwrapped ];
substitutions = {
nvimBinary = "${neovim-unwrapped}/bin/nvim";
inherit rtpPath;

View File

@@ -26,7 +26,6 @@ python3.pkgs.buildPythonApplication rec {
];
buildInputs = [
gobject-introspection
pango
gtksourceview3
];

View File

@@ -43,7 +43,6 @@ python3.pkgs.buildPythonApplication rec {
dontWrapGApps = true;
buildInputs = [
gobject-introspection
gtk3
libappindicator-gtk3
libnotify

View File

@@ -25,7 +25,6 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
buildInputs = [
gobject-introspection
gtksourceview3
libappindicator-gtk3
libnotify

View File

@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, apfel
@@ -16,22 +15,15 @@
stdenv.mkDerivation rec {
pname = "nnpdf";
version = "4.0.4";
version = "4.0.6";
src = fetchFromGitHub {
owner = "NNPDF";
repo = pname;
rev = version;
sha256 = "sha256-Alx4W0TkPzJBsnRXcKBrlEU6jWTnOjrji/IPk+dNCw0=";
hash = "sha256-mwOMNlYFhHZq/wakO1/HGwcxvKGKh5OyFa2D9d3Y3IA=";
};
patches = [
(fetchpatch {
url = "https://github.com/NNPDF/nnpdf/commit/7943b62a91d3a41fd4f6366b18881d50695f4b45.diff";
hash = "sha256-UXhTO7vZgJiY8h3bgjg7SQC0gMUQsYQ/V/PgtCEQ7VU=";
})
];
postPatch = ''
for file in CMakeLists.txt buildmaster/CMakeLists.txt; do
substituteInPlace $file \

View File

@@ -33,7 +33,6 @@ python3.pkgs.buildPythonApplication rec {
buildInputs = [
gtk3
gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
keybinder3
libnotify
python3

View File

@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, python3, zlib, pkg-config, glib, buildPackages
{ lib, stdenv, fetchurl, fetchpatch, python3Packages, zlib, pkg-config, glib, buildPackages
, perl, pixman, vde2, alsa-lib, texinfo, flex
, bison, lzo, snappy, libaio, libtasn1, gnutls, nettle, curl, ninja, meson, sigtool
, makeWrapper, runtimeShell, removeReferencesTo
@@ -51,7 +51,13 @@ stdenv.mkDerivation rec {
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ makeWrapper removeReferencesTo pkg-config flex bison meson ninja perl python3 python3.pkgs.sphinx python3.pkgs.sphinx-rtd-theme ]
nativeBuildInputs = [
makeWrapper removeReferencesTo
pkg-config flex bison meson ninja perl
# Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
python3Packages.python python3Packages.sphinx python3Packages.sphinx-rtd-theme
]
++ lib.optionals gtkSupport [ wrapGAppsHook ]
++ lib.optionals stdenv.isDarwin [ sigtool ];
@@ -143,7 +149,6 @@ stdenv.mkDerivation rec {
# have our patches and will be subtly broken because of that.
"--meson=meson"
"--cross-prefix=${stdenv.cc.targetPrefix}"
"--cpu=${stdenv.hostPlatform.uname.processor}"
(lib.enableFeature guestAgentSupport "guest-agent")
] ++ lib.optional numaSupport "--enable-numa"
++ lib.optional seccompSupport "--enable-seccomp"

View File

@@ -20,7 +20,7 @@ in
dotnetConfigureHook = callPackage ({ }:
makeSetupHook {
name = "dotnet-configure-hook";
deps = [ dotnet-sdk nuget-source ];
propagatedBuildInputs = [ dotnet-sdk nuget-source ];
substitutions = {
nugetSource = nuget-source;
inherit runtimeId;
@@ -30,7 +30,7 @@ in
dotnetBuildHook = callPackage ({ }:
makeSetupHook {
name = "dotnet-build-hook";
deps = [ dotnet-sdk ];
propagatedBuildInputs = [ dotnet-sdk ];
substitutions = {
inherit buildType runtimeId;
};
@@ -39,7 +39,7 @@ in
dotnetCheckHook = callPackage ({ }:
makeSetupHook {
name = "dotnet-check-hook";
deps = [ dotnet-test-sdk ];
propagatedBuildInputs = [ dotnet-test-sdk ];
substitutions = {
inherit buildType libraryPath;
disabledTests = lib.optionalString (disabledTests != [])
@@ -54,7 +54,7 @@ in
dotnetInstallHook = callPackage ({ }:
makeSetupHook {
name = "dotnet-install-hook";
deps = [ dotnet-sdk ];
propagatedBuildInputs = [ dotnet-sdk ];
substitutions = {
inherit buildType runtimeId;
};
@@ -63,7 +63,7 @@ in
dotnetFixupHook = callPackage ({ }:
makeSetupHook {
name = "dotnet-fixup-hook";
deps = [ dotnet-runtime ];
propagatedBuildInputs = [ dotnet-runtime ];
substitutions = {
dotnetRuntime = dotnet-runtime;
runtimeDeps = libraryPath;

View File

@@ -193,6 +193,12 @@ let
''}
'' + ''
# currently pie is only enabled by default in pkgsMusl
# this will respect the `hardening{Disable,Enable}` flags if set
if [[ $NIX_HARDENING_ENABLE =~ "pie" ]]; then
export GOFLAGS="-buildmode=pie $GOFLAGS"
fi
runHook postConfigure
'';

View File

@@ -134,6 +134,12 @@ let
export GOPATH=$NIX_BUILD_TOP/go:$GOPATH
export GOCACHE=$TMPDIR/go-cache
# currently pie is only enabled by default in pkgsMusl
# this will respect the `hardening{Disable,Enable}` flags if set
if [[ $NIX_HARDENING_ENABLE =~ "pie" ]]; then
export GOFLAGS="-buildmode=pie $GOFLAGS"
fi
runHook postConfigure
'';

View File

@@ -32,6 +32,14 @@ else stdenv.mkDerivation rec {
buildPhase = ''
runHook preBuild
ENABLE_TEST_SYSTEM=1
if [ "$(cat /proc/self/uid_map)" = " 0 0 4294967295" ]; then
echo "Boot namespace detected! Disabling tests that use system()."
echo "The system() relies on /bin/sh which may not be compatible with nixpkgs's"
echo "glibc, so we can't test this without the sandboxing isolation."
ENABLE_TEST_SYSTEM=0
fi
${if stdenv.isDarwin && stdenv.isAarch64 then ''
# We need the unwrapped binutils and clang:
# We also want to build a fat library with x86_64, arm64, arm64e in there.
@@ -45,16 +53,15 @@ else stdenv.mkDerivation rec {
-isystem ${llvmPackages_13.libclang.lib}/lib/clang/*/include \
-L${llvmPackages_13.clang.libc}/lib \
-Wl,-install_name,$libName \
-Wall -std=c99 -O3 -fPIC libredirect.c \
-shared -o "$libName"
'' else if stdenv.isDarwin then ''
$CC -Wall -std=c99 -O3 -fPIC libredirect.c \
$CC \
-Wl,-install_name,$out/lib/$libName \
-shared -o "$libName"
'' else ''
$CC -Wall -std=c99 -O3 -fPIC libredirect.c \
$CC \
''} \
-Wall -std=c99 -O3 -fPIC libredirect.c \
-DENABLE_TEST_SYSTEM=$ENABLE_TEST_SYSTEM \
-shared -o "$libName"
''}
if [ -n "$doInstallCheck" ]; then
$CC -Wall -std=c99 \

View File

@@ -146,6 +146,8 @@ int main(int argc, char *argv[])
assert_mktemp_path(TESTDIR "/temp", "", buf);
test_spawn();
#if ENABLE_TEST_SYSTEM
test_system();
// Only run subprocess if no arguments are given
@@ -154,6 +156,7 @@ int main(int argc, char *argv[])
if (argc == 1) {
test_subprocess();
}
#endif
test_execv();

View File

@@ -26,7 +26,7 @@
npmInstallHook = makeSetupHook
{
name = "npm-install-hook";
deps = [ buildPackages.makeWrapper ];
propagatedBuildInputs = [ buildPackages.makeWrapper ];
substitutions = {
hostNode = "${nodejs}/bin/node";
jq = "${buildPackages.jq}/bin/jq";

View File

@@ -31,7 +31,7 @@ in {
cargoBuildHook = callPackage ({ }:
makeSetupHook {
name = "cargo-build-hook.sh";
deps = [ cargo ];
propagatedBuildInputs = [ cargo ];
substitutions = {
inherit ccForBuild ccForHost cxxForBuild cxxForHost
rustBuildPlatform rustTargetPlatform rustTargetPlatformSpec;
@@ -41,7 +41,7 @@ in {
cargoCheckHook = callPackage ({ }:
makeSetupHook {
name = "cargo-check-hook.sh";
deps = [ cargo ];
propagatedBuildInputs = [ cargo ];
substitutions = {
inherit rustTargetPlatformSpec;
};
@@ -50,7 +50,7 @@ in {
cargoInstallHook = callPackage ({ }:
makeSetupHook {
name = "cargo-install-hook.sh";
deps = [ ];
propagatedBuildInputs = [ ];
substitutions = {
inherit shortTarget;
};
@@ -59,7 +59,7 @@ in {
cargoNextestHook = callPackage ({ }:
makeSetupHook {
name = "cargo-nextest-hook.sh";
deps = [ cargo cargo-nextest ];
propagatedBuildInputs = [ cargo cargo-nextest ];
substitutions = {
inherit rustTargetPlatformSpec;
};
@@ -68,7 +68,7 @@ in {
cargoSetupHook = callPackage ({ }:
makeSetupHook {
name = "cargo-setup-hook.sh";
deps = [ ];
propagatedBuildInputs = [ ];
substitutions = {
defaultConfig = ../fetchcargo-default-config.toml;
@@ -117,7 +117,7 @@ in {
maturinBuildHook = callPackage ({ }:
makeSetupHook {
name = "maturin-build-hook.sh";
deps = [ cargo maturin rustc ];
propagatedBuildInputs = [ cargo maturin rustc ];
substitutions = {
inherit ccForBuild ccForHost cxxForBuild cxxForHost
rustBuildPlatform rustTargetPlatform rustTargetPlatformSpec;

View File

@@ -11,8 +11,7 @@
makeSetupHook {
name = "make-binary-wrapper-hook";
deps = [ dieHook ]
propagatedBuildInputs = [ dieHook ]
# https://github.com/NixOS/nixpkgs/issues/148189
++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) cc;

View File

@@ -9,12 +9,15 @@
, dconf
, callPackage
, wrapGAppsHook
, writeTextFile
, targetPackages
}:
makeSetupHook {
name = "wrap-gapps-hook";
deps = lib.optionals (!stdenv.isDarwin) [
propagatedBuildInputs = [
# We use the wrapProgram function.
makeWrapper
] ++ lib.optionals (!stdenv.isDarwin) [
# It is highly probable that a program will use GSettings,
# at minimum through GTK file chooser dialogue.
# Lets add a GIO module for “dconf” GSettings backend
@@ -23,19 +26,22 @@ makeSetupHook {
# Unfortunately, it also requires the user to have dconf
# D-Bus service enabled globally (e.g. through a NixOS module).
dconf.lib
] ++ lib.optionals isGraphical [
# TODO: remove this, packages should depend on GTK explicitly.
gtk3
librsvg
];
# depsTargetTargetPropagated will essentially be buildInputs when wrapGAppsHook is placed into nativeBuildInputs
# the librsvg above should be removed but kept to not break anything that implicitly depended on its binaries
depsTargetTargetPropagated = assert (lib.assertMsg (!targetPackages ? raw) "wrapGAppsHook must be in nativeBuildInputs"); lib.optionals isGraphical [
# librsvg provides a module for gdk-pixbuf to allow rendering
# SVG icons. Most icon themes are SVG-based and so are some
# graphics in GTK (e.g. cross for closing window in window title bar)
# so it is pretty much required for applications using GTK.
librsvg
] ++ [
# We use the wrapProgram function.
makeWrapper
];
passthru = {
tests = let
@@ -65,6 +71,15 @@ makeSetupHook {
''
);
basic-contains-gdk-pixbuf = let
tested = basic;
in testLib.runTest "basic-contains-gdk-pixbuf" (
testLib.skip stdenv.isDarwin ''
${expectSomeLineContainingYInFileXToMentionZ "${tested}/bin/foo" "GDK_PIXBUF_MODULE_FILE" "${lib.getLib librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"}
${expectSomeLineContainingYInFileXToMentionZ "${tested}/libexec/bar" "GDK_PIXBUF_MODULE_FILE" "${lib.getLib librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"}
''
);
# Simple derivation containing a gobject-introspection typelib.
typelib-Mahjong = stdenv.mkDerivation {
name = "typelib-Mahjong";

View File

@@ -1,7 +1,7 @@
{ lib, runCommand }:
rec {
runTest = name: body: runCommand name { } ''
runTest = name: body: runCommand name { strictDeps = true; } ''
set -o errexit
${body}
touch $out

View File

@@ -593,45 +593,28 @@ rec {
in linkFarm name (map mkEntryFromDrv drvs);
/*
Make a package that just contains a setup hook with the given contents.
This setup hook will be invoked by any package that includes this package
as a buildInput. Optionally takes a list of substitutions that should be
applied to the resulting script.
Examples:
# setup hook that depends on the hello package and runs ./myscript.sh
myhellohook = makeSetupHook { deps = [ hello ]; } ./myscript.sh;
# writes a Linux-exclusive setup hook where @bash@ myscript.sh is substituted for the
# bash interpreter.
myhellohookSub = makeSetupHook {
name = "myscript-hook";
deps = [ hello ];
substitutions = { bash = "${pkgs.bash}/bin/bash"; };
meta.platforms = lib.platforms.linux;
} ./myscript.sh;
# setup hook with a package test
myhellohookTested = makeSetupHook {
name = "myscript-hook";
deps = [ hello ];
substitutions = { bash = "${pkgs.bash}/bin/bash"; };
meta.platforms = lib.platforms.linux;
passthru.tests.greeting = callPackage ./test { };
} ./myscript.sh;
*/
# docs in doc/builders/special/makesetuphook.section.md
makeSetupHook =
{ name ? lib.warn "calling makeSetupHook without passing a name is deprecated." "hook"
, deps ? []
, substitutions ? {}
, meta ? {}
, passthru ? {}
, deps ? [ ]
# hooks go in nativeBuildInput so these will be nativeBuildInput
, propagatedBuildInputs ? [ ]
# these will be buildInputs
, depsTargetTargetPropagated ? [ ]
, meta ? { }
, passthru ? { }
, substitutions ? { }
}:
script:
runCommand name
(substitutions // {
inherit meta;
inherit depsTargetTargetPropagated;
propagatedBuildInputs =
# remove list conditionals before 23.11
lib.warnIf (!lib.isList deps) "'deps' argument to makeSetupHook must be a list. content of deps: ${toString deps}"
(lib.warnIf (deps != [ ]) "'deps' argument to makeSetupHook is deprecated and will be removed in release 23.11., Please use propagatedBuildInputs instead. content of deps: ${toString deps}"
propagatedBuildInputs ++ (if lib.isList deps then deps else [ deps ]));
strictDeps = true;
# TODO 2023-01, no backport: simplify to inherit passthru;
passthru = passthru
@@ -642,8 +625,7 @@ rec {
(''
mkdir -p $out/nix-support
cp ${script} $out/nix-support/setup-hook
'' + lib.optionalString (deps != []) ''
printWords ${toString deps} > $out/nix-support/propagated-build-inputs
recordPropagatedDependencies
'' + lib.optionalString (substitutions != {}) ''
substituteAll ${script} $out/nix-support/setup-hook
'');

View File

@@ -1,16 +1,23 @@
{ stdenv, buildPackages, callPackage }:
let
chezSystemMap = {
# See `/workarea` of source code for list of systems
"aarch64-darwin" = "tarm64osx";
"aarch64-linux" = "tarm64le";
"armv7l-linux" = "tarm32le";
"x86_64-darwin" = "ta6osx";
"x86_64-linux" = "ta6le";
};
chezArch =
/**/ if stdenv.hostPlatform.isAarch then "arm${toString stdenv.hostPlatform.parsed.cpu.bits}"
else if stdenv.hostPlatform.isx86_32 then "i3"
else if stdenv.hostPlatform.isx86_64 then "a6"
else if stdenv.hostPlatform.isPower then "ppc${toString stdenv.hostPlatform.parsed.cpu.bits}"
else throw "Add ${stdenv.hostPlatform.parsed.cpu.arch} to chezArch to enable building chez-racket";
chezOs =
/**/ if stdenv.hostPlatform.isDarwin then "osx"
else if stdenv.hostPlatform.isFreeBSD then "fb"
else if stdenv.hostPlatform.isLinux then "le"
else if stdenv.hostPlatform.isNetBSD then "nb"
else if stdenv.hostPlatform.isOpenBSD then "ob"
else throw "Add ${stdenv.hostPlatform.uname.system} to chezOs to enable building chez-racket";
inherit (stdenv.hostPlatform) system;
chezSystem = chezSystemMap.${system} or (throw "Add ${system} to chezSystemMap to enable building chez-racket");
chezSystem = "t${chezArch}${chezOs}";
# Chez Scheme uses an ad-hoc `configure`, hence we don't use the usual
# stdenv abstractions.
forBoot = {

View File

@@ -24,8 +24,7 @@ stdenv.mkDerivation (args // {
'';
nativeBuildInputs = lib.optionals stdenv.isDarwin (with darwin; [ cctools autoSignDarwinBinariesHook ]);
buildInputs = [ ncurses libX11 zlib lz4 ]
++ lib.optional stdenv.isDarwin libiconv;
buildInputs = [ libiconv libX11 lz4 ncurses zlib ];
enableParallelBuilding = true;

View File

@@ -10,13 +10,13 @@
}:
stdenv.mkDerivation rec {
pname = "glslang";
version = "1.3.236.0";
version = "1.3.239.0";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "glslang";
rev = "sdk-${version}";
hash = "sha256-iVcx1j7OMJEU4cPydNwQSFufTUiqq7GKp69Y6pEt7Wc=";
hash = "sha256-P2HG/oJXdB5nvU3zVnj2vSLJGQuDcZiQBfBBvuR66Kk=";
};
# These get set at all-packages, keep onto them for child drvs
@@ -33,6 +33,14 @@ stdenv.mkDerivation rec {
url = "https://github.com/KhronosGroup/glslang/commit/7627bd89583c5aafb8b38c81c15494019271fabf.patch";
hash = "sha256-1Dwhn78PG4gAGgEwTXpC+mkZRyvy8sTIsEvihXFeNaQ=";
})
# Upstream tries to detect the Darwin linker by checking for AppleClang, but its just Clang in nixpkgs.
# Revert the commit to allow the build to work on Darwin with the nixpkg Darwin Clang toolchain.
(fetchpatch {
name = "Fix-Darwin-linker-error.patch";
url = "https://github.com/KhronosGroup/glslang/commit/586baa35a47b3aa6ad3fa829a27f0f4206400668.patch";
hash = "sha256-paAl4E8GzogcxDEzn/XuhNH6XObp+i7WfArqAiuH4Mk=";
revert = true;
})
];
postPatch = ''

View File

@@ -4,15 +4,15 @@
, libXcursor, libXrandr, fontconfig, openjdk11-bootstrap
, setJavaClassPath
, headless ? false
, enableJavaFX ? openjfx.meta.available, openjfx
, enableJavaFX ? false, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:
let
major = "11";
minor = "0";
update = "17";
build = "8";
update = "18";
build = "10";
openjdk = stdenv.mkDerivation rec {
pname = "openjdk" + lib.optionalString headless "-headless";
@@ -22,7 +22,7 @@ let
owner = "openjdk";
repo = "jdk${major}u";
rev = "jdk-${version}";
sha256 = "sha256-kvgLYqQZPqyuigVyzbDHc3TMff0clvzM8IdzYLYcxPU=";
sha256 = "sha256-QGOpMIrWwOtIcUY/CLbTRDvcVTG2xioZu46v+n+IIQ4=";
};
nativeBuildInputs = [ pkg-config autoconf unzip ];

View File

@@ -4,7 +4,7 @@
, libXcursor, libXrandr, fontconfig, openjdk11, fetchpatch
, setJavaClassPath
, headless ? false
, enableJavaFX ? openjfx.meta.available, openjfx
, enableJavaFX ? false, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:

View File

@@ -4,7 +4,7 @@
, libXcursor, libXrandr, fontconfig, openjdk13-bootstrap, fetchpatch
, setJavaClassPath
, headless ? false
, enableJavaFX ? openjfx.meta.available, openjfx
, enableJavaFX ? false, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:

View File

@@ -4,7 +4,7 @@
, libXcursor, libXrandr, fontconfig, openjdk14-bootstrap
, setJavaClassPath
, headless ? false
, enableJavaFX ? openjfx.meta.available, openjfx
, enableJavaFX ? false, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:

View File

@@ -4,7 +4,7 @@
, libXcursor, libXrandr, fontconfig, openjdk15-bootstrap
, setJavaClassPath
, headless ? false
, enableJavaFX ? openjfx.meta.available, openjfx
, enableJavaFX ? false, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:

View File

@@ -4,7 +4,7 @@
, libXi, libXinerama, libXcursor, libXrandr, fontconfig, openjdk16-bootstrap
, setJavaClassPath
, headless ? false
, enableJavaFX ? openjfx.meta.available, openjfx
, enableJavaFX ? false, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:

View File

@@ -4,15 +4,15 @@
, libXi, libXinerama, libXcursor, libXrandr, fontconfig, openjdk17-bootstrap
, setJavaClassPath
, headless ? false
, enableJavaFX ? openjfx.meta.available, openjfx
, enableJavaFX ? false, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:
let
version = {
feature = "17";
interim = ".0.5";
build = "8";
interim = ".0.6";
build = "10";
};
openjdk = stdenv.mkDerivation {
@@ -23,7 +23,7 @@ let
owner = "openjdk";
repo = "jdk${version.feature}u";
rev = "jdk-${version.feature}${version.interim}+${version.build}";
sha256 = "sha256-2k1Mm36ds6MZheZVsLvXkoqQG4zYeIRWzbP1aZ72Vqs=";
sha256 = "sha256-zPpINi++3Ct0PCwlwlfhceh/ploMkclw+MgeI9dULdc=";
};
nativeBuildInputs = [ pkg-config autoconf unzip ];

View File

@@ -4,7 +4,7 @@
, libXi, libXinerama, libXcursor, libXrandr, fontconfig, openjdk18-bootstrap
, setJavaClassPath
, headless ? false
, enableJavaFX ? openjfx.meta.available, openjfx
, enableJavaFX ? false, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:

View File

@@ -7,15 +7,15 @@
# TODO(@sternenseemann): gtk3 fails to evaluate in pkgsCross.ghcjs.buildPackages
# which should be fixable, this is a no-rebuild workaround for GHC.
, headless ? stdenv.targetPlatform.isGhcjs
, enableJavaFX ? openjfx.meta.available, openjfx
, enableJavaFX ? false, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:
let
version = {
feature = "19";
interim = ".0.1";
build = "10";
interim = ".0.2";
build = "7";
};
openjdk = stdenv.mkDerivation {
@@ -26,7 +26,7 @@ let
owner = "openjdk";
repo = "jdk${version.feature}u";
rev = "jdk-${version.feature}${version.interim}+${version.build}";
hash = "sha256-IS6ABnVdW1qJ4gu4YSgMVFXBTNdtWFdbNNz+kMaiyk8=";
hash = "sha256-pBEHmBtIgG4Czou4C/zpBBYZEDImvXiLoA5CjOzpeyI=";
};
nativeBuildInputs = [ pkg-config autoconf unzip ensureNewerSourcesForZipFilesHook ];
@@ -57,8 +57,8 @@ let
# Patch borrowed from Alpine to fix build errors with musl libc and recent gcc.
# This is applied anywhere to prevent patchrot.
(fetchpatch {
url = "https://git.alpinelinux.org/aports/plain/testing/openjdk19/FixNullPtrCast.patch?id=b93d1fc37fcf106144958d957bb97c7db67bd41f";
hash = "sha256-cnpeYcVoRYjuDgrl2x27frv6KUAnu1+1MVPehPZy/Cg=";
url = "https://git.alpinelinux.org/aports/plain/testing/openjdk19/FixNullPtrCast.patch?id=93dc07f97ff716b647c5f57c6224901ea06da560";
hash = "sha256-H4X3Yip5bCpXMH7MSu9BgXIOYRVUBMZPZW8EvZSWI5k=";
})
] ++ lib.optionals (!headless && enableGnome2) [
./swing-use-gtk-jdk13.patch

View File

@@ -20,7 +20,7 @@ let
powerpc64le-linux = "ppc64le";
}.${stdenv.system} or (throw "Unsupported platform ${stdenv.system}");
update = "352";
update = "362";
build = "ga";
openjdk8 = stdenv.mkDerivation rec {
@@ -31,7 +31,7 @@ let
owner = "openjdk";
repo = "jdk8u";
rev = "jdk${version}";
sha256 = "sha256-xDiiALDjStD9IPhbBr997rm/v2Q/WdS10cILBCmdJIQ=";
sha256 = "sha256-C5dQwfIIpIrLeO3JWERyFCQHUSgG8gARuc3qXAeLkJ4=";
};
outputs = [ "out" "jre" ];

View File

@@ -1,26 +1,19 @@
{ stdenv, lib, fetchFromGitHub, writeText, gradle_7, pkg-config, perl, cmake
, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsa-lib, ffmpeg_4-headless, python3, ruby, icu68
, openjdk11-bootstrap }:
, gperf, gtk3, libXtst, libXxf86vm, glib, alsa-lib, ffmpeg_4-headless, python3, ruby, icu68
, openjdk11-bootstrap
, withMedia ? true
, withWebKit ? false
}:
let
major = "11";
update = ".0.17";
update = ".0.18";
build = "1";
repover = "${major}${update}+${build}";
gradle_ = (gradle_7.override {
java = openjdk11-bootstrap;
});
NIX_CFLAGS_COMPILE = [
# avoids errors about deprecation of GTypeDebugFlags, GTimeVal, etc.
"-DGLIB_DISABLE_DEPRECATION_WARNINGS"
# glib-2.62 deprecations
# -fcommon: gstreamer workaround for -fno-common toolchains:
# ld: gsttypefindelement.o:(.bss._gst_disable_registry_cache+0x0): multiple definition of
# `_gst_disable_registry_cache'; gst.o:(.bss._gst_disable_registry_cache+0x0): first defined here
"-fcommon"
];
makePackage = args: stdenv.mkDerivation ({
version = "${major}${update}-${build}";
@@ -28,10 +21,10 @@ let
owner = "openjdk";
repo = "jfx${major}u";
rev = repover;
sha256 = "sha256-uKb6k+tIFdwy1BYiHWeGmKNz82X4CZjFlGYqLDpSFY0=";
sha256 = "sha256-46DjIzcBHkmp5vnhYnLu78CG72bIBRM4A6mgk2OLOko=";
};
buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4-headless icu68 ];
buildInputs = [ gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4-headless icu68 ];
nativeBuildInputs = [ gradle_ perl pkg-config cmake gperf python3 ruby ];
dontUseCmakeConfigure = true;
@@ -81,8 +74,8 @@ in makePackage {
pname = "openjfx-modular-sdk";
gradleProperties = ''
COMPILE_MEDIA = true
COMPILE_WEBKIT = false
COMPILE_MEDIA = ${lib.boolToString withMedia}
COMPILE_WEBKIT = ${lib.boolToString withWebKit}
'';
preBuild = ''

View File

@@ -1,6 +1,9 @@
{ stdenv, lib, fetchFromGitHub, writeText, openjdk11_headless, gradle_6
, pkg-config, perl, cmake, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsa-lib
, ffmpeg_4-headless, python3, ruby }:
, pkg-config, perl, cmake, gperf, gtk3, libXtst, libXxf86vm, glib, alsa-lib
, ffmpeg_4-headless, python3, ruby
, withMedia ? true
, withWebKit ? false
}:
let
major = "15";
@@ -21,7 +24,7 @@ let
sha256 = "019glq8rhn6amy3n5jc17vi2wpf1pxpmmywvyz1ga8n09w7xscq1";
};
buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4-headless ];
buildInputs = [ gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4-headless ];
nativeBuildInputs = [ gradle_ perl pkg-config cmake gperf python3 ruby ];
dontUseCmakeConfigure = true;
@@ -76,8 +79,8 @@ in makePackage {
pname = "openjfx-modular-sdk";
gradleProperties = ''
COMPILE_MEDIA = true
COMPILE_WEBKIT = false
COMPILE_MEDIA = ${lib.boolToString withMedia}
COMPILE_WEBKIT = ${lib.boolToString withWebKit}
'';
preBuild = ''

View File

@@ -1,11 +1,14 @@
{ stdenv, lib, fetchFromGitHub, writeText, openjdk17_headless, gradle_7
, pkg-config, perl, cmake, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsa-lib
, ffmpeg_4-headless, python3, ruby, icu68 }:
, pkg-config, perl, cmake, gperf, gtk3, libXtst, libXxf86vm, glib, alsa-lib
, ffmpeg_4-headless, python3, ruby, icu68
, withMedia ? true
, withWebKit ? false
}:
let
major = "17";
update = ".0.5";
build = "+1";
update = ".0.6";
build = "+3";
repover = "${major}${update}${build}";
gradle_ = (gradle_7.override {
java = openjdk17_headless;
@@ -18,10 +21,10 @@ let
owner = "openjdk";
repo = "jfx${major}u";
rev = repover;
sha256 = "sha256-jzLOlWuhkUS0/4+nXtjd1/IYbAHHnJrusFRTh7aPt8U=";
sha256 = "sha256-9VfXk2EfMebMyVKPohPRP2QXRFf8XemUtfY0JtBCHyw=";
};
buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4-headless icu68 ];
buildInputs = [ gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4-headless icu68 ];
nativeBuildInputs = [ gradle_ perl pkg-config cmake gperf python3 ruby ];
dontUseCmakeConfigure = true;
@@ -66,8 +69,8 @@ in makePackage {
pname = "openjfx-modular-sdk";
gradleProperties = ''
COMPILE_MEDIA = true
COMPILE_WEBKIT = false
COMPILE_MEDIA = ${lib.boolToString withMedia}
COMPILE_WEBKIT = ${lib.boolToString withWebKit}
'';
preBuild = ''

View File

@@ -1,11 +1,14 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, writeText, openjdk17_headless
, openjdk19_headless, gradle_7, pkg-config, perl, cmake, gperf, gtk2, gtk3, libXtst
, libXxf86vm, glib, alsa-lib, ffmpeg_4, python3, ruby, icu68 }:
, openjdk19_headless, gradle_7, pkg-config, perl, cmake, gperf, gtk3, libXtst
, libXxf86vm, glib, alsa-lib, ffmpeg_4, python3, ruby, icu68
, withMedia ? true
, withWebKit ? false
}:
let
major = "19";
update = "";
build = "+11";
update = ".0.2.1";
build = "+1";
repover = "${major}${update}${build}";
gradle_ = (gradle_7.override {
# note: gradle does not yet support running on 19
@@ -19,7 +22,7 @@ let
owner = "openjdk";
repo = "jfx";
rev = repover;
hash = "sha256-UXTaXtJ8py83V7IQK9wACIEWDAMRUaYNgH9e/Aeyuzc=";
hash = "sha256-A08GhCGpzWlUG1+f6mcjvkJmMNaOReacQKPEmNpUvLs=";
};
patches = [
@@ -35,7 +38,7 @@ let
})
];
buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4 icu68 ];
buildInputs = [ gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4 icu68 ];
nativeBuildInputs = [ gradle_ perl pkg-config cmake gperf python3 ruby ];
dontUseCmakeConfigure = true;
@@ -83,8 +86,8 @@ in makePackage {
pname = "openjfx-modular-sdk";
gradleProperties = ''
COMPILE_MEDIA = true
COMPILE_WEBKIT = false
COMPILE_MEDIA = ${lib.boolToString withMedia}
COMPILE_WEBKIT = ${lib.boolToString withWebKit}
'';
preBuild = ''

View File

@@ -21,8 +21,8 @@
} @ args:
import ./default.nix {
rustcVersion = "1.67.0";
rustcSha256 = "sha256-0CnxT85Foux6mmBdKgpAquRznLL9rinun3pukCWn/eQ=";
rustcVersion = "1.67.1";
rustcSha256 = "sha256-Rkg9Pl3oWjvUb456OuGDdJY5EGfb5xOiXTzwUbPZ/24=";
llvmSharedForBuild = pkgsBuildBuild.llvmPackages_15.libllvm.override { enableSharedLibraries = true; };
llvmSharedForHost = pkgsBuildHost.llvmPackages_15.libllvm.override { enableSharedLibraries = true; };
@@ -59,14 +59,6 @@ import ./default.nix {
selectRustPackage = pkgs: pkgs.rust_1_67;
rustcPatches = [
# fix thin archive reading
# https://github.com/rust-lang/rust/pull/107360
(fetchpatch {
name = "revert-back-to-llvmarchivebuilder-on-all-platforms.patch";
url = "https://github.com/rust-lang/rust/commit/de363d54c40a378717881240e719f5f7223ba376.patch";
hash = "sha256-3Xb803LZUZ1dldxGJ65Iw6gg1V1K827OB/0b32GqilU=";
})
# Fixes ICE.
# https://github.com/rust-lang/rust/pull/107688
(fetchpatch {

View File

@@ -27,7 +27,7 @@ in {
luarocksCheckHook = callPackage ({ luarocks }:
makeSetupHook {
name = "luarocks-check-hook";
deps = [ luarocks ];
propagatedBuildInputs = [ luarocks ];
} ./luarocks-check-hook.sh) {};
# luarocks installs data in a non-overridable location. Until a proper luarocks patch,
@@ -35,6 +35,6 @@ in {
luarocksMoveDataFolder = callPackage ({ }:
makeSetupHook {
name = "luarocks-move-rock";
deps = [ ];
propagatedBuildInputs = [ ];
} ./luarocks-move-data.sh) {};
}

View File

@@ -8,7 +8,7 @@
# imported as wrapLua in lua-packages.nix and passed to build-lua-derivation to be used as buildInput
makeSetupHook {
name = "wrap-lua-hook";
deps = makeWrapper;
propagatedBuildInputs = [ makeWrapper ];
substitutions.executable = lua.interpreter;
substitutions.lua = lua;
substitutions.LuaPathSearchPaths = lib.escapeShellArgs lua.LuaPathSearchPaths;

View File

@@ -10,7 +10,7 @@
# Each of the substitutions is available in the wrap.sh script as @thingSubstituted@
makeSetupHook {
name = "${octave.name}-pkgs-setup-hook";
deps = makeWrapper;
propagatedBuildInputs = [ makeWrapper ];
substitutions.executable = octave.interpreter;
substitutions.octave = octave;
} ./wrap.sh

View File

@@ -24,7 +24,7 @@
, pkgsHostHost
, pkgsTargetTarget
, sourceVersion
, sha256
, hash
, passthruFun
, static ? stdenv.hostPlatform.isStatic
, stripBytecode ? reproducibleBuild
@@ -87,7 +87,7 @@ let
owner = "ActiveState";
repo = "cpython";
rev = "v${version}";
inherit sha256;
inherit hash;
};
hasDistutilsCxxPatch = !(stdenv.cc.isGNU or false);

View File

@@ -30,7 +30,7 @@
, pkgsHostHost
, pkgsTargetTarget
, sourceVersion
, sha256
, hash
, passthruFun
, bash
, stripConfig ? false
@@ -215,7 +215,7 @@ in with passthru; stdenv.mkDerivation {
src = fetchurl {
url = with sourceVersion; "https://www.python.org/ftp/python/${major}.${minor}.${patch}/Python-${version}.tar.xz";
inherit sha256;
inherit hash;
};
prePatch = optionalString stdenv.isDarwin ''
@@ -235,7 +235,7 @@ in with passthru; stdenv.mkDerivation {
url = "https://github.com/python/cpython/commit/3fae04b10e2655a20a3aadb5e0d63e87206d0c67.diff";
revert = true;
excludes = [ "Misc/NEWS.d/*" ];
sha256 = "sha256-PmkXf2D9trtW1gXZilRIWgdg2Y47JfELq1z4DuG3wJY=";
hash = "sha256-PmkXf2D9trtW1gXZilRIWgdg2Y47JfELq1z4DuG3wJY=";
})
] ++ [
# Disable the use of ldconfig in ctypes.util.find_library (since

View File

@@ -117,23 +117,24 @@
};
sources = {
python39 = {
sourceVersion = {
major = "3";
minor = "9";
patch = "16";
suffix = "";
};
sha256 = "sha256-It3cCZJG3SdgZlVh6K23OU6gzEOnJoTGSA+TgPd4ZDk=";
};
python310 = {
sourceVersion = {
major = "3";
minor = "10";
patch = "9";
patch = "10";
suffix = "";
};
sha256 = "sha256-WuA+MIJgFkuro5kh/bTb+ObQPYI1qTnUWCsz8LXkaoM=";
hash = "sha256-BBnpCFv1G3pnIAmz9Q2/GFms3xi6cl0OwZqlyFA/DqM=";
};
python311 = {
sourceVersion = {
major = "3";
minor = "11";
patch = "2";
suffix = "";
};
hash = "sha256-KeS49fFlhUKowT4t0nc1jJxI8rL3MYZS7xZ15AK50q8=";
};
};
@@ -147,7 +148,7 @@ in {
patch = "18";
suffix = ".6"; # ActiveState's Python 2 extended support
};
sha256 = "sha256-+I0QOBkuTHMIQz71lgNn1X1vjPsjJMtFbgC0xcGTwWY=";
hash = "sha256-+I0QOBkuTHMIQz71lgNn1X1vjPsjJMtFbgC0xcGTwWY=";
inherit (darwin) configd;
inherit passthruFun;
};
@@ -160,16 +161,23 @@ in {
patch = "16";
suffix = "";
};
sha256 = "sha256-2F27N3QTJHPYCB3LFY80oQzK16kLlsflDqS7YfXORWI=";
hash = "sha256-2F27N3QTJHPYCB3LFY80oQzK16kLlsflDqS7YfXORWI=";
inherit (darwin) configd;
inherit passthruFun;
};
python39 = callPackage ./cpython ({
python39 = callPackage ./cpython {
self = __splicedPackages.python39;
sourceVersion = {
major = "3";
minor = "9";
patch = "16";
suffix = "";
};
hash = "sha256-It3cCZJG3SdgZlVh6K23OU6gzEOnJoTGSA+TgPd4ZDk=";
inherit (darwin) configd;
inherit passthruFun;
} // sources.python39);
};
python310 = callPackage ./cpython ({
self = __splicedPackages.python310;
@@ -177,18 +185,11 @@ in {
inherit passthruFun;
} // sources.python310);
python311 = callPackage ./cpython {
python311 = callPackage ./cpython ({
self = __splicedPackages.python311;
sourceVersion = {
major = "3";
minor = "11";
patch = "1";
suffix = "";
};
sha256 = "sha256-hYeRkvLP/VbLFsCSkFlJ6/Pl45S392RyNSljeQHftY8=";
inherit (darwin) configd;
inherit passthruFun;
};
} // sources.python311);
python312 = callPackage ./cpython {
self = __splicedPackages.python312;
@@ -198,7 +199,7 @@ in {
patch = "0";
suffix = "a5";
};
sha256 = "sha256-1m73o0L+OjVvnO47uXrcHl+0hA9rbP994P991JX4Mjs=";
hash = "sha256-1m73o0L+OjVvnO47uXrcHl+0hA9rbP994P991JX4Mjs=";
inherit (darwin) configd;
inherit passthruFun;
};
@@ -241,7 +242,7 @@ in {
patch = "11";
};
sha256 = "sha256-ERevtmgx2k6m852NIIR4enRon9AineC+MB+e2bJVCTw=";
hash = "sha256-ERevtmgx2k6m852NIIR4enRon9AineC+MB+e2bJVCTw=";
pythonVersion = "2.7";
db = db.override { dbmSupport = !stdenv.isDarwin; };
python = __splicedPackages.pythonInterpreters.pypy27_prebuilt;
@@ -258,7 +259,7 @@ in {
patch = "11";
};
sha256 = "sha256-sPMWb7Klqt/VzrnbXN1feSmg7MygK0omwNrgSS98qOo=";
hash = "sha256-sPMWb7Klqt/VzrnbXN1feSmg7MygK0omwNrgSS98qOo=";
pythonVersion = "3.9";
db = db.override { dbmSupport = !stdenv.isDarwin; };
python = __splicedPackages.pypy27;
@@ -270,7 +271,7 @@ in {
pypy38 = __splicedPackages.pypy39.override {
self = __splicedPackages.pythonInterpreters.pypy38;
pythonVersion = "3.8";
sha256 = "sha256-TWdpv8pzc06GZv1wUDt86wam4lkRDmFzMbs4mcpOYFg=";
hash = "sha256-TWdpv8pzc06GZv1wUDt86wam4lkRDmFzMbs4mcpOYFg=";
};
pypy37 = throw "pypy37 has been removed from nixpkgs since it is no longer supported upstream"; # Added 2023-01-04
@@ -284,7 +285,7 @@ in {
patch = "11";
};
sha256 = {
hash = {
aarch64-linux = "sha256-6pJNod7+kyXvdg4oiwT5hGFOQFWA9TIetqXI9Tm9QVo=";
x86_64-linux = "sha256-uo7ZWKkFwHNaTP/yh1wlCJlU3AIOCH2YKw/6W52jFs0=";
aarch64-darwin = "sha256-zFaWq0+TzTSBweSZC13t17pgrAYC+hiQ02iImmxb93E=";
@@ -302,7 +303,7 @@ in {
minor = "3";
patch = "11";
};
sha256 = {
hash = {
aarch64-linux = "sha256-CRddxlLtiV2Y6a1j0haBK/PufjmNkAqb+espBrqDArk=";
x86_64-linux = "sha256-1QYXLKEQcSdBdddOnFgcMWZDLQF5sDZHDjuejSDq5YE=";
aarch64-darwin = "sha256-ka11APGjlTHb76CzRaPc/5J/+ZcWVOjS6e98WuMR9X4=";

View File

@@ -11,7 +11,7 @@ in {
condaInstallHook = callPackage ({ makePythonHook, gnutar, lbzip2 }:
makePythonHook {
name = "conda-install-hook";
deps = [ gnutar lbzip2 ];
propagatedBuildInputs = [ gnutar lbzip2 ];
substitutions = {
inherit pythonSitePackages;
};
@@ -20,19 +20,19 @@ in {
condaUnpackHook = callPackage ({ makePythonHook }:
makePythonHook {
name = "conda-unpack-hook";
deps = [];
propagatedBuildInputs = [];
} ./conda-unpack-hook.sh) {};
eggBuildHook = callPackage ({ makePythonHook }:
makePythonHook {
name = "egg-build-hook.sh";
deps = [ ];
propagatedBuildInputs = [ ];
} ./egg-build-hook.sh) {};
eggInstallHook = callPackage ({ makePythonHook, setuptools }:
makePythonHook {
name = "egg-install-hook.sh";
deps = [ setuptools ];
propagatedBuildInputs = [ setuptools ];
substitutions = {
inherit pythonInterpreter pythonSitePackages;
};
@@ -41,13 +41,13 @@ in {
eggUnpackHook = callPackage ({ makePythonHook, }:
makePythonHook {
name = "egg-unpack-hook.sh";
deps = [ ];
propagatedBuildInputs = [ ];
} ./egg-unpack-hook.sh) {};
flitBuildHook = callPackage ({ makePythonHook, flit }:
makePythonHook {
name = "flit-build-hook";
deps = [ flit ];
propagatedBuildInputs = [ flit ];
substitutions = {
inherit pythonInterpreter;
};
@@ -56,7 +56,7 @@ in {
pipBuildHook = callPackage ({ makePythonHook, pip, wheel }:
makePythonHook {
name = "pip-build-hook.sh";
deps = [ pip wheel ];
propagatedBuildInputs = [ pip wheel ];
substitutions = {
inherit pythonInterpreter pythonSitePackages;
};
@@ -65,7 +65,7 @@ in {
pipInstallHook = callPackage ({ makePythonHook, pip }:
makePythonHook {
name = "pip-install-hook";
deps = [ pip ];
propagatedBuildInputs = [ pip ];
substitutions = {
inherit pythonInterpreter pythonSitePackages;
};
@@ -74,7 +74,7 @@ in {
pytestCheckHook = callPackage ({ makePythonHook, pytest }:
makePythonHook {
name = "pytest-check-hook";
deps = [ pytest ];
propagatedBuildInputs = [ pytest ];
substitutions = {
inherit pythonCheckInterpreter;
};
@@ -123,7 +123,7 @@ in {
pythonRelaxDepsHook = callPackage ({ makePythonHook, wheel }:
makePythonHook {
name = "python-relax-deps-hook";
deps = [ wheel ];
propagatedBuildInputs = [ wheel ];
substitutions = {
inherit pythonInterpreter;
};
@@ -145,7 +145,7 @@ in {
setuptoolsBuildHook = callPackage ({ makePythonHook, setuptools, wheel }:
makePythonHook {
name = "setuptools-setup-hook";
deps = [ setuptools wheel ];
propagatedBuildInputs = [ setuptools wheel ];
substitutions = {
inherit pythonInterpreter pythonSitePackages setuppy;
};
@@ -154,7 +154,7 @@ in {
setuptoolsCheckHook = callPackage ({ makePythonHook, setuptools }:
makePythonHook {
name = "setuptools-check-hook";
deps = [ setuptools ];
propagatedBuildInputs = [ setuptools ];
substitutions = {
inherit pythonCheckInterpreter setuppy;
};
@@ -171,7 +171,7 @@ in {
venvShellHook = disabledIf (!isPy3k) (callPackage ({ makePythonHook, ensureNewerSourcesForZipFilesHook }:
makePythonHook {
name = "venv-shell-hook";
deps = [ ensureNewerSourcesForZipFilesHook ];
propagatedBuildInputs = [ ensureNewerSourcesForZipFilesHook ];
substitutions = {
inherit pythonInterpreter;
};
@@ -180,7 +180,7 @@ in {
wheelUnpackHook = callPackage ({ makePythonHook, wheel }:
makePythonHook {
name = "wheel-unpack-hook.sh";
deps = [ wheel ];
propagatedBuildInputs = [ wheel ];
} ./wheel-unpack-hook.sh) {};
wrapPython = callPackage ../wrap-python.nix {
@@ -190,6 +190,6 @@ in {
sphinxHook = callPackage ({ makePythonHook, sphinx, installShellFiles }:
makePythonHook {
name = "python${python.pythonVersion}-sphinx-hook";
deps = [ sphinx installShellFiles ];
propagatedBuildInputs = [ sphinx installShellFiles ];
} ./sphinx-hook.sh) {};
}

View File

@@ -16,17 +16,22 @@ let
# This function introduces `overridePythonAttrs` and it overrides the call to `buildPythonPackage`.
makeOverridablePythonPackage = f: origArgs:
let
ff = f origArgs;
overrideWith = newArgs: origArgs // (if pkgs.lib.isFunction newArgs then newArgs origArgs else newArgs);
args = lib.fix (lib.extends
(_: previousAttrs: {
passthru = (previousAttrs.passthru or { }) // {
overridePythonAttrs = newArgs: makeOverridablePythonPackage f (overrideWith newArgs);
};
})
(_: origArgs));
result = f args;
overrideWith = newArgs: args // (if pkgs.lib.isFunction newArgs then newArgs args else newArgs);
in
if builtins.isAttrs ff then (ff // {
if builtins.isAttrs result then result
else if builtins.isFunction result then {
overridePythonAttrs = newArgs: makeOverridablePythonPackage f (overrideWith newArgs);
})
else if builtins.isFunction ff then {
overridePythonAttrs = newArgs: makeOverridablePythonPackage f (overrideWith newArgs);
__functor = self: ff;
__functor = self: result;
}
else ff;
else result;
buildPythonPackage = makeOverridablePythonPackage (lib.makeOverridable (callPackage ./mk-python-derivation.nix {
inherit namePrefix; # We want Python libraries to be named like e.g. "python3.6-${name}"

View File

@@ -43,7 +43,8 @@ let
# Use virtualenv from a Nix env.
nixenv-virtualenv = rec {
env = runCommand "${python.name}-virtualenv" {} ''
${pythonVirtualEnv.interpreter} -m virtualenv $out
${pythonVirtualEnv.interpreter} -m virtualenv venv
mv venv $out
'';
interpreter = "${env}/bin/${python.executable}";
is_venv = "False";
@@ -173,7 +174,7 @@ let
}
) {};
pythonWithRequests = requests.pythonModule.withPackages (ps: [ requests ]);
in
in lib.optionalAttrs stdenv.isLinux
{
condaExamplePackage = runCommand "import-requests" {} ''
${pythonWithRequests.interpreter} -c "import requests" > $out

View File

@@ -5,7 +5,7 @@
makePythonHook {
name = "wrap-python-hook";
deps = makeWrapper;
propagatedBuildInputs = [ makeWrapper ];
substitutions.sitePackages = python.sitePackages;
substitutions.executable = python.interpreter;
substitutions.python = python.pythonForBuild;

View File

@@ -190,14 +190,7 @@ let
# Allow to override compiler. This is important for cross compiling as
# we need to set a compiler that is different from the build one.
awk -i inplace -F' = ' \
' # operate on the line starting with
/^ CONFIG\["CC"\]/ {
# replace the right hand side
sub($2, "ENV[\"CC\"] || \"1\"")
}; { print }' "$rbConfig"
# test that the line isn't mangled in case upstream made the above unnecessary
grep -qx ' CONFIG\["CC"\] = ENV\["CC"\] || "1"' "$rbConfig"
sed -i 's/CONFIG\["CC"\] = "\(.*\)"/CONFIG["CC"] = if ENV["CC"].nil? || ENV["CC"].empty? then "\1" else ENV["CC"] end/' "$rbConfig"
# Remove unnecessary external intermediate files created by gems
extMakefiles=$(find $out/${passthru.gemPath} -name Makefile)
@@ -235,6 +228,21 @@ let
$rbConfig $out/lib/libruby*
'';
installCheckPhase = ''
overriden_cc=$(CC=foo $out/bin/ruby -rrbconfig -e 'puts RbConfig::CONFIG["CC"]')
if [[ "$overriden_cc" != "foo" ]]; then
echo "CC cannot be overwritten: $overriden_cc != foo" >&2
false
fi
fallback_cc=$(unset CC; $out/bin/ruby -rrbconfig -e 'puts RbConfig::CONFIG["CC"]')
if [[ "$fallback_cc" != "$CC" ]]; then
echo "CC='$fallback_cc' should be '$CC' by default" >&2
false
fi
'';
doInstallCheck = true;
disallowedRequisites = op (!jitSupport) stdenv.cc.cc
++ op useBaseRuby baseRuby;

View File

@@ -53,7 +53,7 @@ let
libdir = "lib/${libPrefix}";
tclPackageHook = callPackage ({ buildPackages }: makeSetupHook {
name = "tcl-package-hook";
deps = [ buildPackages.makeWrapper ];
propagatedBuildInputs = [ buildPackages.makeWrapper ];
} ./tcl-package-hook.sh) {};
};
};

View File

@@ -62,8 +62,8 @@ stdenv.mkDerivation rec {
];
buildInputs = [
gobject-introspection
dbus
gettext
glib
polkit
systemd

View File

@@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "libopenmpt";
version = "0.6.6";
version = "0.6.8";
outputs = [ "out" "dev" "bin" ];
src = fetchurl {
url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz";
sha256 = "bdueJqQwYglEiReW/vsbuzi9kUj2z8VYgQwNPyaYdsc=";
sha256 = "HGGLPf8afLaiT0MXVZIPokN1YmgTj/ox09t8YHwsLWk=";
};
enableParallelBuilding = true;

View File

@@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
pname = "roc-toolkit";
version = "0.2.1";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "roc-streaming";
repo = "roc-toolkit";

View File

@@ -1,4 +1,4 @@
{ lib, stdenv, icu, expat, zlib, bzip2, python ? null, fixDarwinDylibNames, libiconv, libxcrypt
{ lib, stdenv, icu, expat, zlib, bzip2, zstd, xz, python ? null, fixDarwinDylibNames, libiconv, libxcrypt
, boost-build
, fetchpatch
, which
@@ -226,6 +226,8 @@ stdenv.mkDerivation {
nativeBuildInputs = [ which boost-build ]
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
buildInputs = [ expat zlib bzip2 libiconv ]
++ lib.optional (lib.versionAtLeast version "1.69") zstd
++ lib.optional (lib.versionAtLeast version "1.65") xz
++ lib.optional enableIcu icu
++ lib.optionals enablePython [ libxcrypt python ]
++ lib.optional enableNumpy python.pkgs.numpy;

View File

@@ -20,38 +20,42 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = lib.optional doCheck "-DUNIT_TESTING=ON"
++ lib.optional stdenv.hostPlatform.isStatic "-DBUILD_SHARED_LIBS=OFF";
doCheck = true;
meta = with lib; {
description = "Lightweight library to simplify and generalize unit tests for C";
longDescription = ''
There are a variety of C unit testing frameworks available however
many of them are fairly complex and require the latest compiler
technology. Some development requires the use of old compilers which
makes it difficult to use some unit testing frameworks. In addition
many unit testing frameworks assume the code being tested is an
application or module that is targeted to the same platform that will
ultimately execute the test. Because of this assumption many
frameworks require the inclusion of standard C library headers in the
code module being tested which may collide with the custom or
incomplete implementation of the C library utilized by the code under
test.
longDescription =
''There are a variety of C unit testing frameworks available however
many of them are fairly complex and require the latest compiler
technology. Some development requires the use of old compilers which
makes it difficult to use some unit testing frameworks. In addition
many unit testing frameworks assume the code being tested is an
application or module that is targeted to the same platform that will
ultimately execute the test. Because of this assumption many
frameworks require the inclusion of standard C library headers in the
code module being tested which may collide with the custom or
incomplete implementation of the C library utilized by the code under
test.
Cmocka only requires a test application is linked with the standard C
library which minimizes conflicts with standard C library headers.
Also, CMocka tries to avoid the use of some of the newer features of
C compilers.
Cmocka only requires a test application is linked with the standard C
library which minimizes conflicts with standard C library headers.
Also, CMocka tries to avoid the use of some of the newer features of
C compilers.
This results in CMocka being a relatively small library that can be
used to test a variety of exotic code. If a developer wishes to
simply test an application with the latest compiler then other unit
testing frameworks may be preferable.
This is the successor of Google's Cmockery.'';
This results in CMocka being a relatively small library that can be
used to test a variety of exotic code. If a developer wishes to
simply test an application with the latest compiler then other unit
testing frameworks may be preferable.
This is the successor of Google's Cmockery.
'';
homepage = "https://cmocka.org/";
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [ kragniz rasendubi ];
broken = stdenv.hostPlatform.isStatic; # See https://github.com/NixOS/nixpkgs/issues/213623
};
}

View File

@@ -27,7 +27,6 @@
let
testDeps = [
gobject-introspection # for Gio and cairo typelibs
gtk3 atk pango.out gdk-pixbuf harfbuzz
];
in stdenv.mkDerivation rec {

View File

@@ -56,11 +56,11 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "glib";
version = "2.74.3";
version = "2.74.5";
src = fetchurl {
url = "mirror://gnome/sources/glib/${lib.versions.majorMinor finalAttrs.version}/glib-${finalAttrs.version}.tar.xz";
sha256 = "6bxB7NlpDZvGqXDMc4ARm4KOW2pLFsOTxjiz3CuHy8s=";
sha256 = "zrqDpZmc6zGkxPyZISB8uf//0qsdbsA8Fi0/YIpcFMg=";
};
patches = lib.optionals stdenv.isDarwin [
@@ -118,20 +118,6 @@ stdenv.mkDerivation (finalAttrs: {
# Disable flaky test.
# https://gitlab.gnome.org/GNOME/glib/-/issues/820
./skip-timer-test.patch
# GVariant security fixes
# https://discourse.gnome.org/t/multiple-fixes-for-gvariant-normalisation-issues-in-glib/12835
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3126.patch";
sha256 = "CNCxouYy8xNHt4eJtPZ2eOi9b0SxzI2DkklNfQMk3d8=";
})
# Menu model security fix
# https://discourse.gnome.org/t/fixes-for-gdbusmenumodel-crashes-in-glib/12846
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/glib/-/commit/4f4d770a1e40f719d5a310cffdac29cbb4e20c11.patch";
sha256 = "+S44AnC86HfbMwkRe1ll54IK9pLxaFD3LqiVhPelnXI=";
})
];
outputs = [ "bin" "out" "dev" "devdoc" ];

View File

@@ -21,7 +21,10 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
] ++ lib.optionals (stdenv.cc.isClang && (lib.versionOlder stdenv.cc.version "16.0")) [
] ++ lib.optionals (
(stdenv.cc.isGNU && (lib.versionOlder stdenv.cc.version "11.0"))
|| (stdenv.cc.isClang && (lib.versionOlder stdenv.cc.version "16.0"))
) [
# Enable C++17 support
# https://github.com/google/googletest/issues/3081
"-DCMAKE_CXX_STANDARD=17"

View File

@@ -10,6 +10,8 @@
, meson
, ninja
, gobject-introspection
, buildPackages
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
, icu
, graphite2
, harfbuzz # The icu variant uses and propagates the non-icu one.
@@ -61,6 +63,7 @@ stdenv.mkDerivation rec {
(lib.mesonEnable "coretext" withCoreText)
(lib.mesonEnable "graphite" withGraphite2)
(lib.mesonEnable "icu" withIcu)
(lib.mesonEnable "introspection" withIntrospection)
];
depsBuildBuild = [
@@ -70,14 +73,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
meson
ninja
gobject-introspection
libintl
pkg-config
python3
glib
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
];
] ++ lib.optional withIntrospection gobject-introspection;
buildInputs = [ glib freetype ]
++ lib.optionals withCoreText [ ApplicationServices CoreText ];
@@ -107,6 +110,6 @@ stdenv.mkDerivation rec {
homepage = "https://harfbuzz.github.io/";
maintainers = [ maintainers.eelco ];
license = licenses.mit;
platforms = with platforms; linux ++ darwin;
platforms = platforms.unix;
};
}

View File

@@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "hidapi";
version = "0.12.0";
version = "0.13.1";
src = fetchFromGitHub {
owner = "libusb";
repo = "hidapi";
rev = "${pname}-${version}";
sha256 = "sha256-SMhlcB7LcViC6UFVYACjunxsGkvSOKC3mbLBH4XQSzM=";
sha256 = "sha256-CEZP5n8qEAzsqn8dz3u1nG0YoT7J1P+WfN7urkRTuVg=";
};
nativeBuildInputs = [ cmake pkg-config ];

View File

@@ -9,15 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "sha256-QI95nfQTVGj6fKNetrBcQAS+pEPYHKWLibLkgkAagrs=";
};
patchPhase = ''
for i in `find . -name \*.py`
do
sed -i -e "s|#!/usr/bin/env python|#!${python3}/bin/python|" $i
done
'';
nativeBuildInputs = [ gettext python3 ];
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://salsa.debian.org/iso-codes-team/iso-codes";
description = "Various ISO codes packaged as XML files";

View File

@@ -1,12 +1,18 @@
{ lib, stdenv, fetchurl, autoreconfHook, libmd }:
{ lib
, stdenv
, fetchurl
, autoreconfHook
, libmd
, gitUpdater
}:
stdenv.mkDerivation rec {
pname = "libbsd";
version = "0.11.6";
version = "0.11.7";
src = fetchurl {
url = "https://libbsd.freedesktop.org/releases/${pname}-${version}.tar.xz";
sha256 = "sha256-GbOPMXLq9pPm4caHFGNhkMfkiFHkUiTXILO1vASZtd8=";
hash = "sha256-m6oYYFnrvyXAYwjp+ZH9ox9xg8DySTGCbYOqar2KAmE=";
};
outputs = [ "out" "dev" "man" ];
@@ -18,6 +24,11 @@ stdenv.mkDerivation rec {
patches = [ ./darwin.patch ];
passthru.updateScript = gitUpdater {
# No nicer place to find latest release.
url = "https://gitlab.freedesktop.org/libbsd/libbsd.git";
};
meta = with lib; {
description = "Common functions found on BSD systems";
homepage = "https://libbsd.freedesktop.org/";

View File

@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
, pkg-config
@@ -13,25 +12,16 @@
}:
stdenv.mkDerivation rec {
version = "1.0.10";
version = "1.0.11";
pname = "libde265";
src = fetchFromGitHub {
owner = "strukturag";
repo = "libde265";
rev = "v${version}";
sha256 = "sha256-d2TJKPvOAqLe+ZO1+Rd/yRIn3W1u1q62ZH20/9N2Shw=";
sha256 = "sha256-0aRUh5h49fnjBjy42A5fWYHnhnQ4CFoeSIXZilZewW8=";
};
patches = [
(fetchpatch {
name = "revert-cmake-change-pkg-config.patch";
url = "https://github.com/strukturag/libde265/commit/388b61459c2abe2b949114ab54e83fb4dbfa8ba0.patch";
sha256 = "sha256-b6wwSvZpK7lIu0uD1SqK2zGBUjb/25+JW1Pf1fvHc0I=";
revert = true;
})
];
nativeBuildInputs = [ autoreconfHook pkg-config ];
enableParallelBuilding = true;

View File

@@ -20,12 +20,13 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dinstall-test-programs=true"
"-Domap=enabled"
"-Dcairo-tests=disabled"
"-Dvalgrind=${if withValgrind then "enabled" else "disabled"}"
(lib.mesonEnable "omap" stdenv.hostPlatform.isLinux)
(lib.mesonEnable "valgrind" withValgrind)
] ++ lib.optionals stdenv.hostPlatform.isAarch [
"-Dtegra=enabled"
"-Detnaviv=enabled"
] ++ lib.optionals (!stdenv.hostPlatform.isLinux) [
"-Detnaviv=disabled"
];
meta = with lib; {

View File

@@ -55,7 +55,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
gobject-introspection
udev
glib
];

View File

@@ -59,7 +59,6 @@ stdenv.mkDerivation rec {
glib
libxml2
icu
gobject-introspection
];
cmakeFlags = [

View File

@@ -0,0 +1,322 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "adler"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]]
name = "ahash"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"
dependencies = [
"getrandom",
"once_cell",
"version_check",
]
[[package]]
name = "arrayvec"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6"
[[package]]
name = "autocfg"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "bytemuck"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c041d3eab048880cb0b86b256447da3f18859a163c3b8d8893f4e6368abe6393"
[[package]]
name = "c_test"
version = "0.1.0"
dependencies = [
"cc",
"imagequant-sys",
]
[[package]]
name = "cc"
version = "1.0.78"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d"
[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "crc32fast"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
dependencies = [
"cfg-if",
]
[[package]]
name = "crossbeam-channel"
version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521"
dependencies = [
"cfg-if",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-deque"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "715e8152b692bba2d374b53d4875445368fdf21a94751410af607a5ac677d1fc"
dependencies = [
"cfg-if",
"crossbeam-epoch",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-epoch"
version = "0.9.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01a9af1f4c2ef74bb8aa1f7e19706bc72d03598c8a570bb5de72243c7a9d9d5a"
dependencies = [
"autocfg",
"cfg-if",
"crossbeam-utils",
"memoffset",
"scopeguard",
]
[[package]]
name = "crossbeam-utils"
version = "0.8.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f"
dependencies = [
"cfg-if",
]
[[package]]
name = "either"
version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"
[[package]]
name = "fallible_collections"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f57ccc32870366ae684be48b32a1a2e196f98a42a9b4361fe77e13fd4a34755"
dependencies = [
"hashbrown",
]
[[package]]
name = "flate2"
version = "1.0.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8a2db397cb1c8772f31494cb8917e48cd1e64f0fa7efac59fbd741a0a8ce841"
dependencies = [
"crc32fast",
"miniz_oxide",
]
[[package]]
name = "getrandom"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
dependencies = [
"cfg-if",
"libc",
"wasi",
]
[[package]]
name = "hashbrown"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
dependencies = [
"ahash",
]
[[package]]
name = "hermit-abi"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
dependencies = [
"libc",
]
[[package]]
name = "imagequant"
version = "4.1.0"
dependencies = [
"arrayvec",
"lodepng",
"noisy_float",
"num_cpus",
"once_cell",
"rayon",
"rgb",
"thread_local",
]
[[package]]
name = "imagequant-sys"
version = "4.0.1"
dependencies = [
"bitflags",
"imagequant",
"libc",
]
[[package]]
name = "libc"
version = "0.2.139"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79"
[[package]]
name = "lodepng"
version = "3.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0ad39f75bbaa4b10bb6f2316543632a8046a5bcf9c785488d79720b21f044f8"
dependencies = [
"crc32fast",
"fallible_collections",
"flate2",
"libc",
"rgb",
]
[[package]]
name = "memoffset"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4"
dependencies = [
"autocfg",
]
[[package]]
name = "miniz_oxide"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa"
dependencies = [
"adler",
]
[[package]]
name = "noisy_float"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "978fe6e6ebc0bf53de533cd456ca2d9de13de13856eda1518a285d7705a213af"
dependencies = [
"num-traits",
]
[[package]]
name = "num-traits"
version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
dependencies = [
"autocfg",
]
[[package]]
name = "num_cpus"
version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
dependencies = [
"hermit-abi",
"libc",
]
[[package]]
name = "once_cell"
version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66"
[[package]]
name = "rayon"
version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7"
dependencies = [
"either",
"rayon-core",
]
[[package]]
name = "rayon-core"
version = "1.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "356a0625f1954f730c0201cdab48611198dc6ce21f4acff55089b5a78e6e835b"
dependencies = [
"crossbeam-channel",
"crossbeam-deque",
"crossbeam-utils",
"num_cpus",
]
[[package]]
name = "rgb"
version = "0.8.34"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3603b7d71ca82644f79b5a06d1220e9a58ede60bd32255f698cb1af8838b8db3"
dependencies = [
"bytemuck",
]
[[package]]
name = "scopeguard"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
[[package]]
name = "thread_local"
version = "1.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
dependencies = [
"once_cell",
]
[[package]]
name = "version_check"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"

View File

@@ -1,21 +1,48 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub, fetchurl, rust, rustPlatform, cargo-c, python3 }:
stdenv.mkDerivation rec {
let
rustTargetPlatformSpec = rust.toRustTargetSpec stdenv.hostPlatform;
in
rustPlatform.buildRustPackage rec {
pname = "libimagequant";
version = "2.17.0";
version = "4.1.0";
src = fetchFromGitHub {
owner = "ImageOptim";
repo = pname;
rev = version;
sha256 = "sha256-ZoBCZsoUO66X4sDbMO89g4IX5+jqGMLGR7aC2UwD2tE=";
hash = "sha256-W9Q81AbFhWUe6c3csAnm8L5wLqURizrjwqcurWhPISI=";
};
preConfigure = ''
patchShebangs ./configure
cargoLock = {
lockFile = ./Cargo.lock;
};
postPatch = ''
cp ${./Cargo.lock} Cargo.lock
'';
configureFlags = lib.optionals (!stdenv.hostPlatform.isx86) [ "--disable-sse" ];
cargoHash = "sha256-0HOmItooNsGq6iTIb9M5IPXMwYh2nQ03qfjomkg0d00=";
auditable = true; # TODO: remove when this is the default
nativeBuildInputs = [ cargo-c ];
postBuild = ''
pushd imagequant-sys
cargo cbuild --release --frozen --prefix=${placeholder "out"} --target ${rustTargetPlatformSpec}
popd
'';
postInstall = ''
pushd imagequant-sys
cargo cinstall --release --frozen --prefix=${placeholder "out"} --target ${rustTargetPlatformSpec}
popd
'';
passthru.tests = {
inherit (python3.pkgs) pillow;
};
meta = with lib; {
homepage = "https://pngquant.org/lib/";

View File

@@ -45,7 +45,7 @@ in
stdenv.mkDerivation rec {
pname = "libinput";
version = "1.21.0";
version = "1.22.1";
outputs = [ "bin" "out" "dev" ];
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
owner = "libinput";
repo = "libinput";
rev = version;
sha256 = "R94BdrjI4szNbVtQ+ydRNUg9clR8mkRL7+GE9b2FcDs=";
sha256 = "RgwEp60Anr+CpJws6srIv/Qzk2r9NoekeNQ0UT3FRZ0=";
};
patches = [

View File

@@ -40,7 +40,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
gobject-introspection
glib
libgudev
libevdev

View File

@@ -1,46 +1,63 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitLab
, meson
, ninja
, pkg-config
, glib
, python3
, help2man
, systemd
, bash-completion
, withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform
, gobject-introspection
}:
stdenv.mkDerivation rec {
pname = "libmbim";
version = "1.26.4";
version = "1.28.2";
outputs = [ "out" "dev" "man" ];
src = fetchurl {
url = "https://www.freedesktop.org/software/libmbim/${pname}-${version}.tar.xz";
sha256 = "sha256-9ojOxMRYahdXX14ydEjOYvIADvagfJ5FiYc9SmhWitk=";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "mobile-broadband";
repo = "libmbim";
rev = version;
hash = "sha256-EtjUaSNBT1e/eeTX4oHzQolGrisbsGKBK8Cfl3rRQTQ=";
};
configureFlags = [
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
(lib.enableFeature withIntrospection "introspection")
mesonFlags = [
"-Dudevdir=${placeholder "out"}/lib/udev"
(lib.mesonBool "introspection" withIntrospection)
];
nativeBuildInputs = [
meson
ninja
pkg-config
python3
help2man
gobject-introspection
];
buildInputs = [
glib
systemd
bash-completion
];
doCheck = true;
postPatch = ''
patchShebangs \
build-aux/mbim-codegen/mbim-codegen
'';
meta = with lib; {
homepage = "https://www.freedesktop.org/wiki/Software/libmbim/";
description = "Library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol";
maintainers = teams.freedesktop.members;
platforms = platforms.linux;
license = licenses.gpl2Plus;
};

View File

@@ -44,10 +44,6 @@ stdenv.mkDerivation rec {
gobject-introspection
];
buildInputs = lib.optionals withIntrospection [
gobject-introspection
];
propagatedBuildInputs = [
gdk-pixbuf
glib

View File

@@ -4,6 +4,12 @@
, cmake
}:
let
isCross = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
isStatic = stdenv.hostPlatform.isStatic;
isMusl = stdenv.hostPlatform.isMusl;
in
stdenv.mkDerivation rec {
pname = "libptytty";
version = "2.0";
@@ -15,12 +21,24 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = lib.optional isStatic "-DBUILD_SHARED_LIBS=OFF"
++ lib.optional (isCross || isStatic) "-DTTY_GID_SUPPORT=OFF"
# Musl lacks UTMP/WTMP built-in support
++ lib.optionals isMusl [
"-DUTMP_SUPPORT=OFF"
"-DWTMP_SUPPORT=OFF"
"-DLASTLOG_SUPPORT=OFF"
];
meta = with lib; {
description = "OS independent and secure pty/tty and utmp/wtmp/lastlog";
homepage = "http://dist.schmorp.de/libptytty";
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
license = licenses.gpl2;
# pkgsMusl.pkgsStatic errors as:
# ln: failed to create symbolic link './include': File exists
broken = isStatic && isMusl;
};
}

View File

@@ -1,40 +1,61 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitLab
, fetchpatch2
, meson
, ninja
, pkg-config
, gobject-introspection
, gtk-doc
, docbook-xsl-nons
, docbook_xml_dtd_43
, help2man
, glib
, python3
, libgudev
, bash-completion
, libmbim
, libqrtr-glib
}:
stdenv.mkDerivation rec {
pname = "libqmi";
version = "1.30.8";
version = "1.32.2";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "https://www.freedesktop.org/software/libqmi/${pname}-${version}.tar.xz";
sha256 = "sha256-hiSCzp460L1l0mQzTuMRzblLnfKGO1txNjCbQbisGZA=";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "mobile-broadband";
repo = "libqmi";
rev = version;
hash = "sha256-XIbeWgkPiJL8hN8Rb6KFt5Q5sG3KsiEQr0EnhwmI6h8=";
};
patches = [
# Fix pkg-config file missing qrtr in Requires.
# https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/99
(fetchpatch2 {
url = "https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/commit/7d08150910974c6bd2c29f887c2c6d4a3526e085.patch";
hash = "sha256-LFrlm2ZqLqewLGO2FxL5kFYbZ7HaxdxvVHsFHYSgZ4Y=";
})
];
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
python3
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
help2man
];
buildInputs = [
libgudev
bash-completion
libmbim
];
@@ -43,16 +64,19 @@ stdenv.mkDerivation rec {
libqrtr-glib
];
configureFlags = [
"--with-udev-base-dir=${placeholder "out"}/lib/udev"
"--enable-gtk-doc=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "yes" else "no"}"
"--enable-introspection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "yes" else "no"}"
mesonFlags = [
"-Dudevdir=${placeholder "out"}/lib/udev"
(lib.mesonBool "gtk_doc" (stdenv.buildPlatform == stdenv.hostPlatform))
(lib.mesonBool "introspection" (stdenv.buildPlatform == stdenv.hostPlatform))
];
enableParallelBuilding = true;
doCheck = true;
postPatch = ''
patchShebangs \
build-aux/qmi-codegen/qmi-codegen
'';
meta = with lib; {
homepage = "https://www.freedesktop.org/wiki/Software/libqmi/";
description = "Modem protocol helper library";

View File

@@ -45,7 +45,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
gobject-introspection
glib
];

View File

@@ -71,8 +71,6 @@ stdenv.mkDerivation rec {
bzip2
pango
libintl
] ++ lib.optionals withIntrospection [
gobject-introspection
] ++ lib.optionals stdenv.isDarwin [
ApplicationServices
Foundation

View File

@@ -52,7 +52,6 @@ stdenv.mkDerivation rec {
buildInputs = [
libgcrypt
gobject-introspection
];
propagatedBuildInputs = [
@@ -88,7 +87,7 @@ stdenv.mkDerivation rec {
dbus-run-session \
--config-file=${dbus}/share/dbus-1/session.conf \
meson test --print-errorlogs
meson test --print-errorlogs --timeout-multiplier 0
runHook postCheck
'';

View File

@@ -55,8 +55,6 @@ stdenv.mkDerivation rec {
libxml2
] ++ lib.optionals stdenv.isLinux [
libcap_ng
] ++ lib.optionals withIntrospection [
gobject-introspection
];
strictDeps = true;

View File

@@ -1,7 +1,9 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, SDL
, autoreconfHook
, glib
, pkg-config
}:
@@ -15,12 +17,36 @@ stdenv.mkDerivation rec {
hash = "sha256-qhKHdBf3bTZC2fTHIzAjgNgzF1Y51jpVZB0Bkopd230=";
};
nativeBuildInputs = [ pkg-config ];
patches = [
# pull upstream fix for SDL1 cross-compilation.
# https://github.com/Libvisual/libvisual/pull/238
(fetchpatch {
name = "sdl-cross-prereq.patch";
url = "https://github.com/Libvisual/libvisual/commit/7902d24aa1a552619a5738339b3823e90dd3b865.patch";
hash = "sha256-84u8klHDAw/q4d+9L4ROAr7XsbXItHrhaEKkTEMSPcc=";
# remove extra libvisual prefix
stripLen = 1;
# pull in only useful configure.ac changes.
excludes = [ "Makefile.am" ];
})
(fetchpatch {
name = "sdl-cross-pc.patch";
url = "https://github.com/Libvisual/libvisual/commit/f79a2e8d21ad1d7fe26e2aa83cea4c9f48f9e392.patch";
hash = "sha256-8c7SdLxXC8K9BAwj7DzozsZAcbs5l1xuBqky9LJ1MfM=";
# remove extra libvisual prefix
stripLen = 1;
})
];
strictDeps = true;
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ SDL glib ];
configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
# Remove once "sdl-cross-prereq.patch" patch above is removed.
"--disable-lv-tool"
];
meta = {

View File

@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, nasm }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, meson, ninja, nasm }:
stdenv.mkDerivation rec {
pname = "libvmaf";
@@ -13,6 +13,15 @@ stdenv.mkDerivation rec {
sourceRoot = "source/libvmaf";
patches = [
# Backport fix for non-Linux, non-Darwin platforms.
(fetchpatch {
url = "https://github.com/Netflix/vmaf/commit/f47640f9ffee9494571bd7c9622e353660c93fc4.patch";
stripLen = 1;
sha256 = "rsTKuqp8VJG5DBDpixPke3LrdfjKzUO945i+iL0n7CY=";
})
];
nativeBuildInputs = [ meson ninja nasm ];
mesonFlags = [ "-Denable_avx512=true" ];

View File

@@ -12,7 +12,7 @@
stdenv.mkDerivation rec {
pname = "libwacom";
version = "2.4.0";
version = "2.6.0";
outputs = [ "out" "dev" ];
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
owner = "linuxwacom";
repo = "libwacom";
rev = "libwacom-${version}";
sha256 = "sha256-9uhnO+MqB7tAnSXjBcJWCzHGiz9izun4nVjFb17G8Gg=";
sha256 = "sha256-9zqW6zPrFcxv/yAAtFgdVavKVMXeDBoMP3E/XriUcT0=";
};
nativeBuildInputs = [

View File

@@ -11,7 +11,10 @@
, ncurses
, findXMLCatalogs
, libiconv
, pythonSupport ? enableShared
# Python limits cross-compilation to an allowlist of host OSes.
# https://github.com/python/cpython/blob/dfad678d7024ab86d265d84ed45999e031a03691/configure.ac#L534-L562
, pythonSupport ? enableShared &&
(stdenv.hostPlatform == stdenv.buildPlatform || stdenv.hostPlatform.isCygwin || stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isWasi)
, icuSupport ? false
, icu
, enableShared ? stdenv.hostPlatform.libc != "msvcrt" && !stdenv.hostPlatform.isStatic

View File

@@ -88,7 +88,7 @@
let
# Release calendar: https://www.mesa3d.org/release-calendar.html
# Release frequency: https://www.mesa3d.org/releasing.html#schedule
version = "22.3.4";
version = "22.3.5";
branch = lib.versions.major version;
withLibdrm = lib.meta.availableOn stdenv.hostPlatform libdrm;
@@ -120,7 +120,7 @@ self = stdenv.mkDerivation {
"ftp://ftp.freedesktop.org/pub/mesa/${version}/mesa-${version}.tar.xz"
"ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
];
sha256 = "37a1ddaf03f41919ee3c89c97cff41e87de96e00e9d3247959cc8279d8294593";
sha256 = "3eed2ecae2bc674494566faab9fcc9beb21cd804c7ba2b59a1694f3d7236e6a9";
};
# TODO:

View File

@@ -2,9 +2,9 @@ diff -Nuar neon-0.29.6/configure neon-0.29.6-darwin-fix-configure/configure
--- neon-0.29.6/configure 2011-05-03 14:25:31.000000000 +0200
+++ neon-0.29.6-darwin-fix-configure/configure 2012-06-06 23:32:21.000000000 +0200
@@ -4184,7 +4184,7 @@
$as_echo "$ne_cv_os_uname" >&6; }
case x"$ne_cv_os_uname" in #(
x"Darwin") :
if test "$ne_cv_os_uname" = "Darwin"; then
- CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
+ CPPFLAGS="$CPPFLAGS"
LDFLAGS="$LDFLAGS -flat_namespace"

View File

@@ -15,12 +15,12 @@ let
in
stdenv.mkDerivation rec {
version = "0.32.3";
version = "0.32.5";
pname = "neon";
src = fetchurl {
url = "https://notroj.github.io/${pname}/${pname}-${version}.tar.gz";
sha256 = "sha256-lMuHXcbb/N7ljwObdjxnSwIyiGzf16Xekb5c36K3WWo=";
sha256 = "sha256-SHLhL4Alct7dSwL4cAZYFLLVFB99va9wju2rgmtRpYo=";
};
patches = optionals stdenv.isDarwin [ ./darwin-fix-configure.patch ];

View File

@@ -1,4 +1,4 @@
import ./generic.nix {
version = "3.79.3";
hash = "sha256-8fhrlMe832xWYTYVMnZE7MV20W8sMX+5hHDcAcWYSA4=";
version = "3.79.4";
hash = "sha256-Skcdv6Wzo7fsB4U8b8CijNBmn2mEEp4k9VQeLOFdcdU=";
}

View File

@@ -55,10 +55,10 @@ stdenv.mkDerivation rec {
++ lib.optional (jpipLibSupport) jdk;
doCheck = (!stdenv.isAarch64 && !stdenv.hostPlatform.isPower64); # tests fail on aarch64-linux and powerpc64
nativeCheckInputs = [ jpylyzer ];
checkPhase = ''
substituteInPlace ../tools/ctest_scripts/travis-ci.cmake \
--replace "JPYLYZER_EXECUTABLE=" "JPYLYZER_EXECUTABLE=\"${jpylyzer}/bin/jpylyzer\" # "
--replace "JPYLYZER_EXECUTABLE=" "JPYLYZER_EXECUTABLE=\"$(command -v jpylyzer)\" # "
OPJ_SOURCE_DIR=.. ctest -S ../tools/ctest_scripts/travis-ci.cmake
'';

View File

@@ -16,15 +16,16 @@
, ninja
, glib
, python3
, gobject-introspection
, x11Support? !stdenv.isDarwin, libXft
, withIntrospection ? stdenv.hostPlatform.emulatorAvailable buildPackages
, buildPackages, gobject-introspection
}:
stdenv.mkDerivation rec {
pname = "pango";
version = "1.50.12";
outputs = [ "bin" "out" "dev" "devdoc" ];
outputs = [ "bin" "out" "dev" ] ++ lib.optional withIntrospection "devdoc";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
@@ -39,9 +40,10 @@ stdenv.mkDerivation rec {
meson ninja
glib # for glib-mkenum
pkg-config
gobject-introspection
gi-docgen
python3
] ++ lib.optionals withIntrospection [
gi-docgen
gobject-introspection
];
buildInputs = [
@@ -64,9 +66,9 @@ stdenv.mkDerivation rec {
];
mesonFlags = [
"-Dgtk_doc=true"
] ++ lib.optionals (!x11Support) [
"-Dxft=disabled" # only works with x11
(lib.mesonBool "gtk_doc" withIntrospection)
(lib.mesonEnable "introspection" withIntrospection)
(lib.mesonEnable "xft" x11Support)
];
# Fontconfig error: Cannot load default config file
@@ -116,6 +118,6 @@ stdenv.mkDerivation rec {
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ raskin ] ++ teams.gnome.members;
platforms = platforms.linux ++ platforms.darwin;
platforms = platforms.unix;
};
}

View File

@@ -1,42 +0,0 @@
{ lib, stdenv, fetchFromGitHub
, autoconf, libndctl, pkg-config, gnum4, pandoc
}:
stdenv.mkDerivation rec {
pname = "pmdk";
version = "1.11.1";
src = fetchFromGitHub {
owner = "pmem";
repo = "pmdk";
rev = "refs/tags/${version}";
hash = "sha256-8bnyLtgkKfgIjJkfY/ZS1I9aCYcrz0nrdY7m/TUVWAk=";
};
nativeBuildInputs = [ autoconf pkg-config gnum4 pandoc ];
buildInputs = [ libndctl ];
enableParallelBuilding = true;
outputs = [ "out" "lib" "dev" "man" ];
patchPhase = "patchShebangs utils";
NIX_CFLAGS_COMPILE = "-Wno-error";
installPhase = ''
make install prefix=$out
mkdir -p $lib $dev $man/share
mv $out/share/man $man/share/man
mv $out/include $dev/include
mv $out/lib $lib/lib
'';
meta = with lib; {
description = "Persistent Memory Development Kit";
homepage = "https://github.com/pmem/pmdk";
license = licenses.lgpl21;
maintainers = with maintainers; [ thoughtpolice ];
platforms = [ "x86_64-linux" ]; # aarch64 is experimental
};
}

View File

@@ -90,7 +90,6 @@ stdenv.mkDerivation rec {
];
buildInputs = [
gobject-introspection
expat
pam
dbus

View File

@@ -2,6 +2,7 @@
, stdenv
, fetchurl
, alsa-lib
, libjack2
, pkg-config
, which
, AudioUnit
@@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
strictDeps = true;
nativeBuildInputs = [ pkg-config which ];
buildInputs = lib.optional (!stdenv.isDarwin) alsa-lib;
buildInputs = [ libjack2 ] ++ lib.optionals (!stdenv.isDarwin) [ alsa-lib ];
configureFlags = [ "--disable-mac-universal" "--enable-cxx" ];

View File

@@ -211,7 +211,7 @@ let
qmake = makeSetupHook {
name = "qmake-hook";
deps = [ self.qtbase.dev ];
propagatedBuildInputs = [ self.qtbase.dev ];
substitutions = {
inherit debug;
fix_qmake_libtool = ../hooks/fix-qmake-libtool.sh;
@@ -220,7 +220,7 @@ let
wrapQtAppsHook = makeSetupHook {
name = "wrap-qt5-apps-hook";
deps = [ self.qtbase.dev buildPackages.makeWrapper ]
propagatedBuildInputs = [ self.qtbase.dev buildPackages.makeWrapper ]
++ lib.optional stdenv.isLinux self.qtwayland.dev;
} ../hooks/wrap-qt-apps-hook.sh;
};

View File

@@ -34,7 +34,7 @@ qtHostPathHook() {
qtWrapperArgs+=(--prefix QML2_IMPORT_PATH : "$qmlDir")
fi
}
addEnvHooks "$hostOffset" qtHostPathHook
addEnvHooks "$targetOffset" qtHostPathHook
makeQtWrapper() {
local original="$1"

View File

@@ -141,12 +141,12 @@ let
wrapQtAppsHook = makeSetupHook {
name = "wrap-qt6-apps-hook";
deps = [ buildPackages.makeWrapper ];
propagatedBuildInputs = [ buildPackages.makeWrapper ];
} ./hooks/wrap-qt-apps-hook.sh;
qmake = makeSetupHook {
name = "qmake6-hook";
deps = [ self.qtbase.dev ];
propagatedBuildInputs = [ self.qtbase.dev ];
substitutions = {
inherit debug;
fix_qmake_libtool = ./hooks/fix-qmake-libtool.sh;

Some files were not shown because too many files have changed in this diff Show More