Commit Graph

256 Commits

Author SHA1 Message Date
Ihar Hrachyshka
cca3b04b44 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 19:01:23 +01: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 a08b3a4d19.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
Sergei Trofimovich
c51d3e9e14 sqlite, sqlite-analyzer: 3.45.3 -> 3.46.0
Changes: https://www.sqlite.org/releaselog/3_46_0.html
2024-05-24 22:09:42 +01:00
Sergei Trofimovich
018aeacbee sqlite, sqlite-analyzer: 3.45.2 -> 3.45.3
Changes: https://www.sqlite.org/releaselog/3_45_3.html
2024-04-18 21:56:03 +01:00
Sergei Trofimovich
c627cf3a86 sqlite: 3.45.1 -> 3.45.2
Changes: https://www.sqlite.org/releaselog/3_45_2.html
2024-03-13 08:04:06 +00:00
github-actions[bot]
0675b4b947 Merge staging-next into staging 2024-02-02 12:01:43 +00:00
Sergei Trofimovich
42387a98a8 sqlite, sqlite-analyzer: 3.45.0 -> 2.45.1
Changes: https://www.sqlite.org/releaselog/3_45_1.html
2024-01-30 20:38:48 +00:00
Samuel Ainsworth
be005ab312 sqlite: enableDeserialize can be removed 2024-01-27 17:30:08 -05:00
Sergei Trofimovich
9296199d02 sqlite, sqlite-analyzer: 3.44.2 -> 3.45.0
Changes: https://www.sqlite.org/releaselog/3_45_0.html
2024-01-16 11:51:09 +00:00
Sergei Trofimovich
5c014ce103 sqlite, sqlite-analyzer: 3.43.2 -> 3.44.2
Changes: https://sqlite.org/releaselog/3_44_0.html
Changes: https://sqlite.org/releaselog/3_44_1.html
Changes: https://sqlite.org/releaselog/3_44_2.html
2023-11-29 13:00:45 +00:00
Sergei Trofimovich
35503309a8 sqlite: 3.43.1 -> 3.43.2
Changes: Changes: https://sqlite.org/releaselog/3_43_2.html
2023-10-11 05:31:07 +01:00
Sergei Trofimovich
b8400a7134 sqlite: fix hash for 3.43.1 (was for 3.43.0)
Reported by Martin Weinelt as:

    error: hash mismatch in fixed-output derivation '/nix/store/cw7dg9xzddwcivfp0yv3k0wpz30l7ivl-sqlite-autoconf-3430100.tar.gz.drv':
         specified: sha256-RtsvEPMG4WPkVxuJdNRM03B4quBClbvwiyU2Vd8yZfQ=
            got:    sha256-ORFslOdmMPItVM2Cw86jCFZfFxX3FtGyUn8cnJabpNk=
2023-09-13 22:02:03 +02:00
Sergei Trofimovich
e8cc4e54ce sqlite, sqlite-analyzer: 3.42.0 -> 3.43.1
While at it added trivial updater.

Changes: https://sqlite.org/releaselog/3_43_0.html
Changes: https://sqlite.org/releaselog/3_43_1.html
2023-09-11 22:23:13 +01:00
maralorn
2d87e9ae03 sqlite: add meta.pkgConfigModules annotation 2023-08-08 16:00:37 +02:00
zowoq
6f554cca37 sqlite: 3.41.2 -> 3.42.0
Changelog: https://www.sqlite.org/releaselog/3_42_0.html
2023-05-30 16:31:40 +10:00