Commit Graph

18 Commits

Author SHA1 Message Date
Gaetan Lepage
852fa1bf52 gpu-viewer: 3.34 -> 3.35
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/v3.34...v3.35

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.35
2026-06-12 21:40:34 +00:00
Gaetan Lepage
53a584af2a gpu-viewer: 3.32 -> 3.34
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/v3.32...v3.34

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.34
2026-06-06 19:05:46 +00:00
R. Ryantm
1d577ea919 gpu-viewer: 3.30 -> 3.32 2026-04-01 23:30:15 +00:00
Gaetan Lepage
7f0bd90e66 gpu-viewer: 3.26 -> 3.30
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/v3.26...v3.30

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.30
2026-03-01 18:43:54 +00:00
Gaetan Lepage
a352d4642c gpu-viewer: 3.23 -> 3.26
Diff:
https://github.com/arunsivaramanneo/GPU-Viewer/compare/v3.23...v3.26

Changelog:
https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.26
2026-02-16 21:52:08 +00:00
quantenzitrone
18dc8a95fb various: switch buildPythonApplication 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 buildPythonApplication

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
    # pname (restored afterwards)
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $file
    # combinations
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
    sd -F 'inherit version pname;' 'inherit (finalAttrs) version pname;' $file
    sd -F 'inherit pname version;' 'inherit (finalAttrs) pname version;' $file
    sd -F 'inherit pname src version;' 'inherit (finalAttrs) pname src version;' $file
    sd -F 'inherit pname version src;' 'inherit (finalAttrs) pname version src;' $file
    sd -F 'inherit src pname version;' 'inherit (finalAttrs) src pname version;' $file
    sd -F 'inherit src version pname;' 'inherit (finalAttrs) src version pname;' $file
    sd -F 'inherit version pname src;' 'inherit (finalAttrs) version pname src;' $file
    sd -F 'inherit version src pname;' 'inherit (finalAttrs) version src pname;' $file
    # other
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'nativeBuildInputs}' 'finalAttrs.nativeBuildInputs}' $file
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'propagatedBuildInputs}' 'finalAttrs.propagatedBuildInputs}' $file
    sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
    sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
    sd -F 'makePythonPath dependencies' 'makePythonPath finalAttrs.dependencies' $file
    sd -F 'makePythonPath propagatedBuildInputs' 'makePythonPath finalAttrs.propagatedBuildInputs' $file
    sd -F 'libPath}' 'finalAttrs.libPath}' $file
    sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
    sd -F 'runtimeDeps}' 'finalAttrs.runtimeDeps}' $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
    # 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 10:06:06 +01:00
Gaetan Lepage
83f688cc4b gpu-viewer: 3.22 -> 3.23
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/v3.22...v3.23

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.23
2025-12-12 22:16:20 +00:00
R. Ryantm
ea7357142d gpu-viewer: 3.20 -> 3.22 2025-11-25 16:22:31 +00:00
Gaetan Lepage
ed8e63c0d7 gpu-viewer: 3.15 -> 3.20
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/v3.15...v3.20

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.20
2025-10-12 19:49:32 +00:00
Gaetan Lepage
367964b70d gpu-viewer: 3.13 -> 3.15
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/refs/tags/v3.13...refs/tags/v3.15

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.15
2025-06-21 17:21:04 +02:00
Gaetan Lepage
0b53077f97 gpu-viewer: 3.12 -> 3.13
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/refs/tags/v3.12...refs/tags/v3.13

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.13
2025-06-03 19:37:08 +02:00
Gaetan Lepage
b8696461c8 gpu-viewer: 3.10 -> 3.12
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/refs/tags/v3.10...v3.12

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.12
2025-03-22 23:17:43 +01:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01:00
Gaetan Lepage
351f10f88d gpu-viewer: 3.08 -> 3.10
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/refs/tags/v3.08...v3.10

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.10
2024-12-04 13:44:06 +01:00
Gaetan Lepage
490f3c5286 gpu-viewer: 3.06 -> 3.08
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/refs/tags/v3.06...v3.08

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.08
2024-12-01 15:40:11 +01:00
Gaetan Lepage
1d8943efd3 gpu-viewer: 3.04 -> 3.06
Diff: https://github.com/arunsivaramanneo/gpu-viewer/compare/refs/tags/v3.04...v3.06

Changelog: https://github.com/arunsivaramanneo/GPU-Viewer/releases/tag/v3.06
2024-10-05 10:43:31 +02:00
Gaetan Lepage
5fe0c7cac6 gpu-viewer: format 2024-10-05 10:43:31 +02:00
Gaetan Lepage
6c46673f51 gpu-viewer: move to pkgs/by-name 2024-10-05 10:43:31 +02:00