Commit Graph

41 Commits

Author SHA1 Message Date
Weijia Wang
c573e4f735 gwyddion: 2.70 -> 2.71 (#510454) 2026-08-16 11:32:37 +00:00
dish
a36bbee9d2 gwyddion: remove libunique support
Prerequisite for dropping libunique, listed as optional and even though
we had it by default, I don't think we lose much by removing this.
2026-08-11 22:09:49 -04:00
whispers
c7404c9232 libappindicator-gtk3: make alias for libappindicator 2026-08-10 23:03:31 -04:00
whispers
7796168a3c gtkglext: move to by-name
This was part of the gnome2 package set, which is being removed. This is
likely to be removed soon as well for depending on GTK2, but for now we
can move it to by-name at the top level.
2026-08-05 22:23:31 -04:00
Arne Keller
2727b65d6c gwq: init at 0.1.1 (#465521) 2026-07-03 19:37:51 +00:00
Robert Schütz
efd93a2640 python3Packages.python-xlib: rename from xlib
The project name (e.g. on PyPI) is python-xlib.
2026-06-21 14:33:42 -07:00
ojii3
0c5164d8f4 gwq: init at 0.1.1 2026-06-20 15:29:35 +09:00
Bobby Rong
95f251af65 gweather-locations: 2025.1 → 2026.2
https://gitlab.gnome.org/GNOME/gweather-locations/-/compare/2026.1...2026.2
2026-05-06 23:23:40 +08:00
Bobby Rong
e63ec16677 gweather-locations: init at 2025.1
Based on the libgweather packaging.

The git tag is 2026.1 but meson.build still says 2025.1, this should be fixed in next bump I guess.
2026-05-06 23:23:38 +08:00
Bart Brouns
f500e41e22 gwc: fix link to changelog
see issue https://github.com/NixOS/nixpkgs/issues/514132
2026-05-04 11:55:21 +02:00
R. Ryantm
203c7ddf4f gwyddion: 2.70 -> 2.71 2026-04-16 00:40:59 +00:00
R. Ryantm
5e0dae2f2c gws: 0.22.1 -> 0.22.5 2026-04-02 19:53:05 +00:00
Ivan Malison
d956139b46 gws: 0.16.0 -> 0.22.1 2026-03-27 01:30:30 -07:00
R. Ryantm
2120c1aae0 gws: 0.6.3 -> 0.16.0 2026-03-15 22:02:53 +00:00
org-agenda-api
055bb318b1 gws: init at 0.6.3 2026-03-07 22:55:42 +01:00
Guy Chronister
ecc6632ace gwe: migrate to by-name, modernize derivation 2026-03-02 20:50:59 -06:00
R. Ryantm
20efc7b516 gwc: 0.22-06 -> 0.22-07 2026-02-08 13:59:15 +00:00
quantenzitrone
b87857cea9 various: rename references from libXmu to libxmu
this shouldn't create any rebuilds
2026-02-06 00:26:00 +01:00
R. Ryantm
ac2e64f51c gwyddion: 2.69 -> 2.70 2026-02-02 00:26:22 +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
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
Marcin Serwin
42c6232eec maintainers: drop matthewbauer
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-11-16 13:42:02 +01:00
R. Ryantm
e17893f450 gwyddion: 2.68 -> 2.69 2025-07-29 00:39:30 +00:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
liberodark
c6729488de treewide: remove with lib Part 4 2025-06-07 00:48:50 +02:00
AlisterH
66f4887585 gwc: fix build with gcc14 2025-06-05 00:27:03 +12:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
R. Ryantm
1cbcf99716 gwyddion: 2.67 -> 2.68 2025-03-25 00:50:39 +00:00
Peder Bergebakken Sundt
357d2530e5 treewide: substitute pname for strings
Inspired by https://github.com/NixOS/nixpkgs/pull/387725#issuecomment-2704943777, script is based on https://github.com/NixOS/nixpkgs/pull/336172 using what i learned in https://github.com/NixOS/nixpkgs/pull/386865, part of https://github.com/NixOS/nixpkgs/issues/346453

Should be zero rebuilds.

All candidates were made using:

```shell

export NIXPKGS_ALLOW_UNFREE=1
export NIXPKGS_ALLOW_INSECURE=1
export NIXPKGS_ALLOW_BROKEN=1

git-wait restore .

test -s packages.json || ( set -x;
  time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages.json
)

list_attrpath_fname_col() {
    jq <packages.json 'to_entries[] | select(.value.meta.position==null|not) | "\(.key)\t\(.value.meta.position)"' -r |
        sed -e "s#\t$(realpath .)/#\t#" |
        sed -e 's#:\([0-9]*\)$#\t\1#' |
        grep . |
        grep -iv haskell |
        grep -iv /top-level/ |
        grep -iv chicken |
        grep pkgs/by-name/ |
        grep -iv build |
        grep -E '/(package|default)\.nix'
}

FLOCKDIR="$(mktemp -d)"
N_WORKERS=4
while read attrpath fname col; do
    grep -qE 'repo *= *("\$\{pname\}"|pname);' "$fname" || continue

    echo | (
        # mutex on fname
        flock --nonblock 200 || {
            >&2 echo "failed to aquire lock for $fname"
            exit 1
        }

        echo "$attrpath"
        data="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)" || exit
        test -n "$data" || exit
        pname="$(jq <<<"$data" .pname -r)"
        test -n "$pname" || exit

        (set -x
            sd -F '${pname}'  "$pname"         "$fname"
            sd -F ' = pname;' " = \"$pname\";" "$fname"
        )

        data2="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)"
        if [[ "$data" = "$data2" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
            exit
        fi

        (set -x
            sd -F ' rec {' ' {' "$fname"
        )

        data3="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json 2>/dev/nul)"

        if [[ "$data" = "$data3" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
        fi

    ) 200>"$FLOCKDIR"/"$(sha256sum - <<<"$fname" | cut -d' ' -f1)".lock &

    while [[ $(jobs -p | wc -l) -ge $N_WORKERS ]]; do
        wait -n < <(jobs -p) || true
    done

done < <(list_attrpath_fname_col)

wait

git restore .

time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages2.json
```

`diff packages{,2}.json` is empty, indicating that no package nor src derivation has changed.
I checked and cherry-picked the changes using `GIT_DIFF_OPTS='-u15' git -c interactive.singleKey=true add --patch`
2025-03-11 23:55:31 +01:00
R. Ryantm
00399cdd47 gworkspace: 1.0.0 -> 1.1.0 2025-02-14 12:34:44 +00:00
Marco Rebhan
fcbacedbf2 gnustep: propagate dependencies 2025-01-25 21:25:34 +01:00
Marco Rebhan
4d96ec0454 gnustep: move GNUstep packages to by-name
It used newScope before which doesn't work well if at all with overlays.
2025-01-25 21:25:34 +01:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm
280444e1a7 gwyddion: 2.66 -> 2.67 2024-12-03 00:19:53 +00:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
aleksana
01bc8773ea gweled: unstable-2021-02-11 -> 1.0-beta1 2024-10-21 15:52:03 +08:00
aleksana
17f0d2ac40 gweled: format with nixfmt-rfc-style 2024-10-21 15:23:04 +08:00
aleksana
ee6e844811 gweled: move to pkgs/by-name 2024-10-21 15:22:37 +08:00