Commit Graph

182 Commits

Author SHA1 Message Date
Fabian Affolter
b8c68e6870 sbomit: init at 0.2.1 (#553751) 2026-08-18 10:06:55 +00:00
Fabian Affolter
1ac6b0a104 sbomit: init at 0.2.1
Tool to generate SBOMs

https://github.com/SBOMit/sbomit
2026-08-18 00:57:13 +02:00
Jakub Kozłowski
c893f43c46 sbt: 1.12.13 -> 2.0.6, move to by-name, misc fixes (#552788) 2026-08-17 19:17:45 +00:00
Fabian Affolter
fdc5afcdff sbom-cve-check: init at 1.3.3 (#553463) 2026-08-17 18:39:11 +00:00
Fabian Affolter
a977667e5a sbom-cve-check: init at 1.3.3
Lightweight SBOM CVE analysis tool

https://github.com/bootlin/sbom-cve-check
2026-08-17 08:39:01 +02:00
Weijia Wang
79eadc0341 sbt-extras: 2025-08-25 -> 2026-05-04 (#483803) 2026-08-15 21:18:01 +00:00
R. Ryantm
25c789a639 sbt-extras: 2025-08-25 -> 2026-05-04 2026-08-15 18:46:33 +02:00
Vladyslav Pekker
94418ccbb3 sbt-with-scala-native: wrap sbtn as well
A --client session went without CLANG_PATH, CPATH and LIBRARY_PATH. The
guard is there because sbtn is absent on platforms upstream ships no
native client for.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:08 -03:00
Vladyslav Pekker
e2da40fd9d sbt-with-scala-native: mention the toolchain in the description
It shares a derivation name with plain sbt, which is one of the two
conventions in the tree, so the description is what tells them apart in
nix search and nix profile list.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:08 -03:00
Vladyslav Pekker
a3e1a87d40 sbt: add an update script
nixpkgs-update already bumps sbt from its own version detection, but sbt
keeps 1.x and 2.x alive at once and ships them on the same day -- v2.0.6
and v1.12.15 both landed 2026-08-07. Anything keyed on the most recently
published release can therefore propose a downgrade, so this picks the
highest version out of the tags instead and refuses to go backwards.

The X.Y.Z filter drops release candidates. sbt does flag those as
prereleases on GitHub, but tags carry no such marker and v2.1.0-RC1 would
otherwise sort above v2.0.6.

$UPDATE_NIX_ATTR_PATH is ignored because sbt-with-scala-native is
sbt.overrideAttrs and inherits this passthru, while its meta.position
points at its own file rather than the one holding the version.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:08 -03:00
Vladyslav Pekker
75f0cb85ba sbt: add a passthru test
Asserts on the runner version the binary reports, rather than on its exit
status, and takes finalAttrs.finalPackage so an override is what gets
tested.

testers.testVersion is not used here because the runner needs a writable
HOME and --allow-empty to run outside a project.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:08 -03:00
Vladyslav Pekker
ad200d888f sbt: add an install check
Nothing verified the built sbt runs. --version --allow-empty needs neither
a project nor the network, so the runner can be exercised in the sandbox.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:08 -03:00
Vladyslav Pekker
e2b08cee63 sbt: put ncurses on PATH instead of propagating it
$out/bin held bare symlinks and nothing set PATH, so propagating ncurses
never got infocmp to a running sbt; it only pushed ncurses-dev into the
build environment of everything that depends on sbt. The native client is
what wants infocmp, so a wrapper is where it belongs.

Dropping the propagation does mean ncurses no longer reaches the
environment of anything that takes sbt as an input, `nix-shell -p sbt`
included.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:07 -03:00
Vladyslav Pekker
c734820117 sbt: limit platforms to those the jre supports
lib.platforms.unix claimed 45 systems, 37 of which have no jre at all and
so could never have built this.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:07 -03:00
Vladyslav Pekker
3737388577 sbt: only install sbtn where upstream ships one
The if-chain fell through to the x86_64 client for every platform that was
neither darwin nor aarch64, so i686, armv7l, armv6l, powerpc64le and
riscv64 got a binary for the wrong architecture. Nothing failed:
autoPatchelfHook skips files whose architecture differs from the target,
so the build succeeded and shipped an sbtn that cannot run.

sbt itself is unaffected on those platforms, being a shell script and a
jar, so the client is simply left out where upstream has none.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:07 -03:00
Vladyslav Pekker
fbb83045e5 sbt: add changelog to meta
Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:07 -03:00
Vladyslav Pekker
0cde6c774f sbt: fix license
The LICENSE in the distribution is the Apache License 2.0, and GitHub
reports the repository as Apache-2.0. sbt was BSD-3 in its 0.x days.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:07 -03:00
Vladyslav Pekker
5862b54947 sbt: require Java 17 or newer
postPatch bakes -java-home into conf/sbtopts, so the jre this derivation
is given is the one every sbt invocation runs on, and sbt 2 exits with
"sbt 2.x requires JDK 17 or above" on anything older. Asserting turns that
into an evaluation error, as scala-cli already does.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:07 -03:00
Vladyslav Pekker
a76f1df431 sbt: 1.12.13 -> 2.0.6
What is packaged here is the runner, not the build tool a project uses:
each project declares its own version in project/build.properties, which
the 2.x runner reads and honours, so existing 1.x builds keep working.
Verified against a project pinned to 1.12.15, where `sbt --version`
reports the runner as 2.0.6 and the project as 1.12.15.

A directory with no project/build.properties now falls back to 2.0.6.

Supersedes https://github.com/NixOS/nixpkgs/pull/537442.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:07 -03:00
Vladyslav Pekker
8117b3d9ba sbt: add agilesteel as maintainer
Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:07 -03:00
Vladyslav Pekker
575b4919e4 sbt: move to pkgs/by-name
Only PRs to packages in pkgs/by-name can be merged with the merge bot, so
this is what lets the package's maintainers act on r-ryantm's bumps.

Both callPackage calls took empty argument sets, so no .override interface
changes. simpleBuildTool stays in all-packages.nix, being an alias rather
than a definition.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-14 18:01:06 -03:00
R. Ryantm
6f0bb85d3c sby: 0.61 -> 0.68 2026-08-06 17:42:05 +00:00
2kybe3
7747e77a6f treewide: follow some GitHub redirects for fetchFromGitHub
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect

continuation of: #539298
2026-08-01 21:25:09 +02:00
Sandro
1968d142a8 sbsigntool: make unused-but-set-variable non-fatal for gcc 16 (#537411) 2026-07-25 13:01:07 +00:00
Fabian Haas
df704e156d sbomnix: use the latest Nix version in $PATH again
Undoes the previous workaround for the new JSON derivation format,
which pinned the runtime Nix version to 2.31.

As sbomnix no longer supports the legacy derivation format starting
with 1.8.0 and the new JSON format is only available starting with
Nix 2.33, now the workaround causes sbomnix to fail.
2026-07-05 01:40:02 +02:00
whispers
775b868546 sbsigntool: make unused-but-set-variable non-fatal for gcc 16
since sbsigntool builds with -Werror by default, and gcc 16's unused
variable analysis is better than previous versions, this causes a build
failure.
2026-07-01 08:45:52 -04:00
Michael Daniels
dd89817143 maintainers: remove deepfire (#533723) 2026-06-28 19:40:55 +00:00
Jo
edbfa3ca65 sbomnix: 1.7.6 -> 1.8.0 (#533591) 2026-06-26 12:26:06 +00:00
Ryan Burns
30945d3c58 efitools: Fix cross-compile (#486185) 2026-06-26 02:50:47 +00:00
Brian McGillion
abfe15ab4e sbsigntool: Fix cross-compilation
```
> Running phase: configurePhase
       > substituteStream() in derivation sbsigntool-aarch64-unknown-linux-gnu-0.9.5: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'configure.ac')
       > lib/ccan.git/tools/create-ccan-tree: line 21: getopt: command not found
       > Usage: create-ccan-tree [options] <outdir> <depends>...
       >
       > options:
       >   -a, --copy-all         copy all files in module tree (not just sources
       >                    required for build)
       >   -b, --build-type=TYPE  generate build infrastructure of TYPE
       >                          (one of 'make', 'make+config', 'automake', 'waf')
       For full logs, run:
```
is the error before the changes to address the cross-compilation issues.
2026-06-25 19:08:42 -07:00
R. Ryantm
8f33e42dbc sbom-utility: 0.19.1 -> 0.19.2 2026-06-25 19:08:25 +00:00
Raito Bezarius
6a63a4ad8b pkgs/*: drop maintenanceship of various packages
I have effectively renounced on maintaining all these packages and I do
not plan to return them except if I'm forced to.

I am also fine with most of these packages being dropped for next
releases if no maintainer shows up.

Change-Id: I8d167c8029b6991181bd7a094af21c3313af2b51
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2026-06-24 20:34:45 +02:00
eljamm
cee4a8b675 sbom-compliance-tool: init at 0.0.11
Assisted-by: nix-init
2026-06-22 12:49:16 +02:00
Hythera
82f5fdbac4 maintainers: remove deepfire 2026-06-20 22:33:41 +02:00
R. Ryantm
d844396089 sbomnix: 1.7.6 -> 1.8.0 2026-06-20 11:35:54 +00:00
R. Ryantm
56acb33646 sbb-tui: 1.14.2 -> 1.15.0 2026-06-14 11:05:25 +00:00
R. Ryantm
606a3ffa16 sbom4python: 0.12.5 -> 0.12.6 2026-06-10 23:38:38 +00:00
isabel
a4de95f53f {deja, project-graph, sbb-tui}: fix versionCheckHook phase (#526416) 2026-06-04 18:36:11 +00:00
R. Ryantm
97de341249 sbom-utility: 0.19.0 -> 0.19.1 2026-06-01 18:33:03 +00:00
Tomas Rivera
b25e96d612 sbb-tui: fix versionCheckHook phase 2026-05-31 18:28:52 +02:00
R. Ryantm
4c1bfc39cd sbom-utility: 0.18.1 -> 0.19.0 2026-05-18 13:39:24 +00:00
Tomas Rivera
4e28507193 sbb-tui: 1.13.4 -> 1.14.2 2026-05-09 19:56:56 +02:00
R. Ryantm
b7ed34655f sbom-tool: 4.1.10 -> 4.1.11 2026-05-01 20:10:30 +00:00
R. Ryantm
a976aeb19c sbomnix: 1.7.4 -> 1.7.6 2026-04-28 21:47:07 +00:00
Hans Joachim Kliemeck
bb7c727364 sbomnix: fix JSON issue with recent nix 2026-04-24 04:56:02 +00:00
R. Ryantm
4b736ce079 sbom-tool: 4.1.9 -> 4.1.10 2026-04-22 18:03:35 +00:00
Tomas Rivera
b2e3d337fa sbb-tui: init at 1.13.4 2026-04-22 11:05:44 +02:00
R. Ryantm
d71b001fad sbom-tool: 4.1.8 -> 4.1.9 2026-04-14 11:32:18 +00:00
nixpkgs-ci[bot]
284fe9ab7b Merge master into staging-next 2026-03-18 00:24:50 +00:00
R. Ryantm
11a331c0f7 sbom4python: 0.12.4 -> 0.12.5 2026-03-17 04:50:53 +00:00