Commit Graph

808468 Commits

Author SHA1 Message Date
Jan Malakhovski 7c8a4efb68 lib, treewide: introduce repoRevToName, use it in most fetch* functions
This patch adds `lib.repoRevToName` function that generalizes away most of the
code used for derivation name generation by `fetch*` functions (`fetchzip`,
`fetchFromGitHub`, etc, except those which are delayed until latter commits
for mass-rebuild reasons).

It's first argument controls how the resulting name will look (see below).

Since `lib` has no equivalent of Nixpkgs' `config`, this patch adds
`config.fetchedSourceNameDefault` option to Nixpkgs and then re-exposes
`lib.repoRevToName config.fetchedSourceNameDefault` expression as
`pkgs.repoRevToNameMaybe` which is then used in `fetch*` derivations.

The result is that different values of `config.fetchedSourceNameDefault` now
control how the `src` derivations produced by `fetch*` functions are to be
named, e.g.:

- `fetchedSourceNameDefault = "source"` (the default):

  ```
  $ nix-instantiate -A fuse.src
  /nix/store/<hash>-source.drv
  ```

- `fetchedSourceNameDefault = "versioned"`:

  ```
  $ nix-instantiate -A fuse.src
  /nix/store/<hash>-libfuse-2.9.9-source.drv
  ```

- `fetchedSourceNameDefault = "full"`:

  ```
  $ nix-instantiate -A fuse.src
  /nix/store/<hash>-libfuse-2.9.9-github-source.drv
  ```

See the documentation of `config.fetchedSourceNameDefault` for more info.
2025-05-31 10:01:21 +00:00
Jan Malakhovski 27b01599c5 pkgs/top-level/config.nix: remove some unneded lines 2025-05-31 10:01:21 +00:00
Jan Malakhovski cfa10c8c7a fetchsvn: simplify repoToName and move it outside the thunk
This is more efficient.
2025-05-31 10:01:21 +00:00
Wolfgang Walther 8a5df70796 fx: 36.0.0 -> 36.0.3 (#410458) 2025-05-31 09:46:06 +00:00
Seth Flynn 9a66d538ae skim: 0.17.3 -> 0.18.0 (#412614) 2025-05-31 05:08:39 -04:00
phanirithvij 4460656436 fx: 36.0.0 -> 36.0.3
and refactor

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2025-05-31 14:38:24 +05:30
Cosima Neidahl f86f81ef0f lomiri.lomiri-content-hub: 2.0.0 -> 2.1.0 (#407613) 2025-05-31 10:56:14 +02:00
nixpkgs-merge-bot[bot] 3da27131ce lug-helper: 3.9 -> 3.10 (#412615)
Co-authored-by: LovingMelody <me@little-melody.net>
2025-05-31 08:53:23 +00:00
Fabian Affolter 60ac6932dd trufflehog: 3.88.34 -> 3.88.35 (#412613) 2025-05-31 10:45:45 +02:00
Fabian Affolter 46c27ef458 trivy: 0.62.1 -> 0.63.0 (#412612) 2025-05-31 10:43:34 +02:00
Fabian Affolter eb7c158039 python313Packages.mitogen: 0.3.23 -> 0.3.24 (#412600) 2025-05-31 10:43:24 +02:00
Fabian Affolter cea9ff615c python313Packages.yolink-api: 0.5.2 -> 0.5.4 (#412603) 2025-05-31 10:42:57 +02:00
Fabian Affolter d47d6aa270 python313Packages.tencentcloud-sdk-python: 3.0.1389 -> 3.0.1390 (#412601) 2025-05-31 10:42:05 +02:00
Fabian Affolter d9b94b2312 python313Packages.twilio: 9.6.1 -> 9.6.2 (#412595) 2025-05-31 10:41:54 +02:00
Fabian Affolter 9b2cf43496 python313Packages.sendgrid: 6.12.2 -> 6.12.3 (#412596) 2025-05-31 10:41:44 +02:00
Fabian Affolter 33859d3116 python313Packages.mechanicalsoup: 1.3.0 -> 1.4.0 (#412597) 2025-05-31 10:41:35 +02:00
Fabian Affolter af44f9ff05 checkov: 3.2.435 -> 3.2.436 (#412599) 2025-05-31 10:41:24 +02:00
Fabian Affolter c915b95f1a python313Packages.opower: 0.12.2 -> 0.12.3 (#412598) 2025-05-31 10:41:14 +02:00
Fabian Affolter 5d39cf6a5c python312Packages.mypy-boto3-*: updates (#412594) 2025-05-31 10:31:04 +02:00
Arne Keller 8e468f5550 geph -> geph5 : 4.99.16 -> 0.2.61 (#398813) 2025-05-31 10:29:03 +02:00
Muhammad Falak R Wani 6d0f53825a skim: 0.17.3 -> 0.18.0
Diff: https://github.com/skim-rs/skim/compare/refs/tags/v0.17.3...v0.18.0
Changelog: https://github.com/skim-rs/skim/releases/tag/v0.18.0
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2025-05-31 13:43:30 +05:30
Luke Granger-Brown 43703b05c4 yubioath-flutter: 7.1.1 -> 7.2.2 (#412231) 2025-05-31 09:12:13 +01:00
MCSeekeri c8955ea96e geph -> geph5 : 4.99.16 -> 0.2.61
Co-authored-by: awwpotato <153149335+awwpotato@users.noreply.github.com>
Co-authored-by: penalty1083 <penalty1083@outlook.com>
2025-05-31 08:10:28 +00:00
R. Ryantm bcef3fb133 lug-helper: 3.9 -> 3.10 2025-05-31 08:09:58 +00:00
Fabian Affolter bd92ec72e3 trivy: 0.62.1 -> 0.63.0
Diff: https://github.com/aquasecurity/trivy/compare/refs/tags/v0.62.1...refs/tags/v0.63.0

Changelog: https://github.com/aquasecurity/trivy/releases/tag/v0.63.0
2025-05-31 10:06:36 +02:00
Fabian Affolter 34553fdf88 trufflehog: 3.88.34 -> 3.88.35
Diff: https://github.com/trufflesecurity/trufflehog/compare/refs/tags/v3.88.34...refs/tags/v3.88.35

Changelog: https://github.com/trufflesecurity/trufflehog/releases/tag/v3.88.35
2025-05-31 09:56:42 +02:00
OTABI Tomoya 308837b8e6 libcifpp: 8.0.0 -> 8.0.1 (#406907) 2025-05-31 16:51:47 +09:00
Fabian Affolter d2e8975683 trufflehog: 3.88.33 -> 3.88.34
Diff: https://github.com/trufflesecurity/trufflehog/compare/refs/tags/v3.88.33...refs/tags/v3.88.34

Changelog: https://github.com/trufflesecurity/trufflehog/releases/tag/v3.88.34
2025-05-31 09:51:37 +02:00
Fabian Affolter fbdb19c32f python313Packages.yolink-api: 0.5.2 -> 0.5.4
Diff: https://github.com/YoSmart-Inc/yolink-api/compare/refs/tags/v0.5.2...refs/tags/v0.5.4

Changelog: https://github.com/YoSmart-Inc/yolink-api/releases/tag/v0.5.4
2025-05-31 09:46:31 +02:00
Fabian Affolter 40480ced71 python313Packages.sendgrid: 6.12.2 -> 6.12.3
Diff: https://github.com/sendgrid/sendgrid-python/compare/refs/tags/6.12.2...refs/tags/6.12.3

Changelog: https://github.com/sendgrid/sendgrid-python/blob/6.12.3/CHANGELOG.md
2025-05-31 09:44:57 +02:00
Peter Becich f4ca7a6141 haskellPackages: regenerate package set based on current config (#412513)
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2025-05-31 07:44:37 +00:00
Fabian Affolter 19cd7d82a3 python313Packages.twilio: 9.6.1 -> 9.6.2
Diff: https://github.com/twilio/twilio-python/compare/refs/tags/9.6.1...refs/tags/9.6.2

Changelog: https://github.com/twilio/twilio-python/blob/9.6.2/CHANGES.md
2025-05-31 09:44:32 +02:00
Fabian Affolter e98d4dfc22 python313Packages.mechanicalsoup: 1.3.0 -> 1.4.0
Diff: https://github.com/MechanicalSoup/MechanicalSoup/compare/refs/tags/v1.3.0...refs/tags/v1.4.0

Changelog: https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v1.4.0
2025-05-31 09:44:03 +02:00
Fabian Affolter ff2aee9c67 python313Packages.mitogen: 0.3.23 -> 0.3.24
Diff: https://github.com/mitogen-hq/mitogen/compare/refs/tags/v0.3.23...refs/tags/v0.3.24

Changelog: https://github.com/mitogen-hq/mitogen/blob/v0.3.24/docs/changelog.rst
2025-05-31 09:43:32 +02:00
Wolfgang Walther b40881053f postgres-lsp: add myypo to maintainers (#412586) 2025-05-31 07:42:53 +00:00
Fabian Affolter fc499b5657 python313Packages.opower: 0.12.2 -> 0.12.3
Diff: https://github.com/tronikos/opower/compare/refs/tags/v0.12.2...refs/tags/v0.12.3

Changelog: https://github.com/tronikos/opower/releases/tag/v0.12.3
2025-05-31 09:42:48 +02:00
Fabian Affolter c4fa6af24b checkov: 3.2.435 -> 3.2.436
Diff: https://github.com/bridgecrewio/checkov/compare/refs/tags/3.2.435...refs/tags/3.2.436

Changelog: https://github.com/bridgecrewio/checkov/releases/tag/3.2.436
2025-05-31 09:42:00 +02:00
Wolfgang Walther cb19c37400 postgres-lsp: use system jemalloc (#412403) 2025-05-31 07:41:58 +00:00
Fabian Affolter f64577bfd0 python313Packages.tencentcloud-sdk-python: 3.0.1389 -> 3.0.1390
Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1389...refs/tags/3.0.1390

Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1390/CHANGELOG.md
2025-05-31 09:41:12 +02:00
Fabian Affolter aaf029837f python313Packages.boto3-stubs: 1.38.25 -> 1.38.27 2025-05-31 09:39:57 +02:00
Fabian Affolter f8f49463de python313Packages.botocore-stubs: 1.38.25 -> 1.38.27 2025-05-31 09:39:54 +02:00
Fabian Affolter 5da1eb9047 python312Packages.mypy-boto3-sagemaker: 1.38.14 -> 1.38.27 2025-05-31 09:39:36 +02:00
Fabian Affolter 15cdca0be8 python312Packages.mypy-boto3-s3: 1.38.0 -> 1.38.26 2025-05-31 09:39:35 +02:00
Fabian Affolter 037e54c3bf python312Packages.mypy-boto3-mwaa: 1.38.0 -> 1.38.26 2025-05-31 09:39:21 +02:00
Fabian Affolter 847ca51a19 python312Packages.mypy-boto3-ivs-realtime: 1.38.0 -> 1.38.26 2025-05-31 09:39:07 +02:00
Fabian Affolter 6da7b87097 python312Packages.mypy-boto3-fsx: 1.38.0 -> 1.38.26 2025-05-31 09:38:58 +02:00
Fabian Affolter 26443df1e8 python312Packages.mypy-boto3-emr-serverless: 1.38.0 -> 1.38.27 2025-05-31 09:38:54 +02:00
Fabian Affolter 50e2d34912 python312Packages.mypy-boto3-datasync: 1.38.20 -> 1.38.26 2025-05-31 09:38:46 +02:00
Fabian Affolter c27cc120af python312Packages.mypy-boto3-dataexchange: 1.38.0 -> 1.38.26 2025-05-31 09:38:45 +02:00
Fabian Affolter b91a42c055 python312Packages.mypy-boto3-connect: 1.38.7 -> 1.38.26 2025-05-31 09:38:42 +02:00