diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e37ff00cb911..8276726f45e6 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -28117,12 +28117,6 @@ githubId = 50843046; name = "tornax"; }; - toschmidt = { - email = "tobias.schmidt@in.tum.de"; - github = "toschmidt"; - githubId = 27586264; - name = "Tobias Schmidt"; - }; totalchaos = { email = "basil.keeler@outlook.com"; github = "totalchaos05"; diff --git a/nixos/modules/services/desktops/seatd.nix b/nixos/modules/services/desktops/seatd.nix index bedcc9a43120..939b9f338af9 100644 --- a/nixos/modules/services/desktops/seatd.nix +++ b/nixos/modules/services/desktops/seatd.nix @@ -40,7 +40,6 @@ in config = lib.mkIf cfg.enable { environment.systemPackages = with pkgs; [ seatd - sdnotify-wrapper ]; users.groups.seat = lib.mkIf (cfg.group == "seat") { }; @@ -55,7 +54,7 @@ in Type = "notify"; NotifyAccess = "all"; SyslogIdentifier = "seatd"; - ExecStart = "${pkgs.sdnotify-wrapper}/bin/sdnotify-wrapper ${pkgs.seatd.bin}/bin/seatd -n 1 -u ${cfg.user} -g ${cfg.group} -l ${cfg.logLevel}"; + ExecStart = "${lib.getExe' pkgs.s6 "s6-notify-socket-from-fd"} ${pkgs.seatd.bin}/bin/seatd -n 1 -u ${cfg.user} -g ${cfg.group} -l ${cfg.logLevel}"; RestartSec = 1; Restart = "always"; }; diff --git a/nixos/modules/services/display-managers/gdm.nix b/nixos/modules/services/display-managers/gdm.nix index 79eb5b4537cc..dd043cbf272a 100644 --- a/nixos/modules/services/display-managers/gdm.nix +++ b/nixos/modules/services/display-managers/gdm.nix @@ -45,9 +45,19 @@ let setSessionScript = pkgs.callPackage ../x11/display-managers/account-service-util.nix { }; - greeterEnvFile = pkgs.writeText "gdm-greeter-env" '' - DCONF_PROFILE=gdm - ''; + greeterUsers = lib.genAttrs' [ null 1 2 3 4 ] ( + i: + let + # adding 1 to create `gdm-greeter{-2,-3,-4,-5}` + suffix = lib.optionalString (i != null) "-${toString (i + 1)}"; + in + lib.nameValuePair "gdm-greeter${suffix}" { + isSystemUser = true; + uid = 60578 + (if i == null then 0 else i); + group = "gdm"; + home = "/run/gdm/home/gdm-greeter${suffix}"; + } + ); in { @@ -190,6 +200,8 @@ in config = lib.mkIf cfg.enable { + warnings = lib.optional config.services.pulseaudio.enable "Support for Pulseaudio + gdm will be removed in NixOS 26.11"; + services.xserver.displayManager.lightdm.enable = false; users.users = lib.mkMerge [ @@ -200,24 +212,8 @@ in group = "gdm"; description = "GDM user"; }; - - gdm-greeter = { - isSystemUser = true; - uid = 60578; - group = "gdm"; - home = "/run/gdm"; - }; } - - (lib.genAttrs' [ 1 2 3 4 ] ( - i: - lib.nameValuePair "gdm-greeter-${toString i}" { - isSystemUser = true; - uid = 60578 + i; - group = "gdm"; - home = "/run/gdm-${toString i}"; - } - )) + greeterUsers ]; users.groups.gdm.gid = config.ids.gids.gdm; @@ -259,17 +255,20 @@ in }; }; - systemd.tmpfiles.rules = [ - "d /run/gdm/.config 0711 gdm gdm" - ] - ++ lib.optionals config.services.pulseaudio.enable [ - "d /run/gdm/.config/pulse 0711 gdm gdm" - "L+ /run/gdm/.config/pulse/${pulseConfig.name} - - - - ${pulseConfig}" - ] - ++ lib.optionals config.services.gnome.gnome-initial-setup.enable [ - # Create stamp file for gnome-initial-setup to prevent it starting in GDM. - "f /run/gdm/.config/gnome-initial-setup-done 0711 gdm gdm - yes" - ]; + systemd.tmpfiles.rules = + lib.optionals config.services.pulseaudio.enable ( + lib.concatLists ( + lib.mapAttrsToList (name: user: [ + "d ${user.home}/.config 0711 ${name} gdm" + "d ${user.home}/.config/pulse 0711 ${name} gdm" + "L+ ${user.home}/.config/pulse/${pulseConfig.name} - - - - ${pulseConfig}" + ]) greeterUsers + ) + ) + ++ lib.optionals config.services.gnome.gnome-initial-setup.enable [ + # Create stamp file for gnome-initial-setup to prevent it starting in GDM. + "f /run/gdm/gdm.ran-initial-setup 0711 gdm gdm - yes" + ]; # Otherwise GDM will not be able to start correctly and display Wayland sessions systemd.packages = [ @@ -456,12 +455,6 @@ in settings.conffile = "/etc/pam/environment"; settings.readenv = 0; } - { - name = "env-greeter"; - control = "required"; - modulePath = "${config.security.pam.package}/lib/security/pam_env.so"; - settings.envfile = greeterEnvFile; - } { name = "systemd"; control = "optional"; diff --git a/nixos/modules/services/networking/pihole-ftl-setup-script.nix b/nixos/modules/services/networking/pihole-ftl-setup-script.nix index 944d180dda17..8aa7761c3b26 100644 --- a/nixos/modules/services/networking/pihole-ftl-setup-script.nix +++ b/nixos/modules/services/networking/pihole-ftl-setup-script.nix @@ -19,6 +19,7 @@ let in '' # Can't use -u (unset) because api.sh uses API_URL before it is set + set +u set -eo pipefail pihole="${lib.getExe pihole}" jq="${lib.getExe pkgs.jq}" @@ -29,22 +30,24 @@ in if [ ! -f '${cfg.settings.files.gravity}' ]; then $pihole -g # Send SIGRTMIN to FTL, which makes it reload the database, opening the newly created one - ${lib.getExe' pkgs.procps "kill"} -s SIGRTMIN $(systemctl show --property MainPID --value ${config.systemd.services.pihole-ftl.name}) + ${lib.getExe' pkgs.procps "kill"} -s SIGRTMIN "$(systemctl show --property MainPID --value ${config.systemd.services.pihole-ftl.name})" fi + # shellcheck disable=SC1091 source ${pihole}/share/pihole/advanced/Scripts/api.sh + # shellcheck disable=SC1091 source ${pihole}/share/pihole/advanced/Scripts/utils.sh any_failed=0 addList() { - local payload="$1" + local payload="$1" result type error echo "Adding list: $payload" - local type=$($jq -r '.type' <<< "$payload") - local result=$(PostFTLData "lists?type=$type" "$payload") + type=$($jq -r '.type' <<< "$payload") + result=$(PostFTLData "lists?type=$type" "$payload") - local error="$($jq '.error' <<< "$result")" + error="$($jq '.error' <<< "$result")" if [[ "$error" != "null" ]]; then echo "Error: $error" any_failed=1 @@ -62,7 +65,7 @@ in echo "Added list ID $id: $result" } - for i in 1 2 3; do + for _ in 1 2 3; do (TestAPIAvailability) && break echo "Retrying API shortly..." ${lib.getExe' pkgs.coreutils "sleep"} .5s diff --git a/nixos/modules/services/networking/pihole-ftl.nix b/nixos/modules/services/networking/pihole-ftl.nix index 3840d6fefd12..2280ff4231f5 100644 --- a/nixos/modules/services/networking/pihole-ftl.nix +++ b/nixos/modules/services/networking/pihole-ftl.nix @@ -491,11 +491,18 @@ in users.groups.${cfg.group} = { }; - environment.etc."pihole/pihole.toml" = { - source = settingsFile; - user = cfg.user; - group = cfg.group; - mode = "400"; + environment.etc = { + "pihole/pihole.toml" = { + source = settingsFile; + user = cfg.user; + group = cfg.group; + mode = "400"; + }; + + "pihole/versions".text = '' + CORE_VERSION=${cfg.piholePackage.src.src.tag} + FTL_VERSION=${cfg.package.src.tag} + ''; }; environment.systemPackages = [ cfg.pihole ]; diff --git a/nixos/modules/services/web-apps/pihole-web.nix b/nixos/modules/services/web-apps/pihole-web.nix index 90c78b5299d5..43895b4c45a2 100644 --- a/nixos/modules/services/web-apps/pihole-web.nix +++ b/nixos/modules/services/web-apps/pihole-web.nix @@ -89,6 +89,8 @@ in }; config = lib.mkIf cfg.enable { + environment.etc."pihole/versions".text = "WEB_VERSION=${cfg.package.src.tag}"; + services.pihole-ftl.settings.webserver = { domain = cfg.hostName; port = cfg.ports; diff --git a/nixos/modules/virtualisation/nixos-containers.nix b/nixos/modules/virtualisation/nixos-containers.nix index a952e64c5b65..84bb0b6c4856 100644 --- a/nixos/modules/virtualisation/nixos-containers.nix +++ b/nixos/modules/virtualisation/nixos-containers.nix @@ -524,6 +524,19 @@ let tmpfs = null; }; + # Parses an IPv4 address with an optional prefix + ipv4FromString = + str: + let + segments = lib.splitString "/" str; + prefix = lib.elemAt segments 1; + hasPrefix = builtins.length segments == 2; + in + { + address = lib.head segments; + prefixLength = if hasPrefix then builtins.fromJSON prefix else 32; + }; + in { @@ -594,6 +607,14 @@ in boot.isNspawnContainer = true; networking.hostName = mkDefault name; networking.useDHCP = false; + networking.interfaces = lib.mkIf config.privateNetwork { + eth0.ipv4.addresses = lib.optional (config.localAddress != null) ( + ipv4FromString config.localAddress + ); + eth0.ipv6.addresses = lib.optional (config.localAddress6 != null) ( + lib.network.ipv6.fromString config.localAddress6 + ); + }; assertions = [ { assertion = diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index f4308311858c..799c3d5d9791 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -245,6 +245,7 @@ in authelia = runTest ./authelia.nix; auto-cpufreq = runTest ./auto-cpufreq.nix; autobrr = runTest ./autobrr.nix; + autopush-rs = runTest ./autopush-rs.nix; autosuspend = runTest ./autosuspend.nix; avahi = runTest { imports = [ ./avahi.nix ]; @@ -386,6 +387,7 @@ in containers-custom-pkgs = runTest ./containers-custom-pkgs.nix; containers-ephemeral = runTest ./containers-ephemeral.nix; containers-extra_veth = runTest ./containers-extra_veth.nix; + containers-gateway = runTest ./containers-gateway.nix; containers-hosts = runTest ./containers-hosts.nix; containers-imperative = runTest ./containers-imperative.nix; containers-ip = runTest ./containers-ip.nix; diff --git a/nixos/tests/autopush-rs.nix b/nixos/tests/autopush-rs.nix new file mode 100644 index 000000000000..e1075bd3d17f --- /dev/null +++ b/nixos/tests/autopush-rs.nix @@ -0,0 +1,60 @@ +{ lib, ... }: +{ + _class = "nixosTest"; + name = "autopush-rs"; + + nodes = { + machine = + { pkgs, config, ... }: + { + environment.systemPackages = [ + pkgs.curl + ]; + + services.redis.servers.autopush-rs = { + enable = true; + port = 6000; + }; + system.services.autopush-autoconnect = { + imports = [ + pkgs.autopush-rs.services.autoconnect + ]; + autoconnect.settings = { + #do not use this key in production!!! + crypto_key = "[fZQX8jgdESUYFTYfWw3Dv5RRMuwYJPPaaPcbUgHM69Q=]"; + db_dsn = "redis://localhost:${toString config.services.redis.servers.autopush-rs.port}"; + port = 8000; + }; + }; + system.services.autopush-autoendpoint = { + imports = [ + pkgs.autopush-rs.services.autoendpoint + ]; + autoendpoint.settings = { + #do not use this key in production!!! + crypto_key = "[fZQX8jgdESUYFTYfWw3Dv5RRMuwYJPPaaPcbUgHM69Q=]"; + db_dsn = "redis://localhost:${toString config.services.redis.servers.autopush-rs.port}"; + port = 8080; + }; + }; + + networking.firewall.allowedTCPPorts = [ + 8080 + 8000 + ]; + }; + }; + + testScript = '' + start_all() + machine.wait_for_unit("multi-user.target") + machine.wait_for_unit("autopush-autoconnect.service") + machine.wait_for_unit("autopush-autoendpoint.service") + machine.wait_for_open_port(8080) + machine.wait_for_open_port(8000) + machine.succeed("curl -s -f http://localhost:8080/health") + machine.succeed("curl -s -f http://localhost:8000/health") + ''; + + meta.maintainers = with lib.maintainers; [ zimward ]; +} diff --git a/nixos/tests/containers-gateway.nix b/nixos/tests/containers-gateway.nix new file mode 100644 index 000000000000..48a29f6c99dc --- /dev/null +++ b/nixos/tests/containers-gateway.nix @@ -0,0 +1,67 @@ +let + hostIp4 = "192.168.0.1"; + containerIp4 = "192.168.0.100/24"; + hostIp6 = "fc00::1"; + containerIp6 = "fc00::2/7"; +in + +{ lib, ... }: +{ + name = "containers-gateway"; + meta = { + maintainers = with lib.maintainers; [ + rnhmjoj + ]; + }; + + nodes.machine = { + networking.bridges = { + br0.interfaces = [ ]; + }; + networking.interfaces = { + br0.ipv4.addresses = [ + { + address = hostIp4; + prefixLength = 24; + } + ]; + br0.ipv6.addresses = [ + { + address = hostIp6; + prefixLength = 7; + } + ]; + }; + + containers.test = { + autoStart = true; + privateNetwork = true; + hostBridge = "br0"; + localAddress = containerIp4; + localAddress6 = containerIp6; + config.networking = { + defaultGateway.address = hostIp4; + defaultGateway6.address = hostIp6; + }; + }; + }; + + testScript = '' + def container_succeed(command: str): + machine.succeed(f"nixos-container run test -- {command}") + + machine.wait_for_unit("default.target") + assert "test" in machine.succeed("nixos-container list") + + with subtest("Container has started"): + assert "up" in machine.succeed("nixos-container status test") + + with subtest("Container can ping the host"): + container_succeed("ping -n -c 1 ${hostIp4}") + container_succeed("ping -n -c 1 ${hostIp6}") + + with subtest("Container default gateways are set"): + container_succeed("ip -4 route show default | grep 'via ${hostIp4}'") + container_succeed("ip -6 route show default | grep 'via ${hostIp6}'") + ''; +} diff --git a/pkgs/applications/editors/jetbrains/ides/clion.nix b/pkgs/applications/editors/jetbrains/ides/clion.nix index 60f00e2ec1f3..5b6885bb4614 100644 --- a/pkgs/applications/editors/jetbrains/ides/clion.nix +++ b/pkgs/applications/editors/jetbrains/ides/clion.nix @@ -21,20 +21,20 @@ let # update-script-start: urls urls = { x86_64-linux = { - url = "https://download.jetbrains.com/cpp/CLion-2026.1.1.tar.gz"; - hash = "sha256-6S0+ASWF7du0tHyfLu/6ZmxymP79m3bwxOxQTFfsoJs="; + url = "https://download.jetbrains.com/cpp/CLion-2026.1.2.tar.gz"; + hash = "sha256-Q3LOhpwpU6vrPWEzA+s2ZnbRxo+EeodBUHUYs3Xikrs="; }; aarch64-linux = { - url = "https://download.jetbrains.com/cpp/CLion-2026.1.1-aarch64.tar.gz"; - hash = "sha256-niaHFXxXPh1iH26aAmHES2F/xbfkPJ18erDXFZign+g="; + url = "https://download.jetbrains.com/cpp/CLion-2026.1.2-aarch64.tar.gz"; + hash = "sha256-YM105ozP78oLDmwKL0t4Z4wGjCDh6xvhf/C1oCD6Qi8="; }; x86_64-darwin = { - url = "https://download.jetbrains.com/cpp/CLion-2026.1.1.dmg"; - hash = "sha256-LWbFIC2xhh2Co2/BOTvScGWL9Qs77WAM4A+gxtuA4B4="; + url = "https://download.jetbrains.com/cpp/CLion-2026.1.2.dmg"; + hash = "sha256-UEkYDJBjRvvUUB2UFsc37kdp/i+1ctqULSKs62/t9/I="; }; aarch64-darwin = { - url = "https://download.jetbrains.com/cpp/CLion-2026.1.1-aarch64.dmg"; - hash = "sha256-8m6SbpkVdQ9QZykVlse9cK8KysXlPn/NA9WysLHh8jk="; + url = "https://download.jetbrains.com/cpp/CLion-2026.1.2-aarch64.dmg"; + hash = "sha256-scMwDF+mIfx/66cBrvdxp+gU3+qA2sUWqoGCEhPItjE="; }; }; # update-script-end: urls @@ -48,8 +48,8 @@ in product = "CLion"; # update-script-start: version - version = "2026.1.1"; - buildNumber = "261.23567.135"; + version = "2026.1.2"; + buildNumber = "261.24374.148"; # update-script-end: version src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); diff --git a/pkgs/applications/editors/jetbrains/ides/gateway.nix b/pkgs/applications/editors/jetbrains/ides/gateway.nix index 432953b43c4e..5907a504ce53 100644 --- a/pkgs/applications/editors/jetbrains/ides/gateway.nix +++ b/pkgs/applications/editors/jetbrains/ides/gateway.nix @@ -12,20 +12,20 @@ let # update-script-start: urls urls = { x86_64-linux = { - url = "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2026.1.1.tar.gz"; - hash = "sha256-hXQIvnyjosH3uEUpi43NJYnk8cMXVVlKblpiGeVlekk="; + url = "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2026.1.2.tar.gz"; + hash = "sha256-9NEHD9FXekwjRHTrPMeK4xU4sHnXPge+wRXyCFMmPBk="; }; aarch64-linux = { - url = "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2026.1.1-aarch64.tar.gz"; - hash = "sha256-nsF/Oo0p+hXqSehIhrPc7i0zURDXgtf/rBpMFKgq+7c="; + url = "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2026.1.2-aarch64.tar.gz"; + hash = "sha256-M7XiLlIl7JFKbARb9Zli0c3cHUo2X0nPVrGhs3pK2bQ="; }; x86_64-darwin = { - url = "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2026.1.1.dmg"; - hash = "sha256-1pqtAR8r2ZwU/RhFMDsyFBhhRYvsPrT5F/n3kSP2viA="; + url = "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2026.1.2.dmg"; + hash = "sha256-Wuuj6/K/5xoM9+d59IGzBo19iOJusbIMigoflPLQ+ts="; }; aarch64-darwin = { - url = "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2026.1.1-aarch64.dmg"; - hash = "sha256-orFAOXR9A/0S7lhwkD9bAXyp24HaDSlXe/rL4iT6+80="; + url = "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-2026.1.2-aarch64.dmg"; + hash = "sha256-ADWFPMC4ptj2mZk4RJgtIQjOT2xwOkL67UahoKte6mQ="; }; }; # update-script-end: urls @@ -40,8 +40,8 @@ mkJetBrainsProduct { productShort = "Gateway"; # update-script-start: version - version = "2026.1.1"; - buildNumber = "261.23567.152"; + version = "2026.1.2"; + buildNumber = "261.24374.120"; # update-script-end: version src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); diff --git a/pkgs/applications/editors/jetbrains/ides/goland.nix b/pkgs/applications/editors/jetbrains/ides/goland.nix index 602774a3d921..fe92428cd2a8 100644 --- a/pkgs/applications/editors/jetbrains/ides/goland.nix +++ b/pkgs/applications/editors/jetbrains/ides/goland.nix @@ -12,20 +12,20 @@ let # update-script-start: urls urls = { x86_64-linux = { - url = "https://download.jetbrains.com/go/goland-2026.1.1.tar.gz"; - hash = "sha256-ASzqw8xuRaSAwzoiBsL+6PRyuSvBh43tnF4mEmkur9s="; + url = "https://download.jetbrains.com/go/goland-2026.1.2.tar.gz"; + hash = "sha256-1FkDEaapyDbTPe4soOdyCHLkp/UT3rZ6siGyGyjmGJo="; }; aarch64-linux = { - url = "https://download.jetbrains.com/go/goland-2026.1.1-aarch64.tar.gz"; - hash = "sha256-25PADBycdas3n6BWSGOJhuMaLcik5P5AfcEO6mY75js="; + url = "https://download.jetbrains.com/go/goland-2026.1.2-aarch64.tar.gz"; + hash = "sha256-E8WpA4s/ePEDAs47IPC0v10C1VKl9UYU7VNX/5igpm4="; }; x86_64-darwin = { - url = "https://download.jetbrains.com/go/goland-2026.1.1.dmg"; - hash = "sha256-kKr5/7z5gbL0YORDET0y7LgczWLEQ31lqsrHgkxrzQ8="; + url = "https://download.jetbrains.com/go/goland-2026.1.2.dmg"; + hash = "sha256-iWYTMImwzMh9KSJgek8a84o/KlLWBaOj80vKlB8Ftes="; }; aarch64-darwin = { - url = "https://download.jetbrains.com/go/goland-2026.1.1-aarch64.dmg"; - hash = "sha256-zfdJrXBatvAl3wNMQ3LhF9oOxo1dEyo8wr4lCoFdm9I="; + url = "https://download.jetbrains.com/go/goland-2026.1.2-aarch64.dmg"; + hash = "sha256-TFnEMq7u51UvtaOjnxS+abJhsR3aSnaQjNFfF8EQrcQ="; }; }; # update-script-end: urls @@ -39,8 +39,8 @@ in product = "Goland"; # update-script-start: version - version = "2026.1.1"; - buildNumber = "261.23567.143"; + version = "2026.1.2"; + buildNumber = "261.24374.154"; # update-script-end: version src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); diff --git a/pkgs/applications/editors/jetbrains/ides/phpstorm.nix b/pkgs/applications/editors/jetbrains/ides/phpstorm.nix index 1c19d743fd91..c4ae7a80d6bd 100644 --- a/pkgs/applications/editors/jetbrains/ides/phpstorm.nix +++ b/pkgs/applications/editors/jetbrains/ides/phpstorm.nix @@ -12,20 +12,20 @@ let # update-script-start: urls urls = { x86_64-linux = { - url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.1.tar.gz"; - hash = "sha256-TOSiFAphV/JYrUg9tB/BAtAGjn6P0DpaYHO2W3FcCGQ="; + url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.2.tar.gz"; + hash = "sha256-VbXsfKahp1X4AwAC10VghE+ZkxThovnYHHYyvkOTtFc="; }; aarch64-linux = { - url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.1-aarch64.tar.gz"; - hash = "sha256-fWguwgUQstCytAMKam4scziEeyOxVEhIxS1O81HO/yI="; + url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.2-aarch64.tar.gz"; + hash = "sha256-f0Owuq0OjVwnp4Gj/diiPFn9F1Hf4gm/MwHzkabIH2w="; }; x86_64-darwin = { - url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.1.dmg"; - hash = "sha256-W28NwTNZe3Vj19J32nY8Jrn2rFVVd+0H2NWzDCTG8nw="; + url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.2.dmg"; + hash = "sha256-XzYv58bR8ts6MTREUjqQinCzHvTdrLVEDH5vg1vQ3so="; }; aarch64-darwin = { - url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.1-aarch64.dmg"; - hash = "sha256-tm/UFH/5FX0HQ/FnjQ/Jwwaf/cpIYb4j0NvKlazBp08="; + url = "https://download.jetbrains.com/webide/PhpStorm-2026.1.2-aarch64.dmg"; + hash = "sha256-dJOqdY+D5FssDAvocMOXk9O22qk+QLxwDm2MHK2Wggg="; }; }; # update-script-end: urls @@ -39,8 +39,8 @@ mkJetBrainsProduct { product = "PhpStorm"; # update-script-start: version - version = "2026.1.1"; - buildNumber = "261.23567.149"; + version = "2026.1.2"; + buildNumber = "261.24374.185"; # update-script-end: version src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); diff --git a/pkgs/applications/editors/jetbrains/ides/rider.nix b/pkgs/applications/editors/jetbrains/ides/rider.nix index 3305e15b2112..df8d35ea2f20 100644 --- a/pkgs/applications/editors/jetbrains/ides/rider.nix +++ b/pkgs/applications/editors/jetbrains/ides/rider.nix @@ -24,20 +24,20 @@ let # update-script-start: urls urls = { x86_64-linux = { - url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.0.1.tar.gz"; - hash = "sha256-moIysTTsq7abpQfNh1Bc5Pk6VQgJIT6erbyHsUXf15Y="; + url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.2.tar.gz"; + hash = "sha256-OmysaGXGMxxAAa2qrHvX8yXIwJLU7tKG8/EBGhr55EA="; }; aarch64-linux = { - url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.0.1-aarch64.tar.gz"; - hash = "sha256-0gEmWObwCio3aBqmUh2u5adWO3fFJV8uFwUTT31KsMI="; + url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.2-aarch64.tar.gz"; + hash = "sha256-xcwd4OgobMXFQ2W+SN6O5I3mud4kedVQ/0rZBWbXIGY="; }; x86_64-darwin = { - url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.0.1.dmg"; - hash = "sha256-s/lppcf2gfwmFYeHjWtk2NGPAjo/PAEnaGNWhDOkKOM="; + url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.2.dmg"; + hash = "sha256-uoOP+EYB11M99MlAFF7efZSKmCk0fwjCImFiasUQPUw="; }; aarch64-darwin = { - url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.0.1-aarch64.dmg"; - hash = "sha256-BHHrO4DLfw4cdbrJCH1uqX2qdm/ijyFnj32WQ8rpVhI="; + url = "https://download.jetbrains.com/rider/JetBrains.Rider-2026.1.2-aarch64.dmg"; + hash = "sha256-Mo6gxWatX6wlL3s8Li19F58cnKZtOtFUfNyGPrC6CtA="; }; }; # update-script-end: urls @@ -51,8 +51,8 @@ in product = "Rider"; # update-script-start: version - version = "2026.1.0.1"; - buildNumber = "261.22158.394"; + version = "2026.1.2"; + buildNumber = "261.24374.190"; # update-script-end: version src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); diff --git a/pkgs/applications/editors/jetbrains/ides/ruby-mine.nix b/pkgs/applications/editors/jetbrains/ides/ruby-mine.nix index c4fe68c48776..6c22776e6acf 100644 --- a/pkgs/applications/editors/jetbrains/ides/ruby-mine.nix +++ b/pkgs/applications/editors/jetbrains/ides/ruby-mine.nix @@ -12,20 +12,20 @@ let # update-script-start: urls urls = { x86_64-linux = { - url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.1.tar.gz"; - hash = "sha256-tdT8LwsHGC5jUxGsRPVw1VfKfKZ05gZsGL6kpsxcPFA="; + url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.2.tar.gz"; + hash = "sha256-6rvtK1TsZsuuVqfya9eh7fHk7LJyyxg4SYrU/yXnK1I="; }; aarch64-linux = { - url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.1-aarch64.tar.gz"; - hash = "sha256-ns9oxsMXSPJS5KWSX0oKOyOyg8bguUnd8v1TRwV9EXw="; + url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.2-aarch64.tar.gz"; + hash = "sha256-EvKpY3zbUHT03GVIT/HJxVkOtJgsCG+jYNcKfiX0mTI="; }; x86_64-darwin = { - url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.1.dmg"; - hash = "sha256-Q/W6Pe3o6qwdHQm2z4bnenyEe7DrWwnov3M+JL8bS0o="; + url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.2.dmg"; + hash = "sha256-KWbysSPVHM0BS09rntD78i8BuP3v26zha8GatFMZtg0="; }; aarch64-darwin = { - url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.1-aarch64.dmg"; - hash = "sha256-UPnESouBCx59e2n8inTfe+zSCkQMF2XeoNw825LTKuU="; + url = "https://download.jetbrains.com/ruby/RubyMine-2026.1.2-aarch64.dmg"; + hash = "sha256-NEmps3wxao9cb2wgbmIndXPs78Tmona4wC9+8DBv7cI="; }; }; # update-script-end: urls @@ -39,8 +39,8 @@ mkJetBrainsProduct { product = "RubyMine"; # update-script-start: version - version = "2026.1.1"; - buildNumber = "261.23567.142"; + version = "2026.1.2"; + buildNumber = "261.24374.145"; # update-script-end: version src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); diff --git a/pkgs/applications/editors/jetbrains/ides/rust-rover.nix b/pkgs/applications/editors/jetbrains/ides/rust-rover.nix index 8853e0acf2af..9f73dc336a5d 100644 --- a/pkgs/applications/editors/jetbrains/ides/rust-rover.nix +++ b/pkgs/applications/editors/jetbrains/ides/rust-rover.nix @@ -18,20 +18,20 @@ let # update-script-start: urls urls = { x86_64-linux = { - url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.1.tar.gz"; - hash = "sha256-UYljm43s/UOEvk0Peio2Crsdx0K5U5Seo57M34A1A1c="; + url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.2.tar.gz"; + hash = "sha256-INIz7nGar/oHh+CHfz4jm5t9/ARPcMfpnOl99Z3kg3I="; }; aarch64-linux = { - url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.1-aarch64.tar.gz"; - hash = "sha256-FUDCF4pOtovjBKaNV0dEjc5PwsDLBXTTHnc3+oNDU7A="; + url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.2-aarch64.tar.gz"; + hash = "sha256-PmCDYM8nqySQm6cpUJQ9PyzSkKOR6V3LuXnYpE0i7fU="; }; x86_64-darwin = { - url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.1.dmg"; - hash = "sha256-DxrFdxSLiyH7/davL4QeAPxlKK3IA5JXzPetTYaMtck="; + url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.2.dmg"; + hash = "sha256-HI2qt6wTddANqdRuKQ4X7mXQyBA4dJYz9ewfI2iAYfw="; }; aarch64-darwin = { - url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.1-aarch64.dmg"; - hash = "sha256-K9Gwkudx+WV25fA1IRwfDlqcK8X0I/SzrL7S2iG7IfI="; + url = "https://download.jetbrains.com/rustrover/RustRover-2026.1.2-aarch64.dmg"; + hash = "sha256-JMg/vs3aVeHmr6tiZZTggRGpH9O6lKlyeP8Ot4mm24w="; }; }; # update-script-end: urls @@ -45,8 +45,8 @@ in product = "RustRover"; # update-script-start: version - version = "2026.1.1"; - buildNumber = "261.23567.140"; + version = "2026.1.2"; + buildNumber = "261.24374.182"; # update-script-end: version src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); diff --git a/pkgs/applications/editors/jetbrains/ides/webstorm.nix b/pkgs/applications/editors/jetbrains/ides/webstorm.nix index 845d1472ab60..a193754670dd 100644 --- a/pkgs/applications/editors/jetbrains/ides/webstorm.nix +++ b/pkgs/applications/editors/jetbrains/ides/webstorm.nix @@ -12,20 +12,20 @@ let # update-script-start: urls urls = { x86_64-linux = { - url = "https://download.jetbrains.com/webstorm/WebStorm-2026.1.1.tar.gz"; - hash = "sha256-r9XetjreFB6qU7VQbHsFLn7boKhZylfyGsfPNumFQZw="; + url = "https://download.jetbrains.com/webstorm/WebStorm-2026.1.2.tar.gz"; + hash = "sha256-xoMOLYSuWqWUh5RLI1Q4OnAgGM6tqRDWd1VoULX17yE="; }; aarch64-linux = { - url = "https://download.jetbrains.com/webstorm/WebStorm-2026.1.1-aarch64.tar.gz"; - hash = "sha256-Damq3svwCOrE+fTBBVY8vi/1vtFJFFqFsSWQhY9L/x4="; + url = "https://download.jetbrains.com/webstorm/WebStorm-2026.1.2-aarch64.tar.gz"; + hash = "sha256-Qe9yclQj971jK8V2SL5GAlNpgUfTwP/PS2ILv2LyhuE="; }; x86_64-darwin = { - url = "https://download.jetbrains.com/webstorm/WebStorm-2026.1.1.dmg"; - hash = "sha256-+s6MjE4zD4YZxnYRqsaXVthTWNnCn1HS3K7Ik+lb2cI="; + url = "https://download.jetbrains.com/webstorm/WebStorm-2026.1.2.dmg"; + hash = "sha256-DmsOaBjKnhbipSrIfbTqNd9+qcd2i3zkKfVvLK1GXbI="; }; aarch64-darwin = { - url = "https://download.jetbrains.com/webstorm/WebStorm-2026.1.1-aarch64.dmg"; - hash = "sha256-/WwGXnvYZz8MzOOQgf4BGMRP7cLIv8FA1lK8NvIgtoo="; + url = "https://download.jetbrains.com/webstorm/WebStorm-2026.1.2-aarch64.dmg"; + hash = "sha256-2YyCHi7yPXnq5KWkqC+Uodnc4xj+DkTsL1vUNqLNmPg="; }; }; # update-script-end: urls @@ -39,8 +39,8 @@ mkJetBrainsProduct { product = "WebStorm"; # update-script-start: version - version = "2026.1.1"; - buildNumber = "261.23567.141"; + version = "2026.1.2"; + buildNumber = "261.24374.125"; # update-script-end: version src = fetchurl (urls.${system} or (throw "Unsupported system: ${system}")); diff --git a/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/fetcher.py b/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/fetcher.py index d5672edf34b3..9a1e775e29e8 100644 --- a/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/fetcher.py +++ b/pkgs/applications/editors/jetbrains/updater/jetbrains_nix_updater/fetcher.py @@ -65,7 +65,7 @@ class VersionFetcher: new_build_number = build["@number"] else: new_build_number = build["@fullNumber"] - if "EAP" not in channel["@name"]: + if "EAP" not in channel["@id"]: version_or_build_number = new_version else: version_or_build_number = new_build_number @@ -111,7 +111,7 @@ class VersionFetcher: root = xmltodict.parse(updates_response.text) products = root["products"]["product"] return { - channel["@name"]: channel + channel["@id"]: channel for product in products if "channel" in product for channel in one_or_more(product["channel"]) diff --git a/pkgs/applications/editors/jetbrains/updater/updateInfo.json b/pkgs/applications/editors/jetbrains/updater/updateInfo.json index 6c95f480814f..a64e1af94fcd 100644 --- a/pkgs/applications/editors/jetbrains/updater/updateInfo.json +++ b/pkgs/applications/editors/jetbrains/updater/updateInfo.json @@ -1,6 +1,6 @@ { "clion": { - "channel": "CLion RELEASE", + "channel": "CL-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/cpp/CLion-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/cpp/CLion-{version}-aarch64.tar.gz", @@ -9,7 +9,7 @@ } }, "datagrip": { - "channel": "DataGrip RELEASE", + "channel": "DB-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/datagrip/datagrip-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/datagrip/datagrip-{version}-aarch64.tar.gz", @@ -18,7 +18,7 @@ } }, "dataspell": { - "channel": "DataSpell RELEASE", + "channel": "DS-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/python/dataspell-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/python/dataspell-{version}-aarch64.tar.gz", @@ -27,7 +27,7 @@ } }, "gateway": { - "channel": "Gateway RELEASE", + "channel": "GW-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/idea/gateway/JetBrainsGateway-{version}-aarch64.tar.gz", @@ -36,7 +36,7 @@ } }, "goland": { - "channel": "GoLand RELEASE", + "channel": "GO-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/go/goland-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/go/goland-{version}-aarch64.tar.gz", @@ -45,7 +45,7 @@ } }, "idea": { - "channel": "IntelliJ IDEA RELEASE", + "channel": "IU-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/idea/ideaIU-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/idea/ideaIU-{version}-aarch64.tar.gz", @@ -54,11 +54,11 @@ } }, "idea-oss": { - "channel": "IntelliJ IDEA RELEASE", + "channel": "IU-RELEASE-licensing-RELEASE", "urls": {} }, "mps": { - "channel": "MPS RELEASE", + "channel": "MPS-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/mps/{versionMajorMinor}/MPS-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/mps/{versionMajorMinor}/MPS-{version}.tar.gz", @@ -67,7 +67,7 @@ } }, "phpstorm": { - "channel": "PhpStorm RELEASE", + "channel": "PS-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/webide/PhpStorm-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/webide/PhpStorm-{version}-aarch64.tar.gz", @@ -76,7 +76,7 @@ } }, "pycharm": { - "channel": "PyCharm RELEASE", + "channel": "PY-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/python/pycharm-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/python/pycharm-{version}-aarch64.tar.gz", @@ -85,11 +85,11 @@ } }, "pycharm-oss": { - "channel": "PyCharm RELEASE", + "channel": "PY-RELEASE-licensing-RELEASE", "urls": {} }, "rider": { - "channel": "Rider RELEASE", + "channel": "RD-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/rider/JetBrains.Rider-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/rider/JetBrains.Rider-{version}-aarch64.tar.gz", @@ -98,7 +98,7 @@ } }, "ruby-mine": { - "channel": "RubyMine RELEASE", + "channel": "RM-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/ruby/RubyMine-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/ruby/RubyMine-{version}-aarch64.tar.gz", @@ -107,7 +107,7 @@ } }, "rust-rover": { - "channel": "RustRover RELEASE", + "channel": "RR-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/rustrover/RustRover-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/rustrover/RustRover-{version}-aarch64.tar.gz", @@ -116,7 +116,7 @@ } }, "webstorm": { - "channel": "WebStorm RELEASE", + "channel": "WS-RELEASE-licensing-RELEASE", "urls": { "x86_64-linux": "https://download.jetbrains.com/webstorm/WebStorm-{version}.tar.gz", "aarch64-linux": "https://download.jetbrains.com/webstorm/WebStorm-{version}-aarch64.tar.gz", diff --git a/pkgs/applications/editors/vscode/extensions/ms-python.flake8/default.nix b/pkgs/applications/editors/vscode/extensions/ms-python.flake8/default.nix index a228ae85084d..272cfbb11de3 100644 --- a/pkgs/applications/editors/vscode/extensions/ms-python.flake8/default.nix +++ b/pkgs/applications/editors/vscode/extensions/ms-python.flake8/default.nix @@ -7,8 +7,8 @@ vscode-utils.buildVscodeMarketplaceExtension { mktplcRef = { publisher = "ms-python"; name = "flake8"; - version = "2026.4.0"; - hash = "sha256-2o6a0wPYVFa+XWQoKBxKcWxlH8IPOzKxtXNt7qUi9mM="; + version = "2026.6.0"; + hash = "sha256-n++DEjZsNY3YkvldyWuk3dCYgFbIxqMOun42lWEHGog="; }; meta = { diff --git a/pkgs/applications/emulators/libretro/cores/mupen64plus.nix b/pkgs/applications/emulators/libretro/cores/mupen64plus.nix index 006132850245..dfcf2fa8a9d2 100644 --- a/pkgs/applications/emulators/libretro/cores/mupen64plus.nix +++ b/pkgs/applications/emulators/libretro/cores/mupen64plus.nix @@ -12,13 +12,13 @@ }: mkLibretroCore { core = "mupen64plus-next"; - version = "0-unstable-2026-05-12"; + version = "0-unstable-2026-05-20"; src = fetchFromGitHub { owner = "libretro"; repo = "mupen64plus-libretro-nx"; - rev = "8cdfadf266a784cd1849f7fef8adae2912240b18"; - hash = "sha256-37A9ScN8jRX1i2aocyNr3VAJsJ7xoMsmzVgPILpoqmQ="; + rev = "98c1b0d877542b01314b3b04272282ba223b65b3"; + hash = "sha256-ardO7zuuG4rqm2d88IduMs3CVYNHiHyaxQ5ZDtbMVHU="; }; # Fix for GCC 14 diff --git a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hypr-darkwindow.nix b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hypr-darkwindow.nix index 7ecbde27f2fe..8cc7cec60189 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hypr-darkwindow.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hypr-darkwindow.nix @@ -7,13 +7,13 @@ mkHyprlandPlugin (finalAttrs: { pluginName = "hypr-darkwindow"; - version = "0.54.3"; + version = "0.55.2"; src = fetchFromGitHub { owner = "micha4w"; repo = "Hypr-DarkWindow"; tag = "v${finalAttrs.version}"; - hash = "sha256-nbaNBxREqiqc6bwUkgfyuCah61O89atJyNTPYq4Xij8="; + hash = "sha256-8Ht9yhlwOtDWFvL6VYlryNxyRethFqc0iWtBetP0xws="; }; installPhase = '' diff --git a/pkgs/by-name/_4/_4th/package.nix b/pkgs/by-name/_4/_4th/package.nix index b0a291f9f761..325b497f082d 100644 --- a/pkgs/by-name/_4/_4th/package.nix +++ b/pkgs/by-name/_4/_4th/package.nix @@ -20,6 +20,11 @@ stdenv.mkDerivation (finalAttrs: { dontConfigure = true; + preBuild = '' + cp sources/include${if stdenv.hostPlatform.is64bit then "64" else "32"}/* sources/ + make -C sources clean + ''; + makeFlags = [ "-C sources" "CC:=$(CC)" diff --git a/pkgs/by-name/al/alive2/package.nix b/pkgs/by-name/al/alive2/package.nix index ce354f694c1c..907b2201746c 100644 --- a/pkgs/by-name/al/alive2/package.nix +++ b/pkgs/by-name/al/alive2/package.nix @@ -34,6 +34,10 @@ clangStdenv.mkDerivation (finalAttrs: { ]; strictDeps = true; + cmakeFlags = [ + (lib.cmakeFeature "BUILD_TV" "1") + ]; + postPatch = '' substituteInPlace CMakeLists.txt \ --replace-fail '-Werror' "" \ @@ -55,6 +59,7 @@ clangStdenv.mkDerivation (finalAttrs: { mkdir -p $out/bin cp alive $out/bin/ cp alive-jobserver $out/bin/ + cp alive-tv $out/bin/ rm -rf $out/bin/CMakeFiles $out/bin/*.o runHook postInstall ''; diff --git a/pkgs/by-name/ap/apidog/package.nix b/pkgs/by-name/ap/apidog/package.nix index cbf57de68d1b..9abfb1a8c63b 100644 --- a/pkgs/by-name/ap/apidog/package.nix +++ b/pkgs/by-name/ap/apidog/package.nix @@ -7,11 +7,11 @@ let pname = "apidog"; - version = "2.8.28"; + version = "2.8.30"; src = fetchurl { url = "https://file-assets.apidog.com/download/${version}/Apidog-${version}.AppImage"; - hash = "sha256-P338wk3YrNaeMwhMyMCKZOY2mIi2A6V+RG4f9qSHBhg="; + hash = "sha256-h5h/zhUbnYYtYVyWySLZk3QISd4VWs5Gl/JdhgMJKh8="; }; appimageContents = appimageTools.extract { diff --git a/pkgs/by-name/at/athens/package.nix b/pkgs/by-name/at/athens/package.nix index c93a9bfd8819..fdd5cbab063c 100644 --- a/pkgs/by-name/at/athens/package.nix +++ b/pkgs/by-name/at/athens/package.nix @@ -10,14 +10,14 @@ buildGo126Module (finalAttrs: { pname = "athens"; - version = "0.17.0"; + version = "0.17.1"; src = applyPatches { src = fetchFromGitHub { owner = "gomods"; repo = "athens"; tag = "v${finalAttrs.version}"; - hash = "sha256-4KCPYqLtqz46zr5+LB4CyG4ZQrjQaPgMEhCuGOWIJKg="; + hash = "sha256-hNk0hW7R7HdE4Wt1KuKSIUarRGKbtbFqQbfls1HXTqI="; }; # Trim the patch version, not needed anyway. postPatch = '' diff --git a/pkgs/by-name/at/atlauncher/package.nix b/pkgs/by-name/at/atlauncher/package.nix index 89e037f04f70..523c3b8bd504 100644 --- a/pkgs/by-name/at/atlauncher/package.nix +++ b/pkgs/by-name/at/atlauncher/package.nix @@ -36,6 +36,12 @@ stdenvNoCC.mkDerivation (finalAttrs: { hash = "sha256-pRYXzFUbVXYwD7edhBoVcVo/QDo6QSJJQd58Hf3rBGo="; }; + patches = [ + # Launch4j does not publish the Linux workdir artifact selected on aarch64. + # Nixpkgs only needs the cross-platform jar, so remove the Windows exe task. + ./remove-launch4j.patch + ]; + nativeBuildInputs = [ gradle makeWrapper @@ -52,8 +58,6 @@ stdenvNoCC.mkDerivation (finalAttrs: { gradleFlags = [ "-Dorg.gradle.java.home=${jdk17_headless.home}" - "--exclude-task" - "createExe" ]; installPhase = diff --git a/pkgs/by-name/at/atlauncher/remove-launch4j.patch b/pkgs/by-name/at/atlauncher/remove-launch4j.patch new file mode 100644 index 000000000000..c4b4b46a8494 --- /dev/null +++ b/pkgs/by-name/at/atlauncher/remove-launch4j.patch @@ -0,0 +1,71 @@ +diff --git a/build.gradle b/build.gradle +index 474c0c0..59fc2d2 100644 +--- a/build.gradle ++++ b/build.gradle +@@ -24,7 +24,6 @@ plugins { + id 'org.cadixdev.licenser' version '0.6.1' + id 'com.adarshr.test-logger' version '4.0.0' + id 'edu.sc.seis.macAppBundle' version '2.3.0' +- id 'edu.sc.seis.launch4j' version '3.0.6' + id 'de.undercouch.download' version '5.6.0' + id 'com.github.johnrengelman.shadow' version '8.1.1' + id 'com.github.ben-manes.versions' version '0.52.0' +@@ -282,34 +281,15 @@ def currentYear() { + return df.format(new Date()) + } + +-launch4j { +- outfile = "ATLauncher-${project.version}.exe" +- jreMinVersion = "${project.targetCompatibility.toString()}" +- mainClassName = 'com.atlauncher.App' +- icon = "${projectDir}/src/main/resources/assets/image/icon.ico" +- version = "${project.version}" +- textVersion = "${project.version}" +- copyright = "2013-${currentYear()} ${project.name}" +- companyName = "${project.name}" +- bundledJrePath = "jre/;%JAVA_HOME%;%PATH%" +- jvmOptions = [ +- "-Djna.nosys=true", +- "-Djava.net.preferIPv4Stack=true", +- "-Dawt.useSystemAAFontSettings=on", +- "-Dswing.aatext=true" +- ] +-} + + artifacts { + archives shadowJar +- archives file(project.tasks.jar.getArchivePath().getPath().replace('.jar', '.exe').replace('libs', 'launch4j')) + archives file(project.tasks.jar.getArchivePath().getPath().replace('.jar', '.zip').replace('libs', 'distributions')) + } + + task copyArtifacts(type: Copy) { + dependsOn build + from shadowJar +- from file(project.tasks.jar.getArchivePath().getPath().replace('.jar', '.exe').replace('libs', 'launch4j')) + from file(project.tasks.jar.getArchivePath().getPath().replace('.jar', '.zip').replace('libs', 'distributions')) + into "${projectDir}/dist" + } +@@ -368,14 +348,6 @@ clean.doFirst { + delete "${projectDir}/dist" + } + +-project.afterEvaluate { +- tasks.check { +- dependsOn -= tasks.find { +- it.name.equals("checkLicenses") +- } +- } +-} +- + def shouldIgnoreUpdate = { String version -> return ['ALPHA', 'BETA', 'RC', '-M'].any { it -> version.toUpperCase(Locale.ENGLISH).contains(it) } } + tasks.named("dependencyUpdates").configure { + rejectVersionIf { +@@ -385,8 +357,6 @@ tasks.named("dependencyUpdates").configure { + + build.finalizedBy copyArtifacts + shadowJar.dependsOn jar +-build.dependsOn createExe, createMacApp + startScripts.dependsOn shadowJar +-createExe.dependsOn shadowJar + createAppZip.dependsOn downloadNewerUniversalJavaApplicationStub + createDmg.dependsOn downloadNewerUniversalJavaApplicationStub diff --git a/pkgs/by-name/at/atril/package.nix b/pkgs/by-name/at/atril/package.nix index fbb6fcf4f974..a8d5dbadf6a6 100644 --- a/pkgs/by-name/at/atril/package.nix +++ b/pkgs/by-name/at/atril/package.nix @@ -33,14 +33,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "atril"; - version = "1.28.4"; + version = "1.28.5"; src = fetchFromGitHub { owner = "mate-desktop"; repo = "atril"; tag = "v${finalAttrs.version}"; fetchSubmodules = true; - hash = "sha256-0BrD897SRf26A4Z1wdizfwoVEEQ7c7EEhAV4vmkBc8E="; + hash = "sha256-iG+FFvxxL2/6HqGchoaIDqx8Gfo1wxqM4GW66ScZlao="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/au/autopush-rs/package.nix b/pkgs/by-name/au/autopush-rs/package.nix new file mode 100644 index 000000000000..08c946b5d6a4 --- /dev/null +++ b/pkgs/by-name/au/autopush-rs/package.nix @@ -0,0 +1,136 @@ +{ + lib, + pkgs, + nixosTests, + fetchFromGitHub, + rustPlatform, + stdenv, + pkg-config, + cmake, + openssl, + libffi, + grpc, + nix-update-script, + python3Packages, +}: +let + #script to generate the fernet key + fernetKey = + { + src, + version, + }: + python3Packages.buildPythonApplication { + pname = "fernet_key"; + inherit version src; + + __structuredAttrs = true; + + format = "other"; + + # this would run the upstream docker makefile + dontBuild = true; + + dependencies = [ python3Packages.cryptography ]; + + installPhase = '' + mkdir -p $out/bin + echo "#!/usr/bin/env python3" | \ + cat - $src/scripts/fernet_key.py > $out/bin/fernet_key + chmod +x $out/bin/fernet_key + ''; + + postFixup = '' + wrapPythonPrograms + ''; + }; +in +rustPlatform.buildRustPackage (finalAttrs: { + pname = "autopush"; + version = "1.81.3"; + + __structuredAttrs = true; + strictDeps = true; + + outputs = [ + "out" + "fernet" + ]; + + src = fetchFromGitHub { + owner = "mozilla-services"; + repo = "autopush-rs"; + tag = finalAttrs.version; + hash = "sha256-DP02mcEMoQoJqi5rw5eSuep0i7zeJ0LLYsakikt9hho="; + }; + + cargoHash = "sha256-LqmuUtFF30TO6iw7LPFB7yJGrzrhh7R0OKCWMhe/OjU="; + + nativeBuildInputs = [ + pkg-config + rustPlatform.bindgenHook + cmake + ]; + + buildInputs = [ + openssl + libffi + grpc + ]; + + # by default only google bigtable is supported as a db + buildNoDefaultFeatures = true; + buildFeatures = [ + "postgres" + "redis" + "reliable_report" + ]; + + env = { + #needed for bingen to find libc + BINDGEN_EXTRA_CLANG_ARGS = "-I${stdenv.cc.libc.dev}/include"; + CMAKE_POLICY_VERSION_MINIMUM = "3.5"; + }; + + #check build fails + doCheck = false; + + postInstall = '' + mkdir -p $fernet/bin + ln -s ${fernetKey { inherit (finalAttrs) src version; }}/bin/fernet_key $fernet/bin/fernet_key + ''; + + passthru = { + tests = nixosTests.autopush-rs; + services.autoconnect = { + imports = [ + (lib.modules.importApply ./service-autoconnect.nix { inherit pkgs; }) + ]; + package = finalAttrs.finalPackage.out; + }; + services.autoendpoint = { + imports = [ + (lib.modules.importApply ./service-autoendpoint.nix { inherit pkgs; }) + ]; + package = finalAttrs.finalPackage.out; + }; + + updateScript = nix-update-script { }; + }; + + meta = { + description = "Mozilla Push server and Push Endpoint"; + homepage = "https://mozilla-services.github.io/autopush-rs/index.html"; + changelog = "https://github.com/mozilla-services/autopush-rs/releases/tag/${finalAttrs.version}"; + license = lib.licenses.mpl20; + platforms = lib.platforms.linux; + maintainers = [ + lib.maintainers.zimward + ]; + # install the fernet_key script in devshells as users will only use it once most likely + outputsToInstall = [ + "out" + "fernet" + ]; + }; +}) diff --git a/pkgs/by-name/au/autopush-rs/service-autoconnect.nix b/pkgs/by-name/au/autopush-rs/service-autoconnect.nix new file mode 100644 index 000000000000..eca44eee4b87 --- /dev/null +++ b/pkgs/by-name/au/autopush-rs/service-autoconnect.nix @@ -0,0 +1,96 @@ +#v Non-module dependencies (`importApply`) +{ pkgs }: + +# Service module +{ + lib, + options, + config, + ... +}: +let + cfg = config.autoconnect; + tomlFmt = pkgs.formats.toml { }; +in +{ + _class = "service"; + options = { + package = lib.mkPackageOption pkgs "autopush-rs.out" { }; + autoconnect.settings = lib.mkOption { + type = lib.types.submodule { + freeformType = tomlFmt.type; + options = { + db_dsn = lib.mkOption { + description = "Endpoint of the database server."; + type = lib.types.str; + default = ""; + example = lib.literalExpression "redis+socket://${config.services.redis.servers.autopush-rs.unixSocket}"; + }; + }; + }; + default = { }; + description = ""; + }; + }; + config = + let + configFile = tomlFmt.generate "autoconnect.toml" cfg.settings; + in + { + process.argv = [ + "${config.package}/bin/autoconnect" + "-c" + (toString configFile) + ]; + } + // lib.optionalAttrs (options ? systemd) { + systemd.service = { + after = [ "network.target" ]; + wants = [ "network.target" ]; + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + Restart = "on-failure"; + + #hardening + MemoryDenyWriteExecute = true; + StateDirectoryMode = 0700; + UMask = 077; + DynamicUser = true; + PrivateUsers = true; + PrivateTmp = true; + PrivateDevices = true; + ProtectSystem = "full"; + ProtectHome = true; + NoNewPrivileges = true; + RuntimeDirectoryMode = 755; + ProtectHostname = true; + ProtectClock = true; + ProtectKernelTunables = true; + ProtectKernelModules = true; + ProtectKernelLogs = true; + ProtectControlGroups = true; + RestrictNamespaces = true; + LockPersonality = true; + RestrictRealtime = true; + RestrictSUIDSGID = true; + RemoveIPC = true; + SystemCallArchitectures = "native"; + + ProtectProc = "invisible"; + ProcSubset = "pid"; + + SystemCallFilter = [ + "~@clock" + "~@cpu-emulation" + "~@debug" + "~@module" + "~@mount" + "~@obsolete" + "~@raw-io" + "~@reboot" + "~@swap" + ]; + }; + }; + }; +} diff --git a/pkgs/by-name/au/autopush-rs/service-autoendpoint.nix b/pkgs/by-name/au/autopush-rs/service-autoendpoint.nix new file mode 100644 index 000000000000..d4c87dff54a7 --- /dev/null +++ b/pkgs/by-name/au/autopush-rs/service-autoendpoint.nix @@ -0,0 +1,98 @@ +# Non-module dependencies (`importApply`) +{ pkgs }: + +# Service module +{ + lib, + config, + options, + ... +}: +let + cfg = config.autoendpoint; + tomlFmt = pkgs.formats.toml { }; +in +{ + _class = "service"; + options = { + package = lib.mkPackageOption pkgs "autopush-rs.out" { }; + autoendpoint = { + settings = lib.mkOption { + type = lib.types.submodule { + freeformType = tomlFmt.type; + options = { + db_dsn = lib.mkOption { + description = "Endpoint of the database server."; + type = lib.types.str; + default = ""; + example = lib.literalExpression "redis+socket://${config.services.redis.servers.autopush-rs.unixSocket}"; + }; + }; + }; + default = { }; + description = ""; + }; + }; + }; + config = + let + configFile = tomlFmt.generate "autoendpoint.toml" cfg.settings; + in + { + process.argv = [ + "${config.package}/bin/autoendpoint" + "-c" + (toString configFile) + ]; + } + // lib.optionalAttrs (options ? systemd) { + systemd.service = { + after = [ "network.target" ]; + wants = [ "network.target" ]; + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + Restart = "on-failure"; + + #hardening + MemoryDenyWriteExecute = true; + StateDirectoryMode = 0700; + UMask = 077; + DynamicUser = true; + PrivateUsers = true; + PrivateTmp = true; + PrivateDevices = true; + ProtectSystem = "full"; + ProtectHome = true; + NoNewPrivileges = true; + RuntimeDirectoryMode = 755; + ProtectHostname = true; + ProtectClock = true; + ProtectKernelTunables = true; + ProtectKernelModules = true; + ProtectKernelLogs = true; + ProtectControlGroups = true; + RestrictNamespaces = true; + LockPersonality = true; + RestrictRealtime = true; + RestrictSUIDSGID = true; + RemoveIPC = true; + SystemCallArchitectures = "native"; + + ProtectProc = "invisible"; + ProcSubset = "pid"; + + SystemCallFilter = [ + "~@clock" + "~@cpu-emulation" + "~@debug" + "~@module" + "~@mount" + "~@obsolete" + "~@raw-io" + "~@reboot" + "~@swap" + ]; + }; + }; + }; +} diff --git a/pkgs/by-name/az/azure-cli/extensions-generated.json b/pkgs/by-name/az/azure-cli/extensions-generated.json index df571b6d90cf..9b8e401f8b39 100644 --- a/pkgs/by-name/az/azure-cli/extensions-generated.json +++ b/pkgs/by-name/az/azure-cli/extensions-generated.json @@ -22,9 +22,9 @@ }, "acrtransfer": { "pname": "acrtransfer", - "version": "1.1.1b1", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/acrtransfer-1.1.1b1-py3-none-any.whl", - "hash": "sha256-9rbBiFCxK0cInu5puF5y2kAYcQ7xFa/X3/va5n5i/J0=", + "version": "2.0.0", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/acrtransfer-2.0.0-py3-none-any.whl", + "hash": "sha256-nG+BxgBHoi4hCF/j4wLbpOlI2MIKB8JjdJoz2LRD+iE=", "description": "Microsoft Azure Command-Line Tools Acrtransfer Extension" }, "ad": { @@ -50,9 +50,9 @@ }, "aks-preview": { "pname": "aks-preview", - "version": "20.0.0b1", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-20.0.0b1-py2.py3-none-any.whl", - "hash": "sha256-arH7mhRieuEn5s2G8dpZsqk/RKyuslEphOi62FviS7U=", + "version": "20.0.0b8", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/aks_preview-20.0.0b8-py2.py3-none-any.whl", + "hash": "sha256-ugLew461nhWWg73OZJW7g/xblclV5IfNHKm1it6j+Dc=", "description": "Provides a preview for upcoming AKS features" }, "alb": { @@ -153,11 +153,18 @@ "hash": "sha256-sdk0uNtQX6yBiEboywNE8FAreY1pBiimah0PdmCDRYg=", "description": "Microsoft Azure Command-Line Tools AutomationClient Extension" }, + "azure-changesafety": { + "pname": "azure-changesafety", + "version": "1.0.0b1", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/azure_changesafety-1.0.0b1-py3-none-any.whl", + "hash": "sha256-ZR2Bm9U9C4rXrCfPVGRu65MBFjZ4iUtXS44l+ClJXsY=", + "description": "Microsoft Azure Command-Line Tools ChangeSafety Extension" + }, "azure-firewall": { "pname": "azure-firewall", - "version": "2.1.1", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/azure_firewall-2.1.1-py2.py3-none-any.whl", - "hash": "sha256-gjt7/Ba38xrpdRyc4oybPbqmhOqZ8Ik/dNP8XRzm4Wc=", + "version": "2.2.0", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/azure_firewall-2.2.0-py2.py3-none-any.whl", + "hash": "sha256-f1ZxkLZVI4+kzUmwOnY8hMaR/nuxqnLM92xlLQG3rIw=", "description": "Manage Azure Firewall resources" }, "azurelargeinstance": { @@ -202,6 +209,13 @@ "hash": "sha256-w+HDLtCIAIhlFTpR4iUMEKPC2vInPWWmMTX0VT9q1lg=", "description": "Microsoft Azure Command-Line Tools Carbon Extension" }, + "cdn": { + "pname": "cdn", + "version": "1.0.0b1", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/cdn-1.0.0b1-py2.py3-none-any.whl", + "hash": "sha256-YybIrCjZnZQ0IFgOZbm4JfMnXNC/Sah8YaZuss1M5B4=", + "description": "Microsoft Azure Command-Line Tools CDN and AFD Extension" + }, "change-analysis": { "pname": "change-analysis", "version": "0.1.0", @@ -309,9 +323,9 @@ }, "databricks": { "pname": "databricks", - "version": "1.3.1", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/databricks-1.3.1-py3-none-any.whl", - "hash": "sha256-D6+Sbp49vxPP/IENPPn6TSL3qhwgBZyWBB3KjSgjdCc=", + "version": "1.3.2", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/databricks-1.3.2-py3-none-any.whl", + "hash": "sha256-iGI+Fk/kVT2/4CspDu/r2UlDrXimUWWx9IAknnNjqhg=", "description": "Microsoft Azure Command-Line Tools DatabricksClient Extension" }, "datadog": { @@ -337,9 +351,9 @@ }, "dataprotection": { "pname": "dataprotection", - "version": "1.9.0", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/dataprotection-1.9.0-py3-none-any.whl", - "hash": "sha256-YGJlWG4VPvcyKJ2qOnkgt1JYXqPF9LTrnvdTkIZcF30=", + "version": "1.10.0", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/dataprotection-1.10.0-py3-none-any.whl", + "hash": "sha256-cssrKqmWbQv3qlr8A3GUNklnIGOQ9V2x3e+YWpXeCvQ=", "description": "Microsoft Azure Command-Line Tools DataProtectionClient Extension" }, "datashare": { @@ -482,6 +496,13 @@ "hash": "sha256-x1mbd/Y28BcYqEf+T1rZcOHT8wrq9VnWnCfw9rBnl80=", "description": "Microsoft Azure Command-Line Tools ExpressRouteCrossConnection Extension" }, + "fileshares": { + "pname": "fileshares", + "version": "1.0.0b1", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/fileshares-1.0.0b1-py3-none-any.whl", + "hash": "sha256-IrJwPQaMuX9VItIEkJzK3cmANHzU50fIaWn2s32nDVk=", + "description": "Commands for managing Azure file shares, snapshots, and private endpoint connections" + }, "firmwareanalysis": { "pname": "firmwareanalysis", "version": "2.0.1", @@ -491,9 +512,9 @@ }, "fleet": { "pname": "fleet", - "version": "1.9.0", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/fleet-1.9.0-py3-none-any.whl", - "hash": "sha256-5CsWYP0r2UfUTekKDsqWBNonDOPaR5TrhxZDF7hAtXI=", + "version": "1.10.0", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/fleet-1.10.0-py3-none-any.whl", + "hash": "sha256-hgAwdLExAvKR0G9Ey81rTSa2QLxeoMnUZ7KRaCYhfM8=", "description": "Microsoft Azure Command-Line Tools Fleet Extension" }, "fluid-relay": { @@ -512,9 +533,9 @@ }, "front-door": { "pname": "front-door", - "version": "2.1.0", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/front_door-2.1.0-py3-none-any.whl", - "hash": "sha256-7aa9A+tq+qXzMuabG9McHkXpU3TRZVjQWDbmuHTTsFk=", + "version": "2.2.0", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/front_door-2.2.0-py3-none-any.whl", + "hash": "sha256-5vj/OzbfMmv/SI8qS659o+QiMfPofoBCJR/mQV3XZNE=", "description": "Manage networking Front Doors" }, "fzf": { @@ -573,6 +594,13 @@ "hash": "sha256-VTL1/L/UfORNWvyY0hvSJrvoz5zHabLPFX/sEdQaLhI=", "description": "Microsoft Azure Command-Line Tools HealthcareApisManagementClient Extension" }, + "horizondb": { + "pname": "horizondb", + "version": "1.0.0b1", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/horizondb-1.0.0b1-py2.py3-none-any.whl", + "hash": "sha256-bvjD6FSGjkuMjnc1XYnglbzd2cLMDuwRiPW9+7n6efA=", + "description": "Microsoft Azure Command-Line Tools HorizonDB Extension" + }, "hpc-cache": { "pname": "hpc-cache", "version": "0.1.6", @@ -680,9 +708,9 @@ }, "maintenance": { "pname": "maintenance", - "version": "1.7.0b2", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/maintenance-1.7.0b2-py3-none-any.whl", - "hash": "sha256-ebiJ8U5FyRLG9VHBGB75AqkjPVars8kGxWnjUCMiiCI=", + "version": "2.0.0b1", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/maintenance-2.0.0b1-py3-none-any.whl", + "hash": "sha256-ax3HeCaCq9p5fokc9W3y2XtVHsRYNTZQRkNfXqwpPGk=", "description": "Microsoft Azure Command-Line Tools MaintenanceManagementClient Extension" }, "managedccfs": { @@ -694,10 +722,10 @@ }, "managednetworkfabric": { "pname": "managednetworkfabric", - "version": "9.1.1", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/managednetworkfabric-9.1.1-py3-none-any.whl", - "hash": "sha256-bLPE5Spy4Lhtv6ZEWx2E2nLRqkrZ/LfJVmDQWjqEZi0=", - "description": "Support for managednetworkfabric commands based on 2025-07-15 API version" + "version": "10.0.0b1", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/managednetworkfabric-10.0.0b1-py3-none-any.whl", + "hash": "sha256-7veSgSJp7isa+JwAiep+3dMTJFLohIAHNcF9UVIFaNc=", + "description": "Support for managednetworkfabric commands based on 2026-01-15-preview API version" }, "managementpartner": { "pname": "managementpartner", @@ -757,9 +785,9 @@ }, "monitor-pipeline-group": { "pname": "monitor-pipeline-group", - "version": "1.0.0b2", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/monitor_pipeline_group-1.0.0b2-py3-none-any.whl", - "hash": "sha256-skfHQJ7vGnKZtaDmAGmjPLtuxNfyHE44pxi1Usl9X9s=", + "version": "1.0.0", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/monitor_pipeline_group-1.0.0-py3-none-any.whl", + "hash": "sha256-oVPbg8B2TMiHSNKMakl45zkfJenXX5el0tEjirIi9/k=", "description": "Microsoft Azure Command-Line Tools MonitorPipelineGroup Extension" }, "multicloud-connector": { @@ -853,6 +881,13 @@ "hash": "sha256-/k47qFwfZZZqBZKR5G6+t8lW8o2isVtUGwSSdltiOZI=", "description": "Microsoft Azure Command-Line Tools PeeringManagementClient Extension" }, + "planetarycomputer": { + "pname": "planetarycomputer", + "version": "1.0.0b1", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/planetarycomputer-1.0.0b1-py3-none-any.whl", + "hash": "sha256-FPvUcZx5yHHB2du7F6ulDjoNsNCek2HtuVMJd6g0mBE=", + "description": "Microsoft Azure Command-Line Tools Planetary Computer Extension" + }, "portal": { "pname": "portal", "version": "1.0.0b2", @@ -890,9 +925,9 @@ }, "quantum": { "pname": "quantum", - "version": "1.0.0b12", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/quantum-1.0.0b12-py3-none-any.whl", - "hash": "sha256-9tjBvpu1F2/2JYKUD2IbxUckYofUH0rEnimkpRXF2wY=", + "version": "1.0.0b13", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/quantum-1.0.0b13-py3-none-any.whl", + "hash": "sha256-zNyvYvtJY2AgASUoMvN/cCXWIOJ1d3JEQ7G/tuyV/o4=", "description": "Microsoft Azure Command-Line Tools Quantum Extension" }, "qumulo": { @@ -909,6 +944,13 @@ "hash": "sha256-i0w0dd8MNUTbzCjkh161sWPXK0Cv9CUKr9rZQYDD+ZU=", "description": "Microsoft Azure Command-Line Tools AzureQuotaExtensionAPI Extension" }, + "relationship": { + "pname": "relationship", + "version": "1.0.0b1", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/relationship-1.0.0b1-py2.py3-none-any.whl", + "hash": "sha256-pEXG6+Gf/JlzjeQGw0VadoArnX+2yjhYVMxg78Qg06g=", + "description": "Microsoft Azure Command-Line Tools Relationship Extension" + }, "reservation": { "pname": "reservation", "version": "0.3.1", @@ -965,11 +1007,18 @@ "hash": "sha256-VRFUS040KwOkpCY2F8YD2HRCrVF5zp2MDR/RCRX5O3o=", "description": "Microsoft Azure Command-Line Tools Sentinel Extension" }, + "servicegroup": { + "pname": "servicegroup", + "version": "1.0.0b1", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/servicegroup-1.0.0b1-py3-none-any.whl", + "hash": "sha256-6vOfQdjX+/4Sba1qswxVcDBy+xLCgNOEG01wLL10GvQ=", + "description": "Microsoft Azure Command-Line Tools ServiceGroup Extension" + }, "sftp": { "pname": "sftp", - "version": "1.0.0b2", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/sftp-1.0.0b2-py3-none-any.whl", - "hash": "sha256-3ugWIeKK9U8vKgFMbQfMKXxbgW+zO9IB6lPYJFHZm/E=", + "version": "1.0.0b3", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/sftp-1.0.0b3-py3-none-any.whl", + "hash": "sha256-hCpM/ZAJjn4hLElyLzwZzthR4OF36tPDevC2UlR0q0U=", "description": "Secure access to Azure Storage blob data via SFTP with SSH certificates" }, "site": { @@ -995,9 +1044,9 @@ }, "stack-hci-vm": { "pname": "stack-hci-vm", - "version": "1.13.0", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/stack_hci_vm-1.13.0-py3-none-any.whl", - "hash": "sha256-/GKJy7+iT33evnZ4UpNXB9GNBWtiLIOJXhk5VZowIos=", + "version": "1.14.5", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/stack_hci_vm-1.14.5-py3-none-any.whl", + "hash": "sha256-JE2Qq5OPy+AnTn4GxFeDhiyuCnUV3v1ciu7AqP2TwR4=", "description": "Microsoft Azure Command-Line Tools Stack-HCi-VM Extension" }, "standbypool": { @@ -1051,9 +1100,9 @@ }, "stream-analytics": { "pname": "stream-analytics", - "version": "1.0.2", - "url": "https://azcliprod.blob.core.windows.net/cli-extensions/stream_analytics-1.0.2-py3-none-any.whl", - "hash": "sha256-HAkhteF4LaAO3YnOrWHvHJ+9K6Kd4ns9GCcnDXDJtLg=", + "version": "1.0.3", + "url": "https://azcliprod.blob.core.windows.net/cli-extensions/stream_analytics-1.0.3-py3-none-any.whl", + "hash": "sha256-FFRNCsg9Put3GcARODA6HpwGXbWfD1kb7qDvc+/TAkg=", "description": "Microsoft Azure Command-Line Tools StreamAnalyticsManagementClient Extension" }, "subscription": { diff --git a/pkgs/by-name/az/azure-cli/package.nix b/pkgs/by-name/az/azure-cli/package.nix index 8ced980fbff2..01c2a4516808 100644 --- a/pkgs/by-name/az/azure-cli/package.nix +++ b/pkgs/by-name/az/azure-cli/package.nix @@ -26,14 +26,14 @@ }: let - version = "2.85.0"; + version = "2.86.0"; src = fetchFromGitHub { name = "azure-cli-${version}-src"; owner = "Azure"; repo = "azure-cli"; tag = "azure-cli-${version}"; - hash = "sha256-fNch6QiiHffyHOHw30dlRoe5UFvGVIZkneULjNihGdU="; + hash = "sha256-3C39e9C3m9M0faGUgOEWo66fFGDytfGohgUYX55VN8g="; }; # put packages that needs to be overridden in the py package scope diff --git a/pkgs/by-name/ba/ballerburg/package.nix b/pkgs/by-name/ba/ballerburg/package.nix index 1c3a003b68aa..355ef471140b 100644 --- a/pkgs/by-name/ba/ballerburg/package.nix +++ b/pkgs/by-name/ba/ballerburg/package.nix @@ -34,6 +34,16 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ SDL ]; + # CMake's default framework search order on Darwin finds Kernel.framework + # headers while detecting SDL 1.2, which makes standard includes like + # resolve to the wrong SDK header and breaks the build. + # Keep this package on the old Nixpkgs search order without restoring it + # globally: https://github.com/NixOS/nixpkgs/pull/455592 + # CMake docs: https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_FRAMEWORK.html + cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [ + "-DCMAKE_FIND_FRAMEWORK=LAST" + ]; + desktopItems = [ (makeDesktopItem { name = "Ballerburg"; diff --git a/pkgs/by-name/ba/bark-server/package.nix b/pkgs/by-name/ba/bark-server/package.nix index 7fb34848a4f4..1bd83a305a2f 100644 --- a/pkgs/by-name/ba/bark-server/package.nix +++ b/pkgs/by-name/ba/bark-server/package.nix @@ -8,13 +8,13 @@ buildGoModule (finalAttrs: { pname = "bark-server"; - version = "2.3.4"; + version = "2.3.5"; src = fetchFromGitHub { owner = "Finb"; repo = "bark-server"; tag = "v${finalAttrs.version}"; - hash = "sha256-ANOGAzm+25WUoRMGE5b70uKE4EhlGkuC4QWvpa2K7Uo="; + hash = "sha256-s02nLAlKO5SGX0Nx5z/5fZBf6R0kkY4IofbGW8ica50="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -27,7 +27,7 @@ buildGoModule (finalAttrs: { ''; }; - vendorHash = "sha256-yStMk1U6FmF2Ldqnm5HKsu6Pn3xjm5pGLMWAGyYxb2c="; + vendorHash = "sha256-+WyTKyWVzJAgCQ6bXbOjrJUZkw5XVrvAdgALL2eXU64="; ldflags = [ "-s" diff --git a/pkgs/by-name/be/better-commits/package.nix b/pkgs/by-name/be/better-commits/package.nix index d210b303d04b..d59e188dc364 100644 --- a/pkgs/by-name/be/better-commits/package.nix +++ b/pkgs/by-name/be/better-commits/package.nix @@ -8,13 +8,13 @@ buildNpmPackage rec { pname = "better-commits"; - version = "1.23.0"; + version = "1.23.1"; src = fetchFromGitHub { owner = "Everduin94"; repo = "better-commits"; tag = "v${version}"; - hash = "sha256-d2e+vA8qPr5H70X6caeW+s4yjI1zGByvmZd50j2nAQI="; + hash = "sha256-4ixxgpqyjU1juU200Dc0YTSC+bvVYHpqzylCR3Yy+Yk="; }; npmDepsHash = "sha256-18fkqQ3Y0fflSGXDPaMpHW7nC0ARMoCStxBzkEXiujs="; diff --git a/pkgs/by-name/bi/bite/package.nix b/pkgs/by-name/bi/bite/package.nix index a7032f8db0cf..a74b819c65e1 100644 --- a/pkgs/by-name/bi/bite/package.nix +++ b/pkgs/by-name/bi/bite/package.nix @@ -21,16 +21,18 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "bite"; - version = "0.3"; + version = "0.43"; + + __structuredAttrs = true; src = fetchFromGitHub { owner = "WINSDK"; repo = "bite"; - rev = "V${finalAttrs.version}"; - hash = "sha256-gio4J+V8achSuR2vQa2dnvOR/u4Zbb5z0UE0xP0gGCU="; + tag = "v${finalAttrs.version}"; + hash = "sha256-akwkTV1bZJ3GcEtObyF+qN5IkBRoXdztUSOghjQy7A0="; }; - cargoHash = "sha256-ESGX1hnDnU2taKQXre4AQRzQxTC7W+0cEIoQPPC9Lfs="; + cargoHash = "sha256-OlxUHYTbljWGWdiceBmW3J0oB4w0/5izgNnwCafV6xY="; nativeBuildInputs = [ pkg-config @@ -90,7 +92,10 @@ rustPlatform.buildRustPackage (finalAttrs: { description = "Disassembler focused on comprehensive rust support"; homepage = "https://github.com/WINSDK/bite"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ vinnymeller ]; + maintainers = with lib.maintainers; [ + vinnymeller + kybe236 + ]; mainProgram = "bite"; }; }) diff --git a/pkgs/by-name/bo/borgbackup/package.nix b/pkgs/by-name/bo/borgbackup/package.nix index eed4f1dcc91f..9300650bace2 100644 --- a/pkgs/by-name/bo/borgbackup/package.nix +++ b/pkgs/by-name/bo/borgbackup/package.nix @@ -70,11 +70,15 @@ python.pkgs.buildPythonApplication (finalAttrs: { acl ]; - dependencies = with python.pkgs; [ - msgpack - packaging - (if stdenv.hostPlatform.isLinux then pyfuse3 else llfuse) - ]; + dependencies = + with python.pkgs; + [ + msgpack + packaging + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + pyfuse3 + ]; makeWrapperArgs = [ ''--prefix PATH ':' "${openssh}/bin"'' diff --git a/pkgs/by-name/bu/butler/package.nix b/pkgs/by-name/bu/butler/package.nix index ed8e4b6ed3ef..4a2585465853 100644 --- a/pkgs/by-name/bu/butler/package.nix +++ b/pkgs/by-name/bu/butler/package.nix @@ -7,20 +7,20 @@ buildGoModule (finalAttrs: { pname = "butler"; - version = "15.26.1"; + version = "15.27.0"; src = fetchFromGitHub { owner = "itchio"; repo = "butler"; tag = "v${finalAttrs.version}"; - hash = "sha256-/Sdk9uYWjYtJFvc/xmrewgHlC+6cpqPoUP22xIfowj8="; + hash = "sha256-AnyZhfBjajWAM/pzCQjHOjY3sOQzU20y+LWHBZxbU3Y="; }; buildInputs = [ brotli ]; doCheck = false; # disabled because the tests don't work in a non-FHS compliant environment. - vendorHash = "sha256-8f4EVARMtdzXL3YxGimgLM/A7BF/GOaEoxffkQ1SlHw="; + vendorHash = "sha256-zDovN9J6IOE3TrXP60PPcsIc0PpXyEaqSR8i4i9MiHk="; meta = { description = "Command-line itch.io helper"; diff --git a/pkgs/by-name/ch/chess-tui/package.nix b/pkgs/by-name/ch/chess-tui/package.nix index 11ee29dec0ab..fcaed57dc550 100644 --- a/pkgs/by-name/ch/chess-tui/package.nix +++ b/pkgs/by-name/ch/chess-tui/package.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "chess-tui"; - version = "2.5.1"; + version = "2.7.0"; src = fetchFromGitHub { owner = "thomas-mauran"; repo = "chess-tui"; tag = finalAttrs.version; - hash = "sha256-jO3pa4N7XNyKQCbPjFByYmLlOtrrdpzS5lkxU9giE+w="; + hash = "sha256-BGJOPsePE5S5ySrOg63cNKn9pT+7MmDLHZrW3YhUFz8="; }; - cargoHash = "sha256-9LXg4zX/irLt2MCq7V0dQA3o1QRqGgfRcX4HneNGAns="; + cargoHash = "sha256-n9rjr5vUK619XIfuHIlf+lxUAeTbhTAzmdysliKNOFY="; checkFlags = [ # assertion failed: result.is_ok() diff --git a/pkgs/by-name/cl/clickhouse/package.nix b/pkgs/by-name/cl/clickhouse/package.nix index 6a36b81a54eb..a8d8e8883c11 100644 --- a/pkgs/by-name/cl/clickhouse/package.nix +++ b/pkgs/by-name/cl/clickhouse/package.nix @@ -1,6 +1,6 @@ import ./generic.nix { - version = "26.4.2.10-stable"; - rev = "184f682d431389803dd383668f52729cf26e23db"; - hash = "sha256-UCRwnrIY/j0gdjFnNmR5U7VZeBRqA96mIt6AEKRJQ5Q="; + version = "26.5.1.882-stable"; + rev = "5b96a8d8a5e2f4800b43a780911a39dc5a666e1c"; + hash = "sha256-Z+xcmHIkCuYSqOFdWSRWk2BFuCeI9yXnJIntSa4zXUk="; lts = false; } diff --git a/pkgs/by-name/cp/cppitertools/package.nix b/pkgs/by-name/cp/cppitertools/package.nix index 90a73ff7f9d9..4fe9b2958964 100644 --- a/pkgs/by-name/cp/cppitertools/package.nix +++ b/pkgs/by-name/cp/cppitertools/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "cppitertools"; - version = "2.1"; + version = "2.3"; src = fetchFromGitHub { owner = "ryanhaining"; repo = "cppitertools"; tag = "v${finalAttrs.version}"; - hash = "sha256-mii4xjxF1YC3H/TuO/o4cEz8bx2ko6U0eufqNVw5LNA="; + hash = "sha256-1lHpy+9e17lP/58EEIzrmyBwbmMD665ypDJtkSFrN9E="; }; __structuredAttrs = true; @@ -25,13 +25,6 @@ stdenv.mkDerivation (finalAttrs: { # tests. The CMake system defines tests and install targets, including a # cppitertools-config.cmake, which is really helpful for downstream consumers # to detect this package since it has no pkg-config. - # However the CMake system also specifies the entire source repo as an install - # target, including support files, the build directory, etc. - # We can't simply take cppitertools-config.cmake for ourselves because before - # install it's placed in non-specific private CMake subdirectory of the build - # directory. - # Therefore, we instead simply patch CMakeLists.txt to make the target that - # installs the entire directory non-default, and then install the headers manually. strictDeps = true; @@ -47,7 +40,6 @@ stdenv.mkDerivation (finalAttrs: { # files that are also in that repo. cmakeBuildDir = "cmake-build"; - includeInstallDir = "${placeholder "out"}/include/cppitertools"; cmakeInstallDir = "${placeholder "out"}/share/cmake"; # This version of cppitertools considers itself as having used the default value, @@ -58,12 +50,7 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ "-Dcppitertools_INSTALL_CMAKE_DIR=${finalAttrs.cmakeInstallDir}" ]; - prePatch = '' - # Mark the `.` install target as non-default. - substituteInPlace CMakeLists.txt \ - --replace-fail " DIRECTORY ." " DIRECTORY . EXCLUDE_FROM_ALL" - '' - + lib.optionalString finalAttrs.finalPackage.doCheck '' + prePatch = lib.optionalString finalAttrs.finalPackage.doCheck '' # Required for tests. cp ${lib.getDev catch2}/include/catch2/catch.hpp test/ ''; @@ -77,11 +64,7 @@ stdenv.mkDerivation (finalAttrs: { installPhase = '' runHook preInstall - # Install the -config.cmake files. cmake --install . "--prefix=$out" - # Install the headers. - mkdir -p "$includeInstallDir" - cp -r ../*.hpp ../internal "$includeInstallDir" runHook postInstall ''; diff --git a/pkgs/by-name/de/deja/package.nix b/pkgs/by-name/de/deja/package.nix index 74cfc1919719..608420c820d0 100644 --- a/pkgs/by-name/de/deja/package.nix +++ b/pkgs/by-name/de/deja/package.nix @@ -7,13 +7,13 @@ }: buildGoModule (finalAttrs: { pname = "deja"; - version = "0.2.5"; + version = "0.2.6"; __structuredAttrs = true; src = fetchFromGitHub { owner = "Giammarco-Ferranti"; repo = "deja"; tag = "v${finalAttrs.version}"; - hash = "sha256-0eRXPtm+L1C4/fc/WLn9p2LV8uhJ4w+40hhA69+CEdw="; + hash = "sha256-xxbClKhhSwo+jUjAZ2gS4yOS5sSI76dfPpDzA3qdV18="; }; vendorHash = "sha256-KmLdMK94cGOXMPJwWS6NgLB5OiNmJbszHdnLzauqJm8="; diff --git a/pkgs/by-name/dn/dnf5/package.nix b/pkgs/by-name/dn/dnf5/package.nix index af75caef3538..08cdfed6669c 100644 --- a/pkgs/by-name/dn/dnf5/package.nix +++ b/pkgs/by-name/dn/dnf5/package.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "dnf5"; - version = "5.4.1.0"; + version = "5.4.2.1"; outputs = [ "out" @@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: { owner = "rpm-software-management"; repo = "dnf5"; tag = finalAttrs.version; - hash = "sha256-wvWOQyY7K9fCds2am8gYpjw9mPl7IbOdHT92b8pwonc="; + hash = "sha256-Z+k47LC3gaBQ3y3090MLsSvPKlwPUVrYEBboKhskTik="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/fo/fotema/cargo-lock-bump-ffmpeg-next.patch b/pkgs/by-name/fo/fotema/cargo-lock-bump-ffmpeg-next.patch new file mode 100644 index 000000000000..ba274dd90ca8 --- /dev/null +++ b/pkgs/by-name/fo/fotema/cargo-lock-bump-ffmpeg-next.patch @@ -0,0 +1,193 @@ +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -428,7 +428,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "cexpr", + "clang-sys", + "itertools 0.13.0", +@@ -454,9 +454,9 @@ + + [[package]] + name = "bitflags" +-version = "2.10.0" ++version = "2.11.1" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" ++checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" + + [[package]] + name = "bitreader" +@@ -555,7 +555,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "b01fe135c0bd16afe262b6dea349bd5ea30e6de50708cec639aae7c5c14cc7e4" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "cairo-sys-rs", + "glib", + "libc", +@@ -1132,20 +1132,20 @@ + + [[package]] + name = "ffmpeg-next" +-version = "8.0.0" ++version = "8.1.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "d658424d233cbd993a972dd73a66ca733acd12a494c68995c9ac32ae1fe65b40" ++checksum = "f7c4bd5ab1ac61f29c634df1175d350ded29cf74c3c6d4f7030431a5ae3c7d5d" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "ffmpeg-sys-next", + "libc", + ] + + [[package]] + name = "ffmpeg-sys-next" +-version = "8.0.1" ++version = "8.1.0" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "9bca20aa4ee774fe384c2490096c122b0b23cf524a9910add0686691003d797b" ++checksum = "a314bc0e022a33a99567ed4bd2576bd58ffd8fcff7891c29194cfecc26a62547" + dependencies = [ + "bindgen", + "cc", +@@ -1709,7 +1709,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "16de123c2e6c90ce3b573b7330de19be649080ec612033d397d72da265f1bd8b" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "futures-channel", + "futures-core", + "futures-executor", +@@ -1796,7 +1796,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "6e9b31c7fa5ccb9d91317c956e767daef59be9fee3ae9df30468470368678482" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "gufo-common", + "half", + "memmap2", +@@ -1816,7 +1816,7 @@ + checksum = "7dfec0cd29d5ecfb1dd723868e22e2c49441020f35d5f14307018ff0a1679e2f" + dependencies = [ + "async-lock", +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "blocking", + "env_logger", + "futures-util", +@@ -2819,7 +2819,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "3d0b95e02c851351f877147b7deea7b1afb1df71b63aa5f8270716e0c5720616" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "libc", + ] + +@@ -2829,7 +2829,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "0e5310a2c5b6ffbc094b5f70a2ca7b79ed36ad90e6f90994b166489a1bce3fcc" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "libc", + "libseccomp-sys", + "pkg-config", +@@ -3190,7 +3190,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "cfg-if", + "cfg_aliases", + "libc", +@@ -3422,7 +3422,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "08838db121398ad17ab8531ce9de97b244589089e290a384c900cb9ff7434328" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "cfg-if", + "foreign-types 0.3.2", + "libc", +@@ -3631,7 +3631,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "crc32fast", + "fdeflate", + "flate2", +@@ -3996,7 +3996,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + ] + + [[package]] +@@ -4242,7 +4242,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "165ca6e57b20e1351573e3729b958bc62f0e48025386970b6e4d29e7a7e71f3f" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "chrono", + "fallible-iterator", + "fallible-streaming-iterator", +@@ -4323,7 +4323,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "errno", + "libc", + "linux-raw-sys", +@@ -4465,7 +4465,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "core-foundation 0.9.4", + "core-foundation-sys", + "libc", +@@ -4478,7 +4478,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "core-foundation 0.10.1", + "core-foundation-sys", + "libc", +@@ -4844,7 +4844,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "core-foundation 0.9.4", + "system-configuration-sys 0.6.0", + ] +@@ -5205,7 +5205,7 @@ + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" + dependencies = [ +- "bitflags 2.10.0", ++ "bitflags 2.11.1", + "bytes", + "futures-util", + "http 1.4.0", diff --git a/pkgs/by-name/fo/fotema/package.nix b/pkgs/by-name/fo/fotema/package.nix index 10da6b71cd04..723d9ab9d6aa 100644 --- a/pkgs/by-name/fo/fotema/package.nix +++ b/pkgs/by-name/fo/fotema/package.nix @@ -1,5 +1,6 @@ { lib, + applyPatches, clangStdenv, fetchFromGitHub, rustPlatform, @@ -40,9 +41,17 @@ clangStdenv.mkDerivation (finalAttrs: { hash = "sha256-g1CxgK8gaX24TFnlGUons3ve8Ow9YaiMh1kMwlcP/F8="; }; + patches = [ + # Bump ffmpeg-next 8.0.0 -> 8.1.0 in Cargo.lock for ffmpeg 8.1 compatibility. + ./cargo-lock-bump-ffmpeg-next.patch + ]; + cargoDeps = rustPlatform.fetchCargoVendor { - inherit (finalAttrs) pname version src; - hash = "sha256-vA1vB2Lgyo5SfexDC4Ag85nM+/NzsYZNeIH4HmiESHc="; + inherit (finalAttrs) pname version; + src = applyPatches { + inherit (finalAttrs) src patches; + }; + hash = "sha256-AEZY1QODq4F+CTrJce14qA6XSZjv29wSwIqUjZPWJo4="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/gi/git-aggregator/package.nix b/pkgs/by-name/gi/git-aggregator/package.nix index ceaab59d3ce4..f61bde4a0aea 100644 --- a/pkgs/by-name/gi/git-aggregator/package.nix +++ b/pkgs/by-name/gi/git-aggregator/package.nix @@ -8,7 +8,7 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "git-aggregator"; version = "4.1"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "acsone"; @@ -17,11 +17,11 @@ python3Packages.buildPythonApplication (finalAttrs: { hash = "sha256-sZYh3CN15WTCQ59W24ERJdP48EJt571cbkswLQ3JL2g="; }; - nativeBuildInputs = with python3Packages; [ + build-system = with python3Packages; [ setuptools-scm ]; - propagatedBuildInputs = with python3Packages; [ + dependencies = with python3Packages; [ argcomplete colorama gitMinimal diff --git a/pkgs/by-name/gn/gnome-2048/package.nix b/pkgs/by-name/gn/gnome-2048/package.nix index 95c714747d45..f901180442b3 100644 --- a/pkgs/by-name/gn/gnome-2048/package.nix +++ b/pkgs/by-name/gn/gnome-2048/package.nix @@ -1,38 +1,39 @@ { lib, - stdenv, + rustPlatform, fetchurl, - fetchpatch, - wrapGAppsHook3, + wrapGAppsHook4, meson, vala, pkg-config, ninja, itstool, - clutter-gtk, - libgee, - libgnome-games-support, gnome, - gtk3, + gtk4, + libadwaita, + stdenv, + rustc, + cargo, + desktop-file-utils, + writableTmpDirAsHomeHook, }: stdenv.mkDerivation (finalAttrs: { - pname = "gnome-twenty-forty-eight"; - version = "3.38.2"; + pname = "gnome-2048"; + version = "50.2"; src = fetchurl { - url = "mirror://gnome/sources/gnome-2048/${lib.versions.majorMinor finalAttrs.version}/gnome-2048-${finalAttrs.version}.tar.xz"; - hash = "sha256-4nNn9cCaATZYHTNfV5E6r1pfGA4ymcxcGjDYWD55rmg="; + url = "mirror://gnome/sources/gnome-2048/${lib.versions.major finalAttrs.version}/gnome-2048-${finalAttrs.version}.tar.xz"; + hash = "sha256-bRXfaKYSjPDJnlmJCK+MZntzPcQAPvTSHUtMSkK9Lak="; }; - patches = [ - # Fix build with meson 0.61 - # https://gitlab.gnome.org/GNOME/gnome-2048/-/merge_requests/21 - (fetchpatch { - url = "https://gitlab.gnome.org/GNOME/gnome-2048/-/commit/194e22699f7166a016cd39ba26dd719aeecfc868.patch"; - hash = "sha256-Qpn/OJJwblRm5Pi453aU2HwbrNjsf+ftmSnns/5qZ9E="; - }) - ]; + cargoDeps = rustPlatform.fetchCargoVendor { + inherit (finalAttrs) pname version src; + hash = "sha256-OcuhISJhm8uvcJjki86FSNiT5AoqUrILZaHcn1oZVtk="; + }; + + strictDeps = true; + __structuredArgs = true; nativeBuildInputs = [ itstool @@ -40,16 +41,25 @@ stdenv.mkDerivation (finalAttrs: { ninja pkg-config vala - wrapGAppsHook3 + wrapGAppsHook4 + rustPlatform.cargoSetupHook + rustc + cargo + desktop-file-utils ]; buildInputs = [ - clutter-gtk - libgee - libgnome-games-support - gtk3 + gtk4 + libadwaita ]; + nativeCheckInputs = [ + writableTmpDirAsHomeHook + rustPlatform.cargoCheckHook + ]; + + doCheck = true; + passthru = { updateScript = gnome.updateScript { packageName = "gnome-2048"; diff --git a/pkgs/by-name/ho/hooky/package.nix b/pkgs/by-name/ho/hooky/package.nix index 04ba4fb69eb5..9a087b351419 100644 --- a/pkgs/by-name/ho/hooky/package.nix +++ b/pkgs/by-name/ho/hooky/package.nix @@ -20,6 +20,11 @@ haskellPackages.mkDerivation { hash = "sha256-w4sWD5dZTNKwrYhrJw9RcwGoeNxpJnm/6RRqYjiIiBg="; }; + postPatch = '' + substituteInPlace src/Hooky/Config.hs \ + --replace-fail 'KDL.text' 'KDL.string' + ''; + isLibrary = true; isExecutable = true; libraryHaskellDepends = with haskellPackages; [ diff --git a/pkgs/by-name/ho/hot-resize/package.nix b/pkgs/by-name/ho/hot-resize/package.nix index 3afc22dd2067..6c82cd57bc4f 100644 --- a/pkgs/by-name/ho/hot-resize/package.nix +++ b/pkgs/by-name/ho/hot-resize/package.nix @@ -15,16 +15,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "hot-resize"; - version = "0.1.6"; + version = "0.1.7"; src = fetchFromGitHub { owner = "liberodark"; repo = "hot-resize"; tag = "v${finalAttrs.version}"; - hash = "sha256-8UA5Wv96PUerBRTwTwkSAv1iw6lt9nd4MXGdKUmxoz4="; + hash = "sha256-TMLtU2c5jkZEc14rII/+I1GtUzBnnZgPyPUgghqs7sM="; }; - cargoHash = "sha256-uGMd9xZRYbCJyHkUZXvUnN3M5N1FTaROfoww+oODAHE="; + cargoHash = "sha256-z9jWAGhSjYFQ8EhK0V4JsxToLYbEB4TJvhJJfUTGZS0="; nativeBuildInputs = [ makeWrapper @@ -43,6 +43,8 @@ rustPlatform.buildRustPackage (finalAttrs: { } ''; + __structuredAttrs = true; + nativeInstallCheckInputs = [ versionCheckHook ]; diff --git a/pkgs/by-name/ir/ironbar/package.nix b/pkgs/by-name/ir/ironbar/package.nix index 7dfade94684e..8e4e1f47191c 100644 --- a/pkgs/by-name/ir/ironbar/package.nix +++ b/pkgs/by-name/ir/ironbar/package.nix @@ -12,7 +12,6 @@ gtk4-layer-shell, adwaita-icon-theme, libxkbcommon, - openssl, pkg-config, hicolor-icon-theme, rustPlatform, @@ -33,16 +32,16 @@ let in rustPlatform.buildRustPackage rec { pname = "ironbar"; - version = "0.18.0"; + version = "0.19.0"; src = fetchFromGitHub { owner = "JakeStanger"; repo = "ironbar"; rev = "v${version}"; - hash = "sha256-vhkNdvzY9xd8qmKgKtpVRTdvmS1QxnGKDFCpttqX1GE="; + hash = "sha256-9UPBSOgiyBOlUYZlx+xQN5PTPwDWCDdYKdCAhigzHwA="; }; - cargoHash = "sha256-ptzq0407IaNrXXiksQKXDUbs2wPTz4GHtnCG49EbOcY="; + cargoHash = "sha256-ticVPKKfQnz21LpegKDwAtizi7bavIPEmpXsrZdRN48="; buildInputs = [ gtk4 @@ -58,7 +57,6 @@ rustPlatform.buildRustPackage rec { systemd dbus ] - ++ lib.optionals (hasFeature "http") [ openssl ] ++ lib.optionals (hasFeature "volume") [ libpulseaudio ] ++ lib.optionals (hasFeature "cairo") [ luajit ] ++ lib.optionals (hasFeature "keyboard") [ diff --git a/pkgs/by-name/ki/kiesel/deps.nix b/pkgs/by-name/ki/kiesel/deps.nix new file mode 100644 index 000000000000..bfae34f35bff --- /dev/null +++ b/pkgs/by-name/ki/kiesel/deps.nix @@ -0,0 +1,121 @@ +# generated by zon2nix (https://github.com/nix-community/zon2nix) + +{ + linkFarm, + fetchzip, + fetchgit, +}: + +linkFarm "zig-packages" [ + { + name = "N-V-__8AAFP3MACLqx3IPYUe7MVJki-nUn2Jtimo4Tx6u2s_"; + path = fetchgit { + url = "https://github.com/bellard/quickjs"; + rev = "f1139494d18a2053630c5ed3384a42bb70db3c53"; + hash = "sha256-XeDNFR3jbP/rY9zBqaiOaDTwKn7tuxHMiBK3qwAky4w="; + }; + } + { + name = "N-V-__8AAMFkNQCMS3QG2Q2vrQ1urnQq0PqKINS-iRDs1Xqc"; + path = fetchzip { + url = "https://musl.libc.org/releases/musl-1.2.6.tar.gz"; + hash = "sha256-vcI36q0+leXQBuGms1Uf0IF6U4KLGmW3Yz2t7cpNw5k="; + }; + } + { + name = "N-V-__8AAOysEw1hmwdD5wXRZ2cFnJPd2TRXwVpC--qXk-ot"; + path = fetchgit { + url = "https://github.com/unicode-org/icu4x"; + rev = "6f32890b737485e86b712777edb7001d2f31c9c8"; + hash = "sha256-O9p1++FZmiCNGk55hvYe3iS/kdSXzR+1htWCq2tBgdw="; + }; + } + { + name = "N-V-__8AAPLKOQDfJ5TYhiiy_6a_dZqUmo9K4e8Xhjfup3fd"; + path = fetchgit { + url = "https://github.com/boa-dev/temporal"; + tag = "v0.2.3"; + hash = "sha256-wD4pTVgQZrGONgSTDm9Eq3fo3Ez7aIC0/n4Rqgksad4="; + }; + } + { + name = "args-0.0.0-CiLiqmvgAADyJmrzcQTP9IOYNvTzR_KGrg3ZNNsH2Qv0"; + path = fetchgit { + url = "https://github.com/ikskuh/zig-args"; + rev = "d47ae21768f9ec47c2a4154ab48b87166965b820"; + hash = "sha256-Gpl6GU74hNf3ZTg5v2ua3gajjPJRIrb2EIraDVQZBdw="; + }; + } + { + name = "bdwgc-8.3.0-8obE-IejLwCX53s54D3b3nIqlsMLiZ0ZtAF8nMvffTtR"; + path = fetchgit { + url = "https://github.com/bdwgc/bdwgc"; + rev = "ea69934ed214cfb4e38d2a0176cc392af8055a83"; + hash = "sha256-wippr/ilU5cf+2D6T+kXUDZC0r353wCYyad7Y0hQvdM="; + }; + } + { + name = "bdwgc_zig-0.1.0-ffcEgVh8AAAhDLt3oykzvhRx_WDGdHCoqmswDTnmei6b"; + path = fetchgit { + url = "https://github.com/bdwgc/bdwgc-zig"; + rev = "1cfcd9ea8947e172f20b028fbc52e778632fa407"; + hash = "sha256-bTjPgn44QAgWAjiLqP3S5CK9os7L1cex+TXgzKU2dHY="; + }; + } + { + name = "build_crab-0.3.0-U0id_xWbAAD_ILwDslPuOn6XptkUzaGgJqRtO8aV_naN"; + path = fetchgit { + url = "https://github.com/linusg/build.crab"; + rev = "8592bb943546f1b08cdcb3a23701750737f40af5"; + hash = "sha256-IMh1qxl6Fb+08oEgIR/93F5bKub8bkGXiNbjLNsbgYs="; + }; + } + { + name = "icu4zig-0.1.0-IT7GrJalAgC00wqxu8c6JBs8A580wS-QrXBE7FJ1ZVaz"; + path = fetchgit { + url = "https://codeberg.org/linus/icu4zig"; + rev = "13caca132022c0acd9a0c04356ebf7d758340b8a"; + hash = "sha256-fz1YnPDDEIJVxlmxUfYq3ydksu739cT6aNK5W9N1RbA="; + }; + } + { + name = "known_folders-0.0.0-Fy-PJsbKAACbDh9bBxR0MMThxZSS6A9RH4apWphNHY70"; + path = fetchgit { + url = "https://github.com/ziglibs/known-folders"; + rev = "207c34a16e4365edc20d92c7892f962b3bed46e8"; + hash = "sha256-9hMnEc3ktnFTZT28hjaOkafjSUXEI+SNIO9GMcJrBfA="; + }; + } + { + name = "parser_toolkit-0.1.0-baYGPdpDEwBQQ2__YEalqGB09TAjP7vpoe2DFkwg6mRa"; + path = fetchgit { + url = "https://github.com/ikskuh/parser-toolkit"; + rev = "cc3977376a7bf0eb6f203ae5c00e8cea6f9d6600"; + hash = "sha256-6mYFtGenWWQoLFg/VJZRMmCY2xyt/ntGqd+DvhDjqXE="; + }; + } + { + name = "stackinfo-0.1.0-NZ2qTk8iAAC6y9NJVJ55kzDGmuGMoqGhlmHiG1baZKi3"; + path = fetchgit { + url = "https://codeberg.org/linus/zig-stackinfo"; + rev = "08bc113a9f8e85689ef536b6e5516c658bf4703e"; + hash = "sha256-2BwpJUtI9OHjuiO0h/pOORieV4QgaT7iJ2kCniin6Kg="; + }; + } + { + name = "unicode_id-0.0.1-u-LDL5CDAQArdOvYpoHk9jOi8A9QbZwUD0JB3CjZ7i6O"; + path = fetchgit { + url = "https://codeberg.org/linus/unicode-id"; + rev = "107488ed2dea04ef30a79538ded406d84a164901"; + hash = "sha256-JHt7PUP/onrb797ufYC36AH4255/EjNUvUY6Hjk4pT4="; + }; + } + { + name = "zigline-0.1.0-6llsB4uJAgAP1Yhp3ewmtwUXbg9RjHoc9Arl-i27NGWT"; + path = fetchgit { + url = "https://github.com/alimpfard/zigline"; + rev = "c0e5fc200b35ec177167f6dac1bb923b8a1478c5"; + hash = "sha256-+C/z2h5FwnOGkr0WsAzSLQeqowUAQmIrKZGt/G/YrKw="; + }; + } +] diff --git a/pkgs/by-name/ki/kiesel/package.nix b/pkgs/by-name/ki/kiesel/package.nix new file mode 100644 index 000000000000..abc45b1930f9 --- /dev/null +++ b/pkgs/by-name/ki/kiesel/package.nix @@ -0,0 +1,58 @@ +{ + callPackage, + cargo, + fetchFromCodeberg, + lib, + nix-update-script, + rustc, + rustPlatform, + stdenv, + zig_0_16, +}: +let + zig = zig_0_16; +in +stdenv.mkDerivation (finalAttrs: { + pname = "kiesel"; + version = "0.2.0"; + + src = fetchFromCodeberg { + owner = "kiesel-js"; + repo = "kiesel"; + tag = finalAttrs.version; + hash = "sha256-bddGd3LPmVV8wwoVHYJJKoHS6ssYyU1hQBTGJBQJPgc="; + }; + + cargoDeps = rustPlatform.fetchCargoVendor { + src = "${finalAttrs.src}/pkg/zement"; + hash = "sha256-SOp8UW0iKniXwzEGGtzX5rFAdVQKDHoEvCupquusvmo="; + }; + cargoRoot = "pkg/zement"; + deps = callPackage ./deps.nix { }; + strictDeps = true; + + nativeBuildInputs = [ + cargo + rustc + rustPlatform.cargoSetupHook + zig.hook + ]; + + zigBuildFlags = [ + "--system" + "${finalAttrs.deps}" + ]; + + __structuredAttrs = true; + passthru.tests.run = callPackage ./test.nix { kiesel = finalAttrs.finalPackage; }; + passthru.updateScript = nix-update-script { }; + + meta = { + description = "JavaScript engine written in Zig"; + license = lib.licenses.mit; + homepage = "https://kiesel.dev"; + maintainers = with lib.maintainers; [ cvengler ]; + platforms = lib.platforms.all; + mainProgram = "kiesel"; + }; +}) diff --git a/pkgs/by-name/ki/kiesel/test.nix b/pkgs/by-name/ki/kiesel/test.nix new file mode 100644 index 000000000000..66479a83f0e2 --- /dev/null +++ b/pkgs/by-name/ki/kiesel/test.nix @@ -0,0 +1,12 @@ +{ runCommand, kiesel }: +runCommand "kiesel-test-run" + { + nativeBuildInputs = [ kiesel ]; + } + '' + export NO_COLOR=1 + GOT=$(kiesel -p -c 'Array(16).join("wat" - 1) + " Batman!"') + EXPECT='"NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN Batman!"' + test "$EXPECT" = "$GOT" + touch $out + '' diff --git a/pkgs/by-name/la/labwc-tweaks-gtk/package.nix b/pkgs/by-name/la/labwc-tweaks-gtk/package.nix index f61536173388..0802fd78730f 100644 --- a/pkgs/by-name/la/labwc-tweaks-gtk/package.nix +++ b/pkgs/by-name/la/labwc-tweaks-gtk/package.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "labwc-tweaks-gtk"; - version = "0-unstable-2026-05-09"; + version = "0-unstable-2026-05-22"; src = fetchFromGitHub { owner = "labwc"; repo = "labwc-tweaks-gtk"; - rev = "c84d78c601e9f9a6e863766e35f736635cfa52d0"; - hash = "sha256-qyMgo9QB8wLzZiUlbz/NjTssYy8FB28A5RX7Hd05ays="; + rev = "ebe05bef2cf5966a45a42370371ae879c472cf6d"; + hash = "sha256-5HqxB03yXksRBV/wZa3J5xLEIbv2oZvLp2YQ3FMgd1k="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/lt/lttv/package.nix b/pkgs/by-name/lt/lttv/package.nix deleted file mode 100644 index c55200acf6a7..000000000000 --- a/pkgs/by-name/lt/lttv/package.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - fetchpatch, - pkg-config, - glib, - gtk2, - popt, - babeltrace, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "lttv"; - version = "1.5"; - - src = fetchurl { - url = "https://lttng.org/files/packages/lttv-${finalAttrs.version}.tar.bz2"; - sha256 = "1faldxnh9dld5k0vxckwpqw241ya1r2zv286l6rpgqr500zqw7r1"; - }; - - patches = [ - # fix build with gcc14: - (fetchpatch { - name = "lttv-c99-compatibility-fix.patch"; - url = "https://git.lttng.org/?p=lttv.git;a=patch;h=6b9d59fe4cc1dc943501ab6ede93856b2f06c3ce"; - hash = "sha256-zcLHBri0i10NGkgiZT6QRZbixffYvkzLaFBeC/ESF/U="; - }) - ]; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - glib - gtk2 - popt - babeltrace - ]; - - meta = { - description = "Graphical trace viewer for LTTng trace files"; - homepage = "https://lttng.org/"; - # liblttvtraceread (ltt/ directory) is distributed under the GNU LGPL v2.1. - # The rest of the LTTV package is distributed under the GNU GPL v2. - license = with lib.licenses; [ - gpl2 - lgpl21 - ]; - platforms = lib.platforms.linux; - maintainers = [ lib.maintainers.bjornfor ]; - }; - -}) diff --git a/pkgs/by-name/ma/macopix/package.nix b/pkgs/by-name/ma/macopix/package.nix index 66a06004ae5f..c8dfbd2040e0 100644 --- a/pkgs/by-name/ma/macopix/package.nix +++ b/pkgs/by-name/ma/macopix/package.nix @@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: { # Workaround build failure on -fno-common toolchains: # ld: dnd.o:src/main.h:136: multiple definition of # `MENU_EXT'; main.o:src/main.h:136: first defined here - NIX_CFLAGS_COMPILE = "-fcommon"; + NIX_CFLAGS_COMPILE = "-fcommon -std=gnu99"; NIX_LDFLAGS = "-lX11"; }; diff --git a/pkgs/by-name/ma/mailspring/package.nix b/pkgs/by-name/ma/mailspring/package.nix index b90828e6276b..37011710992f 100644 --- a/pkgs/by-name/ma/mailspring/package.nix +++ b/pkgs/by-name/ma/mailspring/package.nix @@ -17,10 +17,7 @@ let Mailspring's sync engine runs locally, but its source is not open. ''; mainProgram = "mailspring"; - maintainers = with lib.maintainers; [ - toschmidt - wrench-exile-legacy - ]; + maintainers = with lib.maintainers; [ wrench-exile-legacy ]; platforms = [ "x86_64-linux" "aarch64-darwin" diff --git a/pkgs/by-name/ma/mate-screensaver/package.nix b/pkgs/by-name/ma/mate-screensaver/package.nix index 31e8cc3eb96d..aa3ca2d74205 100644 --- a/pkgs/by-name/ma/mate-screensaver/package.nix +++ b/pkgs/by-name/ma/mate-screensaver/package.nix @@ -1,7 +1,9 @@ { lib, stdenv, - fetchurl, + fetchFromGitHub, + autoconf-archive, + autoreconfHook, pkg-config, gettext, gtk3, @@ -9,6 +11,7 @@ libxscrnsaver, libnotify, libxml2, + mate-common, mate-desktop, mate-menus, mate-panel, @@ -20,17 +23,22 @@ stdenv.mkDerivation (finalAttrs: { pname = "mate-screensaver"; - version = "1.28.0"; + version = "1.28.1"; - src = fetchurl { - url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor finalAttrs.version}/mate-screensaver-${finalAttrs.version}.tar.xz"; - sha256 = "ag8kqPhKL5XhARSrU+Y/1KymiKVf3FA+1lDgpBDj6nA="; + src = fetchFromGitHub { + owner = "mate-desktop"; + repo = "mate-screensaver"; + tag = "v${finalAttrs.version}"; + hash = "sha256-MTu5W+JBBlFzsv/IbygaE3+i7Df1YRGGoeZNSSSwbXM="; }; nativeBuildInputs = [ + autoconf-archive + autoreconfHook pkg-config gettext libxml2 # provides xmllint + mate-common # mate-common.m4 macros wrapGAppsHook3 ]; @@ -53,7 +61,6 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; passthru.updateScript = gitUpdater { - url = "https://git.mate-desktop.org/mate-screensaver"; odd-unstable = true; rev-prefix = "v"; }; diff --git a/pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix b/pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix index f9f6ce65e275..2eb9d4c9018a 100644 --- a/pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix +++ b/pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix @@ -14,19 +14,19 @@ python3Packages.buildPythonApplication rec { pname = "matrix-synapse"; - version = "1.152.1"; + version = "1.153.0"; pyproject = true; src = fetchFromGitHub { owner = "element-hq"; repo = "synapse"; rev = "v${version}"; - hash = "sha256-81nqT6/TuqtQjjqnT6O+72WCCPlZ9JJKbWczMh6mbcU="; + hash = "sha256-2/KzRPUMfOOmI8j8WZsVU2ubNxidTb+FW0MZF+ktSSQ="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; - hash = "sha256-RwUsiS6JM5dmqquKVtyaBp67DYZys6Uecy0V6AabTk4="; + hash = "sha256-Cu5bXS6BprXr/dwkNXDjcP9hOfqQddoC5BxOus4rteM="; }; build-system = diff --git a/pkgs/by-name/ma/mattermost/package.nix b/pkgs/by-name/ma/mattermost/package.nix index f7cbb3295385..922a2836ad19 100644 --- a/pkgs/by-name/ma/mattermost/package.nix +++ b/pkgs/by-name/ma/mattermost/package.nix @@ -25,10 +25,10 @@ # # Ensure you also check ../mattermostLatest/package.nix. regex = "^v(11\\.7\\.[0-9]+)$"; - version = "11.7.0"; - srcHash = "sha256-oH9bLN2BPvRSWl5m3VNHBNMBXfdmkwaE9tzL7pcD1mg="; - vendorHash = "sha256-PmwwiXNaDarc1H7z1G4zstgs7tvmZ/d7V5eGqMh1VX4="; - npmDepsHash = "sha256-C3vfWW2hMOMnrPn1538kT+ma09T9VswrmADV/KPkrPc="; + version = "11.7.1"; + srcHash = "sha256-9eI9tX6qHEEzm7aro7ky2JORfAmqbjmrmxABFVTZzW8="; + vendorHash = "sha256-xu399pAtIJUIns+GhKFlDR0crWV+8HiN9Wf38EMu5q8="; + npmDepsHash = "sha256-M+yoCLR4yT30n3rhqZu1z8zeWas+5VniP4aaIJPz6VU="; }, ... }: diff --git a/pkgs/by-name/md/mdbook/package.nix b/pkgs/by-name/md/mdbook/package.nix index fa23ac200d96..66c14abfb130 100644 --- a/pkgs/by-name/md/mdbook/package.nix +++ b/pkgs/by-name/md/mdbook/package.nix @@ -8,7 +8,7 @@ installShellFiles, }: let - version = "0.5.3"; + version = "0.5.2"; in rustPlatform.buildRustPackage rec { inherit version; @@ -18,10 +18,10 @@ rustPlatform.buildRustPackage rec { owner = "rust-lang"; repo = "mdBook"; tag = "v${version}"; - hash = "sha256-RMJQn58hshBGQSpu30NdUOb3Prywn6NfhauSzFZ35xQ="; + hash = "sha256-gyjD47ZR9o2lIxipzesyJ6mxb9J9W+WS77TNWhKHP6U="; }; - cargoHash = "sha256-LlImOjTQjMQURQ81Gn73v+DEHXqyyiz39K9T+MrE7S0="; + cargoHash = "sha256-230KljOUSrDy8QCQki7jvJvdAsjVlUEjKDNVyTF4tWs="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/by-name/mi/mirrord/manifest.json b/pkgs/by-name/mi/mirrord/manifest.json index e709411eb6a9..d0919eeffcf3 100644 --- a/pkgs/by-name/mi/mirrord/manifest.json +++ b/pkgs/by-name/mi/mirrord/manifest.json @@ -1,21 +1,21 @@ { - "version": "3.210.0", + "version": "3.211.0", "assets": { "x86_64-linux": { - "url": "https://github.com/metalbear-co/mirrord/releases/download/3.210.0/mirrord_linux_x86_64", - "hash": "sha256-eg7eO97SHZQoju/wH/6IvyEmLi//HXLsDJ3AjeJyPA8=" + "url": "https://github.com/metalbear-co/mirrord/releases/download/3.211.0/mirrord_linux_x86_64", + "hash": "sha256-5ke7ZXbqGAWcwUNW5ofrc0Ez7XS9oekHFuVagFeMwKA=" }, "aarch64-linux": { - "url": "https://github.com/metalbear-co/mirrord/releases/download/3.210.0/mirrord_linux_aarch64", - "hash": "sha256-J+2jHv3/QhpxOHoCMTJMr1k8TTQfQVYjPGuZeZ0GufQ=" + "url": "https://github.com/metalbear-co/mirrord/releases/download/3.211.0/mirrord_linux_aarch64", + "hash": "sha256-o9Hu5TqPzcOmbwAG40f6CDw5VE/3v3ggXJ6/2RPuReU=" }, "aarch64-darwin": { - "url": "https://github.com/metalbear-co/mirrord/releases/download/3.210.0/mirrord_mac_universal", - "hash": "sha256-GctpfiYZOfkYqbAmTWV+VHxbg4IGc/xhZvacgBltJnU=" + "url": "https://github.com/metalbear-co/mirrord/releases/download/3.211.0/mirrord_mac_universal", + "hash": "sha256-aOPjhsMAVP5Jn8pjxRyr/92HXlMB5nix9BwHoc2uf8A=" }, "x86_64-darwin": { - "url": "https://github.com/metalbear-co/mirrord/releases/download/3.210.0/mirrord_mac_universal", - "hash": "sha256-GctpfiYZOfkYqbAmTWV+VHxbg4IGc/xhZvacgBltJnU=" + "url": "https://github.com/metalbear-co/mirrord/releases/download/3.211.0/mirrord_mac_universal", + "hash": "sha256-aOPjhsMAVP5Jn8pjxRyr/92HXlMB5nix9BwHoc2uf8A=" } } } diff --git a/pkgs/by-name/mk/mkuimage/package.nix b/pkgs/by-name/mk/mkuimage/package.nix index 1e7d1dc4140d..789b41d306a5 100644 --- a/pkgs/by-name/mk/mkuimage/package.nix +++ b/pkgs/by-name/mk/mkuimage/package.nix @@ -9,16 +9,16 @@ buildGoModule { pname = "mkuimage"; - version = "0-unstable-2025-09-05"; + version = "0-unstable-2026-04-13"; src = fetchFromGitHub { owner = "u-root"; repo = "mkuimage"; - rev = "9a40452f5d3ba67f236a83de54fa2c40f797b68b"; - hash = "sha256-asC4j2DXkQnx6BZntxA8hSaM2k6p0CxraHYq3bK9vNQ="; + rev = "72394cd98f39c9190dcc4f2a601902d43af1ae6e"; + hash = "sha256-0XY2oTwdKEFVbOMTnxoKoM9OoJm9Y+R/3z04VZwk2T8="; }; - vendorHash = "sha256-KX9uv5m4N4+7gOgjhotRac9sz8tWSJ1krq98RWdsbzg="; + vendorHash = "sha256-PmfHdl0GG84kPPUgKiLwhKvcgbbwJLFMnX1cI//U5T8="; subPackages = [ "cmd/gentpldeps" @@ -53,6 +53,5 @@ buildGoModule { license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ katexochen ]; mainProgram = "mkuimage"; - broken = true; }; } diff --git a/pkgs/by-name/mp/mpv/scripts/modernz.nix b/pkgs/by-name/mp/mpv/scripts/modernz.nix index 95b3791556c2..b1e96ef65519 100644 --- a/pkgs/by-name/mp/mpv/scripts/modernz.nix +++ b/pkgs/by-name/mp/mpv/scripts/modernz.nix @@ -8,14 +8,14 @@ }: buildLua (finalAttrs: { pname = "modernz"; - version = "0.3.2"; + version = "0.3.3"; scriptPath = "modernz.lua"; src = fetchFromGitHub { owner = "Samillion"; repo = "ModernZ"; rev = "v${finalAttrs.version}"; - hash = "sha256-HUbS5L0kuYYm9HZ0BEzsqFQii3PQlZtzPiVRF/rDbcY="; + hash = "sha256-cz6yb0jQiqmzRPo1YSsnPWLshGPzBeq39DhBv7tGJqs="; }; nativeBuildInputs = [ installFonts ]; diff --git a/pkgs/by-name/na/nav/package.nix b/pkgs/by-name/na/nav/package.nix index 72b5577c752b..58b7b178fd94 100644 --- a/pkgs/by-name/na/nav/package.nix +++ b/pkgs/by-name/na/nav/package.nix @@ -4,18 +4,21 @@ fetchurl, autoPatchelfHook, libxcrypt-legacy, + zlib, + testers, + nav, }: stdenv.mkDerivation (finalAttrs: { pname = "nav"; - version = "1.5.0"; + version = "1.5.2"; src = fetchurl { url = "https://github.com/Jojo4GH/nav/releases/download/v${finalAttrs.version}/nav-${stdenv.hostPlatform.parsed.cpu.name}-unknown-linux-gnu.tar.gz"; sha256 = { - x86_64-linux = "sha256-LQdw8/V1KFNM6TY1rFt/RiZuiRQXM+8HNGkJXDrE/mw="; - aarch64-linux = "sha256-SMcdnUxKbJ5GXB358WglIMiPHWsn1uVnjN9UiL3V6dk="; + x86_64-linux = "sha256-/A6IZRX8v8yKfcxYxo0gxbsZri2dgTs8YH7H2LauaBE="; + aarch64-linux = "sha256-YNS/P6TU7qLPn39X6GyUtjBw7GXOi2btd3AV+etpUhQ="; } .${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}"); }; @@ -26,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ stdenv.cc.cc.lib libxcrypt-legacy + zlib ]; installPhase = '' @@ -37,6 +41,12 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru.tests = { + version = testers.testVersion { + package = nav; + }; + }; + passthru.updateScript = ./update.sh; meta = { diff --git a/pkgs/by-name/ne/netbird/package.nix b/pkgs/by-name/ne/netbird/package.nix index c67befca45d6..d2b9c19e7bba 100644 --- a/pkgs/by-name/ne/netbird/package.nix +++ b/pkgs/by-name/ne/netbird/package.nix @@ -67,13 +67,13 @@ let in buildGoModule (finalAttrs: { pname = "netbird-${componentName}"; - version = "0.71.3"; + version = "0.71.4"; src = fetchFromGitHub { owner = "netbirdio"; repo = "netbird"; tag = "v${finalAttrs.version}"; - hash = "sha256-1doOf/rgGbD/YtMY0+j1VM7933zR+G+Vyq6bF5fyuMg="; + hash = "sha256-e/fe4wEjz7apA5RZ4nGIaunp0+5NVH4yMHK/l/MfcWI="; }; vendorHash = "sha256-NeZuj9o2yu5di+6jbNqCnAw0fI55GA5Otmr77c08QFc="; diff --git a/pkgs/by-name/ne/netron/package.nix b/pkgs/by-name/ne/netron/package.nix index 2b4ae77e6b9f..c8b3f3552b3d 100644 --- a/pkgs/by-name/ne/netron/package.nix +++ b/pkgs/by-name/ne/netron/package.nix @@ -2,30 +2,30 @@ lib, stdenv, buildNpmPackage, - electron_39, + electron_42, fetchFromGitHub, jq, makeDesktopItem, }: let - electron = electron_39; + electron = electron_42; description = "Visualizer for neural network, deep learning and machine learning models"; icon = "netron"; in buildNpmPackage (finalAttrs: { pname = "netron"; - version = "8.8.2"; + version = "9.0.8"; src = fetchFromGitHub { owner = "lutzroeder"; repo = "netron"; tag = "v${finalAttrs.version}"; - hash = "sha256-DeI82vixVJwAfYYUOTTZCeRTYvmkAutuQQm1fCdj8fs="; + hash = "sha256-vWzifB8A0VzzSkPVrcFtrR/tLBeFh1n+xwefhNo4PDQ="; }; - npmDepsHash = "sha256-HyqfrkO9Cbo6KVY1QuA4i6od6M7ZQaIfkUWA2P/bvfI="; + npmDepsHash = "sha256-3Vaoym7o3sTmEHTNTG90i/NgdJ2x+skJ1slpp0dmv64="; nativeBuildInputs = [ jq ]; diff --git a/pkgs/by-name/nw/nwg-panel/package.nix b/pkgs/by-name/nw/nwg-panel/package.nix index a0b79ff060b5..a33a524a55e2 100644 --- a/pkgs/by-name/nw/nwg-panel/package.nix +++ b/pkgs/by-name/nw/nwg-panel/package.nix @@ -23,14 +23,14 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "nwg-panel"; - version = "0.10.13"; + version = "0.10.15"; format = "setuptools"; src = fetchFromGitHub { owner = "nwg-piotr"; repo = "nwg-panel"; tag = "v${finalAttrs.version}"; - hash = "sha256-TfE2RjbCBoHcdp9st+HeVhSfTMahZdQaItOIuT8Sxcc="; + hash = "sha256-zRoOsVnwn2DQctB9ZP0pAAnf9Ragd2RZGHZGN1KnMsQ="; }; # No tests diff --git a/pkgs/by-name/on/onnxruntime/package.nix b/pkgs/by-name/on/onnxruntime/package.nix index 08514fbd6c7c..0bfb17de83b2 100644 --- a/pkgs/by-name/on/onnxruntime/package.nix +++ b/pkgs/by-name/on/onnxruntime/package.nix @@ -25,6 +25,7 @@ cudaSupport ? config.cudaSupport, ncclSupport ? cudaSupport && cudaPackages.nccl.meta.available, rocmSupport ? config.rocmSupport, + coremlSupport ? stdenv.hostPlatform.isDarwin, withFullProtobuf ? false, cudaPackages ? { }, rocmPackages, @@ -80,6 +81,30 @@ let hash = "sha256-YqgzCyNywixebpHGx16tUuczmFS5pjCz5WjR89mv9eI="; }; + coremltools-src = fetchFromGitHub { + name = "coremltools-src"; + owner = "apple"; + repo = "coremltools"; + tag = "7.1"; + hash = "sha256-kajQFHpl+4UK6fp+rM8TP0GiqIFYXPVFc2x1p19rBSw="; + }; + + fp16-src = fetchFromGitHub { + name = "fp16-src"; + owner = "Maratyszcza"; + repo = "FP16"; + rev = "0a92994d729ff76a58f692d3028ca1b64b145d91"; + hash = "sha256-m2d9bqZoGWzuUPGkd29MsrdscnJRtuIkLIMp3fMmtRY="; + }; + + psimd-src = fetchFromGitHub { + name = "psimd-src"; + owner = "Maratyszcza"; + repo = "psimd"; + rev = "072586a71b55b7f8c584153d223e95687148a900"; + hash = "sha256-lV+VZi2b4SQlRYrhKx9Dxc6HlDEFz3newvcBjTekupo="; + }; + isCudaJetson = cudaSupport && cudaPackages.flags.isJetsonBuild; in effectiveStdenv.mkDerivation (finalAttrs: { @@ -263,6 +288,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "onnxruntime_USE_CUDA" cudaSupport) (lib.cmakeBool "onnxruntime_USE_NCCL" (cudaSupport && ncclSupport)) (lib.cmakeBool "onnxruntime_USE_MIGRAPHX" rocmSupport) + (lib.cmakeBool "onnxruntime_USE_COREML" coremlSupport) (lib.cmakeBool "onnxruntime_ENABLE_LTO" (!cudaSupport || cudaPackages.cudaOlder "12.8")) ] ++ lib.optionals pythonSupport [ @@ -284,6 +310,12 @@ effectiveStdenv.mkDerivation (finalAttrs: { # Incompatible with packaged version, far too slow to build vendored version (lib.cmakeBool "onnxruntime_USE_COMPOSABLE_KERNEL" false) (lib.cmakeBool "onnxruntime_USE_COMPOSABLE_KERNEL_CK_TILE" false) + ] + ++ lib.optionals coremlSupport [ + (lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_COREMLTOOLS" "${coremltools-src}") + (lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_FP16" "${fp16-src}") + (lib.cmakeFeature "FETCHCONTENT_SOURCE_DIR_PSIMD" "${psimd-src}") + (lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5") # needed for psimd ]; env = @@ -314,6 +346,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { !( cudaSupport || rocmSupport + || coremlSupport # cross-compiled test binaries can't execute on the build platform || (effectiveStdenv.hostPlatform != effectiveStdenv.buildPlatform) || builtins.elem effectiveStdenv.buildPlatform.system [ @@ -337,7 +370,8 @@ effectiveStdenv.mkDerivation (finalAttrs: { install -m644 -Dt $out/include \ ../include/onnxruntime/core/framework/provider_options.h \ ../include/onnxruntime/core/providers/cpu/cpu_provider_factory.h \ - ../include/onnxruntime/core/session/onnxruntime_*.h + ../include/onnxruntime/core/session/onnxruntime_*.h \ + ../include/onnxruntime/core/providers/coreml/coreml_provider_factory.h ''; # See comments in `cudaPackages.nccl` diff --git a/pkgs/by-name/op/open-webui/package.nix b/pkgs/by-name/op/open-webui/package.nix index 8a7d0cb36e52..3d7906cf5e2e 100644 --- a/pkgs/by-name/op/open-webui/package.nix +++ b/pkgs/by-name/op/open-webui/package.nix @@ -32,11 +32,7 @@ let npmDepsHash = "sha256-kAUbFAFNo5RHMGqO7sPHSxSEZw9Ky6Pxp/vddDyw90E="; - # See https://github.com/open-webui/open-webui/issues/15880 - npmFlags = [ - "--force" - "--legacy-peer-deps" - ]; + npmFlags = [ "--force" ]; # Disabling `pyodide:fetch` as it downloads packages during `buildPhase` # Until this is solved, running python packages from the browser will not work. diff --git a/pkgs/by-name/pi/pi-coding-agent/package.nix b/pkgs/by-name/pi/pi-coding-agent/package.nix index c24e3e1ad58c..e37c769445f7 100644 --- a/pkgs/by-name/pi/pi-coding-agent/package.nix +++ b/pkgs/by-name/pi/pi-coding-agent/package.nix @@ -12,16 +12,16 @@ }: buildNpmPackage (finalAttrs: { pname = "pi-coding-agent"; - version = "0.75.3"; + version = "0.75.4"; src = fetchFromGitHub { owner = "earendil-works"; repo = "pi"; tag = "v${finalAttrs.version}"; - hash = "sha256-c/+cxkp/EZ2PLERxTENN5edXHEs7M2oqzNepjRA4TIE="; + hash = "sha256-zyIgs2N7uVz+7E+NqxH78baRw0OwXvlrjZiDIP/v0M4="; }; - npmDepsHash = "sha256-/mWjrZFzRmtkbWYMJOXKnLPxFITFndq5hgdY0DnPfAg="; + npmDepsHash = "sha256-5Vl+0BBUS7Rtb6XqpGKbbNMyh+9UX2aAsgtn60QLX7A="; npmWorkspace = "packages/coding-agent"; diff --git a/pkgs/by-name/pi/pihole-web/package.nix b/pkgs/by-name/pi/pihole-web/package.nix index d3a0d978d8cf..27f585725496 100644 --- a/pkgs/by-name/pi/pihole-web/package.nix +++ b/pkgs/by-name/pi/pihole-web/package.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "pihole-web"; - version = "6.4.1"; + version = "6.5"; src = fetchFromGitHub { owner = "pi-hole"; repo = "web"; tag = "v${finalAttrs.version}"; - hash = "sha256-0nhMbOEZ4Q4XxOvskcEbDkK4HqdosgAzdRF4sT9+zjQ="; + hash = "sha256-ozMqgxyYBDNeYGnZIhql7hnF8D/PwqAe9ypUkkUfKBc="; }; propagatedBuildInputs = [ @@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Pi-hole web dashboard displaying stats and more"; homepage = "https://github.com/pi-hole/web"; - changelog = "https://github.com/pi-hole/FTL/releases/tag/v${finalAttrs.version}"; + changelog = "https://github.com/pi-hole/web/releases/tag/v${finalAttrs.version}"; longDescription = '' Pi-hole's Web interface (based off of AdminLTE) provides a central location to manage your Pi-hole and review the statistics generated by diff --git a/pkgs/by-name/po/pokefinder/package.nix b/pkgs/by-name/po/pokefinder/package.nix index 931aa676ce42..3aaabf75cbef 100644 --- a/pkgs/by-name/po/pokefinder/package.nix +++ b/pkgs/by-name/po/pokefinder/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "pokefinder"; - version = "4.3.1"; + version = "4.3.2"; src = fetchFromGitHub { owner = "Admiral-Fish"; repo = "PokeFinder"; - rev = "v${finalAttrs.version}"; - hash = "sha256-tItPvA0f2HnY7SUSnb7A5jGwbRs7eQoS4vibBomZ9pw="; + tag = "v${finalAttrs.version}"; + hash = "sha256-viObYX9W1bUzwGyf7rI1gQeB9OHlLfj5Uny0js/1f6M="; fetchSubmodules = true; }; @@ -27,6 +27,32 @@ stdenv.mkDerivation (finalAttrs: { ./set-desktop-file-name.patch ]; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace-fail 'set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64")' "" + substituteInPlace Core/CMakeLists.txt \ + --replace-fail 'if (APPLE)' 'if (FALSE)' + substituteInPlace Core/RNG/SHA1.cpp \ + --replace-fail '#include "SHA1.hpp"' '#include "SHA1.hpp" + #include ' + + mkdir -p Core/Resources/compression + touch Core/Resources/compression/__init__.py + cat < Core/Resources/compression/zstd.py + import zstandard as zstd + + def compress(data, level=3): + cctx = zstd.ZstdCompressor(level=level) + return cctx.compress(data) + + def decompress(data): + dctx = zstd.ZstdDecompressor() + return dctx.decompress(data) + EOF + ''; + + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isAarch "-flax-vector-conversions"; + installPhase = '' runHook preInstall '' diff --git a/pkgs/by-name/po/portablemc/package.nix b/pkgs/by-name/po/portablemc/package.nix index 2e795d12a94e..cd22a688b430 100644 --- a/pkgs/by-name/po/portablemc/package.nix +++ b/pkgs/by-name/po/portablemc/package.nix @@ -1,96 +1,136 @@ { lib, stdenv, - python3Packages, fetchFromGitHub, - installShellFiles, - jre, + rustPlatform, + pkg-config, + openssl, + + makeWrapper, + + addDriverRunpath, + alsa-lib, + glfw3-minecraft, + libGL, + libjack2, + libpulseaudio, libx11, - libxext, libxcursor, + libxext, libxrandr, libxxf86vm, - libpulseaudio, - libGL, - glfw, openal, + pipewire, udev, + vulkan-loader, textToSpeechSupport ? stdenv.hostPlatform.isLinux, flite, + + pciutils, + xrandr, + + jdk25, + jdk21, + jdk17, + jdk8, + + # can be overriden to reduce the closure size + jvms ? [ + jdk25 + jdk21 + jdk17 + jdk8 + ], + + additionalLibs ? [ ], + additionalPrograms ? [ ], }: let # Copied from the `prismlauncher` package runtimeLibs = [ - # lwjgl - libGL - glfw - openal (lib.getLib stdenv.cc.cc) - ] - ++ lib.optionals stdenv.hostPlatform.isLinux [ + ## native versions + glfw3-minecraft + openal + + ## openal + alsa-lib + libjack2 + libpulseaudio + pipewire + + ## glfw + libGL libx11 - libxext libxcursor + libxext libxrandr libxxf86vm - # lwjgl - libpulseaudio + udev # oshi - # oshi - udev + vulkan-loader # VulkanMod's lwjgl ] - ++ lib.optional textToSpeechSupport flite; + ++ lib.optional textToSpeechSupport flite + ++ additionalLibs; + + # Copied from the `prismlauncher` package + runtimePrograms = [ + pciutils # need lspci + xrandr # needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128 + ] + ++ additionalPrograms; + in -python3Packages.buildPythonApplication (finalAttrs: { +stdenv.mkDerivation (finalAttrs: { pname = "portablemc"; - version = "4.4.1"; - pyproject = true; + version = "5.0.3"; src = fetchFromGitHub { owner = "theorzr"; repo = "portablemc"; tag = "v${finalAttrs.version}"; - hash = "sha256-KE1qf6aIcDjwKzrdKDUmriWfAt+vuriew6ixHKm0xs8="; + hash = "sha256-P/ah7pwOdbgRDgpvhEDcNA1RiDzG2nYZCR13vzljLd8="; }; - patches = [ - # Use the jre package provided by nixpkgs by default - ./use-builtin-java.patch - ]; + dontUnpack = true; - nativeBuildInputs = [ installShellFiles ]; + cargoDeps = rustPlatform.fetchCargoVendor { + inherit (finalAttrs) pname version src; + hash = "sha256-Ub9XVc6gcu6fEiOheew9Uh3LqdaSzVKITboDTK+MQUI="; + }; - build-system = [ python3Packages.poetry-core ]; + unwrapped = rustPlatform.buildRustPackage { + name = "portablemc-${finalAttrs.version}-unwrapped"; + inherit (finalAttrs) src cargoDeps; - dependencies = [ python3Packages.certifi ]; + nativeBuildInputs = [ pkg-config ]; - # Note: Tests use networking, so we don't run them + buildInputs = [ openssl ]; + }; - postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' - installShellCompletion --cmd portablemc \ - --bash <($out/bin/portablemc show completion bash) \ - --zsh <($out/bin/portablemc show completion zsh) - ''; + strictDeps = true; + nativeBuildInputs = [ makeWrapper ]; - preFixup = '' - makeWrapperArgs+=( - --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath runtimeLibs} - --prefix PATH : ${lib.makeBinPath [ jre ]} - ) + installPhase = '' + runHook preInstall + + makeWrapper "$unwrapped/bin/portablemc" "$out/bin/portablemc" \ + ${lib.optionalString stdenv.hostPlatform.isLinux '' + --prefix LD_LIBRARY_PATH : "${addDriverRunpath.driverLink}/lib:${lib.makeLibraryPath runtimeLibs}" \ + --prefix PATH : "${lib.makeBinPath runtimePrograms}" \ + ''} \ + --prefix PATH : ${lib.makeBinPath jvms} + + runHook postInstall ''; meta = { homepage = "https://github.com/theorzr/portablemc"; - description = "Fast, reliable and cross-platform command-line Minecraft launcher and API for developers"; - longDescription = '' - A fast, reliable and cross-platform command-line Minecraft launcher and API for developers. - Including fast and easy installation of common mod loaders such as Fabric, Forge, NeoForge and Quilt. - This launcher is compatible with the standard Minecraft directories. - ''; + description = "Cross platform command line utility for launching Minecraft quickly and reliably with included support for Mojang versions and popular mod loaders"; changelog = "https://github.com/theorzr/portablemc/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Only; mainProgram = "portablemc"; diff --git a/pkgs/by-name/po/portablemc/use-builtin-java.patch b/pkgs/by-name/po/portablemc/use-builtin-java.patch deleted file mode 100644 index a88d97bae9b5..000000000000 --- a/pkgs/by-name/po/portablemc/use-builtin-java.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff --git a/portablemc/standard.py b/portablemc/standard.py -index f59c55d..0f017e1 100644 ---- a/portablemc/standard.py -+++ b/portablemc/standard.py -@@ -843,6 +843,8 @@ class Version: - if jvm_major_version is not None and not isinstance(jvm_major_version, int): - raise ValueError("metadata: /javaVersion/majorVersion must be an integer") - -+ return self._resolve_builtin_jvm(watcher, JvmNotFoundError.UNSUPPORTED_ARCH, jvm_major_version) -+ - if platform.system() == "Linux" and platform.libc_ver()[0] != "glibc": - return self._resolve_builtin_jvm(watcher, JvmNotFoundError.UNSUPPORTED_LIBC, jvm_major_version) - -@@ -926,31 +928,10 @@ class Version: - builtin_path = shutil.which(jvm_bin_filename) - if builtin_path is None: - raise JvmNotFoundError(reason) -- -- try: -- -- # Get version of the JVM. -- process = Popen([builtin_path, "-version"], bufsize=1, stdout=PIPE, stderr=STDOUT, universal_newlines=True) -- stdout, _stderr = process.communicate(timeout=1) -- -- version_start = stdout.index(f"1.{major_version}" if major_version <= 8 else str(major_version)) -- version = None -- -- # Parse version by getting all character that are numeric or '.'. -- for i, ch in enumerate(stdout[version_start:]): -- if not ch.isnumeric() and ch not in (".", "_"): -- version = stdout[version_start:i] -- break -- -- if version is None: -- raise ValueError() -- -- except (TimeoutExpired, ValueError): -- raise JvmNotFoundError(JvmNotFoundError.BUILTIN_INVALID_VERSION) - - self._jvm_path = Path(builtin_path) -- self._jvm_version = version -- watcher.handle(JvmLoadedEvent(version, JvmLoadedEvent.BUILTIN)) -+ self._jvm_version = "nixpkgs" -+ watcher.handle(JvmLoadedEvent("nixpkgs", JvmLoadedEvent.BUILTIN)) - - def _download(self, watcher: Watcher) -> None: - diff --git a/pkgs/by-name/pr/praat/package.nix b/pkgs/by-name/pr/praat/package.nix index 08b5e00ceef1..78ee87bb9771 100644 --- a/pkgs/by-name/pr/praat/package.nix +++ b/pkgs/by-name/pr/praat/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "praat"; - version = "6.4.63"; + version = "6.4.65"; src = fetchFromGitHub { owner = "praat"; repo = "praat.github.io"; tag = "v${finalAttrs.version}"; - hash = "sha256-96fw5WRk1/zex65hcRdmx0wq2FTVett3FRDPhmsZr6g="; + hash = "sha256-v4cAFLSJllrNgTm6ewR40HYvdi8a1bZcEBz/BTdFsxA="; }; strictDeps = true; @@ -44,9 +44,7 @@ stdenv.mkDerivation (finalAttrs: { configurePhase = '' runHook preConfigure - cp makefiles/makefile.defs.linux.pulse-gcc.${ - if stdenv.hostPlatform.isLittleEndian then "LE" else "BE" - } makefile.defs + cp makefiles/makefile.defs.linux.pulse-gcc makefile.defs runHook postConfigure ''; diff --git a/pkgs/by-name/qu/qui/package.nix b/pkgs/by-name/qu/qui/package.nix index a9b394da46d9..02ea8d115375 100644 --- a/pkgs/by-name/qu/qui/package.nix +++ b/pkgs/by-name/qu/qui/package.nix @@ -6,7 +6,7 @@ nixosTests, nix-update-script, nodejs, - pnpm_9, + pnpm_11, fetchPnpmDeps, pnpmConfigHook, typescript, @@ -14,12 +14,12 @@ }: buildGo126Module (finalAttrs: { pname = "qui"; - version = "1.18.0"; + version = "1.19.0"; src = fetchFromGitHub { owner = "autobrr"; repo = "qui"; tag = "v${finalAttrs.version}"; - hash = "sha256-Rdg8fcoUY7WrNXj+LZyMXx6hFo8+OGrCLjhE3JD1y4o="; + hash = "sha256-h6GmxwOxqh88Zy7tFD/GFQ8NrpBcanFPBXGUmfoIe3I="; }; qui-web = stdenvNoCC.mkDerivation (finalAttrs': { @@ -29,7 +29,7 @@ buildGo126Module (finalAttrs: { nativeBuildInputs = [ nodejs pnpmConfigHook - pnpm_9 + pnpm_11 typescript ]; @@ -42,9 +42,9 @@ buildGo126Module (finalAttrs: { src sourceRoot ; - pnpm = pnpm_9; + pnpm = pnpm_11; fetcherVersion = 3; - hash = "sha256-hCiIbVroyMhl2xT0WAGbmLSXfUH6RJHlC1g3isMlUJs="; + hash = "sha256-OEr5uyMnwP1TkSxRFNaopB9AAx2OVE7lNEzGyQwF6kc="; }; postBuild = '' @@ -56,7 +56,7 @@ buildGo126Module (finalAttrs: { ''; }); - vendorHash = "sha256-7MzKE3pBvoW/ajB6gHtBBS1M/NuQsRw3ZSNtCJzrEyI="; + vendorHash = "sha256-pkktl+0dBSbUuxZ1ycTV0HZl/wO79LtmNaamyZ+Z9lY="; preBuild = '' cp -r ${finalAttrs.qui-web}/* web/dist diff --git a/pkgs/by-name/qw/qwen-code/package.nix b/pkgs/by-name/qw/qwen-code/package.nix index f4c863b0d39c..50a1d4e02c9c 100644 --- a/pkgs/by-name/qw/qwen-code/package.nix +++ b/pkgs/by-name/qw/qwen-code/package.nix @@ -14,17 +14,17 @@ buildNpmPackage (finalAttrs: { pname = "qwen-code"; - version = "0.15.11"; + version = "0.16.0"; src = fetchFromGitHub { owner = "QwenLM"; repo = "qwen-code"; tag = "v${finalAttrs.version}"; - hash = "sha256-6ArEbnJOAKexoSy7Epis5OC8XYmmQpZPILtUEv4E0k4="; + hash = "sha256-XWhQ5GlAGW0WAyiPwBULLz1yQps2IdjVkusQ0a88tCs="; }; npmDepsFetcherVersion = 3; - npmDepsHash = "sha256-J/dvHeC38uiZKgB6mGAnlCbAKXdai/mMzdP1E1Pa6Yg="; + npmDepsHash = "sha256-dRc+hTk5ELw0rJhT71heFnLjTmjN1UpIOHUMXKt4YwU="; # npm 11 incompatible with fetchNpmDeps # https://github.com/NixOS/nixpkgs/issues/474535 diff --git a/pkgs/by-name/re/rerun/package.nix b/pkgs/by-name/re/rerun/package.nix index 92b7cfea5331..fb238781ef02 100644 --- a/pkgs/by-name/re/rerun/package.nix +++ b/pkgs/by-name/re/rerun/package.nix @@ -35,7 +35,7 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "rerun"; - version = "0.32.1"; + version = "0.32.2"; __structuredAttrs = true; strictDeps = true; @@ -49,7 +49,7 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "rerun-io"; repo = "rerun"; tag = finalAttrs.version; - hash = "sha256-WedZ5RZiin6jGx2aCe5obkkWJSnwzMoP4s+qQIyeq8Y="; + hash = "sha256-VVMogg0mWBoev9oE4CSbv2caTTpcfkReTWA1tJ2n7RI="; }; # The path in `build.rs` is wrong for some reason, so we patch it to make the passthru tests work @@ -58,7 +58,7 @@ rustPlatform.buildRustPackage (finalAttrs: { --replace-fail '"rerun_sdk/rerun_cli/rerun"' '"rerun_sdk/rerun"' ''; - cargoHash = "sha256-LkZA3wcDGIGSjRkjPY7YhjlfVqlGWAMc+qIfDLFZUTE="; + cargoHash = "sha256-6cL7pocqcMiw+D7R6LIcegP4tO9fUTgXQFG51n6rsU4="; cargoBuildFlags = [ "--package" diff --git a/pkgs/by-name/re/resterm/package.nix b/pkgs/by-name/re/resterm/package.nix index 3b4623833807..163e13a8899f 100644 --- a/pkgs/by-name/re/resterm/package.nix +++ b/pkgs/by-name/re/resterm/package.nix @@ -8,13 +8,13 @@ buildGoModule (finalAttrs: { pname = "resterm"; - version = "0.39.3"; + version = "0.39.5"; src = fetchFromGitHub { owner = "unkn0wn-root"; repo = "resterm"; tag = "v${finalAttrs.version}"; - hash = "sha256-t5A0kFqi2q0z7zBszrGvK54vQpZG948E8byL39UfL68="; + hash = "sha256-Qd7ocX2w2dDyoXvv5oaEqpLJYieBahjjkPMom4EVBss="; }; vendorHash = "sha256-AjckKD6NScBa8w9nWMdVExuNadz3vHnK854XXg3nj84="; diff --git a/pkgs/by-name/ro/roave-backward-compatibility-check/package.nix b/pkgs/by-name/ro/roave-backward-compatibility-check/package.nix index 92df6bc019d7..afd30beb1191 100644 --- a/pkgs/by-name/ro/roave-backward-compatibility-check/package.nix +++ b/pkgs/by-name/ro/roave-backward-compatibility-check/package.nix @@ -7,16 +7,16 @@ php.buildComposerProject2 (finalAttrs: { pname = "roave-backward-compatibility-check"; - version = "8.20.0"; + version = "8.21.0"; src = fetchFromGitHub { owner = "Roave"; repo = "BackwardCompatibilityCheck"; tag = finalAttrs.version; - hash = "sha256-skLTpDak2mgltZpDrNLQXw00omLW/xW5hBPNuX/noSc="; + hash = "sha256-kCs9lDvbhUacOH4bEAZjm2LzHSvJnVMR9lzmt00GgTw="; }; - vendorHash = "sha256-v8Wv5BK9r3zYst1P0AcpkYCcl0iBvWt+UL2+fEF8Ahw="; + vendorHash = "sha256-68KE/ieWYST/jQMaaK5lLqBLEmI4YhYPOE4XuXNMfqM="; nativeInstallCheckInputs = [ versionCheckHook diff --git a/pkgs/by-name/rt/rtk/package.nix b/pkgs/by-name/rt/rtk/package.nix index 239b12843bef..942cbf312e8c 100644 --- a/pkgs/by-name/rt/rtk/package.nix +++ b/pkgs/by-name/rt/rtk/package.nix @@ -12,17 +12,17 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "rtk"; - version = "0.40.0"; + version = "0.41.0"; __structuredAttrs = true; src = fetchFromGitHub { owner = "rtk-ai"; repo = "rtk"; tag = "v${finalAttrs.version}"; - hash = "sha256-xWHIOZRpSyyOPQe/db9dxoODcnheBlpXrnKET010vVg="; + hash = "sha256-C8ns53qLpBdb5osdX68UBGMqM2Rs5UJyfal/iDns6a4="; }; - cargoHash = "sha256-DJazpSx1FCt9pjFjqsoL3MLEQLdFvLwEj3UsP0aYHmc="; + cargoHash = "sha256-gDkXAiW8ajEpsEBb7KT9MO5fPEWyUqS+2ak34cipPdc="; nativeBuildInputs = [ makeWrapper diff --git a/pkgs/by-name/sa/samrewritten/package.nix b/pkgs/by-name/sa/samrewritten/package.nix index f282f60c539c..22c6dc8bfba5 100644 --- a/pkgs/by-name/sa/samrewritten/package.nix +++ b/pkgs/by-name/sa/samrewritten/package.nix @@ -15,16 +15,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "samrewritten"; - version = "1.2.3"; + version = "1.3.4"; src = fetchFromGitHub { owner = "PaulCombal"; repo = "SamRewritten"; tag = "v${finalAttrs.version}"; - hash = "sha256-UHq09i0f7tLgAMIEA+GrLqKxzdsFmUrp3iIGAM+MXJ0="; + hash = "sha256-5SXek64kccyUs+vSyA8QCX+UpRSm0aDEZwULYZgmIUw="; }; - cargoHash = "sha256-jPCF+wIb+DESph5dtF80NV7ydxWm09BQyf4eO2BKmNI="; + cargoHash = "sha256-sL6kIkYWnD7QKw/RGMDS9ZZK/LcKtYjFr5pQ6758IuQ="; # Tests require network access and a running Steam client. Skipping. doCheck = false; diff --git a/pkgs/by-name/sh/sherpa-onnx/package.nix b/pkgs/by-name/sh/sherpa-onnx/package.nix index b09d89265c8b..bc584ff8a08f 100644 --- a/pkgs/by-name/sh/sherpa-onnx/package.nix +++ b/pkgs/by-name/sh/sherpa-onnx/package.nix @@ -191,6 +191,10 @@ stdenv.mkDerivation (finalAttrs: { doCheck = true; + preCheck = lib.optionalString stdenv.hostPlatform.isDarwin '' + export DYLD_FALLBACK_LIBRARY_PATH=${lib.getLib onnxruntime}/lib + ''; + # Use ctest directly because the default `make check` target includes clang-tidy. checkPhase = '' runHook preCheck @@ -202,6 +206,10 @@ stdenv.mkDerivation (finalAttrs: { mkdir -p $python cp -r ../sherpa-onnx/python/sherpa_onnx $python/ rm $out/lib/_sherpa_onnx*.so + ${lib.optionalString stdenv.hostPlatform.isDarwin '' + install_name_tool -add_rpath ${lib.getLib onnxruntime}/lib \ + $python/sherpa_onnx/lib/_sherpa_onnx*.so + ''} ''; passthru = { diff --git a/pkgs/by-name/sk/skills/package.nix b/pkgs/by-name/sk/skills/package.nix index 9a8cabd2aa40..a291a5a570e7 100644 --- a/pkgs/by-name/sk/skills/package.nix +++ b/pkgs/by-name/sk/skills/package.nix @@ -14,20 +14,20 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "skills"; - version = "1.5.1"; + version = "1.5.7"; src = fetchFromGitHub { owner = "vercel-labs"; repo = "skills"; tag = "v${finalAttrs.version}"; - hash = "sha256-JVJeottMyjxdiGPS7O4QsshKdbwbYcKMvwe/PB7I/Zw="; + hash = "sha256-Dzp0Gx+EcO7daxLTZ0QpMu4EEYdDWWEE8b5RF4Fv9QM="; }; pnpmDeps = fetchPnpmDeps { fetcherVersion = 3; inherit (finalAttrs) pname version src; inherit pnpm; - hash = "sha256-0CS6BTjTj/TAnMNahTk4Vt/0/2eMxmCGUV9PwI8l4Ao="; + hash = "sha256-3GSa4ze859dRA4Yrxw8r3rwZKn7FMSjBMvpz1HTDobU="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/sn/snakemake/package.nix b/pkgs/by-name/sn/snakemake/package.nix index 3182e82095b8..dedcaab6cfbd 100644 --- a/pkgs/by-name/sn/snakemake/package.nix +++ b/pkgs/by-name/sn/snakemake/package.nix @@ -6,18 +6,20 @@ stress, versionCheckHook, writableTmpDirAsHomeHook, + snakemake, }: python3Packages.buildPythonApplication (finalAttrs: { pname = "snakemake"; - version = "9.16.3"; + version = "9.21.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake"; tag = "v${finalAttrs.version}"; - hash = "sha256-+eEzpRY6ZEKB3v1/AkHDg4bOcM2Y6pt4UMrdKF6soac="; + hash = "sha256-+EO+BTMkui0mJvEf0TOaCRBH8MzLsit8xK+71gujHt0="; }; postPatch = '' @@ -33,6 +35,10 @@ python3Packages.buildPythonApplication (finalAttrs: { build-system = with python3Packages; [ setuptools-scm ]; + pythonRelaxDeps = [ + "packaging" + "sqlmodel" + ]; dependencies = with python3Packages; [ appdirs conda-inject @@ -53,20 +59,24 @@ python3Packages.buildPythonApplication (finalAttrs: { requests reretry smart-open - snakemake-interface-executor-plugins snakemake-interface-common + snakemake-interface-executor-plugins snakemake-interface-logger-plugins - snakemake-interface-storage-plugins snakemake-interface-report-plugins snakemake-interface-scheduler-plugins + snakemake-interface-storage-plugins + sqlmodel stopit tabulate + tenacity throttler toposort wrapt yte ]; + pythonImportsCheck = [ "snakemake" ]; + # See # https://github.com/snakemake/snakemake/blob/main/.github/workflows/main.yml#L99 # for the current basic test suite. Slurm, Tibanna and Tes require extra @@ -81,11 +91,15 @@ python3Packages.buildPythonApplication (finalAttrs: { requests-mock snakemake-executor-plugin-cluster-generic snakemake-storage-plugin-fs + snakemake-storage-plugin-http + snakemake-storage-plugin-s3 stress - versionCheckHook polars ]) - ++ [ writableTmpDirAsHomeHook ]; + ++ [ + versionCheckHook + writableTmpDirAsHomeHook + ]; enabledTestPaths = [ "tests/tests.py" @@ -97,6 +111,9 @@ python3Packages.buildPythonApplication (finalAttrs: { ]; disabledTests = [ + # AssertionError: expected file "onerror_module2.log" not produced + "test_module_onerror" + # FAILED tests/tests.py::test_env_modules - AssertionError: expected successful execution "test_ancient" "test_conda_create_envs_only" @@ -119,13 +136,6 @@ python3Packages.buildPythonApplication (finalAttrs: { "test_issue1256" "test_issue2574" - # Require `snakemake-storage-plugin-fs` (circular dependency) - "test_default_storage" - "test_default_storage_local_job" - "test_deploy_sources" - "test_output_file_cache_storage" - "test_storage" - # Tries to access internet "test_report_after_run" @@ -136,10 +146,6 @@ python3Packages.buildPythonApplication (finalAttrs: { # Needs unshare "test_nodelocal" - # Requires snakemake-storage-plugin-http - "test_keep_local" - "test_retrieve" - # Requires conda "test_jupyter_notebook" "test_jupyter_notebook_nbconvert" @@ -179,7 +185,11 @@ python3Packages.buildPythonApplication (finalAttrs: { "test_issue1331" ]; - pythonImportsCheck = [ "snakemake" ]; + # Circular dependencies + doCheck = false; + passthru.tests.pytest = snakemake.overridePythonAttrs { + doCheck = true; + }; meta = { homepage = "https://snakemake.github.io"; diff --git a/pkgs/by-name/sn/sngrep/fix-sng_strncpy-declaration.patch b/pkgs/by-name/sn/sngrep/fix-sng_strncpy-declaration.patch new file mode 100644 index 000000000000..5f2aa4d573f6 --- /dev/null +++ b/pkgs/by-name/sn/sngrep/fix-sng_strncpy-declaration.patch @@ -0,0 +1,15 @@ +--- a/src/util.h ++++ b/src/util.h +@@ -58,6 +58,12 @@ + char * + sng_basename(const char *name); + ++/** ++ * @brief Wrapper for strncpy ++ */ ++char * ++sng_strncpy(char *dst, const char *src, size_t len); ++ + /** + * @brief Compare two timeval structures + * diff --git a/pkgs/by-name/sn/sngrep/package.nix b/pkgs/by-name/sn/sngrep/package.nix index 67eb2b6ff149..a0033a48bfa5 100644 --- a/pkgs/by-name/sn/sngrep/package.nix +++ b/pkgs/by-name/sn/sngrep/package.nix @@ -4,32 +4,35 @@ autoconf, automake, fetchFromGitHub, + libgcrypt, libpcap, ncurses, openssl, pcre, + pkg-config, }: stdenv.mkDerivation (finalAttrs: { pname = "sngrep"; - version = "1.8.2"; + version = "1.8.3"; src = fetchFromGitHub { owner = "irontec"; repo = "sngrep"; rev = "v${finalAttrs.version}"; - sha256 = "sha256-nvuT//FWJAa6DzmjBsBW9s2p1M+6Zs4cVmpK4dVemnE="; + hash = "sha256-4DLbQ3OOMvJw37n3jVuztG49HlPbWrfxByi6g6AvELQ="; }; nativeBuildInputs = [ autoconf automake + pkg-config ]; buildInputs = [ + libgcrypt libpcap ncurses - ncurses openssl pcre ]; @@ -42,6 +45,10 @@ stdenv.mkDerivation (finalAttrs: { "--with-openssl" ]; + patches = [ + ./fix-sng_strncpy-declaration.patch + ]; + preConfigure = '' ./bootstrap.sh ''; diff --git a/pkgs/by-name/so/solanum/package.nix b/pkgs/by-name/so/solanum/package.nix index d001db6151cd..cb0e89a330c8 100644 --- a/pkgs/by-name/so/solanum/package.nix +++ b/pkgs/by-name/so/solanum/package.nix @@ -26,13 +26,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "solanum"; - version = "0-unstable-2026-05-13"; + version = "0-unstable-2026-05-23"; src = fetchFromGitHub { owner = "solanum-ircd"; repo = "solanum"; - rev = "8cbf75cc728f99224fe0f2fa86689db07a317ea9"; - hash = "sha256-6+EkYOgiQo6mD7O7Id74WTRJ4FtBie1/i+SBj+g7su8="; + rev = "dfe6757a577109d2180465da6270b5a6bc08f8d7"; + hash = "sha256-ngg/0HPZeCYodIWt8p9zpCj6hQMiVoc9E2cm/87eE8k="; }; postPatch = '' diff --git a/pkgs/by-name/sp/speedify/package.nix b/pkgs/by-name/sp/speedify/package.nix index 9d83ca8c86fd..592d86ada965 100644 --- a/pkgs/by-name/sp/speedify/package.nix +++ b/pkgs/by-name/sp/speedify/package.nix @@ -3,17 +3,18 @@ stdenv, dpkg, fetchurl, - procps, - net-tools, + libgcc, + libnetfilter_conntrack, autoPatchelfHook, }: stdenv.mkDerivation (finalAttrs: { pname = "speedify"; - version = "15.8.2-12611"; + # Find latest version within https://apt.connectify.me/dists/speedify/main/binary-amd64/Packages.gz + version = "16.7.0-12928"; src = fetchurl { url = "https://apt.connectify.me/pool/main/s/speedify/speedify_${finalAttrs.version}_amd64.deb"; - hash = "sha256-61GQZkXBe3EQpOUODpL60SCHJO0FGqvpL9xFn+q+kPs="; + hash = "sha256-A77LYBGLAgoRFV64/ZmpTL76NQx6xHq0a7leDYi9Izg="; }; nativeBuildInputs = [ @@ -22,8 +23,8 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ - procps - net-tools + libgcc + libnetfilter_conntrack ]; installPhase = '' diff --git a/pkgs/by-name/sp/speedtest-tracker/package.nix b/pkgs/by-name/sp/speedtest-tracker/package.nix index e27192d78402..a70114b31142 100644 --- a/pkgs/by-name/sp/speedtest-tracker/package.nix +++ b/pkgs/by-name/sp/speedtest-tracker/package.nix @@ -12,13 +12,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "speedtest-tracker"; - version = "1.13.10"; + version = "1.14.1"; src = fetchFromGitHub { owner = "alexjustesen"; repo = "speedtest-tracker"; tag = "v${finalAttrs.version}"; - hash = "sha256-X/ShdTGAb7qPqYlZ71rxGzAetPRexlaDQ4AYvwouddc="; + hash = "sha256-YI/LHTynR9AiC1MhXdO788imIUB/XndXozIepXkeuyc="; }; buildInputs = [ php84 ]; @@ -35,13 +35,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { composerNoScripts = true; composerStrictValidation = false; strictDeps = true; - vendorHash = "sha256-fS0Wstv6uHOE5WaDWSL4nbgpHCLM442zmPoER7ZRhfg="; + vendorHash = "sha256-Xu8Zsz5FkXiyotOZRwA9KPMHapMThmQQdVdanRGzaJc="; }; npmDeps = fetchNpmDeps { inherit (finalAttrs) src; name = "${finalAttrs.pname}-npm-deps"; - hash = "sha256-qWBVonPKqyB6OrDkR1ihtVac/b0Qd++Q/W4nk/VPm9E="; + hash = "sha256-Ys3hCLLjoIrno9ztSh/m2xz1HiTn20g3Vu/Pnymy/Fc="; }; preInstall = '' diff --git a/pkgs/by-name/st/starlark/package.nix b/pkgs/by-name/st/starlark/package.nix index 7f4f4d885785..57ca8a24f0a1 100644 --- a/pkgs/by-name/st/starlark/package.nix +++ b/pkgs/by-name/st/starlark/package.nix @@ -6,13 +6,13 @@ }: buildGoModule { pname = "starlark"; - version = "0-unstable-2026-03-26"; + version = "0-unstable-2026-05-22"; src = fetchFromGitHub { owner = "google"; repo = "starlark-go"; - rev = "fadfc96def35ea95e7f2bd9952256d4db1d80d91"; - hash = "sha256-t+7QUORMlRCA1lLhekPrR3ag7hmX++DrSOBQunTMLFM="; + rev = "ec58d4b459e2866ed51124596d888ed7aa4f90b8"; + hash = "sha256-9H0TIp2CIGo5Rqld9Xvsg/uQmfswiUzSsu7vwazjcho="; }; vendorHash = "sha256-Ejw5f5ulEcLHm4WYKatwA7FZ9lfdqZTOE3SdkaK6jYE="; diff --git a/pkgs/by-name/st/streamcontroller/package.nix b/pkgs/by-name/st/streamcontroller/package.nix index 14a47105110d..c61531459adc 100644 --- a/pkgs/by-name/st/streamcontroller/package.nix +++ b/pkgs/by-name/st/streamcontroller/package.nix @@ -18,19 +18,19 @@ }: let # We have to hardcode revision because upstream often create multiple releases for the same version number. - # This is the commit hash that maps to 1.5.0-beta.13 released on 2025-12-30 - rev = "359de976eb23120d6e6a2d31104e15b37d1edfeb"; + # This is the commit hash that maps to 1.5.0-beta.14 released on 2026-5-21 + rev = "12052dec15d0e0948032c7ec11eff2da0d109106"; in stdenv.mkDerivation { pname = "streamcontroller"; - version = "1.5.0-beta.13"; + version = "1.5.0-beta.14"; src = fetchFromGitHub { repo = "StreamController"; owner = "StreamController"; inherit rev; - hash = "sha256-b5tRhXEQGRhaJd1Q/hlmqUTO+0F+3+lziYSi8QpUa9c="; + hash = "sha256-JGJc7bj58oZwvtExSv+tv7Ug84RYdEkcMBI3ZmqpaKY="; }; # The installation method documented upstream @@ -200,7 +200,7 @@ stdenv.mkDerivation { meta = { description = "Elegant Linux app for the Elgato Stream Deck with support for plugins"; - homepage = "https://core447.com/"; + homepage = "https://streamcontroller.core447.com/"; license = lib.licenses.gpl3; mainProgram = "streamcontroller"; maintainers = with lib.maintainers; [ sifmelcara ]; diff --git a/pkgs/by-name/ty/typesetter/package.nix b/pkgs/by-name/ty/typesetter/package.nix index 6b637623a864..05e449d16f92 100644 --- a/pkgs/by-name/ty/typesetter/package.nix +++ b/pkgs/by-name/ty/typesetter/package.nix @@ -30,19 +30,19 @@ stdenv.mkDerivation (finalAttrs: { pname = "typesetter"; - version = "0.12.6"; + version = "0.13.1"; __structuredAttrs = true; src = fetchFromCodeberg { owner = "haydn"; repo = "typesetter"; tag = "v${finalAttrs.version}"; - hash = "sha256-BN/gxJzJ2rjSztVWCid8y9NiHCqMVSQIW4b6VmjJGTo="; + hash = "sha256-emYFnPfDdip3ELCf7JC2+mZna8d2K2Xk3HsiF4x/nJg="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-6GM3c4Pq/U5dvpR8R/d78nwoWfbUQTwhjlCOhN5UG0s="; + hash = "sha256-zBchG/uLvImV2UGD1TNdowrYO0yiSpzblwF4AvUzZl4="; }; strictDeps = true; diff --git a/pkgs/by-name/u-/u-root-cmds/package.nix b/pkgs/by-name/u-/u-root-cmds/package.nix index 946f0ffe1b6e..e5d0053929fa 100644 --- a/pkgs/by-name/u-/u-root-cmds/package.nix +++ b/pkgs/by-name/u-/u-root-cmds/package.nix @@ -14,6 +14,7 @@ u-root.overrideAttrs (prevAttrs: { "cmds/core/backoff" "cmds/core/base64" "cmds/core/basename" + "cmds/core/bind" "cmds/core/blkid" "cmds/core/brctl" "cmds/core/cat" @@ -57,6 +58,7 @@ u-root.overrideAttrs (prevAttrs: { "cmds/core/losetup" "cmds/core/ls" "cmds/core/lsdrivers" + "cmds/core/lsfd" "cmds/core/lsmod" "cmds/core/man" "cmds/core/md5sum" @@ -73,6 +75,7 @@ u-root.overrideAttrs (prevAttrs: { "cmds/core/nohup" "cmds/core/ntpdate" "cmds/core/pci" + "cmds/core/pidof" "cmds/core/ping" "cmds/core/poweroff" "cmds/core/printenv" @@ -106,12 +109,14 @@ u-root.overrideAttrs (prevAttrs: { "cmds/core/true" "cmds/core/truncate" "cmds/core/ts" + "cmds/core/tsort" "cmds/core/tty" "cmds/core/umount" "cmds/core/uname" "cmds/core/uniq" "cmds/core/unmount" "cmds/core/unshare" + "cmds/core/update-rc.d" "cmds/core/uptime" "cmds/core/watchdog" "cmds/core/watchdogd" @@ -126,6 +131,7 @@ u-root.overrideAttrs (prevAttrs: { "cmds/exp/bootvars" "cmds/exp/bzimage" "cmds/exp/cbmem" + "cmds/exp/cmd2pkg" "cmds/exp/console" "cmds/exp/crc" "cmds/exp/disk_unlock" @@ -163,6 +169,7 @@ u-root.overrideAttrs (prevAttrs: { "cmds/exp/readpe" "cmds/exp/run" "cmds/exp/rush" + "cmds/exp/serial" "cmds/exp/smbios_transfer" "cmds/exp/smn" "cmds/exp/srvfiles" @@ -174,6 +181,7 @@ u-root.overrideAttrs (prevAttrs: { "cmds/exp/tcpdump" "cmds/exp/tcz" "cmds/exp/tftp" + "cmds/exp/tftpd" "cmds/exp/traceroute" "cmds/exp/uefiboot" "cmds/exp/vboot" diff --git a/pkgs/by-name/up/updatecli/package.nix b/pkgs/by-name/up/updatecli/package.nix index ccba32226c20..45243ebb97de 100644 --- a/pkgs/by-name/up/updatecli/package.nix +++ b/pkgs/by-name/up/updatecli/package.nix @@ -12,16 +12,17 @@ buildGoModule (finalAttrs: { pname = "updatecli"; - version = "0.116.3"; + version = "0.117.0"; src = fetchFromGitHub { owner = "updatecli"; repo = "updatecli"; rev = "v${finalAttrs.version}"; - hash = "sha256-5dJfbw0xoB34XuCym/TcqwdeUORZezfJNu7Plt82VPM="; + hash = "sha256-9nA+sOlcIm5Try0oag1Oz/ALPDaMag0jZKzHrS0Brf8="; }; - vendorHash = "sha256-cMXepPUJoJGRlQSRSByA2/pjsQXfyH8Va320CywxxDw="; + proxyVendor = true; + vendorHash = "sha256-8WPwZjoDbRDi1IbjdZ40796JA5PRh8T75wRlWgTF7dI="; # tests require network access doCheck = false; diff --git a/pkgs/by-name/uv/uv/package.nix b/pkgs/by-name/uv/uv/package.nix index dca877c6060e..a754b34d8058 100644 --- a/pkgs/by-name/uv/uv/package.nix +++ b/pkgs/by-name/uv/uv/package.nix @@ -18,17 +18,17 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "uv"; - version = "0.11.15"; + version = "0.11.16"; __structuredAttrs = true; src = fetchFromGitHub { owner = "astral-sh"; repo = "uv"; tag = finalAttrs.version; - hash = "sha256-Nwf7DSxXG5F515LW19q+2VpXtdVLUWx2sMQr35lvsgk="; + hash = "sha256-5LJspcHj/RjOMv7eRB7n+tofX4s51M3kqHCPymCg90A="; }; - cargoHash = "sha256-PWkDAl6jkpZBz19mz4ZQmiA/RvgFC0KOftXQtZ0SFdk="; + cargoHash = "sha256-2lg86WxPGVbJ91zi61lKrSqnzFgmmSrBrl+SfV5SJWU="; buildInputs = [ rust-jemalloc-sys diff --git a/pkgs/by-name/wc/wcslib/package.nix b/pkgs/by-name/wc/wcslib/package.nix index a56265119a1f..34cd40987cb3 100644 --- a/pkgs/by-name/wc/wcslib/package.nix +++ b/pkgs/by-name/wc/wcslib/package.nix @@ -7,11 +7,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "wcslib"; - version = "8.7"; + version = "8.8"; src = fetchurl { url = "ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-${finalAttrs.version}.tar.bz2"; - hash = "sha256-eS/gXAlURDOppOpUgPrNvsLabSgFgnW16QBqHyjFZGU="; + hash = "sha256-3NW5UuaAFtDiRZ4fD5hmND54uTljXbZEKfz0eOHqS/w="; }; # error: call to undeclared library function 'snprintf' diff --git a/pkgs/by-name/wg/wgsl-analyzer/package.nix b/pkgs/by-name/wg/wgsl-analyzer/package.nix index 14872174f4b7..9c670bbd998f 100644 --- a/pkgs/by-name/wg/wgsl-analyzer/package.nix +++ b/pkgs/by-name/wg/wgsl-analyzer/package.nix @@ -7,16 +7,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "wgsl-analyzer"; - version = "2026-03-13"; + version = "2026-04-26"; src = fetchFromGitHub { owner = "wgsl-analyzer"; repo = "wgsl-analyzer"; tag = finalAttrs.version; - hash = "sha256-a1H/QJhLdBiwjqiG3icsKrSMz079yBjdBKffGANgdTQ="; + hash = "sha256-OmXuUqkoLYs4R6Bb0oguiC3oG0C+F0Vy3X8DTNnlFYU="; }; - cargoHash = "sha256-UM8oEg8gpsq9lnoDpeArGTl36EE7Tn6YMHXEIagVGvI="; + cargoHash = "sha256-fWgpzuo9+VfG3/mf2Bpfc9ZuzpL9Cap0BkXLyuBaq+s="; checkFlags = [ # Imports failures diff --git a/pkgs/by-name/wh/whatsapp-for-mac/package.nix b/pkgs/by-name/wh/whatsapp-for-mac/package.nix index d9cef26bc0db..afb42a53d69e 100644 --- a/pkgs/by-name/wh/whatsapp-for-mac/package.nix +++ b/pkgs/by-name/wh/whatsapp-for-mac/package.nix @@ -10,13 +10,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "whatsapp-for-mac"; - version = "2.26.10.18"; + version = "2.26.19.17"; src = fetchzip { extension = "zip"; name = "WhatsApp.app"; url = "https://web.whatsapp.com/desktop/mac_native/release/?version=${finalAttrs.version}&extension=zip&configuration=Release&branch=master"; - hash = "sha256-cQB2AF/emNHtSpf1DrjCV+yds8kbD2Lv9UTkAo7CZlM="; + hash = "sha256-jR8Hi4IWSfPvCthe/zH6mACQYQsGLcBmj2m8vwXX8Do="; }; dontConfigure = true; diff --git a/pkgs/by-name/xq/xqilla/package.nix b/pkgs/by-name/xq/xqilla/package.nix index a76ccea14a00..15df00cf7510 100644 --- a/pkgs/by-name/xq/xqilla/package.nix +++ b/pkgs/by-name/xq/xqilla/package.nix @@ -12,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "mirror://sourceforge/xqilla/XQilla-${finalAttrs.version}.tar.gz"; - sha256 = "0m9z7diw7pdyb4qycbqyr2x55s13v8310xsi7yz0inpw27q4vzdd"; + hash = "sha256-KSYxeRYx/i5+uXJzdzNQY6SPEmEdZB0Clml+DAdZAus="; }; patches = [ @@ -29,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: { "CXXFLAGS=-std=c++14" ]; + enableParallelBuilding = true; + buildInputs = [ xercesc ]; diff --git a/pkgs/by-name/xr/xrootd/package.nix b/pkgs/by-name/xr/xrootd/package.nix index 4ad8f2d7951e..626f6f5edc77 100644 --- a/pkgs/by-name/xr/xrootd/package.nix +++ b/pkgs/by-name/xr/xrootd/package.nix @@ -158,5 +158,6 @@ stdenv.mkDerivation (finalAttrs: { license = lib.licenses.lgpl3Plus; platforms = lib.platforms.all; maintainers = with lib.maintainers; [ ShamrockLee ]; + mainProgram = "xrootd"; }; }) diff --git a/pkgs/development/octave-modules/datatypes/default.nix b/pkgs/development/octave-modules/datatypes/default.nix index 4bdeb14888d4..59ad7b8388b0 100644 --- a/pkgs/development/octave-modules/datatypes/default.nix +++ b/pkgs/development/octave-modules/datatypes/default.nix @@ -7,13 +7,13 @@ buildOctavePackage rec { pname = "datatypes"; - version = "1.2.2"; + version = "1.2.3"; src = fetchFromGitHub { owner = "pr0m1th3as"; repo = "datatypes"; tag = "release-${version}"; - sha256 = "sha256-qgFYyRMrdWhbHBvOEsDAetpllr5yyhtoEB+7Ri6zbSI="; + sha256 = "sha256-WyuL1xDRw4QPouJbJ8op8mh2fLOBfPLUnp4syKmyYLE="; }; passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=release-(.*)" ]; }; diff --git a/pkgs/development/python-modules/aioamazondevices/default.nix b/pkgs/development/python-modules/aioamazondevices/default.nix index 5aebb9f9f0fb..2996f102ad2a 100644 --- a/pkgs/development/python-modules/aioamazondevices/default.nix +++ b/pkgs/development/python-modules/aioamazondevices/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "aioamazondevices"; - version = "13.5.0"; + version = "13.7.2"; pyproject = true; src = fetchFromGitHub { owner = "chemelli74"; repo = "aioamazondevices"; tag = "v${version}"; - hash = "sha256-+71t47H4/idWeef8Nf+4TVHB0xEe5mWCQ271ECm3jOg="; + hash = "sha256-j2xlCI3i+IszpDfOcUiN6yPsMzEQBUwB8Lq6c6Y/QPo="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/aiolyric/default.nix b/pkgs/development/python-modules/aiolyric/default.nix index 316e1f3aed84..df2a318f6ac2 100644 --- a/pkgs/development/python-modules/aiolyric/default.nix +++ b/pkgs/development/python-modules/aiolyric/default.nix @@ -4,7 +4,7 @@ aioresponses, buildPythonPackage, fetchFromGitHub, - incremental, + packaging, pytest-asyncio, pytestCheckHook, setuptools, @@ -12,24 +12,27 @@ buildPythonPackage (finalAttrs: { pname = "aiolyric"; - version = "2.1.0"; + version = "2.1.1"; pyproject = true; src = fetchFromGitHub { owner = "timmo001"; repo = "aiolyric"; tag = finalAttrs.version; - hash = "sha256-kLsq1pBRWz49DZgX47k132OipDcfn+kby6/GYDL3pPc="; + hash = "sha256-+OYMe63sX5TtvJpNn6dzvnephlhS/MyFXmUerYZqF5A="; }; build-system = [ - incremental setuptools ]; + pythonRelaxDeps = [ + "packaging" + ]; + dependencies = [ aiohttp - incremental + packaging ]; nativeCheckInputs = [ diff --git a/pkgs/development/python-modules/ansible/core.nix b/pkgs/development/python-modules/ansible/core.nix index eb3dcf16e611..c812c039ed9f 100644 --- a/pkgs/development/python-modules/ansible/core.nix +++ b/pkgs/development/python-modules/ansible/core.nix @@ -32,7 +32,7 @@ buildPythonPackage (finalAttrs: { pname = "ansible-core"; - version = "2.20.5"; + version = "2.21.0"; pyproject = true; disabled = pythonOlder "3.12"; @@ -41,7 +41,7 @@ buildPythonPackage (finalAttrs: { owner = "ansible"; repo = "ansible"; tag = "v${finalAttrs.version}"; - hash = "sha256-AU6LTKqtBMW2s+0a0HsMrkXDqaWbcEqbtG3dp/5bQOA="; + hash = "sha256-I0XEEGyTMQMpGTApbzVzHRuRAALl+C28GfpW4CeeTIA="; }; postPatch = '' diff --git a/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix b/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix index f98d7eef34a1..dc1e286405f8 100644 --- a/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-cognitiveservices/default.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "azure-mgmt-cognitiveservices"; - version = "14.1.0"; + version = "15.0.0b1"; pyproject = true; src = fetchPypi { pname = "azure_mgmt_cognitiveservices"; inherit version; - hash = "sha256-kVGRN00K20Q4Y8IKrqLJ87nVWKhJrCt48VIkkmL9yvg="; + hash = "sha256-3ydbAI1IkiIuwnQbd6829kZv9IgFkqTFwG155l58JFQ="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/azure-mgmt-containerservice/default.nix b/pkgs/development/python-modules/azure-mgmt-containerservice/default.nix index c6e36e97f98a..c688420e3ce8 100644 --- a/pkgs/development/python-modules/azure-mgmt-containerservice/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-containerservice/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "azure-mgmt-containerservice"; - version = "41.0.0"; + version = "41.1.0"; pyproject = true; src = fetchPypi { pname = "azure_mgmt_containerservice"; inherit version; - hash = "sha256-mDDQpCcwYJyXoTOpE+LK/70WPU0/8xWvw6dnKCIqP2E="; + hash = "sha256-fssuY+hzZgEv2nwT02uv9qKqWZ/GeSUqKWB2M+0YbKg="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/bayesian-optimization/default.nix b/pkgs/development/python-modules/bayesian-optimization/default.nix index 555652ea68db..5e718d05d23f 100644 --- a/pkgs/development/python-modules/bayesian-optimization/default.nix +++ b/pkgs/development/python-modules/bayesian-optimization/default.nix @@ -24,14 +24,14 @@ buildPythonPackage rec { pname = "bayesian-optimization"; - version = "3.2.1"; + version = "3.2.2"; pyproject = true; src = fetchFromGitHub { owner = "bayesian-optimization"; repo = "BayesianOptimization"; tag = "v${version}"; - hash = "sha256-pTtwuBQUdVsi98nndEyY9mawGiTwjgiD05EsQwQFiPo="; + hash = "sha256-w1L4W99OaNknFtdsdkjJXsdOCmjtYvOG7Iy9z9EXFf0="; }; postPatch = '' diff --git a/pkgs/development/python-modules/cadwyn/default.nix b/pkgs/development/python-modules/cadwyn/default.nix index 48146c35e02f..05b665315500 100644 --- a/pkgs/development/python-modules/cadwyn/default.nix +++ b/pkgs/development/python-modules/cadwyn/default.nix @@ -27,14 +27,14 @@ buildPythonPackage (finalAttrs: { pname = "cadwyn"; - version = "6.2.0"; + version = "6.2.2"; pyproject = true; src = fetchFromGitHub { owner = "zmievsa"; repo = "cadwyn"; tag = finalAttrs.version; - hash = "sha256-vkW3ZSIRuIDVQCHMsZrBEs+VBW55kn0dE2nMXqL5XmU="; + hash = "sha256-IM/7IF3zQHaJWlMmG3el9x4/BOFTXYUmJq4gRLP4gVs="; }; disabled = pythonAtLeast "3.14"; diff --git a/pkgs/development/python-modules/clickhouse-cityhash/default.nix b/pkgs/development/python-modules/clickhouse-cityhash/default.nix index a34f16c53378..8af68b4ae28c 100644 --- a/pkgs/development/python-modules/clickhouse-cityhash/default.nix +++ b/pkgs/development/python-modules/clickhouse-cityhash/default.nix @@ -32,6 +32,11 @@ buildPythonPackage rec { }) ]; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "Cython>=3.0,<3.1" "Cython>=3.0" + ''; + doCheck = false; pythonImportsCheck = [ "clickhouse_cityhash" ]; @@ -39,7 +44,7 @@ buildPythonPackage rec { meta = { description = "Python-bindings for CityHash, a fast non-cryptographic hash algorithm"; homepage = "https://github.com/xzkostyan/python-cityhash"; - license = lib.licenses.upl; + license = lib.licenses.mit; maintainers = with lib.maintainers; [ breakds ]; }; } diff --git a/pkgs/development/python-modules/django-mailman3/default.nix b/pkgs/development/python-modules/django-mailman3/default.nix index 467867a3cead..f6099fb25799 100644 --- a/pkgs/development/python-modules/django-mailman3/default.nix +++ b/pkgs/development/python-modules/django-mailman3/default.nix @@ -41,6 +41,18 @@ buildPythonPackage rec { ]; hash = "sha256-gSFczuNLlMclqixOu6ElS0BewUTGyhP6RXtE/waLzyo="; }) + + (fetchpatch { + # Only needed so the next one applies. + name = "allauth-64-1.patch"; + url = "https://gitlab.com/mailman/django-mailman3/-/commit/96f3f3bf0c718395ccd1b0d539a40d627522a9c4.patch"; + hash = "sha256-xgQu70DkbPz+ULRFgKeJTbx/Tq2PLEyGgrncf26ChA4="; + }) + (fetchpatch { + name = "allauth-64-2.patch"; + url = "https://gitlab.com/mailman/django-mailman3/-/commit/cfdacb9195ce266e5ae23307b31304898369f696.patch"; + hash = "sha256-6mwGSw31Q0+APwdGFe0JE0gBigdo453HZZ6JApqgtTE="; + }) ]; pythonRelaxDeps = [ "django-allauth" ]; @@ -77,7 +89,6 @@ buildPythonPackage rec { homepage = "https://gitlab.com/mailman/django-mailman3"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ qyliss ]; - broken = - lib.versionAtLeast django-allauth.version "65.0.0" || lib.versionAtLeast django.version "5.3"; + broken = lib.versionAtLeast django.version "5.3"; }; } diff --git a/pkgs/development/python-modules/duct-py/default.nix b/pkgs/development/python-modules/duct-py/default.nix index 27da99cb6319..3bb63cd26ae9 100644 --- a/pkgs/development/python-modules/duct-py/default.nix +++ b/pkgs/development/python-modules/duct-py/default.nix @@ -2,13 +2,15 @@ lib, buildPythonPackage, fetchFromGitHub, + hatchling, pytestCheckHook, + ps, }: buildPythonPackage rec { pname = "duct-py"; version = "1.0.1"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "oconnor663"; @@ -17,9 +19,14 @@ buildPythonPackage rec { hash = "sha256-i811nQB8CVJPYPR0Jdzpk64EXxrTMDIBpdDoUs9Xu/k="; }; + build-system = [ hatchling ]; + pythonImportsCheck = [ "duct" ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ps + ]; disabledTests = [ # This test completely empties the environment then tries to run a Python command. diff --git a/pkgs/development/python-modules/flufl/lock.nix b/pkgs/development/python-modules/flufl/lock.nix index 8f0a68f996d2..0cf5218ddfbc 100644 --- a/pkgs/development/python-modules/flufl/lock.nix +++ b/pkgs/development/python-modules/flufl/lock.nix @@ -12,13 +12,13 @@ buildPythonPackage rec { pname = "flufl-lock"; - version = "8.2.0"; + version = "9.1.0"; pyproject = true; src = fetchPypi { pname = "flufl_lock"; inherit version; - hash = "sha256-FbMzw1+rGjayI4QAVyWK60zXnw+6+CwUTyPN9s8U1eM="; + hash = "sha256-jXPIjKt8mLeSZxApnBFivsfOJT+bnF8KLKgDf58kAjQ="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/gguf/default.nix b/pkgs/development/python-modules/gguf/default.nix index 8a3fcd81928e..d4a4e30e0bf6 100644 --- a/pkgs/development/python-modules/gguf/default.nix +++ b/pkgs/development/python-modules/gguf/default.nix @@ -20,14 +20,14 @@ buildPythonPackage (finalAttrs: { pname = "gguf"; - version = "9101"; + version = "9222"; pyproject = true; src = fetchFromGitHub { owner = "ggml-org"; repo = "llama.cpp"; tag = "b${finalAttrs.version}"; - hash = "sha256-dQ0KsUsiTYJXtWuU16yTbHiyWCspw5WofQVjvrY2OVc="; + hash = "sha256-LIGtXaO53Y3Ze0x6uevb2vzcKHbyj2o/8ZHvyZ22uo4="; }; sourceRoot = "${finalAttrs.src.name}/gguf-py"; diff --git a/pkgs/development/python-modules/ha-garmin/default.nix b/pkgs/development/python-modules/ha-garmin/default.nix index 3b29e289b009..2ff56875c109 100644 --- a/pkgs/development/python-modules/ha-garmin/default.nix +++ b/pkgs/development/python-modules/ha-garmin/default.nix @@ -12,14 +12,14 @@ buildPythonPackage (finalAttrs: { pname = "ha-garmin"; - version = "0.1.22"; + version = "0.1.23"; pyproject = true; src = fetchFromGitHub { owner = "cyberjunky"; repo = "ha-garmin"; tag = "v${finalAttrs.version}"; - hash = "sha256-q5bNa6HT2GeqdElsSG7Rgk3a14GsjGyLkHWVrg3CTYs="; + hash = "sha256-0x7+pABt0i9QFty/i8IeU2CLmDUQiw16pYZ1Wr7CARI="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/jedi-language-server/default.nix b/pkgs/development/python-modules/jedi-language-server/default.nix index 05374f57690e..ee63c0a81d29 100644 --- a/pkgs/development/python-modules/jedi-language-server/default.nix +++ b/pkgs/development/python-modules/jedi-language-server/default.nix @@ -37,6 +37,10 @@ buildPythonPackage rec { poetry-core ]; + pythonRelaxDeps = [ + "jedi" + ]; + dependencies = [ docstring-to-markdown jedi diff --git a/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix b/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix index a2e16bcba2a8..b87970f0730f 100644 --- a/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix +++ b/pkgs/development/python-modules/lance-namespace-urllib3-client/default.nix @@ -18,7 +18,7 @@ buildPythonPackage (finalAttrs: { pname = "lance-namespace-urllib3-client"; - version = "0.7.6"; + version = "0.7.7"; pyproject = true; __structuredAttrs = true; @@ -26,7 +26,7 @@ buildPythonPackage (finalAttrs: { owner = "lancedb"; repo = "lance-namespace"; tag = "v${finalAttrs.version}"; - hash = "sha256-UI6vbmquZlfDVS4R3PFxc14E+3Z6uccGfg5P/Jfs+LY="; + hash = "sha256-f+jtRAq4mI6y3q9Jt2ZqAMhXhNRavld88vWKz3VypBs="; }; sourceRoot = "${finalAttrs.src.name}/python/lance_namespace_urllib3_client"; diff --git a/pkgs/development/python-modules/lance-namespace/default.nix b/pkgs/development/python-modules/lance-namespace/default.nix index 255d63c7747f..f16d173c4514 100644 --- a/pkgs/development/python-modules/lance-namespace/default.nix +++ b/pkgs/development/python-modules/lance-namespace/default.nix @@ -30,7 +30,7 @@ buildPythonPackage (finalAttrs: { pname = "lance-namespace"; - version = "0.7.6"; + version = "0.7.7"; pyproject = true; __structuredAttrs = true; @@ -38,7 +38,7 @@ buildPythonPackage (finalAttrs: { owner = "lancedb"; repo = "lance-namespace"; tag = "v${finalAttrs.version}"; - hash = "sha256-UI6vbmquZlfDVS4R3PFxc14E+3Z6uccGfg5P/Jfs+LY="; + hash = "sha256-f+jtRAq4mI6y3q9Jt2ZqAMhXhNRavld88vWKz3VypBs="; }; sourceRoot = "${finalAttrs.src.name}/python/lance_namespace"; diff --git a/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix b/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix index f16e5a605c15..837a8e42e8a1 100644 --- a/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix +++ b/pkgs/development/python-modules/langgraph-checkpoint-mongodb/default.nix @@ -15,14 +15,14 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-checkpoint-mongodb"; - version = "0.3.1"; + version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-mongodb"; tag = "libs/langgraph-checkpoint-mongodb/v${finalAttrs.version}"; - hash = "sha256-vCiZ6Mp6aHmSEkLbeM6qTLJaxH0uoAdq80olTT5saX0="; + hash = "sha256-AdTAyMHNzkuvNB7DsbWxAxNKNqSxdgYwIB5UHBAAxZc="; }; sourceRoot = "${finalAttrs.src.name}/libs/langgraph-checkpoint-mongodb"; diff --git a/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix b/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix index 40082663db52..97efcb9aeaf9 100644 --- a/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix +++ b/pkgs/development/python-modules/langgraph-runtime-inmem/default.nix @@ -14,14 +14,14 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-runtime-inmem"; - version = "0.28.0"; + version = "0.28.1"; pyproject = true; # Not available in any repository src = fetchPypi { pname = "langgraph_runtime_inmem"; inherit (finalAttrs) version; - hash = "sha256-4CU2UItcFU8YokJAZjr3wjifQ8tPu6yZWicXtM/kDS8="; + hash = "sha256-lFfLJVVN9psEruTfnaEXLNH6e8nLWQqegH8vnkXsjr0="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/langgraph-store-mongodb/default.nix b/pkgs/development/python-modules/langgraph-store-mongodb/default.nix index 953906a2e0a9..fcae0393fe2a 100644 --- a/pkgs/development/python-modules/langgraph-store-mongodb/default.nix +++ b/pkgs/development/python-modules/langgraph-store-mongodb/default.nix @@ -14,14 +14,14 @@ buildPythonPackage (finalAttrs: { pname = "langgraph-store-mongodb"; - version = "0.2.0"; + version = "0.3.0"; pyproject = true; src = fetchFromGitHub { owner = "langchain-ai"; repo = "langchain-mongodb"; tag = "libs/langgraph-store-mongodb/v${finalAttrs.version}"; - hash = "sha256-IXISxo3mC0/FkjGdHTmin6z/fk71ecto+L+VZ6VFdeE="; + hash = "sha256-uivrfCTUu7Pq/ncAGH6HUzgyOGRcOzsQ+SVN6wW33tQ="; }; sourceRoot = "${finalAttrs.src.name}/libs/langgraph-store-mongodb"; diff --git a/pkgs/development/python-modules/llfuse/default.nix b/pkgs/development/python-modules/llfuse/default.nix deleted file mode 100644 index 433b33e9b9d1..000000000000 --- a/pkgs/development/python-modules/llfuse/default.nix +++ /dev/null @@ -1,67 +0,0 @@ -{ - lib, - stdenv, - buildPythonPackage, - fetchFromGitHub, - cython, - fuse, - pkg-config, - pytestCheckHook, - python, - setuptools, - which, -}: - -buildPythonPackage rec { - pname = "llfuse"; - version = "1.5.2"; - - pyproject = true; - - src = fetchFromGitHub { - owner = "python-llfuse"; - repo = "python-llfuse"; - tag = "release-${version}"; - hash = "sha256-PFnY+gmm1tjZhptc27XTE9yxF0IaJ+U4Ng/OGhNDDPI="; - }; - - nativeBuildInputs = [ - cython - pkg-config - setuptools - ]; - - buildInputs = [ fuse ]; - - preConfigure = '' - substituteInPlace setup.py \ - --replace "'pkg-config'" "'${stdenv.cc.targetPrefix}pkg-config'" - ''; - - preBuild = '' - ${python.pythonOnBuildForHost.interpreter} setup.py build_cython - ''; - - # On Darwin, the test requires macFUSE to be installed outside of Nix. - doCheck = !stdenv.hostPlatform.isDarwin; - nativeCheckInputs = [ - pytestCheckHook - which - ]; - - disabledTests = [ - "test_listdir" # accesses /usr/bin - ]; - - meta = { - description = "Python bindings for the low-level FUSE API"; - homepage = "https://github.com/python-llfuse/python-llfuse"; - changelog = "https://github.com/python-llfuse/python-llfuse/raw/release-${src.tag}/Changes.rst"; - license = lib.licenses.lgpl2Plus; - platforms = lib.platforms.unix; - maintainers = with lib.maintainers; [ - bjornfor - dotlambda - ]; - }; -} diff --git a/pkgs/development/python-modules/mcdreforged/default.nix b/pkgs/development/python-modules/mcdreforged/default.nix index 30991c13c275..0187158c128d 100644 --- a/pkgs/development/python-modules/mcdreforged/default.nix +++ b/pkgs/development/python-modules/mcdreforged/default.nix @@ -1,25 +1,25 @@ { - lib, - fetchFromGitHub, buildPythonPackage, - setuptools, + fetchFromGitHub, + lib, + pytestCheckHook, + versionCheckHook, + colorama, colorlog, packaging, parse, + pathspec, prompt-toolkit, psutil, requests, resolvelib, ruamel-yaml, + setuptools, typing-extensions, - pathspec, - pytestCheckHook, - versionCheckHook, - nix-update-script, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "mcdreforged"; version = "2.15.7"; pyproject = true; @@ -27,7 +27,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "MCDReforged"; repo = "MCDReforged"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-e1JrDh8Zio+TCVCVvH8tBE/tY5ja3Nr3dCQRJwRqYh4="; }; @@ -38,13 +38,13 @@ buildPythonPackage rec { colorlog packaging parse + pathspec prompt-toolkit psutil requests resolvelib ruamel-yaml typing-extensions - pathspec ]; nativeCheckInputs = [ @@ -52,14 +52,24 @@ buildPythonPackage rec { versionCheckHook ]; - passthru.updateScript = nix-update-script { }; + pythonRelaxDeps = [ "ruamel.yaml" ]; meta = { - description = "Rewritten version of MCDaemon, a python tool to control your Minecraft server"; + changelog = "https://github.com/MCDReforged/MCDReforged/releases/tag/${finalAttrs.src.tag}"; + longDescription = '' + MCDReforged (abbreviated as MCDR) is a tool which provides the + management ability of the Minecraft server using custom plugin + system. It doesn't need to modify or mod the original Minecraft + server at all. + + From in-game calculator, player high-light, to manipulate + scoreboard, manage structure file and backup / load backup, you + can implement these by using MCDR and related plugins. + ''; + description = "Minecraft server control tool"; homepage = "https://mcdreforged.com"; - changelog = "https://github.com/MCDReforged/MCDReforged/releases/tag/v${version}"; license = lib.licenses.lgpl3Only; - maintainers = with lib.maintainers; [ moraxyc ]; mainProgram = "mcdreforged"; + maintainers = with lib.maintainers; [ moraxyc ]; }; -} +}) diff --git a/pkgs/development/python-modules/nengo/default.nix b/pkgs/development/python-modules/nengo/default.nix index 144568fd080e..2d65b48c8122 100644 --- a/pkgs/development/python-modules/nengo/default.nix +++ b/pkgs/development/python-modules/nengo/default.nix @@ -10,21 +10,21 @@ scikit-learn, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "nengo"; - version = "4.0.0"; + version = "4.1.0"; pyproject = true; src = fetchFromGitHub { owner = "nengo"; repo = "nengo"; - tag = "v${version}"; - sha256 = "sha256-b9mPjKdewIqIeRrddV1/M3bghSyox7Lz6VbfSLCHZjA="; + tag = "v${finalAttrs.version}"; + hash = "sha256-yZDnttXU5qMmQwFESkhQb06BXcqPEiPYl54azS5b284="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ numpy ] ++ lib.optionals scipySupport [ scipy ] @@ -41,7 +41,7 @@ buildPythonPackage rec { meta = { description = "Python library for creating and simulating large-scale brain models"; homepage = "https://nengo.ai/"; - license = lib.licenses.unfreeRedistributable; + license = lib.licenses.gpl2Only; maintainers = [ ]; }; -} +}) diff --git a/pkgs/development/python-modules/nextcord/default.nix b/pkgs/development/python-modules/nextcord/default.nix index 2f3345ffc4eb..b9a4074db409 100644 --- a/pkgs/development/python-modules/nextcord/default.nix +++ b/pkgs/development/python-modules/nextcord/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "nextcord"; - version = "3.1.1"; + version = "3.2.0"; pyproject = true; disabled = pythonOlder "3.12"; @@ -30,7 +30,7 @@ buildPythonPackage rec { owner = "nextcord"; repo = "nextcord"; tag = "v${version}"; - hash = "sha256-ex6amnB51Jla5ia2HVaMOZsDOEtgJ8RB1eNTLpXNzSY="; + hash = "sha256-4/3RM32kEYt5J4bL7/SsPvKhnT1eGS3o0+9lNMqbSj8="; }; patches = [ diff --git a/pkgs/development/python-modules/nodriver/default.nix b/pkgs/development/python-modules/nodriver/default.nix index 8dd60efd35ce..06b1780e74ba 100644 --- a/pkgs/development/python-modules/nodriver/default.nix +++ b/pkgs/development/python-modules/nodriver/default.nix @@ -10,12 +10,12 @@ buildPythonPackage rec { pname = "nodriver"; - version = "0.48.1"; + version = "0.50.3"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-SsjNiLavEzwm3BV/t49asXRipZtKDaMwTjrxK75LQ0M="; + hash = "sha256-JMpojYZG74/61cjOZYBOXnZxp3mtJqJNdvZGXVZmxjE="; }; patches = [ diff --git a/pkgs/development/python-modules/pycyphal/default.nix b/pkgs/development/python-modules/pycyphal/default.nix index 8fed197d2e4d..a53a14fde62c 100644 --- a/pkgs/development/python-modules/pycyphal/default.nix +++ b/pkgs/development/python-modules/pycyphal/default.nix @@ -95,6 +95,13 @@ buildPythonPackage rec { "pycyphal/application/register/_value.py" ]; + disabledTests = lib.optionals (pythonAtLeast "3.14") [ + # leaked tasks from prior doctest's event loop break doctest stdout capture, causing "Got nothing" on REPL-style assertions + "MonotonicClusteringSynchronizer" + "TransferIDSynchronizer" + "PythonCANMedia" + ]; + pythonImportsCheck = [ "pycyphal" ]; meta = { diff --git a/pkgs/development/python-modules/pylance/default.nix b/pkgs/development/python-modules/pylance/default.nix index 4262b8efc9dc..e685b6955a34 100644 --- a/pkgs/development/python-modules/pylance/default.nix +++ b/pkgs/development/python-modules/pylance/default.nix @@ -34,14 +34,15 @@ buildPythonPackage (finalAttrs: { pname = "pylance"; - version = "6.0.0"; + version = "6.0.1"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "lancedb"; repo = "lance"; tag = "v${finalAttrs.version}"; - hash = "sha256-clvpPC8W6T1GkLE7DwRQ8HPexyE9rvFhCFc+SxqDPGk="; + hash = "sha256-n9x4Q1UlIuVWcDTdJd72JyQk/nuFMsWfzK2OmoO9wbU="; }; sourceRoot = "${finalAttrs.src.name}/python"; @@ -53,7 +54,7 @@ buildPythonPackage (finalAttrs: { src sourceRoot ; - hash = "sha256-Icl4BCBfTi6WkV3sZlyocZ0WYcXa28WJQ2w5VdhiVAU="; + hash = "sha256-b2O38ZKks6oiBAtUx0fTtFSy5nbsZCZD/BmeJY5zda8="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/python-backoff/default.nix b/pkgs/development/python-modules/python-backoff/default.nix new file mode 100644 index 000000000000..32b863d24f68 --- /dev/null +++ b/pkgs/development/python-modules/python-backoff/default.nix @@ -0,0 +1,42 @@ +{ + buildPythonPackage, + fetchFromGitHub, + hatchling, + lib, + pytest-asyncio, + pytestCheckHook, + requests, + responses, +}: + +buildPythonPackage (finalAttrs: { + pname = "python-backoff"; + version = "2.3.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "python-backoff"; + repo = "backoff"; + tag = "v${finalAttrs.version}"; + hash = "sha256-Os20Gz+uWaEdUPPF9/tT7LNxbmN0W/tuzVZa3H+ZG2A="; + }; + + build-system = [ hatchling ]; + + pythonImportsCheck = [ "backoff" ]; + + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + requests + responses + ]; + + meta = { + changelog = "https://github.com/python-backoff/backoff/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + description = "Python library providing function decorators for configurable backoff and retry"; + homepage = "https://github.com/python-backoff/backoff"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.dotlambda ]; + }; +}) diff --git a/pkgs/development/python-modules/python-roborock/default.nix b/pkgs/development/python-modules/python-roborock/default.nix index 8e4d835f553e..34f860deabfa 100644 --- a/pkgs/development/python-modules/python-roborock/default.nix +++ b/pkgs/development/python-modules/python-roborock/default.nix @@ -24,14 +24,14 @@ buildPythonPackage (finalAttrs: { pname = "python-roborock"; - version = "5.5.1"; + version = "5.12.0"; pyproject = true; src = fetchFromGitHub { owner = "Python-roborock"; repo = "python-roborock"; tag = "v${finalAttrs.version}"; - hash = "sha256-2ShXt2mtMhMugzqOHhY1GT7cQ0K78k/4/bPmmP/uheI="; + hash = "sha256-v4hONQ3EmpenjnAVKm8YMrynVyxtduefN5oqGW9MoE0="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/renault-api/default.nix b/pkgs/development/python-modules/renault-api/default.nix index 978dfc6425dd..5302b73e4355 100644 --- a/pkgs/development/python-modules/renault-api/default.nix +++ b/pkgs/development/python-modules/renault-api/default.nix @@ -19,14 +19,14 @@ buildPythonPackage (finalAttrs: { pname = "renault-api"; - version = "0.5.8"; + version = "0.5.10"; pyproject = true; src = fetchFromGitHub { owner = "hacf-fr"; repo = "renault-api"; tag = "v${finalAttrs.version}"; - hash = "sha256-/ZvMrEe3qgtMpg49OLZH1YTXQKSGR8e3yaShghnyMv4="; + hash = "sha256-1ym2xDJo8Ax76jC7rvVYI+EADKkdjGiKKvtiyE/rk/4="; }; build-system = [ poetry-core ]; diff --git a/pkgs/development/python-modules/rerun-notebook/default.nix b/pkgs/development/python-modules/rerun-notebook/default.nix index 99c79a166158..f469d8ef1856 100644 --- a/pkgs/development/python-modules/rerun-notebook/default.nix +++ b/pkgs/development/python-modules/rerun-notebook/default.nix @@ -22,7 +22,7 @@ buildPythonPackage (finalAttrs: { inherit (finalAttrs) version; format = "wheel"; python = "py2.py3"; - hash = "sha256-meHaELZC6ujtn3AQB/vxXZxno54XrS99y4rFKMWa6BU="; + hash = "sha256-4kSDPW8ATfNcajb4Ebz6llwqfsX8lNYlYDZbekdcmMk="; }; pythonRelaxDeps = [ diff --git a/pkgs/development/python-modules/sigrok/default.nix b/pkgs/development/python-modules/sigrok/default.nix index 5a0a6997df16..e31a42e1e98f 100644 --- a/pkgs/development/python-modules/sigrok/default.nix +++ b/pkgs/development/python-modules/sigrok/default.nix @@ -25,6 +25,14 @@ toPythonModule ( ./python-install.patch ]; + postPatch = '' + ${orig.postPatch or ""} + + # %init block lands in SWIG_mod_exec (returns int) under swig >= 4.4. + substituteInPlace bindings/python/sigrok/core/classes.i \ + --replace-fail 'return nullptr;' 'return -1;' + ''; + nativeBuildInputs = orig.nativeBuildInputs or [ ] ++ [ diff --git a/pkgs/development/python-modules/snakemake-executor-plugin-cluster-generic/default.nix b/pkgs/development/python-modules/snakemake-executor-plugin-cluster-generic/default.nix index 4dab4726cc1b..660b4db7bfac 100644 --- a/pkgs/development/python-modules/snakemake-executor-plugin-cluster-generic/default.nix +++ b/pkgs/development/python-modules/snakemake-executor-plugin-cluster-generic/default.nix @@ -2,36 +2,69 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system poetry-core, - snakemake-interface-executor-plugins, + + # dependencies snakemake-interface-common, + snakemake-interface-executor-plugins, + + # tests + pytestCheckHook, + snakemake, + writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "snakemake-executor-plugin-cluster-generic"; version = "1.0.9"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-executor-plugin-cluster-generic"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-RHMefoJOZb6TjRsFCORLFdHtI5ZpTsV6CHrjHKMat9o="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ + poetry-core + ]; - propagatedBuildInputs = [ - snakemake-interface-executor-plugins + dependencies = [ snakemake-interface-common + snakemake-interface-executor-plugins ]; pythonImportsCheck = [ "snakemake_executor_plugin_cluster_generic" ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake + writableTmpDirAsHomeHook + ]; + + enabledTestPaths = [ "tests/tests.py" ]; + + disabledTestPaths = [ + # Failed to setup log file: [Errno 13] Permission denied: '/build/pytest-of-nixbld/pytest-0/test_group_workflow5/groups/.snakemake' + "tests/tests.py::TestWorkflowsCancelCmd::test_group_workflow" + "tests/tests.py::TestWorkflowsCancelCmd::test_simple_workflow" + "tests/tests.py::TestWorkflowsSidecar::test_group_workflow" + "tests/tests.py::TestWorkflowsSidecar::test_simple_workflow" + "tests/tests.py::TestWorkflowsStatusCmd::test_group_workflow" + "tests/tests.py::TestWorkflowsStatusCmd::test_simple_workflow" + "tests/tests.py::TestWorkflowsSubmitCmdOnly::test_group_workflow" + "tests/tests.py::TestWorkflowsSubmitCmdOnly::test_simple_workflow" + ]; + meta = { description = "Generic cluster executor for Snakemake"; homepage = "https://github.com/snakemake/snakemake-executor-plugin-cluster-generic"; + changelog = "https://github.com/snakemake/snakemake-executor-plugin-cluster-generic/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/snakemake-interface-common/default.nix b/pkgs/development/python-modules/snakemake-interface-common/default.nix index 4ff7030078fb..11eafb41897a 100644 --- a/pkgs/development/python-modules/snakemake-interface-common/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-common/default.nix @@ -1,22 +1,34 @@ { lib, - argparse-dataclass, buildPythonPackage, - configargparse, fetchFromGitHub, fetchpatch, + + # build-system setuptools, + + # dependencies + argparse-dataclass, + configargparse, + + # tests + pytestCheckHook, + snakemake, + + # passthru + snakemake-interface-common, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "snakemake-interface-common"; version = "1.23.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-interface-common"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-D3vktJmn1CifdiEg5UPGpBuuigEIb+ja4yklHZA6ytQ="; }; @@ -29,7 +41,9 @@ buildPythonPackage rec { }) ]; - build-system = [ setuptools ]; + build-system = [ + setuptools + ]; dependencies = [ argparse-dataclass @@ -38,16 +52,24 @@ buildPythonPackage rec { pythonImportsCheck = [ "snakemake_interface_common" ]; - # test_snakemake_version: No module named 'snakemake' - # nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake + ]; - # enabledTestPaths = [ "tests/tests.py" ]; + enabledTestPaths = [ "tests/tests.py" ]; + + # Circular dependency with snakemake + doCheck = false; + passthru.tests.pytest = snakemake-interface-common.overridePythonAttrs { + doCheck = true; + }; meta = { description = "Common functions and classes for Snakemake and its plugins"; homepage = "https://github.com/snakemake/snakemake-interface-common"; - changelog = "https://github.com/snakemake/snakemake-interface-common/releases/tag/v${version}"; + changelog = "https://github.com/snakemake/snakemake-interface-common/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix index 6200948df93a..57d6ab72f582 100644 --- a/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-executor-plugins/default.nix @@ -2,39 +2,66 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system poetry-core, + + # dependencies argparse-dataclass, - throttler, snakemake-interface-common, + throttler, + + # tests + pytestCheckHook, + snakemake-executor-plugin-cluster-generic, + + # passthru + snakemake-interface-executor-plugins, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "snakemake-interface-executor-plugins"; version = "9.4.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-interface-executor-plugins"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-ePbdHMYB2LfCOglz87ZnsUkJH7B97hhSmNBGzwtl5OM="; }; - build-system = [ poetry-core ]; + build-system = [ + poetry-core + ]; dependencies = [ argparse-dataclass - throttler snakemake-interface-common + throttler ]; pythonImportsCheck = [ "snakemake_interface_executor_plugins" ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake-executor-plugin-cluster-generic + ]; + + enabledTestPaths = [ "tests/tests.py" ]; + + # Circular dependency with snakemake + doCheck = false; + passthru.tests.pytest = snakemake-interface-executor-plugins.overridePythonAttrs { + doCheck = true; + }; + meta = { - description = "This package provides a stable interface for interactions between Snakemake and its executor plugins"; + description = "Stable interface for interactions between Snakemake and its executor plugins"; homepage = "https://github.com/snakemake/snakemake-interface-executor-plugins"; - changelog = "https://github.com/snakemake/snakemake-interface-executor-plugins/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/snakemake/snakemake-interface-executor-plugins/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/snakemake-interface-logger-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-logger-plugins/default.nix index 70854d4d851a..e4a115ea5c19 100644 --- a/pkgs/development/python-modules/snakemake-interface-logger-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-logger-plugins/default.nix @@ -2,34 +2,62 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system hatchling, + + # dependencies snakemake-interface-common, + + # tests + pytestCheckHook, + snakemake-logger-plugin-rich, + + # passthru + snakemake-interface-logger-plugins, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "snakemake-interface-logger-plugins"; - version = "2.0.1"; + version = "2.1.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-interface-logger-plugins"; - tag = "v${version}"; - hash = "sha256-yvEjd4xBjjCocGK/HD1j5jcuy+syyXcEJGdsEFA0H40="; + tag = "v${finalAttrs.version}"; + hash = "sha256-UBdzJtKukR4Y9KPpu8qJv4HmN9ghncvEqGsTQnHk36k="; }; - nativeBuildInputs = [ hatchling ]; + build-system = [ + hatchling + ]; - propagatedBuildInputs = [ + dependencies = [ snakemake-interface-common ]; pythonImportsCheck = [ "snakemake_interface_logger_plugins" ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake-logger-plugin-rich + ]; + + enabledTestPaths = [ "tests/tests.py" ]; + + # Circular dependency with snakemake + doCheck = false; + passthru.tests.pytest = snakemake-interface-logger-plugins.overridePythonAttrs { + doCheck = true; + }; + meta = { description = "Stable interface for interactions between Snakemake and its logger plugins"; homepage = "https://github.com/snakemake/snakemake-interface-logger-plugins"; + changelog = "https://github.com/snakemake/snakemake-interface-logger-plugins/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/snakemake-interface-report-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-report-plugins/default.nix index 942da8601a29..d4400ce99643 100644 --- a/pkgs/development/python-modules/snakemake-interface-report-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-report-plugins/default.nix @@ -2,32 +2,62 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system poetry-core, + + # dependencies snakemake-interface-common, + + # tests + pytestCheckHook, + snakemake, + + # passthru + snakemake-interface-report-plugins, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "snakemake-interface-report-plugins"; version = "1.3.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-interface-report-plugins"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-3ugEmdO1dcusKXXBZBRszlZXX5fhJyYSSF5Uj5CKJkQ="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ + poetry-core + ]; - propagatedBuildInputs = [ snakemake-interface-common ]; + dependencies = [ + snakemake-interface-common + ]; pythonImportsCheck = [ "snakemake_interface_report_plugins" ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake + ]; + + enabledTestPaths = [ "tests/tests.py" ]; + + # Circular dependency with snakemake + doCheck = false; + passthru.tests.pytest = snakemake-interface-report-plugins.overridePythonAttrs { + doCheck = true; + }; + meta = { description = "Interface for Snakemake report plugins"; homepage = "https://github.com/snakemake/snakemake-interface-report-plugins"; + changelog = "https://github.com/snakemake/snakemake-interface-report-plugins/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/snakemake-interface-scheduler-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-scheduler-plugins/default.nix index bbceb3a22c30..6ccfe7862249 100644 --- a/pkgs/development/python-modules/snakemake-interface-scheduler-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-scheduler-plugins/default.nix @@ -2,41 +2,62 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system hatchling, + + # dependencies snakemake-interface-common, + + # tests + pytestCheckHook, + snakemake, + + # passthru + snakemake-interface-scheduler-plugins, }: -let +buildPythonPackage (finalAttrs: { + pname = "snakemake-interface-scheduler-plugins"; version = "2.0.2"; + pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-interface-scheduler-plugins"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-BowMwZllFR9IKYUMhISAbf606awTxfmS/nQxkGgb4y8="; }; -in -buildPythonPackage { - pname = "snakemake-interface-scheduler-plugins"; - inherit version src; - pyproject = true; - build-system = [ hatchling ]; + build-system = [ + hatchling + ]; - dependencies = [ snakemake-interface-common ]; + dependencies = [ + snakemake-interface-common + ]; pythonImportsCheck = [ "snakemake_interface_scheduler_plugins" ]; - # test_scheduler: No module named 'snakemake' - # nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake + ]; - # enabledTestPaths = [ "tests/tests.py" ]; + enabledTestPaths = [ "tests/tests.py" ]; + + # Circular dependency with snakemake + doCheck = false; + passthru.tests.pytest = snakemake-interface-scheduler-plugins.overridePythonAttrs { + doCheck = true; + }; meta = { description = "Provides a stable interface for interactions between Snakemake and its scheduler plugins"; homepage = "https://github.com/snakemake/snakemake-interface-scheduler-plugins"; - changelog = "https://github.com/snakemake/snakemake-interface-scheduler-plugins/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/snakemake/snakemake-interface-scheduler-plugins/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ kyehn ]; }; -} +}) diff --git a/pkgs/development/python-modules/snakemake-interface-storage-plugins/default.nix b/pkgs/development/python-modules/snakemake-interface-storage-plugins/default.nix index c9d157ba6c70..8b3f8c5f94ea 100644 --- a/pkgs/development/python-modules/snakemake-interface-storage-plugins/default.nix +++ b/pkgs/development/python-modules/snakemake-interface-storage-plugins/default.nix @@ -2,42 +2,77 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system poetry-core, + + # dependencies humanfriendly, reretry, snakemake-interface-common, + tenacity, throttler, wrapt, + + # tests + pytestCheckHook, + snakemake, + snakemake-storage-plugin-http, + + # passthru + snakemake-interface-storage-plugins, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "snakemake-interface-storage-plugins"; - version = "4.3.2"; + version = "4.4.1"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-interface-storage-plugins"; - tag = "v${version}"; - hash = "sha256-W2cUwc+9jng4IvBuN+m4WqpehA8qElTRb43w3QOIeN0="; + tag = "v${finalAttrs.version}"; + hash = "sha256-tqSIJnU1+DPx/GI5/wzMkoxpLyM/k/SO8FtejRv9Zls="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ humanfriendly reretry snakemake-interface-common + tenacity throttler wrapt ]; pythonImportsCheck = [ "snakemake_interface_storage_plugins" ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake + snakemake-storage-plugin-http + ]; + + enabledTestPaths = [ "tests/tests.py" ]; + + disabledTests = [ + # Requires internet access + "test_storage" + ]; + + # Circular dependency with snakemake + doCheck = false; + passthru.tests.pytest = snakemake-interface-storage-plugins.overridePythonAttrs { + doCheck = true; + }; + meta = { - description = "This package provides a stable interface for interactions between Snakemake and its storage plugins"; + description = "Stable interface for interactions between Snakemake and its storage plugins"; + changelog = "https://github.com/snakemake/snakemake-interface-storage-plugins/releases/tag/${finalAttrs.src.tag}"; homepage = "https://github.com/snakemake/snakemake-interface-storage-plugins"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/snakemake-logger-plugin-rich/default.nix b/pkgs/development/python-modules/snakemake-logger-plugin-rich/default.nix new file mode 100644 index 000000000000..ea76afe73264 --- /dev/null +++ b/pkgs/development/python-modules/snakemake-logger-plugin-rich/default.nix @@ -0,0 +1,60 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + + # build-system + hatchling, + + # dependencies + pydantic, + rich, + snakemake-interface-executor-plugins, + snakemake-interface-logger-plugins, + + # tests + pytestCheckHook, + snakemake, + writableTmpDirAsHomeHook, +}: + +buildPythonPackage (finalAttrs: { + pname = "snakemake-logger-plugin-rich"; + version = "0.4.1"; + pyproject = true; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "cademirch"; + repo = "snakemake-logger-plugin-rich"; + tag = "v${finalAttrs.version}"; + hash = "sha256-kMjzagM95Td529JU+qIxGStgJGctS08glrFo3CF+Ih8="; + }; + + build-system = [ + hatchling + ]; + + dependencies = [ + pydantic + rich + snakemake-interface-executor-plugins + snakemake-interface-logger-plugins + ]; + + pythonImportsCheck = [ "snakemake_logger_plugin_rich" ]; + + nativeCheckInputs = [ + pytestCheckHook + snakemake + writableTmpDirAsHomeHook + ]; + + meta = { + description = "Snakemake logger plugin using Rich"; + homepage = "https://github.com/cademirch/snakemake-logger-plugin-rich"; + changelog = "https://github.com/cademirch/snakemake-logger-plugin-rich/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ GaetanLepage ]; + }; +}) diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-fs/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-fs/default.nix index 41c0f43edf22..96bcb3fc30fc 100644 --- a/pkgs/development/python-modules/snakemake-storage-plugin-fs/default.nix +++ b/pkgs/development/python-modules/snakemake-storage-plugin-fs/default.nix @@ -2,42 +2,59 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system poetry-core, - snakemake-interface-storage-plugins, + + # dependencies snakemake-interface-common, + snakemake-interface-storage-plugins, sysrsync, + + # tests + pytestCheckHook, + snakemake, + writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "snakemake-storage-plugin-fs"; version = "1.1.3"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-storage-plugin-fs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-UdK0yhl7ljLh57CXAvH/OYiVyw+BjhPwGjSBXX8sbZk="; }; - build-system = [ poetry-core ]; + build-system = [ + poetry-core + ]; dependencies = [ - snakemake-interface-storage-plugins snakemake-interface-common + snakemake-interface-storage-plugins sysrsync ]; - # The current tests are not worth dealing with cyclic dependency on snakemake - doCheck = false; + pythonImportsCheck = [ "snakemake_storage_plugin_fs" ]; - # Use nothing due to a cyclic dependency on snakemake - pythonImportsCheck = [ ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake + writableTmpDirAsHomeHook + ]; + + enabledTestPaths = [ "tests/tests.py" ]; meta = { description = "Snakemake storage plugin that reads and writes from a locally mounted filesystem using rsync"; homepage = "https://github.com/snakemake/snakemake-storage-plugin-fs"; + changelog = "https://github.com/snakemake/snakemake-storage-plugin-fs/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-http/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-http/default.nix new file mode 100644 index 000000000000..8b36587e5dfb --- /dev/null +++ b/pkgs/development/python-modules/snakemake-storage-plugin-http/default.nix @@ -0,0 +1,68 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + + # build-system + poetry-core, + + # dependencies + requests, + requests-oauthlib, + snakemake-interface-common, + snakemake-interface-storage-plugins, + + # tests + pytestCheckHook, + snakemake, +}: + +buildPythonPackage (finalAttrs: { + pname = "snakemake-storage-plugin-http"; + version = "0.3.1"; + pyproject = true; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "snakemake"; + repo = "snakemake-storage-plugin-http"; + tag = "v${finalAttrs.version}"; + hash = "sha256-ad4IOjU761CaZ+o0//I8/xW+e+4UJG0+VAbQ9KcNjFY="; + }; + + build-system = [ + poetry-core + ]; + + pythonRelaxDeps = [ + "requests-oauthlib" + ]; + dependencies = [ + requests + requests-oauthlib + snakemake-interface-common + snakemake-interface-storage-plugins + ]; + + pythonImportsCheck = [ "snakemake_storage_plugin_http" ]; + + nativeCheckInputs = [ + pytestCheckHook + snakemake + ]; + + enabledTestPaths = [ "tests/tests.py" ]; + + disabledTests = [ + # Requires internet access + "test_storage" + ]; + + meta = { + description = "Snakemake storage plugin for donwloading input files from HTTP(s)"; + homepage = "https://github.com/snakemake/snakemake-storage-plugin-http"; + changelog = "https://github.com/snakemake/snakemake-storage-plugin-http/blob/${finalAttrs.src.tag}/CHANGELOG.md"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ GaetanLepage ]; + }; +}) diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix index 3b8529714ed8..d757a619609a 100644 --- a/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix +++ b/pkgs/development/python-modules/snakemake-storage-plugin-s3/default.nix @@ -2,24 +2,33 @@ lib, buildPythonPackage, fetchFromGitHub, + + # build-system + poetry-core, + + # dependencies boto3, botocore, - poetry-core, - snakemake, - snakemake-interface-storage-plugins, snakemake-interface-common, + snakemake-interface-storage-plugins, urllib3, + + # tests + pytestCheckHook, + snakemake, + writableTmpDirAsHomeHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "snakemake-storage-plugin-s3"; version = "0.3.6"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-storage-plugin-s3"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-hvyQ6V6POUBWTCWt9moQlH0RgSM4J36kjbXK4TtO8Bo="; }; @@ -33,15 +42,31 @@ buildPythonPackage rec { urllib3 ]; - nativeCheckInputs = [ snakemake ]; - pythonImportsCheck = [ "snakemake_storage_plugin_s3" ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake + writableTmpDirAsHomeHook + ]; + + enabledTestPaths = [ "tests/tests.py" ]; + + disabledTests = [ + # Requires internet access + "test_storage" + + # snakemake_interface_common.exceptions.WorkflowError: Failed to create local storage prefix .snakemake/storage/s3 + # PermissionError: [Errno 13] Permission denied: '.snakemake' + "test_group_workflow" + "test_simple_workflow" + ]; + meta = { description = "Snakemake storage plugin for S3 API storage (AWS S3, MinIO, etc.)"; homepage = "https://github.com/snakemake/snakemake-storage-plugin-s3"; - changelog = "https://github.com/snakemake/snakemake-storage-plugin-s3/releases/tag/${src.tag}"; + changelog = "https://github.com/snakemake/snakemake-storage-plugin-s3/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix b/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix index de5a3cbdf62d..fc67fd23a9ad 100644 --- a/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix +++ b/pkgs/development/python-modules/snakemake-storage-plugin-xrootd/default.nix @@ -1,29 +1,43 @@ { lib, + pkgs, buildPythonPackage, fetchFromGitHub, + + # build-system hatch-vcs, hatchling, - snakemake, - snakemake-interface-storage-plugins, + + # dependencies + reretry, snakemake-interface-common, + snakemake-interface-storage-plugins, xrootd, + + # tests + pytestCheckHook, + snakemake, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "snakemake-storage-plugin-xrootd"; - version = "1.0.0"; + version = "1.1.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "snakemake"; repo = "snakemake-storage-plugin-xrootd"; - tag = "v${version}"; - hash = "sha256-QYG/BE7y3h/Mz1PrVVxmfBBLBLoirrEx9unSEaflUds="; + tag = "v${finalAttrs.version}"; + hash = "sha256-vL9JD9h0ywsKpUPoXhgg6b+vwi7kxK8CF3L6HnAEidE="; }; - # xrootd<6.0.0,>=5.6.4 not satisfied by version 5.7rc20240303 - pythonRelaxDeps = [ "xrootd" ]; + postPatch = '' + substituteInPlace tests/tests.py \ + --replace-fail \ + 'subprocess.Popen(["xrootd",' \ + 'subprocess.Popen(["${lib.getExe pkgs.xrootd}",' + ''; build-system = [ hatch-vcs @@ -33,17 +47,24 @@ buildPythonPackage rec { dependencies = [ snakemake-interface-storage-plugins snakemake-interface-common + reretry xrootd ]; - nativeCheckInputs = [ snakemake ]; - pythonImportsCheck = [ "snakemake_storage_plugin_xrootd" ]; + nativeCheckInputs = [ + pytestCheckHook + snakemake + ]; + + enabledTestPaths = [ "tests/tests.py" ]; + meta = { description = "Snakemake storage plugin for handling input and output via XRootD"; homepage = "https://github.com/snakemake/snakemake-storage-plugin-xrootd"; + changelog = "https://github.com/snakemake/snakemake-storage-plugin-xrootd/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ veprbl ]; }; -} +}) diff --git a/pkgs/development/python-modules/uncompyle6/default.nix b/pkgs/development/python-modules/uncompyle6/default.nix index d58e1916717b..562ad1a9d7a2 100644 --- a/pkgs/development/python-modules/uncompyle6/default.nix +++ b/pkgs/development/python-modules/uncompyle6/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchPypi, + fetchpatch, setuptools, spark-parser, xdis, @@ -20,6 +21,14 @@ buildPythonPackage rec { hash = "sha256-eLdk1MhDsEVfs5223rQhpI1dPruEZTe6ZESv4QfE68E="; }; + patches = [ + (fetchpatch { + name = "support-xdis-6.3-api.patch"; + url = "https://github.com/rocky/python-uncompyle6/commit/62372825c62044428c29a9ce86b5afa81e93c5ae.patch"; + hash = "sha256-z11AKF5RC4gibUbH3hI2Rsbn8VDg49SnKfqV4TuVnjc="; + }) + ]; + build-system = [ setuptools ]; dependencies = [ diff --git a/pkgs/development/python-modules/wled/default.nix b/pkgs/development/python-modules/wled/default.nix index 8aa2d8395ae3..c61060adfd24 100644 --- a/pkgs/development/python-modules/wled/default.nix +++ b/pkgs/development/python-modules/wled/default.nix @@ -3,9 +3,7 @@ aiohttp, aioresponses, awesomeversion, - backoff, buildPythonPackage, - cachetools, fetchFromGitHub, mashumaro, orjson, @@ -14,6 +12,7 @@ pytest-cov-stub, pytest-xdist, pytestCheckHook, + python-backoff, syrupy, typer, yarl, @@ -22,14 +21,14 @@ buildPythonPackage (finalAttrs: { pname = "wled"; - version = "0.22.0"; + version = "0.23.0"; pyproject = true; src = fetchFromGitHub { owner = "frenck"; repo = "python-wled"; tag = "v${finalAttrs.version}"; - hash = "sha256-CUTuIQf6gj9teLicIOtu1FUsYiYXtKeLNuDbNh/21sc="; + hash = "sha256-1JLW3wze4W3Uva9xIeSAmYw8f9tDfGxe9rueixVedms="; }; postPatch = '' @@ -43,10 +42,9 @@ buildPythonPackage (finalAttrs: { dependencies = [ aiohttp awesomeversion - backoff - cachetools mashumaro orjson + python-backoff yarl ]; @@ -70,6 +68,8 @@ buildPythonPackage (finalAttrs: { disabledTests = [ # wled release table rendering is inconsistent "test_releases_command" + # outdated snapshots + "test_device_version_fixture" ]; pythonImportsCheck = [ "wled" ]; diff --git a/pkgs/development/python-modules/xdis/default.nix b/pkgs/development/python-modules/xdis/default.nix index a5ca14400421..39a50ce8511a 100644 --- a/pkgs/development/python-modules/xdis/default.nix +++ b/pkgs/development/python-modules/xdis/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, click, fetchFromGitHub, + fetchpatch, pytestCheckHook, setuptools, six, @@ -10,16 +11,31 @@ buildPythonPackage rec { pname = "xdis"; - version = "6.1.8"; + version = "6.3.0"; pyproject = true; src = fetchFromGitHub { owner = "rocky"; repo = "python-xdis"; tag = version; - hash = "sha256-sAL2D7Rg/iyob2nawXX/b5F/uOGCMsb1q0ZnPLIfh6o="; + hash = "sha256-k1SawlgbItbWe8J2pAxYOku/4CHyzWH3UR1j3kBZy1Q="; }; + patches = [ + (fetchpatch { + name = "python-3.13.13.patch"; + url = "https://github.com/rocky/python-xdis/commit/f2c46c8c89898157c2345c0a026a2d31f14e7ea9.patch"; + includes = [ "xdis/magics.py" ]; + hash = "sha256-+k3mbiAmM69Pl7k0Wogx+qpib5+p3Gn/pSpnDn5e6pE="; + }) + (fetchpatch { + name = "python-3.14.4.patch"; + url = "https://github.com/rocky/python-xdis/commit/36a1a2442c224e3bfca776f727a5e262968855a4.patch"; + includes = [ "xdis/magics.py" ]; + hash = "sha256-q+MX737Xn+iUObuV5IirnT71/0W6JH0TgtmS1cqR0x4="; + }) + ]; + build-system = [ setuptools ]; diff --git a/pkgs/development/skaware-packages/default.nix b/pkgs/development/skaware-packages/default.nix index b0877ada8c36..0ae8c4d43865 100644 --- a/pkgs/development/skaware-packages/default.nix +++ b/pkgs/development/skaware-packages/default.nix @@ -1,4 +1,8 @@ -{ lib, pkgs }: +{ + lib, + pkgs, + config, +}: lib.makeScope pkgs.newScope ( self: @@ -22,7 +26,6 @@ lib.makeScope pkgs.newScope ( # libs skalibs = callPackage ./skalibs { }; skalibs_2_10 = callPackage ./skalibs/2_10.nix { }; - sdnotify-wrapper = callPackage ./sdnotify-wrapper { }; # s6 tooling s6 = callPackage ./s6 { }; @@ -40,4 +43,7 @@ lib.makeScope pkgs.newScope ( s6-portable-utils-man-pages = self.s6-portable-utils.passthru.manpages; s6-rc-man-pages = self.s6-rc.passthru.manpages; } + // lib.optionalAttrs config.allowAliases { + sdnotify-wrapper = throw "sdnotify-wrapper has been removed in favour of s6-notify-socket-from-fd in the s6 package"; + } ) diff --git a/pkgs/development/skaware-packages/execline/default.nix b/pkgs/development/skaware-packages/execline/default.nix index ed2f1795d87e..f47dd73b295f 100644 --- a/pkgs/development/skaware-packages/execline/default.nix +++ b/pkgs/development/skaware-packages/execline/default.nix @@ -7,14 +7,14 @@ }: let - version = "2.9.8.1"; + version = "2.9.9.1"; in skawarePackages.buildPackage { inherit version; pname = "execline"; # ATTN: also check whether there is a new manpages version - sha256 = "sha256-IzUNEHl5CWNgYFImB1kctKIRgyjLWMXmX7GaLA1HJk4="; + sha256 = "sha256-vmNTMpepPDb9JnGVEXtOZoaHpSb4NFF6jbR9hbbH7Go="; # Maintainer of manpages uses following versioning scheme: for every # upstream $version he tags manpages release as ${version}.1, and, @@ -22,8 +22,8 @@ skawarePackages.buildPackage { # ${version}.3 and so on are created. manpages = skawarePackages.buildManPages { pname = "execline-man-pages"; - version = "2.9.8.1.3"; - sha256 = "sha256-jYNx15n9pOK4PPEf0ynvHpgGucgWQKd/4nggY7OmR4M="; + version = "2.9.9.1.1"; + sha256 = "sha256-SMQLeiS03fW9HGDmk+MMfUbnvRGqTzXc/4CuS5LW18U="; description = "Port of the documentation for the execline suite to mdoc"; maintainers = [ lib.maintainers.sternenseemann ]; }; diff --git a/pkgs/development/skaware-packages/execline/execlineb-wrapper.c b/pkgs/development/skaware-packages/execline/execlineb-wrapper.c index c8e91813b774..7daff48894f2 100644 --- a/pkgs/development/skaware-packages/execline/execlineb-wrapper.c +++ b/pkgs/development/skaware-packages/execline/execlineb-wrapper.c @@ -10,7 +10,7 @@ #include #include -#include +#include #include #include diff --git a/pkgs/development/skaware-packages/mdevd/default.nix b/pkgs/development/skaware-packages/mdevd/default.nix index 6c4d17b7763a..2804326b3218 100644 --- a/pkgs/development/skaware-packages/mdevd/default.nix +++ b/pkgs/development/skaware-packages/mdevd/default.nix @@ -6,8 +6,8 @@ skawarePackages.buildPackage { pname = "mdevd"; - version = "0.1.8.1"; - sha256 = "sha256-k9K7pymf87G58kmSjC6E4jpa89gp69lnfqRFNcWFqoI="; + version = "0.1.8.2"; + sha256 = "sha256-zhrgFJtqV6NPYIIY/WGBqmqmgTXKwvTZMbW0F7By4kQ="; description = "mdev-compatible Linux hotplug manager daemon"; platforms = lib.platforms.linux; diff --git a/pkgs/development/skaware-packages/nsss/default.nix b/pkgs/development/skaware-packages/nsss/default.nix index 099bb24d2b3b..9432e8293649 100644 --- a/pkgs/development/skaware-packages/nsss/default.nix +++ b/pkgs/development/skaware-packages/nsss/default.nix @@ -2,8 +2,8 @@ skawarePackages.buildPackage { pname = "nsss"; - version = "0.2.1.1"; - sha256 = "sha256-pff2y8Gdey3ALVjiupwJ0I+iRZ/j3xh3815jnA8rEpI="; + version = "0.2.1.2"; + sha256 = "sha256-zKpz6QUJ8/pbUq+F2QIDumKMFsna7TTFQmea52gfEGc="; description = "Implementation of a subset of the pwd.h, group.h and shadow.h family of functions"; diff --git a/pkgs/development/skaware-packages/s6-dns/default.nix b/pkgs/development/skaware-packages/s6-dns/default.nix index ba87616942c4..ee0c7878533e 100644 --- a/pkgs/development/skaware-packages/s6-dns/default.nix +++ b/pkgs/development/skaware-packages/s6-dns/default.nix @@ -2,8 +2,8 @@ skawarePackages.buildPackage { pname = "s6-dns"; - version = "2.4.1.1"; - sha256 = "sha256-JkPP9JmgeOoXDl+mqH2GxNcjtl89FICnE318xJlHQzg="; + version = "2.4.1.2"; + sha256 = "sha256-BhjYgw/OY+4Xt/VeSUKAachcl6FxCCensjSbZgzTOk4="; description = "Suite of DNS client programs and libraries for Unix systems"; diff --git a/pkgs/development/skaware-packages/s6-linux-init/default.nix b/pkgs/development/skaware-packages/s6-linux-init/default.nix index 9643b8a0ebb7..ff8137aa19ec 100644 --- a/pkgs/development/skaware-packages/s6-linux-init/default.nix +++ b/pkgs/development/skaware-packages/s6-linux-init/default.nix @@ -10,8 +10,8 @@ skawarePackages.buildPackage { pname = "s6-linux-init"; - version = "1.2.0.0"; - sha256 = "sha256-82cImDHGlI/evomW2khKuP0Uhclek8HlsDe4hxGN6dk="; + version = "1.2.0.1"; + sha256 = "sha256-ctWbE2g9E5D335ooa+Rn5zKTQWAhr5+hAjySk+xcfXw="; description = "Set of minimalistic tools used to create a s6-based init system, including a /sbin/init binary, on a Linux kernel"; platforms = lib.platforms.linux; diff --git a/pkgs/development/skaware-packages/s6-linux-utils/default.nix b/pkgs/development/skaware-packages/s6-linux-utils/default.nix index 1a9d58065237..0b91b576b217 100644 --- a/pkgs/development/skaware-packages/s6-linux-utils/default.nix +++ b/pkgs/development/skaware-packages/s6-linux-utils/default.nix @@ -7,8 +7,8 @@ skawarePackages.buildPackage { pname = "s6-linux-utils"; - version = "2.6.4.0"; - sha256 = "sha256-zHJ/cNXoeAQzpJest8sxAGVrMSZYmrAunSBCAGx5TPI="; + version = "2.6.4.1"; + sha256 = "sha256-FuGltaK0qYZ0tKlxlhKtt5WI48IMQIM2AnjqOPLTISk="; description = "Set of minimalistic Linux-specific system utilities"; platforms = lib.platforms.linux; diff --git a/pkgs/development/skaware-packages/s6-networking/default.nix b/pkgs/development/skaware-packages/s6-networking/default.nix index b96feb033247..79a133fc8886 100644 --- a/pkgs/development/skaware-packages/s6-networking/default.nix +++ b/pkgs/development/skaware-packages/s6-networking/default.nix @@ -25,8 +25,8 @@ assert sslSupportEnabled -> sslLibs ? ${sslSupport}; skawarePackages.buildPackage { pname = "s6-networking"; - version = "2.7.2.1"; - sha256 = "sha256-Z5+GUthb40PawfB2SXzTbKjFZACUh4D4XcZONAVeLBs="; + version = "2.8.0.0"; + sha256 = "sha256-rE9lhA/OwWJPe/nGMvtAVThRvJApV/+VayofIoGkXNQ="; manpages = skawarePackages.buildManPages { pname = "s6-networking-man-pages"; diff --git a/pkgs/development/skaware-packages/s6-portable-utils/default.nix b/pkgs/development/skaware-packages/s6-portable-utils/default.nix index adac6eec681e..cb6c1148f05d 100644 --- a/pkgs/development/skaware-packages/s6-portable-utils/default.nix +++ b/pkgs/development/skaware-packages/s6-portable-utils/default.nix @@ -6,8 +6,8 @@ skawarePackages.buildPackage { pname = "s6-portable-utils"; - version = "2.3.1.1"; - sha256 = "sha256-zwjXGWPA6hcIzdgr1ArTARVLzMWbaO77Qoqnm0InMkI="; + version = "2.3.1.2"; + sha256 = "sha256-z7kBhtDA6yBOHlxvk3nplBPFRrzPOLtudhd/gjcao6o="; manpages = skawarePackages.buildManPages { pname = "s6-portable-utils-man-pages"; diff --git a/pkgs/development/skaware-packages/s6-rc/default.nix b/pkgs/development/skaware-packages/s6-rc/default.nix index 0029eb0afd6d..63c5cda8cf3d 100644 --- a/pkgs/development/skaware-packages/s6-rc/default.nix +++ b/pkgs/development/skaware-packages/s6-rc/default.nix @@ -10,8 +10,8 @@ skawarePackages.buildPackage { pname = "s6-rc"; - version = "0.6.0.0"; - sha256 = "sha256-RtSmKVnvFgl7hNz7DDsxpv9JqkdtSu7Jxbe94c5oSQE="; + version = "0.6.1.1"; + sha256 = "sha256-tU8iajW+HuVqIovxpMOUN/ByvGTmnb81bnM+YGqGQC0="; manpages = skawarePackages.buildManPages { pname = "s6-rc-man-pages"; diff --git a/pkgs/development/skaware-packages/s6/default.nix b/pkgs/development/skaware-packages/s6/default.nix index 19e9f206b473..d88a808762db 100644 --- a/pkgs/development/skaware-packages/s6/default.nix +++ b/pkgs/development/skaware-packages/s6/default.nix @@ -7,8 +7,8 @@ skawarePackages.buildPackage { pname = "s6"; - version = "2.14.0.1"; - sha256 = "sha256-wlr+gXy8P1lO/FBQNR+LkQG6eGFtDOkVZY83Dn7i4lg="; + version = "2.15.0.0"; + sha256 = "sha256-J9/3PWJihVQBM+B151iHCH9RF/1R3llQPvfSnpb2nkw="; manpages = skawarePackages.buildManPages { pname = "s6-man-pages"; diff --git a/pkgs/development/skaware-packages/sdnotify-wrapper/default.nix b/pkgs/development/skaware-packages/sdnotify-wrapper/default.nix deleted file mode 100644 index d9fa940a3294..000000000000 --- a/pkgs/development/skaware-packages/sdnotify-wrapper/default.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ - lib, - runCommandCC, - skalibs, -}: - -let - # From https://skarnet.org/software/misc/sdnotify-wrapper.c, - # which is unversioned. - src = ./sdnotify-wrapper.c; - -in -runCommandCC "sdnotify-wrapper" - { - - outputs = [ - "bin" - "doc" - "out" - ]; - - meta = { - homepage = "https://skarnet.org/software/misc/sdnotify-wrapper.c"; - description = "Use systemd sd_notify without having to link against libsystemd"; - mainProgram = "sdnotify-wrapper"; - platforms = lib.platforms.linux; - license = lib.licenses.isc; - maintainers = with lib.maintainers; [ Profpatsch ]; - }; - - } - '' - mkdir -p $bin/bin - mkdir $out - - # the -lskarnet has to come at the end to support static builds - $CC \ - -o $bin/bin/sdnotify-wrapper \ - -I${skalibs.dev}/include \ - -L${skalibs.lib}/lib \ - ${src} \ - -lskarnet - - mkdir -p $doc/share/doc/sdnotify-wrapper - # copy the documentation comment - sed -ne '/Usage:/,/*\//p' ${src} > $doc/share/doc/sdnotify-wrapper/README - '' diff --git a/pkgs/development/skaware-packages/sdnotify-wrapper/sdnotify-wrapper.c b/pkgs/development/skaware-packages/sdnotify-wrapper/sdnotify-wrapper.c deleted file mode 100644 index 3ad3cbc69063..000000000000 --- a/pkgs/development/skaware-packages/sdnotify-wrapper/sdnotify-wrapper.c +++ /dev/null @@ -1,174 +0,0 @@ -/* - Copyright: (C)2015-2020 Laurent Bercot. http://skarnet.org/ - ISC license. See http://opensource.org/licenses/ISC - - Build-time requirements: skalibs. https://skarnet.org/software/skalibs/ - Run-time requirements: none, if you link skalibs statically. - - Compilation: - gcc -o sdnotify-wrapper -L/usr/lib/skalibs sdnotify-wrapper.c -lskarnet - Use /usr/lib/skalibs/libskarnet.a instead of -lskarnet to link statically. - Adapt gcc's -I and -L options to your skalibs installation paths. - - Usage: if a daemon would be launched by systemd as "foobard args...", - launch it as "sdnotify-wrapper foobard args..." instead, and you can now - tell systemd that this daemon supports readiness notification. - - Instead of using sd_notify() and having to link against the systemd - library, the daemon notifies readiness by writing whatever it wants - to a file descriptor (by default: stdout), then a newline. (Then it - should close that file descriptor.) The simplest way is something like - int notify_readiness() { write(1, "\n", 1) ; close(1) ; } - This mechanism is understandable by any notification readiness framework. - - Readiness notification occurs when the newline is written, not when - the descriptor is closed; but since sdnotify-wrapper stops reading - after the first newline and will exit, any subsequent writes will - fail and it's best to simply close the descriptor right away. - - sdnotify-wrapper sees the notification when it occurs and sends it - to systemd using the sd_notify format. - - Options: - -d fd: the daemon will write its notification on descriptor fd. - Default is 1. - -f: do not doublefork. Use if the daemon waits for children it does - not know it has (for instance, superservers do this). When in doubt, - do not use that option, or you may have a zombie hanging around. - -t timeout: if the daemon has not sent a notification after timeout - milliseconds, give up and exit; systemd will not be notified. - -k: keep the NOTIFY_SOCKET environment variable when execing into the - daemon. By default, the variable is unset: the daemon should not need it. - - Notes: - sdnotify-wrapper does not change the daemon's pid. It runs as a - (grand)child of the daemon. - If the NOTIFY_SOCKET environment variable is not set, sdnotify-wrapper - does nothing - it only execs into the daemon. - sdnotify-wrapper is more liberal than sd_notify(). It will accept - a relative path in NOTIFY_SOCKET. -*/ - - -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define USAGE "sdnotify-wrapper [ -d fd ] [ -f ] [ -t timeout ] [ -k ] prog..." -#define dieusage() strerr_dieusage(100, USAGE) - -#define VAR "NOTIFY_SOCKET" - -static inline int ipc_sendto (int fd, char const *s, size_t len, char const *path) -{ - struct sockaddr_un sa ; - size_t l = strlen(path) ; - if (l > IPCPATH_MAX) return (errno = ENAMETOOLONG, 0) ; - memset(&sa, 0, sizeof sa) ; - sa.sun_family = AF_UNIX ; - memcpy(sa.sun_path, path, l+1) ; - if (path[0] == '@') sa.sun_path[0] = 0 ; - return sendto(fd, s, len, MSG_NOSIGNAL, (struct sockaddr *)&sa, sizeof sa) >= 0 ; -} - -static inline void notify_systemd (pid_t pid, char const *socketpath) -{ - size_t n = 16 ; - char fmt[16 + PID_FMT] = "READY=1\nMAINPID=" ; - int fd = ipc_datagram_b() ; - if (fd < 0) strerr_diefu1sys(111, "create socket") ; - n += pid_fmt(fmt + n, pid) ; - fmt[n++] = '\n' ; - if (!ipc_sendto(fd, fmt, n, socketpath)) - strerr_diefu2sys(111, "send notification message to ", socketpath) ; - close(fd) ; -} - -static inline int run_child (int fd, unsigned int timeout, pid_t pid, char const *s) -{ - char dummy[4096] ; - iopause_fd x = { .fd = fd, .events = IOPAUSE_READ } ; - tain deadline ; - tain_now_g() ; - if (timeout) tain_from_millisecs(&deadline, timeout) ; - else deadline = tain_infinite_relative ; - tain_add_g(&deadline, &deadline) ; - for (;;) - { - int r = iopause_g(&x, 1, &deadline) ; - if (r < 0) strerr_diefu1sys(111, "iopause") ; - if (!r) return 99 ; - r = sanitize_read(fd_read(fd, dummy, 4096)) ; - if (r < 0) - if (errno == EPIPE) return 1 ; - else strerr_diefu1sys(111, "read from parent") ; - else if (r && memchr(dummy, '\n', r)) break ; - } - close(fd) ; - notify_systemd(pid, s) ; - return 0 ; -} - -int main (int argc, char const *const *argv) -{ - char const *s = getenv(VAR) ; - unsigned int fd = 1 ; - unsigned int timeout = 0 ; - int df = 1, keep = 0 ; - PROG = "sdnotify-wrapper" ; - { - subgetopt l = SUBGETOPT_ZERO ; - for (;;) - { - int opt = subgetopt_r(argc, argv, "d:ft:k", &l) ; - if (opt == -1) break ; - switch (opt) - { - case 'd' : if (!uint0_scan(l.arg, &fd)) dieusage() ; break ; - case 'f' : df = 0 ; break ; - case 't' : if (!uint0_scan(l.arg, &timeout)) dieusage() ; break ; - case 'k' : keep = 1 ; break ; - default : dieusage() ; - } - } - argc -= l.ind ; argv += l.ind ; - } - if (!argc) dieusage() ; - - if (!s) xexec(argv) ; - else - { - pid_t parent = getpid() ; - pid_t child ; - int p[2] ; - if (pipe(p) < 0) strerr_diefu1sys(111, "pipe") ; - child = df ? doublefork() : fork() ; - if (child < 0) strerr_diefu1sys(111, df ? "doublefork" : "fork") ; - else if (!child) - { - PROG = "sdnotify-wrapper (child)" ; - close(p[1]) ; - return run_child(p[0], timeout, parent, s) ; - } - close(p[0]) ; - if (fd_move((int)fd, p[1]) < 0) strerr_diefu1sys(111, "move descriptor") ; - if (keep) xexec(argv) ; - else xmexec_m(argv, VAR, sizeof(VAR)) ; - } -} diff --git a/pkgs/development/skaware-packages/skalibs/default.nix b/pkgs/development/skaware-packages/skalibs/default.nix index 9ce53d52cbf6..9d0c622612dd 100644 --- a/pkgs/development/skaware-packages/skalibs/default.nix +++ b/pkgs/development/skaware-packages/skalibs/default.nix @@ -7,8 +7,8 @@ skawarePackages.buildPackage { pname = "skalibs"; - version = "2.14.5.1"; - sha256 = "sha256-+jWccEObSAQAoKLvaAJqJzazFQJanZXfadNGAfuTjw8="; + version = "2.15.0.0"; + sha256 = "sha256-f96W6K+0GRWToVMoiD6cdybJaJHPBxIiFGgh6Mh/gAc="; description = "Set of general-purpose C programming libraries"; diff --git a/pkgs/development/skaware-packages/tipidee/default.nix b/pkgs/development/skaware-packages/tipidee/default.nix index 9b822903866b..6e8d07841ef8 100644 --- a/pkgs/development/skaware-packages/tipidee/default.nix +++ b/pkgs/development/skaware-packages/tipidee/default.nix @@ -6,8 +6,8 @@ skawarePackages.buildPackage { pname = "tipidee"; - version = "0.0.7.1"; - sha256 = "sha256-ah5JwvCvWqRNuO3sK5KUxPXPaLg6eDGatJkE+KUv63M="; + version = "0.0.7.2"; + sha256 = "sha256-x34St9s/3FbcI9s3ncpmhhbnQmA/6Gf6K9yNTxrKj5s="; description = "HTTP 1.1 webserver, serving static files and CGI/NPH"; diff --git a/pkgs/development/skaware-packages/utmps/default.nix b/pkgs/development/skaware-packages/utmps/default.nix index 58157ec79aa7..37a375380465 100644 --- a/pkgs/development/skaware-packages/utmps/default.nix +++ b/pkgs/development/skaware-packages/utmps/default.nix @@ -2,8 +2,8 @@ skawarePackages.buildPackage { pname = "utmps"; - version = "0.1.3.2"; - sha256 = "sha256-sRTVauysicBctMDtM8Y4igIRSwnenM44Srm4qTRphmg="; + version = "0.1.3.3"; + sha256 = "sha256-4iEr0C/hdzBCT39eMKTd5x0IYqUrI9i3Ke7XRCCjSaI="; description = "Secure utmpx and wtmp implementation"; diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 5dc925bea9e1..4f36bf596988 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2026.5.3"; + version = "2026.5.4"; components = { "3_day_blinds" = ps: with ps; [ diff --git a/pkgs/servers/home-assistant/custom-components/alarmo/package.nix b/pkgs/servers/home-assistant/custom-components/alarmo/package.nix index 25d688430fc6..dcf7a722f78c 100644 --- a/pkgs/servers/home-assistant/custom-components/alarmo/package.nix +++ b/pkgs/servers/home-assistant/custom-components/alarmo/package.nix @@ -7,13 +7,13 @@ buildHomeAssistantComponent rec { owner = "nielsfaber"; domain = "alarmo"; - version = "1.10.17"; + version = "1.10.18"; src = fetchFromGitHub { owner = "nielsfaber"; repo = "alarmo"; tag = "v${version}"; - hash = "sha256-LVTwqJsuFvAGUgZDq6lkUUI/Ch0Ex+ApNxsyuUbDz14="; + hash = "sha256-SBR/NVz7E+gsVLnEO3o30irNeFnnBZb5YVJImWHLk2Y="; }; postPatch = '' diff --git a/pkgs/servers/home-assistant/custom-components/closest_intent/package.nix b/pkgs/servers/home-assistant/custom-components/closest_intent/package.nix new file mode 100644 index 000000000000..11c480e8954e --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/closest_intent/package.nix @@ -0,0 +1,44 @@ +{ + lib, + buildHomeAssistantComponent, + fetchFromGitHub, + rapidfuzz, + # Test dependencies + pytestCheckHook, + pytest-asyncio, + pyyaml, +}: + +buildHomeAssistantComponent (finalAttrs: { + owner = "charludo"; + domain = "closest_intent"; + version = "0.1.0"; + + src = fetchFromGitHub { + inherit (finalAttrs) owner; + repo = "hass-closest-intent"; + tag = "v${finalAttrs.version}"; + hash = "sha256-8ST+xYqmDwovDqNLnDsoIvIoPIDussAswGOOvMhRQWk="; + }; + + dependencies = [ + rapidfuzz + ]; + + nativeCheckInputs = [ + pytestCheckHook + pytest-asyncio + pyyaml + ]; + + meta = { + changelog = "https://github.com/charludo/hass-closest-intent/releases/tag/${finalAttrs.src.tag}"; + description = "Fuzzy intent matcher for Home Assistant; garbled STT output in, actual intent out"; + homepage = "https://github.com/charludo/hass-closest-intent"; + license = lib.licenses.agpl3Only; + maintainers = with lib.maintainers; [ + charludo + jpds + ]; + }; +}) diff --git a/pkgs/servers/home-assistant/custom-components/entity-notes/package.nix b/pkgs/servers/home-assistant/custom-components/entity-notes/package.nix index 5318b402b1c7..bc71285acac1 100644 --- a/pkgs/servers/home-assistant/custom-components/entity-notes/package.nix +++ b/pkgs/servers/home-assistant/custom-components/entity-notes/package.nix @@ -8,13 +8,13 @@ buildHomeAssistantComponent rec { owner = "martindell"; domain = "entity_notes"; - version = "3.3.4"; + version = "3.3.10"; src = fetchFromGitHub { inherit owner; repo = "ha-entity-notes"; tag = "v${version}"; - hash = "sha256-5JKZ/KC2sSDQQeg3taLyuZdF6QJHdc7pJ1jaFD9S3kc="; + hash = "sha256-2ZwIqqF3OQ6wjfi5c3cV8NyJNcucd95Nkrs/OimHrb0="; }; dependencies = [ diff --git a/pkgs/servers/home-assistant/custom-components/garmin_connect/package.nix b/pkgs/servers/home-assistant/custom-components/garmin_connect/package.nix index d2c0983671a4..0d440ae0a62e 100644 --- a/pkgs/servers/home-assistant/custom-components/garmin_connect/package.nix +++ b/pkgs/servers/home-assistant/custom-components/garmin_connect/package.nix @@ -8,13 +8,13 @@ buildHomeAssistantComponent rec { owner = "cyberjunky"; domain = "garmin_connect"; - version = "3.0.7"; + version = "3.0.8"; src = fetchFromGitHub { owner = "cyberjunky"; repo = "home-assistant-garmin_connect"; tag = version; - hash = "sha256-qCpUMmxH/Fjm2vlC9o5IUuip8QvOUGuPCZTZOnC/uuM="; + hash = "sha256-F/zMwaGt9lbMzhgy3Jk23ylalMJqMT5xf90YUeH0Fv4="; }; dependencies = [ diff --git a/pkgs/servers/home-assistant/custom-components/local_openai/package.nix b/pkgs/servers/home-assistant/custom-components/local_openai/package.nix new file mode 100644 index 000000000000..d0d446d34d25 --- /dev/null +++ b/pkgs/servers/home-assistant/custom-components/local_openai/package.nix @@ -0,0 +1,33 @@ +{ + lib, + buildHomeAssistantComponent, + fetchFromGitHub, + openai, + demoji, +}: + +buildHomeAssistantComponent (finalAttrs: { + owner = "skye-harris"; + domain = "local_openai"; + version = "1.6.0"; + + src = fetchFromGitHub { + inherit (finalAttrs) owner; + repo = "hass_local_openai_llm"; + tag = finalAttrs.version; + hash = "sha256-S7gtm9JRaxNh6xbeKRyW6l6nXqE4+h9kgyUZ9RkbLR0="; + }; + + dependencies = [ + openai + demoji + ]; + + meta = { + changelog = "https://github.com/skye-harris/hass_local_openai_llm/releases/tag/${finalAttrs.src.tag}"; + description = "Home Assistant LLM integration for local OpenAI-compatible services (llama.cpp, vLLM, etc.)"; + homepage = "https://github.com/skye-harris/hass_local_openai_llm"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ jpds ]; + }; +}) diff --git a/pkgs/servers/home-assistant/custom-components/mypyllant/package.nix b/pkgs/servers/home-assistant/custom-components/mypyllant/package.nix index 5a4dd545c493..7d1e88102d05 100644 --- a/pkgs/servers/home-assistant/custom-components/mypyllant/package.nix +++ b/pkgs/servers/home-assistant/custom-components/mypyllant/package.nix @@ -19,13 +19,13 @@ buildHomeAssistantComponent rec { owner = "signalkraft"; domain = "mypyllant"; - version = "0.9.12"; + version = "0.9.13"; src = fetchFromGitHub { owner = "signalkraft"; repo = "mypyllant-component"; tag = "v${version}"; - hash = "sha256-vXzcVua2cGQXXeug6Zy4AAeTok+BLH5k+krq3UBuQjw="; + hash = "sha256-ydayYZjebVQULYyF3KWJHuSg89dY+bGYe+5zHGxfnEw="; }; dependencies = [ diff --git a/pkgs/servers/home-assistant/custom-components/oref_alert/package.nix b/pkgs/servers/home-assistant/custom-components/oref_alert/package.nix index 30aaf68b387a..e1af2e00991a 100644 --- a/pkgs/servers/home-assistant/custom-components/oref_alert/package.nix +++ b/pkgs/servers/home-assistant/custom-components/oref_alert/package.nix @@ -15,13 +15,13 @@ buildHomeAssistantComponent rec { owner = "amitfin"; domain = "oref_alert"; - version = "6.18.2"; + version = "6.18.3"; src = fetchFromGitHub { owner = "amitfin"; repo = "oref_alert"; tag = "v${version}"; - hash = "sha256-1z/0nvwQ0cyYWl+LDhCTZQhEzKU/RgSbHejqoZLDRSo="; + hash = "sha256-gF8JemhOxnwDHoMcC3Znp9lx92bPdRk/a8e3Upbhb+o="; }; # Do not publish cards, currently broken, attempting to write to nix store. diff --git a/pkgs/servers/home-assistant/custom-components/yandex-station/package.nix b/pkgs/servers/home-assistant/custom-components/yandex-station/package.nix index 2b3ea307a515..e27df2137651 100644 --- a/pkgs/servers/home-assistant/custom-components/yandex-station/package.nix +++ b/pkgs/servers/home-assistant/custom-components/yandex-station/package.nix @@ -10,13 +10,13 @@ buildHomeAssistantComponent rec { owner = "AlexxIT"; domain = "yandex_station"; - version = "3.20.3"; + version = "3.21.1"; src = fetchFromGitHub { owner = "AlexxIT"; repo = "YandexStation"; tag = "v${version}"; - hash = "sha256-odI16EkIqQ6tubr0BZHwRWwnAC7816DezNA8FoRcwyc="; + hash = "sha256-5a+631Gu7xaPq8EF+34bybm40YVTXPA/ylq6k8LPBNU="; }; dependencies = [ diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index dfc6e7a1e9f1..e930d470b54a 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -4,6 +4,7 @@ callPackage, fetchFromGitHub, fetchPypi, + fetchpatch, python314, replaceVars, ffmpeg-headless, @@ -262,7 +263,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run update-component-packages.py after updating - hassVersion = "2026.5.3"; + hassVersion = "2026.5.4"; in python.pkgs.buildPythonApplication rec { @@ -283,13 +284,13 @@ python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; tag = version; - hash = "sha256-U3P97V/3+4eKMPyT6JzqLiDgei84iEOyWdknFvJBn1o="; + hash = "sha256-Z5FUkljaWRr9tfBb6RXJCC86ZbyNkw0PvUcOl+bZ2cc="; }; # Secondary source is pypi sdist for translations sdist = fetchPypi { inherit pname version; - hash = "sha256-SAeqGo+fTQG//Abix+6pjHKQJY1XBrNL7IexgqoXsYc="; + hash = "sha256-o5S6rnOTqzPLZpMBxgmp9IpmLlEHLvHTH68ql2EkVbI="; }; build-system = with python.pkgs; [ @@ -318,6 +319,19 @@ python.pkgs.buildPythonApplication rec { (replaceVars ./patches/ffmpeg-path.patch { ffmpeg = "${lib.getExe ffmpeg-headless}"; }) + + (fetchpatch { + name = "2026.5.4-shelly-tests-fix.patch"; + url = "https://github.com/home-assistant/core/commit/072e9b51a2321b0d4489bae6f1e04f7ed845222f.patch"; + includes = [ "tests/components/shelly/test_coordinator.py" ]; + hash = "sha256-0XQdw2MnwzrHKYY06TotfJJem0bqremmi7k8SyVQVGA="; + }) + + (fetchpatch { + name = "2026.5.4-homewizard-tests-fix.patch"; + url = "https://github.com/home-assistant/core/commit/e796d9c46744097585bfada483108a55ae16344a.patch"; + hash = "sha256-T0Nb6LcL/21WdUm8RmczhHaVX92n5O/rpMdpqDVQ2VU="; + }) ]; postPatch = '' diff --git a/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix b/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix index cdbf0b08a477..43bb5b244499 100644 --- a/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix +++ b/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "pytest-homeassistant-custom-component"; - version = "0.13.332"; + version = "0.13.333"; pyproject = true; disabled = pythonOlder "3.13"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "MatthewFlamm"; repo = "pytest-homeassistant-custom-component"; tag = version; - hash = "sha256-zkRmuNUmRVvnIwIx494xzFKT0/00GZzkVo6cva9tut4="; + hash = "sha256-zSssvqYxgGguKUanzpAYzammeWrBOi0bZrLIfg8NwC0="; }; build-system = [ setuptools ]; diff --git a/pkgs/servers/home-assistant/stubs.nix b/pkgs/servers/home-assistant/stubs.nix index 8f1d055b6a8d..b91aba91147f 100644 --- a/pkgs/servers/home-assistant/stubs.nix +++ b/pkgs/servers/home-assistant/stubs.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "homeassistant-stubs"; - version = "2026.5.3"; + version = "2026.5.4"; pyproject = true; disabled = python.version != home-assistant.python.version; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "KapJI"; repo = "homeassistant-stubs"; tag = version; - hash = "sha256-kgfnT+qTsbB3T8PPsSA698QcxcM1o1QW8hLnfXjGm5M="; + hash = "sha256-AMJZxGN/asXcWbT/X92tQQ82/f8vI8MYft/Xx43GInc="; }; build-system = [ diff --git a/pkgs/servers/home-assistant/tests.nix b/pkgs/servers/home-assistant/tests.nix index a4c17265f8cd..c1c60a74c2d8 100644 --- a/pkgs/servers/home-assistant/tests.nix +++ b/pkgs/servers/home-assistant/tests.nix @@ -142,6 +142,11 @@ let # [2026.5.2] Failed: Description not found for placeholder `modulation` in component.honeywell_string_lights.config.abort.no_compatible_transmitters" "test_no_compatible_transmitters" ]; + lutron_caseta = [ + # [2026.5.4] creates binary_sensor.basement_bedroom_left_shade_battery + # expects binary_sensor.basement_bedroom_basement_bedroom_left_shade_battery + "test_battery_sensor_handles_bridge_response_error" + ]; novy_cooker_hood = [ # [2026.5.2] Failed: Description not found for placeholder `modulation` in component.novy_cooker_hood.config.abort.no_compatible_transmitters "test_no_compatible_transmitters" diff --git a/pkgs/servers/http/angie/default.nix b/pkgs/servers/http/angie/default.nix index c5e5e3f817c7..ee4dd5c50979 100644 --- a/pkgs/servers/http/angie/default.nix +++ b/pkgs/servers/http/angie/default.nix @@ -9,11 +9,11 @@ callPackage ../nginx/generic.nix args rec { pname = "angie"; - version = "1.11.3"; + version = "1.11.5"; src = fetchurl { url = "https://download.angie.software/files/angie-${version}.tar.gz"; - hash = "sha256-CPqZ0YqQ9zhnSzAPZIZ0BgRa1cUY6VLNJOP/2wwUEX0="; + hash = "sha256-tfKXxt8qdLnQCRp83XR//9LQ4dC+Q2MtphwcdTnbIEM="; }; configureFlags = lib.optionals withAcme [ diff --git a/pkgs/servers/http/nginx/mainline.nix b/pkgs/servers/http/nginx/mainline.nix index 5577ca7a583f..7e6e8943428c 100644 --- a/pkgs/servers/http/nginx/mainline.nix +++ b/pkgs/servers/http/nginx/mainline.nix @@ -1,6 +1,6 @@ { callPackage, ... }@args: callPackage ./generic.nix args { - version = "1.31.0"; - hash = "sha256-bVsA1FOTry5OfFKkQtKhmPDMvHZ47QYqRvQD7dgz66o="; + version = "1.31.1"; + hash = "sha256-n8quuPIlRLCaGadh80EsQRIhVCJAFjS+vdEpakA8xLw="; } diff --git a/pkgs/servers/http/nginx/stable.nix b/pkgs/servers/http/nginx/stable.nix index 7d01bc4c7942..61d47dba246b 100644 --- a/pkgs/servers/http/nginx/stable.nix +++ b/pkgs/servers/http/nginx/stable.nix @@ -1,6 +1,6 @@ { callPackage, ... }@args: callPackage ./generic.nix args { - version = "1.30.1"; - hash = "sha256-mXZQANl0iWsxyliC2MJ5zj/n729cb58Kln7X/TQH+cw="; + version = "1.30.2"; + hash = "sha256-ffMJCQf8o8wORW1twAzrIw2nTqiAJs7/Cv/CnbvZrEw="; } diff --git a/pkgs/servers/mail/mailman/package.nix b/pkgs/servers/mail/mailman/package.nix index 75cd2331ff87..fac9ea19cf35 100644 --- a/pkgs/servers/mail/mailman/package.nix +++ b/pkgs/servers/mail/mailman/package.nix @@ -12,16 +12,16 @@ with python3.pkgs; buildPythonPackage (finalAttrs: { pname = "mailman"; - version = "3.3.9"; + version = "3.3.10"; pyproject = true; src = fetchPypi { inherit (finalAttrs) pname version; - hash = "sha256-GblXI6IwkLl+V1gEbMAe1baVyZOHMaYaYITXcTkp2Mo="; + hash = "sha256-DeR4/PMm8l2TGTjDdE5hxc1nWWtG5bHjuyq/mdVEVjI="; }; build-system = with python3.pkgs; [ - setuptools + pdm-backend ]; dependencies = with python3.pkgs; [ @@ -71,6 +71,11 @@ buildPythonPackage (finalAttrs: { --replace /usr/sbin/postmap ${postfix}/bin/postmap substituteInPlace src/mailman/config/schema.cfg \ --replace /usr/bin/lynx ${lynx}/bin/lynx + + # Backport of + # https://gitlab.com/mailman/mailman/-/commit/3a22537382d41ab3e46b859054547755963b069d.patch + substituteInPlace pyproject.toml \ + --replace-fail '"nntplib;' '"standard-nntplib;' ''; # Mailman assumes that those scripts in $out/bin are Python scripts. Wrapping diff --git a/pkgs/servers/mail/mailman/postorius.nix b/pkgs/servers/mail/mailman/postorius.nix index aabcf02e5115..f25a2ac011a8 100644 --- a/pkgs/servers/mail/mailman/postorius.nix +++ b/pkgs/servers/mail/mailman/postorius.nix @@ -10,12 +10,12 @@ with python3.pkgs; buildPythonPackage (finalAttrs: { pname = "postorius"; - version = "1.3.10"; - format = "setuptools"; + version = "1.3.13"; + format = "pyproject"; src = fetchPypi { inherit (finalAttrs) pname version; - hash = "sha256-GmbIqO+03LgbUxJ1nTStXrYN3t2MfvzbeYRAipfTW1o="; + hash = "sha256-YC3vXEhSkA1J6K2VGWojNOE8MeSdnAhZMkh558UTGiI="; }; patches = [ @@ -25,9 +25,20 @@ buildPythonPackage (finalAttrs: { excludes = [ "src/postorius/doc/news.rst" ]; hash = "sha256-M8C7mO/KoVhl1YtZ5x3wqL+aBkepJ/7NoIRUmd0JpiM="; }) + + (fetchpatch { + name = "django-5.2.patch"; + url = "https://gitlab.com/mailman/postorius/-/commit/0468ab0329df85b89e6b5d9f7b4d1805f47450c9.patch"; + excludes = [ + ".gitlab-ci.yml" + "src/postorius/doc/news.rst" + ]; + hash = "sha256-4yk7hLF6cRfS7Kelr49LPeVfrqvNoX1jxTy8sdGrMAk="; + }) ]; - propagatedBuildInputs = [ + build-system = [ pdm-backend ]; + dependencies = [ django-mailman3 readme-renderer ] diff --git a/pkgs/servers/mail/mailman/python.nix b/pkgs/servers/mail/mailman/python.nix index 9a1b7b094413..c470f72e7f4c 100644 --- a/pkgs/servers/mail/mailman/python.nix +++ b/pkgs/servers/mail/mailman/python.nix @@ -27,19 +27,6 @@ lib.fix ( [2] f931bc81d63f5cfda55ac73d754c87b3fd63b291 */ django = super.django_5; - - django-allauth = super.django-allauth.overrideAttrs ( - new: - { src, ... }: - { - version = "0.63.6"; - src = src.override { - tag = new.version; - hash = "sha256-13/QbA//wyHE9yMB7Jy/sJEyqPKxiMN+CZwSc4U6okU="; - }; - patches = [ ]; - } - ); }) overlay; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index ada49dcfecda..6d85a8eecd08 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2,7 +2,6 @@ lib: self: super: ### Deprecated aliases - for backward compatibility ### Please maintain this list in ASCIIbetical ordering. -### Hint: the "sections" are delimited by ### ### # These aliases should not be used within nixpkgs, but exist to improve # backward compatibility in projects outside of nixpkgs. See the @@ -1334,6 +1333,7 @@ mapAliases { log4shell-detector = throw "'log4shell-detector' has been removed, as it was unmaintained upstream and no longer relevant given that the Log4Shell vulnerability has been fixed."; # Added 2025-11-15 lowPrio = warnAlias "'lowPrio' has been removed from pkgs, use `lib.lowPrio` instead" lib.lowPrio; # Added 2025-10-30 LPCNet = throw "'LPCNet' has been renamed to/replaced by 'lpcnet'"; # Converted to throw 2025-10-27 + lttv = throw "'lttv' has been removed, as it is broken and unmaintained. Upstream suggests using 'tracecompass' or 'babeltrace2' instead"; # Added 2026-05-04 luci-go = throw "luci-go has been removed since it was unused and failing to build for 5 months"; # Added 2025-08-27 luminanceHDR = throw "'luminanceHDR' has been removed as it depended on EOL qt5 webengine and was unmaintained"; # Added 2026-04-17 lunarvim = throw "'lunarvim' has been removed since it was abandoned upstream and relied on an older version of 'neovim' to work properly"; # Added 2026-02-05 @@ -1903,6 +1903,7 @@ mapAliases { SDL2_classic_image = throw "'SDL2_classic_image' has been removed as part of the deprecation of 'SDL2_classic'. Consider upgrading to 'SDL2_image' built with 'sdl2-compat'."; # Added 2025-05-20 SDL2_classic_mixer = throw "'SDL2_classic_mixer' has been removed as part of the deprecation of 'SDL2_classic'. Consider upgrading to 'SDL2_mixer' built with 'sdl2-compat'."; # Added 2025-05-20 SDL2_classic_ttf = throw "'SDL2_classic_ttf' has been removed as part of the deprecation of 'SDL2_classic'. Consider upgrading to 'SDL2_ttf' built with 'sdl2-compat'."; # Added 2025-05-20 + sdnotify-wrapper = skawarePackages.sdnotify-wrapper; seafile-server = throw "'seafile-server' has been removed as it is unmaintained"; # Added 2025-08-21 seahub = throw "'seahub' has been removed as it is unmaintained"; # Added 2025-08-21 semantik = throw "'semantik' has been removed as it depended on EOL qt5 webengine"; # Added 2026-04-17 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fd02ed8d386e..412eb9b256dd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7202,7 +7202,6 @@ with pkgs; s6-portable-utils-man-pages s6-rc s6-rc-man-pages - sdnotify-wrapper skalibs skalibs_2_10 tipidee diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index a955635c4354..1b6bca6440ee 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -316,6 +316,7 @@ mapAliases { llama-index-readers-llama-parse = throw "'llama-index-readers-llama-parse' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # added 2026-03-25 llama-parse = throw "'llama-parse' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # added 2026-03-25 llamaindex-py-client = throw "'llamaindex-pyclient' has been removed as it was removed from upstream"; # Added 2026-04-03 + llfuse = throw "'llfuse' hase been removed, as it depends on fuse2, and is no longer developed. Please use 'mfusepy' instead"; # Added 2026-05-20 lmcloud = throw "'lmcloud' has been renamed to/replaced by 'pylamarzocco'"; # Converted to throw 2025-10-29 logilab_common = throw "'logilab_common' has been renamed to/replaced by 'logilab-common'"; # Converted to throw 2025-10-29 loo-py = throw "'loo-py' has been renamed to/replaced by 'loopy'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 89dc567da3b0..712df11f6f61 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9268,8 +9268,6 @@ self: super: with self; { llama-stack-client = callPackage ../development/python-modules/llama-stack-client { }; - llfuse = callPackage ../development/python-modules/llfuse { inherit (pkgs) fuse; }; - llguidance = callPackage ../development/python-modules/llguidance { }; llm = callPackage ../development/python-modules/llm { }; @@ -15756,6 +15754,8 @@ self: super: with self; { python-axolotl-curve25519 = callPackage ../development/python-modules/python-axolotl-curve25519 { }; + python-backoff = callPackage ../development/python-modules/python-backoff { }; + python-barbicanclient = callPackage ../development/python-modules/python-barbicanclient { }; python-barcode = callPackage ../development/python-modules/python-barcode { }; @@ -18194,10 +18194,18 @@ self: super: with self; { callPackage ../development/python-modules/snakemake-interface-storage-plugins { }; + snakemake-logger-plugin-rich = + callPackage ../development/python-modules/snakemake-logger-plugin-rich + { }; + snakemake-storage-plugin-fs = callPackage ../development/python-modules/snakemake-storage-plugin-fs { }; + snakemake-storage-plugin-http = + callPackage ../development/python-modules/snakemake-storage-plugin-http + { }; + snakemake-storage-plugin-s3 = callPackage ../development/python-modules/snakemake-storage-plugin-s3 { };