59 Commits

Author SHA1 Message Date
Marcin Serwin 11b4f1b410 tclPackages.rl_json: 0.16 -> 0.17.6 (#527899) 2026-06-11 19:54:42 +00:00
Francesco Gazzetta 8894990e8a tclPackages.rl_json: 0.16 -> 0.17.6 2026-06-04 11:31:14 +02:00
Francesco Gazzetta 83183dd497 tclPackages.tclcsv: init at 2.4.3 (#367887) 2026-05-31 14:42:36 +00:00
Francesco Gazzetta 3d39447275 tclPackages: mark packages that are broken on Tcl9 2026-04-22 18:13:05 +02:00
Francesco Gazzetta f625568774 tclPackages.tkimg: 623 -> 2.1.1
Use actual version instead of svn revision
2026-04-22 18:13:05 +02:00
Francesco Gazzetta 6e5fcac29b tclPackages.rl_json: 0.15.7 -> 0.16 2026-04-22 18:13:04 +02:00
Randy Eckenrode f91d7d8520 expect: force C standard to gnu17 for all compilers
Autoconf 2.73 changes the default to C23, but Expect uses K&R-style
function declarations, which were removed in C23.
2026-04-09 22:40:14 -04:00
nixpkgs-ci[bot] 38c4ae5054 Merge staging-next into staging 2026-03-28 06:22:23 +00:00
Francesco Gazzetta 8e5ab3a065 tclPackages.vectcl: fix for GCC 15 2026-03-25 18:26:07 +01:00
nixpkgs-ci[bot] 0ee1ac7a2c Merge staging-next into staging 2026-03-24 18:21:27 +00:00
Francesco Gazzetta 5a47310761 tclPackages.rl_json: 0.15.3 -> 0.15.7 (#497128) 2026-03-24 16:33:46 +00:00
nixpkgs-ci[bot] 16651b448d Merge staging-next into staging 2026-03-22 00:25:19 +00:00
Lisanna Dettwyler f6a6405b99 tclPackages.tdom: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:31:05 -04:00
Francesco Gazzetta ef4315efe9 tclPackages.tcltls: use tclRequiresCheck 2026-03-18 17:56:17 +01:00
Francesco Gazzetta 469a917cd6 tclPackages.tclreadline: use tclRequiresCheck 2026-03-18 17:56:17 +01:00
Francesco Gazzetta b748eac999 tclPackages.tcllib: use tclRequiresCheck 2026-03-18 17:56:16 +01:00
Francesco Gazzetta dcc17ba988 tclPackages.expect: use tclRequiresCheck 2026-03-18 17:56:16 +01:00
Aleksana 2a6a55763c tclPackages.yajl-tcl: fix for GCC 15 (#496886) 2026-03-06 15:46:06 +00:00
Francesco Gazzetta 42c8881763 tclPackages.rl_json: 0.15.3 -> 0.15.7 2026-03-06 09:14:25 +01:00
Francesco Gazzetta 009bccbfbf tclPackages.yajl-tcl: fix for GCC 15
GCC 15 issue: https://github.com/NixOS/nixpkgs/issues/475479
Upstream issue: https://github.com/flightaware/yajl-tcl/pull/45
2026-03-05 14:17:26 +01:00
Francesco Gazzetta 56fb60f423 tclPackages.vectcl,tclPackages.tcl-opencl: init (#379191) 2026-03-03 14:37:05 +00:00
Francesco Gazzetta 89dc557c42 tclPackages.ruff: init at 2.4.2 (#359294) 2026-03-03 14:04:50 +00:00
Francesco Gazzetta 85793c2d60 tclPackages.tcl-lmdb: init at 0.5.0 (#403399) 2026-03-03 13:24:58 +00:00
Francesco Gazzetta 7dabca3bd7 tclPackages.yajl-tcl: init at 1.8.1 (#409398) 2026-02-10 08:12:56 +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
Guy Chronister d0ff9e414d tclPackages.*: refactor to modern conventions
- Remove 'with lib;' from meta blocks and use qualified lib attributes
  - Replace deprecated 'sha256' with 'hash' for fetchurl and fetchFromGitHub
  - Replace 'rev' with 'tag' when using version tags in fetchFromGitHub
  - Update substituteInPlace to use --replace-fail for better error detection
2025-11-21 14:53:20 +00:00
Dmitry Bogatov 82b27bd911 expect: Fix build with gcc=15 2025-08-18 12:50:14 +00:00
qbisi e1f3c2b2f3 tkimg: mark darwin badPlatform 2025-07-28 21:54:57 +08:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Wolfgang Walther 62fe016519 treewide: run treefmt with mdcr/nixfmt 2025-07-24 13:52:31 +02:00
R. Ryantm 7b2a275100 tclPackages.zesty: 0.1 -> 0.2 2025-07-10 07:57:57 +00:00
Francesco Gazzetta 11c5ba8107 tclPackages.rl_json: 0.15.2 -> 0.15.3
Diff: https://github.com/RubyLane/rl_json/compare/0.15.2...0.15.3
2025-06-30 11:57:05 +00:00
Francesco Gazzetta c8615e54e1 tclPackages.tdom: 0.9.5 -> 0.9.6 2025-06-26 18:54:01 +02:00
Francesco Gazzetta 498cd31711 tclPackages.zesty: init at 0.1 2025-06-25 13:05:02 +00:00
Francesco Gazzetta d33111a519 tclPackages.dbus: init at 4.1 2025-06-10 16:32:20 +00:00
Francesco Gazzetta e64a089ac8 tclPackages.yajl-tcl: init at 1.8.1 2025-06-01 13:46:42 +02:00
Peder Bergebakken Sundt 50bc59f3b9 rl_json: 0.15.1 -> 0.15.2, move to tclPackages (#403760) 2025-05-05 23:41:58 +02:00
Francesco Gazzetta d5087eb53b rl_json: move to tclPackages.rl_json 2025-05-03 00:07:08 +02:00
Francesco Gazzetta a0768b2ad4 tclPackages.tcl-lmdb: init at 0.5.0 2025-05-01 21:18:01 +02:00
Ihar Hrachyshka dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04: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
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Sigmanificient 91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
R. Ryantm ca49a1389e tclPackages.tclreadline: 2.4.0 -> 2.4.1 2025-02-20 14:56:43 +00:00
Wolfgang Walther b19d0f6d3d treewide: replace substituteAll with replaceVars 2025-02-10 22:51:56 +01:00
Francesco Gazzetta a89ed9e7eb tclPackages.tcl-opencl: init at 0.8 2025-02-03 22:54:02 +01:00
Francesco Gazzetta bea8a14b58 tclPackages.vectcl: init at 0.3 2025-02-03 22:53:57 +01:00
Francesco Gazzetta dfa2102943 tclPackages.wapp: 0-unstable-2024-05-23 -> 0-unstable-2024-11-22 2025-01-24 11:44:16 +00:00
Arne Keller 71a54989b2 tclPackages.lexec: init at 0-unstable-2020-03-11 (#353474) 2025-01-13 17:29:43 +01:00