Commit graph

269 commits

Author SHA1 Message Date
nixpkgs-ci[bot]
e217c74eac
Merge staging-next into staging 2026-02-06 18:16:24 +00:00
Markus Sütter
196b385317 various: add meta.identifier.cpeParts to a batch of packages 2026-02-02 09:22:55 +01:00
Arne Keller
770480ae85
sqlite: enable Percentile extension (#483781) 2026-02-01 17:41:12 +00:00
Randy Eckenrode
02ff32a522
sqlite: disable tests on Darwin
The tests seem to be unreliable (at least when SQLite is built by the
Nix daemon). Sometimes they succeed, but they often do not.

Even if SQLite were removed from the bootstrap, this would still be a
problem, so disable the tests for now.
2026-01-27 11:33:32 -05:00
Antoine du Hamel
562c38c1ed
sqlite: enable Percentile extension 2026-01-25 23:14:49 +01:00
Alyssa Ross
c5516b9d0b
sqlite: fix static build
TCL support requires building libtclsqlite as a shared library.

Fixes: a3987ff328 ("sqlite: Build canonical source with tcl")
2026-01-21 19:11:20 +01:00
Silvan Mosberger
8631b2911c sqlite: Enable tests
Possible after parent commit

Though this does increase build time from ~2 mins to ~12mins on my machine
2026-01-12 14:32:23 +01:00
Silvan Mosberger
a3987ff328 sqlite: Build canonical source with tcl
See
051e942f5d/autoconf/README.txt (L27-L40)
for motivation

Also adds support for the TCL sqlite library
2026-01-12 14:32:21 +01:00
Sergei Trofimovich
77ce284215 sqlite, sqlite-analyzer: 3.51.1 -> 3.51.2
Changes: https://sqlite.org/releaselog/3_51_2.html
2026-01-09 22:16:37 +00:00
Michael Daniels
9a04427f2c
maintainers: remove dtzWill
Totally inactive on GitHub since August 2024.
2026-01-01 12:33:41 -05:00
Wolfgang Walther
46c0c0eae7
Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +01:00
Ihar Hrachyshka
567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Sergei Trofimovich
2a3a74621a sqlite, sqlite-analyzer: 3.51.0 -> 3.51.1
Changes: https://sqlite.org/releaselog/3_51_1.html
2025-11-29 06:58:17 +00:00
Martin Weinelt
3b50030cda sqlite: 3.50.4 -> 3.51.0
https://www.sqlite.org/releaselog/3_51_0.html
2025-11-25 12:39:10 -08:00
Philip Taron
39842bcef8
sqlite: 3.50.2 -> 3.50.4 (#426289) 2025-09-03 06:39:00 -07:00
Sergei Trofimovich
f2205ad7de sqlite: 3.50.2 -> 3.50.4
Changes:
- https://sqlite.org/releaselog/3_50_3.html
- https://sqlite.org/releaselog/3_50_4.html
2025-08-07 21:05:12 +01:00
K900
ac84c07e66
sqlite: drop weird LFS64 hacks (#427411) 2025-07-29 11:03:57 +03:00
Wolfgang Walther
535b720589
Merge branch 'master' into staging-next 2025-07-24 14:27:50 +02:00
Wolfgang Walther
5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Alyssa Ross
8641d2da64
sqlite: drop weird LFS64 hacks
This breaks my linux->freebsd cross build.  It's only relevant for
32-bit systems, and the right way to do this is to set
_FILE_OFFSET_BITS, not hacks like this.  Plus, whether we use 64-bit
file APIs on 32-bit platforms is really a decision we should be making
globally, not per package.
2025-07-22 12:10:33 +02:00
Maximilian Bosch
2d01f41e02
Merge: sqlite, sqlite-analyzer: 3.50.1 -> 3.50.2 (#420837) 2025-07-06 12:10:01 +02:00
Sergei Trofimovich
5e86f9d4b7 sqlite-interactive: fix readline autodetection
Closes: https://github.com/NixOS/nixpkgs/issues/421157
2025-07-03 22:46:24 +02:00
Sergei Trofimovich
67c23f0648 sqlite, sqlite-analyzer: 3.50.1 -> 3.50.2
Changes: https://sqlite.org/releaselog/3_50_2.html
2025-06-28 21:27:49 +01:00
Tyler Langlois
4affcf85e0 sqlite: 3.48.0 -> 3.50.1
This update includes a move from autotools to autosetup, which
requires from build/configure flag changes.

3.49.1 included some bugs with static compilation which 3.49.2
fixes. 3.50.1 was released during the merge request's lifetime and
included for further stabilization improvements to sqlite.

NB first iterations of this included tcl in the inputs; but per some
scattered repository comments, tcl is currently unreliable (broken?) in
static.
2025-06-08 13:48:53 -06:00
Arne Keller
5463d09ef3
sqlite: enable Geopoly, Math functions and RBU extensions (#403958) 2025-06-03 10:35:27 +02:00
FliegendeWurst
54ff5b44d7 sqlite: enable Geopoly, Math functions and RBU extensions
nodejs >= 24 expect these extensions to be available.

Documentation:
https://sqlite.org/rbu.html
https://sqlite.org/geopoly.html
https://www.sqlite.org/lang_mathfunc.html
2025-05-03 23:19:08 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

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

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

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Martin Weinelt
74e976c4c6
sqlite: backport patch to resolve regression in 3.48.0
Unblocks the test suite of nodejs and probably other packages.
2025-02-13 13:50:11 +01:00
Alyssa Ross
a0b46893d8
sqlite: fix Libs.private 2025-02-11 16:53:57 +01:00
Sergei Trofimovich
7befd3471f sqlite, sqlite-analyzer: 3.47.2 -> 3.48.0
Changes: https://www.sqlite.org/releaselog/3_48_0.html
2025-01-15 06:46:48 +00:00
Antoine du Hamel
e4f44407a7
nodejs_22: 22.11.0 -> 22.12.0 (#361565) 2024-12-25 22:06:28 +01:00
Sergei Trofimovich
4e019c1689 sqlite, sqlite-analyzer: 3.47.1 -> 3.47.2
Changes: https://www.sqlite.org/releaselog/current.html
2024-12-17 16:57:51 +00:00
Philip Taron
eff980c4da
sqlite, sqlite-analyzer: 3.47.0 -> 3.47.1 (#359343) 2024-12-16 18:05:17 -08:00
Silvan Mosberger
667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

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

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

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Sergei Trofimovich
b4aaf6accb sqlite, sqlite-analyzer: 3.47.0 -> 3.47.1
Changes: https://www.sqlite.org/releaselog/current.html
2024-11-26 17:10:05 +00:00
Sergei Trofimovich
2e19720a20 sqlite-rsync: init at 3.47.0
Co-authored-by: Erlend Hamberg
2024-10-29 20:57:21 +00:00
Sergei Trofimovich
40338db492 sqlite, sqlite-analyzer: 3.46.1 -> 3.47.0
Changes: https://www.sqlite.org/draft/releaselog/current.html
2024-10-29 20:57:21 +00:00
Profpatsch
629cfe1d2d sqlite: split man into man output, add documentation as doc
The full sqlite documentation is now available in the `doc` output,
and the manual is in `man`.
2024-10-29 12:13:47 +01:00
Bobby Rong
c0a9799ad1
tinysparql: Renamed from tracker
The project renamed in 3.8.

This commit is done by hand.
2024-10-14 20:54:11 +08:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

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

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

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

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

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Fabián Heredia Montiel
3dc8bbdff3
sqlite, sqlite-analyzer: 3.46.0 -> 3.46.1 (#335207) 2024-09-23 15:33:11 -06:00
Jade Lovelace
5dfdb09561 tree-wide: remove eelco as maintainer from things he no longer maintains
While preparing this change, I read the git blame on all of the files I
touched. I saw a working lifetime of building this system which we use
every day and love dearly and keep maintained ourselves. I saw commits
from a 14 year range between 2003 to 2017!! I could not be more thankful
for Eelco's work on building large parts of the foundation of nixpkgs
that all of us rely on now.

However, the end date of that range of the files I looked at the blame
on was 2017. I did not see surviving code from any newer date than that.
Looking at the Git logs, Eelco has been working on other things, and
that's totally fine.

However, it means that our maintenance metadata is out of date on a lot
of packages, and *that*'s the reason I am submitting this change. There
are a lot of packages that don't have anyone with their name on them to
be pinged if they need attention, even if they have had recent activity
(although it is never clear if recent activity was just someone fixing
it because ZHF or because the package actually matters to them).
There are a lot of packages with storied history that maybe don't need
to be in the set anymore at all since they have not been touched in
years; or maybe they are simply finished.

Empty maintainer lists should be a sign that we need to figure out who
maintains it or potentially remove it if it has rotted, and allowing the
maintainer list to be empty if it is already not maintained is part of a
healthy repository ecology.

Either way, I would like to have the maintenance metadata not mislead
anyone into sending Eelco emails about packages he doesn't, in practice,
work on anymore. I have not removed his name from everything; there are
some things that he is the upstream for or has worked on more recently,
for instance, like Nix, which I have left alone.
2024-08-21 01:17:45 -07:00
Sergei Trofimovich
37976256c8 sqlite, sqlite-analyzer: 3.46.0 -> 3.46.1
Changes: https://www.sqlite.org/draft/releaselog/current.html
2024-08-16 21:34:15 +01:00
Tristan Ross
8045879c88
sqlite: fix build issue with zig cc 2024-07-27 19:43:41 -07:00
Atemu
0ddb5a1d08
Merge pull request #314390 from trofi/sqlite-update
sqlite, sqlite-analyzer: 3.45.3 -> 3.46.0
2024-07-02 02:50:04 +02:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Audrey Dutcher
846de80d1c various: Enable updateAutotoolsGnuConfigScriptsHook
Prior to August 2023, any config.guess generated by autoconf will
include a hardcoded /usr/bin/uname invocation for FreeBSD on any
architecture other than arm. This clearly doesn't work under nix.
We must then update or otherwise patch each old config.guess.
2024-05-27 11:09:28 -04:00