Commit Graph

77 Commits

Author SHA1 Message Date
drew-dirac
b6f1848340 maintainers: remove drew-dirac
Assisted-by: pi (gpt-5.6-sol)
2026-08-14 13:58:09 -04:00
nixpkgs-ci[bot]
dd81166aa7 cgal: 6.1.1 -> 6.2 (#530457) 2026-07-17 10:57:28 +00:00
Eman Resu
ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
Daniel Woffinden
3bd158e72e cgt-calc: fix build by backporting uv-build relaxation
On latest unstable:
```
ERROR Missing dependencies:
        uv_build<0.11.0,>=0.8.23
error: Cannot build '/nix/store/w9vn8bl71zib3lgf4dfrdkrfasz9alnx-cgt-calc-2.0.0.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/kg4zwzbh10vn51h0r6g6jmlhh0wb6k93-cgt-calc-2.0.0-dist
         /nix/store/wnr2qzvnw7l0czbaa0qqm2wdjyfrbnfb-cgt-calc-2.0.0
       Last 25 log lines:
       > Using pypaBuildPhase
       > Sourcing python-runtime-deps-check-hook
       > Using pythonRuntimeDepsCheckHook
       > Sourcing pypa-install-hook
       > Using pypaInstallPhase
       > Sourcing python-imports-check-hook.sh
       > Using pythonImportsCheckPhase
       > Sourcing python-namespaces-hook
       > Sourcing python-catch-conflicts-hook.sh
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/xf1v660b4w4kv0sk1qhwx5lx9gapacgz-source
       > source root is source
       > setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/uv.lock"
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > Executing pypaBuildPhase
       > Creating a wheel...
       > pypa build flags: --no-isolation --outdir dist/ --wheel
       > * Getting build dependencies for wheel...
       >
       > ERROR Missing dependencies:
       >     uv_build<0.11.0,>=0.8.23
       For full logs, run:
         nix log /nix/store/w9vn8bl71zib3lgf4dfrdkrfasz9alnx-cgt-calc-2.0.0.drv
```

Fix is upstream but not yet released: https://github.com/KapJI/capital-gains-calculator/pull/781
2026-07-12 22:43:19 +01:00
R. Ryantm
320e2ff2e9 cgreen: 1.6.4 -> 1.6.5 2026-06-28 21:05:14 +00:00
R. Ryantm
36b9b6e8f8 cgal: 6.1.1 -> 6.2 2026-06-20 03:20:08 +00:00
Anthony Wang
5519e3979f cgit: 1.3 -> 1.3.1
https://lists.zx2c4.com/pipermail/cgit/2026-May/004993.html
2026-05-14 19:57:02 -04:00
Xiangyan Sun
24cd0d2de9 cgui: fix build with gcc15 2026-05-08 21:41:29 -07:00
Sandro
2a18b85629 cgtcalc: update from the default branch (#499646) 2026-04-17 00:07:21 +00:00
dotlambda
052e81359c cgif: 0.5.2 -> 0.5.3 (#506982) 2026-04-13 17:13:12 +00:00
Guy Chronister
84ffd528f3 cgit: migrate to by-name 2026-04-09 13:14:56 -05:00
R. Ryantm
0673bfc6dd cgif: 0.5.2 -> 0.5.3 2026-04-05 15:30:54 +00:00
dotlambda
eb5356dbdd cgif: 0.5.1 -> 0.5.2 (#493052) 2026-03-26 05:24:01 +00:00
Doron Behar
f3c0874d7c cgt-calc: 1.14.0-unstable-2026-02-23 -> 2.0.0 2026-03-22 00:42:44 +02:00
R. Ryantm
4b22f7d345 cgl: 0.60.9 -> 0.60.10 2026-03-12 12:33:42 +00:00
Daniel Woffinden
9538e39549 cgtcalc: auto-update from the default branch
Upstream doesn't have any useful tags.

Note that updating past the current rev will fail to compile until
nixpkgs gets swift 6 support:
https://github.com/NixOS/nixpkgs/issues/343210

But _not_ specifying this leads to confusing PRs:
https://github.com/NixOS/nixpkgs/pull/498904
2026-03-11 23:14:20 +00:00
Doron Behar
489439d7eb cgt-calc: 1.14.0{,-unstable-2026-02-23} 2026-03-04 11:22:27 +02:00
Doron Behar
602119658a cgt-calc: relax yfinance dependency too 2026-03-04 11:22:26 +02:00
Doron Behar
6fca21c312 cgt-calc: comment about defusedxml relaxation 2026-03-04 11:22:26 +02:00
7c6f434c
9146f69d90 cgal_5: 5.6.2 -> 5.6.3 (#495476) 2026-03-01 12:33:37 +00:00
wrvsrx
1a9cf6dbb8 cgal_5: 5.6.2 -> 5.6.3 2026-03-01 18:01:36 +08:00
R. Ryantm
cf19d2ad83 cgif: 0.5.1 -> 0.5.2 2026-02-22 14:38:33 +00:00
Daniel Woffinden
2576304f74 cgtcalc: init at 0-unstable-2025-10-11
Using upstream 1cf63741ddc0a5070680cb1339ad0abff0b7d69b, which is the
last to build with swift <6.

Not to be confused with cgt-calc, written in python.
2026-02-20 20:53:19 +00:00
Tom Herbers
e9cfcb3b5d maintainers: drop offline 2026-02-11 11:42:06 +01:00
Fernando Rodrigues
693e12715a various: switch buildGoModule packages to use finalAttrs (#487704) 2026-02-07 09:35:52 +00:00
quantenzitrone
626f23ce26 various: switch 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 files (rg --files-with-matches -F 'stdenv.mkDerivation rec {' $scope | sort -u)

for file in $files
    echo $file
    sd -F 'stdenv.mkDerivation rec {' 'stdenv.mkDerivation (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 '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:59:05 +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
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
quantenzitrone
9c8e96055a various: fix pname misuse in urls 2026-02-05 01:51:59 +01:00
Fernando Rodrigues
6308c3b213 various: switch to finalAttrs pattern (#483882) 2026-01-30 02:32:49 +00:00
quantenzitrone
6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00
7c6f434c
da9d76fedf cgal: 6.1 -> 6.1.1 (#484082) 2026-01-27 11:46:33 +00:00
R. Ryantm
8ac62afc58 cgal: 6.1 -> 6.1.1 2026-01-26 14:55:34 +00:00
quantenzitrone
7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Nick Cao
691b2bac43 cgif: 0.5.0 -> 0.5.1 (#481828) 2026-01-20 22:27:56 +00:00
R. Ryantm
c5fc513233 cgif: 0.5.0 -> 0.5.1 2026-01-20 00:33:01 +00:00
Daniel Woffinden
57671d17f2 cgt-calc: 1.13.0 -> 1.14.0
- loosen defusedxml dep
- 1.14 added a dependency on requests-ratelimiter, but that is broken in
  nixpkgs as it depends on pyrate-limiter 2, but nixpkgs is on 3.9:
  - https://github.com/JWCook/requests-ratelimiter/issues/78
  - https://github.com/NixOS/nixpkgs/pull/437746#issuecomment-3232365968
- Upstream patched to switch cgt-calc to natively use
  pyrate-limiter 3.9, which is unreleased so I had to backport to 1.14:
  https://github.com/KapJI/capital-gains-calculator/pull/715
2026-01-19 20:20:48 +00:00
Bruno BELANYI
1e2cdaf72e cgt-calc: use finalAttrs 2026-01-19 11:54:22 +00:00
qbisi
2ae9a7ed13 cgns: fix crash for test_particlef on LoongArch64 2026-01-09 23:41:37 +08:00
qbisi
5d47432376 cgns: fix source hash 2026-01-02 05:45:32 +08:00
R. Ryantm
fa8fc8b6e5 cgns: 4.5.0 -> 4.5.1 2025-12-30 00:29:42 +00:00
Ihar Hrachyshka
567e8dfd8e 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 18:09:49 +01:00
Ben Siraphob
da72f8229b cgal: 6.0.2 -> 6.1 (#449759) 2025-11-18 17:59:36 +00:00
Rafael Ieda
a3e3285ba8 maintainers: drop savannidgerinel 2025-10-15 07:10:46 -03:00
R. Ryantm
d2c1d40ef4 cgal: 6.0.2 -> 6.1 2025-10-08 02:54:05 +00:00
qbisi
9b48e6f7cc cgal: propagate boost 2025-10-03 13:19:49 +08:00
liberodark
76e4496ddc cgal: 6.0.1 -> 6.0.2 2025-09-28 19:11:01 +02:00
Ravi Peters
c663bae26f maintainers: add ylannl 2025-08-22 12:58:42 +02:00
drew-dirac
74ef9bac2f formatting 2025-08-22 11:45:56 +02:00
drew-dirac
5334a0c9ea add cgal_5 2025-08-22 11:45:56 +02:00