Commit Graph

27 Commits

Author SHA1 Message Date
Sergei Trofimovich
709a758bfc zvbi: 0.2.44 -> 0.2.45
Changes: https://github.com/zapping-vbi/zvbi/compare/v0.2.44...v0.2.45
2026-08-12 22:20:24 +01:00
KangaZero
907cf34594 zvm: 0.8.22 -> 0.8.27
Variable `meta.VERSION` that outputs the version to binary is lagging
behind at `v0.8.25` instead of `v0.8.27` (this has since been corrected
on `master` in  4bac2bd7e9)
postPatch added to satisfy `versionCheckHook`
2026-08-01 23:11:46 +09:00
R. Ryantm
95ee581f7b zvm: 0.8.14 -> 0.8.22 2026-05-25 08:39:14 +00:00
Jo
ccf16a792a zvbi: make use of compound licenses and cleanup 2026-04-23 09:07:22 +02:00
R. Ryantm
5367f990bd zvm: 0.8.11 -> 0.8.14 2026-03-27 11:47:02 +00:00
Alyssa Ross
ad64bdfc31 zvbi: disable tests on musl
Fixes: 5764885600 ("zvbi: enable doCheck")
2026-03-25 13:38:57 +01:00
jopejoe1
5764885600 zvbi: enable doCheck 2026-02-26 17:46:04 +01:00
quantenzitrone
9380e05c3c various: switch buildGoModule packages to use finalAttrs
this shouldn't create any rebuilds

the following script was used to generate this:
```fish
#!/usr/bin/env fish

# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}

set base (git rev-parse HEAD)

set scope pkgs/by-name
set builder buildGoModule

set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)

for file in $files
    echo $file
    sd -F "$builder rec {" "$builder (finalAttrs: {" $file
    # version
    sd -F 'version}' 'finalAttrs.version}' $file
    sd -F '${version' '${finalAttrs.version' $file
    sd -F '= version' '= finalAttrs.version' $file
    sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
    sd -F ' + version;' ' + finalAttrs.version;' $file
    sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
    sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
    sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
    sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
    # src
    sd -F 'src}' 'finalAttrs.src}' $file
    sd -F '${src' '${finalAttrs.src' $file
    sd -F '= src' '= finalAttrs.src' $file
    sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
    sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
    # meta
    sd -F '${meta' '${finalAttrs.meta' $file
    sd -F '= meta' '= finalAttrs.meta' $file
    sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
    # other
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
    sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
    sd -F 'libPath}' 'finalAttrs.libPath}' $file
    sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
    sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
    sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
    sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
    sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
    sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
    # pname (restored afterwards)
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $file
    # close finalAttrs lambda
    echo ')' >>$file
    # catch some errors early
    if ! nixfmt $file
        git restore $file
        continue
    end
    if ! nixf-diagnose -i sema-primop-overridden $file
        git restore $file
        continue
    end
end

set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end

# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore

for file in $files
    # file hasn't changed
    if git diff --quiet $base $file
        continue
    end
    # try to eval the package to definitely catch all errors
    echo $file
    set pname (string split / $file -f 4)
    if ! nix eval .#$pname
        set torestore $torestore $file
    end
end

# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
    git restore $torestore
end
```

after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 09:28:59 +01:00
Ethan Carter Edwards
93d0f90099 zvm: 0.8.10 -> 0.8.11
Arbitrary Code Execution/File Deletion Vulnerabilities Fixes!
Changelog: https://github.com/tristanisham/zvm/releases/tag/v0.8.11

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-12-31 18:56:49 -05:00
K900
e2402bac55 Merge remote-tracking branch 'origin/staging-next' into staging 2025-12-14 11:21:31 +03:00
Jonathan Davies
116036d574 treewide: Remove redundant versionCheckProgramArg = "--version"; with:
```shell
git grep -l -e 'versionCheckProgramArg = "--version";' -e 'versionCheckProgramArg = \[ "--version" \];' | while read f; do
  sed -i '/versionCheckProgramArg/d' "$f"
  sed -i '/^$/N;/\n$/D' "$f"
done
```
2025-11-20 10:39:02 +00:00
R. Ryantm
913f8e3232 zvm: 0.8.8 -> 0.8.10 2025-11-15 03:14:20 +00:00
R. Ryantm
96490c0bda zvm: 0.8.7 -> 0.8.8 2025-08-20 18:45:51 +00:00
R. Ryantm
3add563099 zvm: 0.8.5 -> 0.8.7 2025-05-29 23:54:37 +00:00
Alyssa Ross
a1cb628cce zvbi: fix cross to musl
As with several other packages, we have to tell autoconf to please
assume malloc works properly.
2025-05-02 13:38:49 +02:00
nixpkgs-ci[bot]
e8240407b0 Merge staging-next into staging 2025-03-18 18:05:35 +00:00
Ethan Carter Edwards
c14d5036e0 zvm: init at 0.8.5
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-03-18 07:26:53 -04:00
Sergei Trofimovich
9df512b8f7 zvbi: enable parallel building 2025-03-14 22:14:46 +00:00
Sergei Trofimovich
782ce14c00 zvbi: 0.2.43 -> 0.2.44
Changes: https://github.com/zapping-vbi/zvbi/compare/v0.2.43...v0.2.44
2025-03-14 22:12:38 +00:00
Alyssa Ross
1f3c32e435 zvbi: fix building for musl on x86_64 2024-12-24 14:52:52 +01:00
Sergei Trofimovich
323024eee2 zvbi: 0.2.42-unstable-2024-11-29 -> 0.2.43
Changes: https://github.com/zapping-vbi/zvbi/compare/v0.2.42...v0.2.43
2024-12-07 06:23:33 +00:00
Randy Eckenrode
0f3daaf877 zvbi: propagate libiconv and libintl (#359999) 2024-12-01 19:56:29 -05:00
Randy Eckenrode
a7049cc45c zvbi: propagate libiconv and libintl
zvbi’s `.pc` tries to link libiconv and libintl. Make sure these
libraries are propagated to prevent false negatives detecting it.
2024-11-30 14:37:48 -05:00
Alyssa Ross
ebc7e99684 zvbi: 0.2.42-unstable-2024-03-21 -> 0.2.42-unstable-2024-11-29
Fixes building for musl.
2024-11-30 01:00:41 +01:00
Emily
9581f2ad76 zvbi: 0.2.42 -> 0.2.42-unstable-2024-03-21
Contains fixes for GCC 14 and undefined
behaviour. Hopefully upstream will cut a release soon (see
<https://github.com/zapping-vbi/zvbi/pull/50#issuecomment-2495621293>),
but this unblocks FFmpeg on `staging`.
2024-11-25 04:32:24 +00:00
Masum Reza
e13831335f treewide: stdenv.is -> stdenv.hostPlatform.is (#356363)
* treewide: stdenv.is -> stdenv.hostPlatform.is

* treewide: nixfmt due to ci error
2024-11-17 16:11:54 +05:30
jopejoe1
b6747f4e6f zvbi: init at 0.2.42 2024-10-10 17:47:08 +02:00