diff --git a/ci/OWNERS b/ci/OWNERS index f7d95bbd46eb..e4aeeaa6db6b 100644 --- a/ci/OWNERS +++ b/ci/OWNERS @@ -56,6 +56,7 @@ /pkgs/build-support/cc-wrapper @Ericson2314 /pkgs/build-support/bintools-wrapper @Ericson2314 /pkgs/build-support/setup-hooks @Ericson2314 +/pkgs/build-support/setup-hooks/arrayUtilities @ConnorBaker /pkgs/build-support/setup-hooks/auto-patchelf.sh @layus /pkgs/by-name/au/auto-patchelf @layus diff --git a/doc/languages-frameworks/cuda.section.md b/doc/languages-frameworks/cuda.section.md index 535ce02efbc6..1a40f4cc1a24 100644 --- a/doc/languages-frameworks/cuda.section.md +++ b/doc/languages-frameworks/cuda.section.md @@ -115,8 +115,8 @@ All new projects should use the CUDA redistributables available in [`cudaPackage ### Updating supported compilers and GPUs {#updating-supported-compilers-and-gpus} -1. Update `nvccCompatibilities` in `pkgs/development/cuda-modules/_cuda/data/nvcc.nix` to include the newest release of NVCC, as well as any newly supported host compilers. -2. Update `cudaCapabilityToInfo` in `pkgs/development/cuda-modules/_cuda/data/cuda.nix` to include any new GPUs supported by the new release of CUDA. +1. Update `nvccCompatibilities` in `pkgs/development/cuda-modules/_cuda/db/bootstrap/nvcc.nix` to include the newest release of NVCC, as well as any newly supported host compilers. +2. Update `cudaCapabilityToInfo` in `pkgs/development/cuda-modules/_cuda/db/bootstrap/cuda.nix` to include any new GPUs supported by the new release of CUDA. ### Updating the CUDA Toolkit runfile installer {#updating-the-cuda-toolkit} diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 067a99e948b2..44093876b6bc 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3724,6 +3724,13 @@ githubId = 92804487; keys = [ { fingerprint = "58A2 81E6 2FBD 6E4E 664C B603 7B4D 2A02 BB0E C28C"; } ]; }; + bricklou = { + name = "Bricklou"; + email = "louis13.bailleau@gmail.com"; + github = "bricklou"; + githubId = 15181236; + keys = [ { fingerprint = "AE1E 3B80 7727 C974 B972 AB3C C324 01C3 BF52 1179"; } ]; + }; britter = { name = "Benedikt Ritter"; email = "beneritter@gmail.com"; @@ -3916,15 +3923,14 @@ github = "c4f3z1n"; githubId = 22820003; }; - c4thebomb = { + c4patino = { name = "Ceferino Patino"; email = "c4patino@gmail.com"; - github = "c4thebomb"; + github = "c4patino"; githubId = 79673111; keys = [ - { - fingerprint = "EA60 D516 A926 7532 369D 3E67 E161 DF22 9EC1 280E"; - } + { fingerprint = "EA60 D516 A926 7532 369D 3E67 E161 DF22 9EC1 280E"; } + { fingerprint = "D088 A5AF C45B 78D1 CD4F 457C 6957 B3B6 46F2 BB4E"; } ]; }; caarlos0 = { diff --git a/nixos/modules/profiles/nix-builder-vm.nix b/nixos/modules/profiles/nix-builder-vm.nix index 17ccad53297f..50dde02eef64 100644 --- a/nixos/modules/profiles/nix-builder-vm.nix +++ b/nixos/modules/profiles/nix-builder-vm.nix @@ -111,6 +111,14 @@ in }; }; + # DNS fails for QEMU user networking (SLiRP) on macOS. See: + # + # https://github.com/utmapp/UTM/issues/2353 + # + # This works around that by using a public DNS server other than the DNS + # server that QEMU provides (normally 10.0.2.3) + networking.nameservers = [ "8.8.8.8" ]; + # The linux builder is a lightweight VM for remote building; not evaluation. nix.channel.enable = false; diff --git a/nixos/tests/zrepl.nix b/nixos/tests/zrepl.nix index 3bc6ed9d342c..e800340df6e6 100644 --- a/nixos/tests/zrepl.nix +++ b/nixos/tests/zrepl.nix @@ -1,76 +1,178 @@ { name = "zrepl"; - nodes.host = - { pkgs, ... }: - { - config = { - # Prerequisites for ZFS and tests. - boot.supportedFilesystems = [ "zfs" ]; - environment.systemPackages = [ pkgs.zrepl ]; - networking.hostId = "deadbeef"; - services.zrepl = { - enable = true; - settings = { - # Enable Prometheus output for status assertions. - global.monitoring = [ - { - type = "prometheus"; - listen = ":9811"; - } - ]; - # Create a periodic snapshot job for an ephemeral zpool. - jobs = [ - { - name = "snap_test"; - type = "snap"; + nodes = { + source = + { nodes, pkgs, ... }: + { + config = { + # Prerequisites for ZFS and tests. + virtualisation.emptyDiskImages = [ + 2048 + ]; - filesystems."test" = true; - snapshotting = { - type = "periodic"; - prefix = "zrepl_"; - interval = "1s"; - }; + boot.supportedFilesystems = [ "zfs" ]; + environment.systemPackages = [ + pkgs.parted + pkgs.zrepl + ]; + networking.firewall.allowedTCPPorts = [ 8888 ]; + networking.hostId = "deadbeef"; + services.zrepl = { + enable = true; + settings = { + # Enable Prometheus output for status assertions. + global.monitoring = [ + { + type = "prometheus"; + listen = ":9811"; + } + ]; + # Create a periodic snapshot job for an ephemeral zpool. + jobs = [ + { + name = "snapshots"; + type = "snap"; - pruning.keep = [ - { - type = "last_n"; - count = 8; - } - ]; - } - ]; + filesystems."tank/data" = true; + snapshotting = { + type = "periodic"; + prefix = "zrepl_"; + interval = "10s"; + }; + + pruning.keep = [ + { + type = "last_n"; + count = 8; + } + ]; + } + { + name = "backup-target"; + type = "source"; + + serve = { + type = "tcp"; + listen = ":8888"; + + clients = { + "${nodes.target.networking.primaryIPAddress}" = "${nodes.target.networking.hostName}"; + "${nodes.target.networking.primaryIPv6Address}" = "${nodes.target.networking.hostName}"; + }; + }; + filesystems."tank/data" = true; + # Snapshots are handled by the separate snap job + snapshotting = { + type = "manual"; + }; + } + ]; + }; }; }; }; - }; + + target = + { pkgs, ... }: + { + config = { + # Prerequisites for ZFS and tests. + virtualisation.emptyDiskImages = [ + 2048 + ]; + + boot.supportedFilesystems = [ "zfs" ]; + environment.systemPackages = [ + pkgs.parted + pkgs.zrepl + ]; + networking.hostId = "deadd0d0"; + services.zrepl = { + enable = true; + settings = { + # Enable Prometheus output for status assertions. + global.monitoring = [ + { + type = "prometheus"; + listen = ":9811"; + } + ]; + jobs = [ + { + name = "source-pull"; + type = "pull"; + + connect = { + type = "tcp"; + address = "source:8888"; + }; + root_fs = "tank/zrepl/source"; + interval = "15s"; + recv = { + placeholder = { + encryption = "off"; + }; + }; + pruning = { + keep_sender = [ + { + type = "regex"; + regex = ".*"; + } + ]; + keep_receiver = [ + { + type = "grid"; + grid = "1x1h(keep=all) | 24x1h"; + regex = "^zrepl_"; + } + ]; + }; + } + ]; + }; + }; + }; + }; + }; testScript = '' start_all() with subtest("Wait for zrepl and network ready"): - host.systemctl("start network-online.target") - host.wait_for_unit("network-online.target") - host.wait_for_unit("zrepl.service") + for machine in source, target: + machine.systemctl("start network-online.target") + machine.wait_for_unit("network-online.target") + machine.wait_for_unit("zrepl.service") - with subtest("Create test zpool"): - # ZFS requires 64MiB minimum pool size. - host.succeed("fallocate -l 64MiB /root/zpool.img") - host.succeed("zpool create test /root/zpool.img") + with subtest("Create tank zpool"): + for machine in source, target: + machine.succeed( + "parted --script /dev/vdb mklabel gpt", + "zpool create tank /dev/vdb", + ) - with subtest("Check for completed zrepl snapshot"): + # Create ZFS datasets + source.succeed("zfs create tank/data") + target.succeed("zfs create -p tank/zrepl/source") + + with subtest("Check for completed zrepl snapshot on target"): # zrepl periodic snapshot job creates a snapshot with this prefix. - host.wait_until_succeeds("zfs list -t snapshot | grep -q zrepl_") + target.wait_until_succeeds("zfs list -t snapshot | grep -q tank/zrepl/source/tank/data@zrepl_") + + with subtest("Check for completed zrepl bookmark on source"): + source.wait_until_succeeds("zfs list -t bookmark | grep -q tank/data#zrepl_") with subtest("Verify HTTP monitoring server is configured"): - out = host.succeed("curl -f localhost:9811/metrics") + out = source.succeed("curl -f localhost:9811/metrics") assert ( "zrepl_start_time" in out ), "zrepl start time metric was not found in Prometheus output" assert ( - "zrepl_zfs_snapshot_duration_count{filesystem=\"test\"}" in out - ), "zrepl snapshot counter for test was not found in Prometheus output" + "zrepl_zfs_snapshot_duration_count{filesystem=\"tank/data\"}" in out + ), "zrepl snapshot counter for tank/data was not found in Prometheus output" ''; } diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index a008db57e0bd..f35db41efef6 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -3350,8 +3350,8 @@ let mktplcRef = { name = "vscode-kubernetes-tools"; publisher = "ms-kubernetes-tools"; - version = "1.3.23"; - hash = "sha256-8s1fuuTwUPd1Z32EqZNloD50KaFlPOxlvMmo5D6NaE4="; + version = "1.3.24"; + hash = "sha256-LO8WWLxvLZKSpQx+iLR8RpRxnck0oZU/A0WzEeDPgyQ="; }; meta = { license = lib.licenses.mit; diff --git a/pkgs/applications/emulators/libretro/cores/mupen64plus.nix b/pkgs/applications/emulators/libretro/cores/mupen64plus.nix index ae8fdad83733..b3aa8b212feb 100644 --- a/pkgs/applications/emulators/libretro/cores/mupen64plus.nix +++ b/pkgs/applications/emulators/libretro/cores/mupen64plus.nix @@ -41,11 +41,13 @@ mkLibretroCore { }) ]; + extraNativeBuildInputs = [ + nasm + ]; extraBuildInputs = [ libGLU libGL libpng - nasm xorg.libX11 ]; makefile = "Makefile"; diff --git a/pkgs/applications/emulators/libretro/cores/same_cdi.nix b/pkgs/applications/emulators/libretro/cores/same_cdi.nix index d322d5ced1a5..517fd721caea 100644 --- a/pkgs/applications/emulators/libretro/cores/same_cdi.nix +++ b/pkgs/applications/emulators/libretro/cores/same_cdi.nix @@ -2,7 +2,7 @@ lib, alsa-lib, fetchFromGitHub, - gcc12Stdenv, + fetchpatch2, libGL, libGLU, mkLibretroCore, @@ -21,6 +21,15 @@ mkLibretroCore { hash = "sha256-EGE3NuO0gpZ8MKPypH8rFwJiv4QsdKuIyLKVuKTcvws="; }; + patches = [ + (fetchpatch2 { + # https://github.com/libretro/same_cdi/pull/19 + name = "Fixes_compilation_errors_as_per_issue_9.patch"; + url = "https://github.com/libretro/same_cdi/commit/bf3212315546cdd514118a4f3ea764fd9c401091.patch?full_index=1"; + hash = "sha256-1vrMxnRtEWUt+6I/4PSfCPDIUAGKkXFd2UVr9473ngo="; + }) + ]; + extraNativeBuildInputs = [ python3 ]; extraBuildInputs = [ alsa-lib @@ -29,9 +38,6 @@ mkLibretroCore { portaudio xorg.libX11 ]; - # FIXME = build fail with GCC13: - # error = 'uint8_t' in namespace 'std' does not name a type; did you mean 'wint_t'? - stdenv = gcc12Stdenv; meta = { description = "SAME_CDI is a libretro core to play CD-i games"; diff --git a/pkgs/applications/emulators/libretro/default.nix b/pkgs/applications/emulators/libretro/default.nix index 7cac65848810..46faa0f29e9b 100644 --- a/pkgs/applications/emulators/libretro/default.nix +++ b/pkgs/applications/emulators/libretro/default.nix @@ -4,7 +4,7 @@ }: lib.makeScope newScope (self: { - mkLibretroCore = self.callPackage ./mkLibretroCore.nix; + mkLibretroCore = self.callPackage ./mkLibretroCore.nix { }; atari800 = self.callPackage ./cores/atari800.nix { }; diff --git a/pkgs/applications/emulators/libretro/mkLibretroCore.nix b/pkgs/applications/emulators/libretro/mkLibretroCore.nix index 892f5798c4d9..1702f150e4ee 100644 --- a/pkgs/applications/emulators/libretro/mkLibretroCore.nix +++ b/pkgs/applications/emulators/libretro/mkLibretroCore.nix @@ -6,96 +6,93 @@ retroarch-bare, unstableGitUpdater, zlib, - # Params - core, - makefile ? "Makefile.libretro", - extraBuildInputs ? [ ], - extraNativeBuildInputs ? [ ], - ## Location of resulting RetroArch core on $out - libretroCore ? "/lib/retroarch/cores", - ## The core filename is derived from the core name - ## Setting `normalizeCore` to `true` will convert `-` to `_` on the core filename - normalizeCore ? true, - ... -}@args: +}: -let - d2u = if normalizeCore then (lib.replaceStrings [ "-" ] [ "_" ]) else (x: x); - coreDir = placeholder "out" + libretroCore; - coreFilename = "${d2u core}_libretro${stdenv.hostPlatform.extensions.sharedLibrary}"; - mainProgram = "retroarch-${core}"; - extraArgs = builtins.removeAttrs args [ - "lib" - "stdenv" - "makeWrapper" - "retroarch-bare" - "unstableGitUpdater" - "zlib" +lib.extendMkDerivation { + constructDrv = stdenv.mkDerivation; + excludeDrvArgNames = [ "core" "extraBuildInputs" "extraNativeBuildInputs" "libretroCore" - "makefile" "normalizeCore" - "passthru" - "meta" ]; -in -stdenv.mkDerivation ( - { - pname = "libretro-${core}"; - buildInputs = [ zlib ] ++ extraBuildInputs; - nativeBuildInputs = [ makeWrapper ] ++ extraNativeBuildInputs; + extendDrvArgs = + finalAttrs: + { + core, + enableParallelBuilding ? true, + extraBuildInputs ? [ ], + extraNativeBuildInputs ? [ ], + makeFlags ? [ ], + makefile ? "Makefile.libretro", + meta ? { }, + passthru ? { }, + strictDeps ? true, + ## Location of resulting RetroArch core on $out + libretroCore ? "/lib/retroarch/cores", + ## The core filename is derived from the core name + ## Setting `normalizeCore` to `true` will convert `-` to `_` on the core filename + normalizeCore ? true, + ... + }: + let + d2u = if normalizeCore then (lib.replaceStrings [ "-" ] [ "_" ]) else (x: x); + coreDir = placeholder "out" + libretroCore; + coreFilename = "${d2u core}_libretro${stdenv.hostPlatform.extensions.sharedLibrary}"; + mainProgram = "retroarch-${core}"; + in + { + pname = "libretro-${core}"; - inherit makefile; + buildInputs = [ zlib ] ++ extraBuildInputs; + nativeBuildInputs = [ makeWrapper ] ++ extraNativeBuildInputs; - makeFlags = [ - "platform=${ - { - linux = "unix"; - darwin = "osx"; - windows = "win"; - } - .${stdenv.hostPlatform.parsed.kernel.name} or stdenv.hostPlatform.parsed.kernel.name - }" - "ARCH=${ - { - armv7l = "arm"; - armv6l = "arm"; - aarch64 = "arm64"; - i686 = "x86"; - } - .${stdenv.hostPlatform.parsed.cpu.name} or stdenv.hostPlatform.parsed.cpu.name - }" - ] ++ (args.makeFlags or [ ]); + inherit enableParallelBuilding makefile strictDeps; - installPhase = '' - runHook preInstall + makeFlags = [ + "platform=${ + { + linux = "unix"; + darwin = "osx"; + windows = "win"; + } + .${stdenv.hostPlatform.parsed.kernel.name} or stdenv.hostPlatform.parsed.kernel.name + }" + "ARCH=${ + { + armv7l = "arm"; + armv6l = "arm"; + aarch64 = "arm64"; + i686 = "x86"; + } + .${stdenv.hostPlatform.parsed.cpu.name} or stdenv.hostPlatform.parsed.cpu.name + }" + ] ++ makeFlags; - install -Dt ${coreDir} ${coreFilename} - makeWrapper ${retroarch-bare}/bin/retroarch $out/bin/${mainProgram} \ - --add-flags "-L ${coreDir}/${coreFilename}" + installPhase = '' + runHook preInstall - runHook postInstall - ''; + install -Dt ${coreDir} ${coreFilename} + makeWrapper ${retroarch-bare}/bin/retroarch $out/bin/${mainProgram} \ + --add-flags "-L ${coreDir}/${coreFilename}" - enableParallelBuilding = true; + runHook postInstall + ''; - passthru = { - inherit core libretroCore; - # libretro repos sometimes has a fake tag like "Current", ignore - # it by setting hardcodeZeroVersion - updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; - } // (args.passthru or { }); + passthru = { + inherit core libretroCore; + # libretro repos sometimes has a fake tag like "Current", ignore + # it by setting hardcodeZeroVersion + updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; + } // passthru; - meta = { - inherit mainProgram; - inherit (retroarch-bare.meta) platforms; - homepage = "https://www.libretro.com/"; - teams = [ lib.teams.libretro ]; - } // (args.meta or { }); - } - // extraArgs -) + meta = { + inherit mainProgram; + inherit (retroarch-bare.meta) platforms; + teams = [ lib.teams.libretro ]; + } // meta; + }; +} diff --git a/pkgs/applications/misc/meerk40t/default.nix b/pkgs/applications/misc/meerk40t/default.nix index 5043e43ddee6..1795dd5c9480 100644 --- a/pkgs/applications/misc/meerk40t/default.nix +++ b/pkgs/applications/misc/meerk40t/default.nix @@ -9,14 +9,14 @@ python3Packages.buildPythonApplication rec { pname = "MeerK40t"; - version = "0.9.7030"; + version = "0.9.7051"; pyproject = true; src = fetchFromGitHub { owner = "meerk40t"; repo = pname; tag = version; - hash = "sha256-3UO2M4mDzRdzhS+H2gyzJo5W4JWGK+qt1Gg9LHGmdOY="; + hash = "sha256-v3lwFl4Qls+NzR2rYwNF8PyFTH0nNcLlF/uwc0h3Pc0="; }; nativeBuildInputs = diff --git a/pkgs/applications/networking/cluster/linkerd/edge.nix b/pkgs/applications/networking/cluster/linkerd/edge.nix index a68785209a01..ea8d7e5ac924 100644 --- a/pkgs/applications/networking/cluster/linkerd/edge.nix +++ b/pkgs/applications/networking/cluster/linkerd/edge.nix @@ -2,7 +2,7 @@ (callPackage ./generic.nix { }) { channel = "edge"; - version = "25.5.4"; - sha256 = "0hyjhcb36qbsigc0knf4spyal0djijln1w5cdjrrpwx58jzjhzj8"; - vendorHash = "sha256-DNR2qLTai7BOOovbd9MfQ1ZUUehkD9WQ/UJo+MDdjSg="; + version = "25.6.1"; + sha256 = "0lpf9f5bj6x8b21xak6dzwscj0w9jcdvz83fl6nymy8z8y0dybq7"; + vendorHash = "sha256-ePioPHA9gps76VncdPkDEDE3sLUlrCxr7CFsXqoR6KM="; } diff --git a/pkgs/applications/networking/remote/teamviewer/default.nix b/pkgs/applications/networking/remote/teamviewer/default.nix index ede0aff09ae3..bacf6d39f85d 100644 --- a/pkgs/applications/networking/remote/teamviewer/default.nix +++ b/pkgs/applications/networking/remote/teamviewer/default.nix @@ -164,7 +164,7 @@ mkDerivation rec { jagajaga jraygauthier gador - c4thebomb + c4patino ]; }; } diff --git a/pkgs/applications/science/electronics/nanovna-saver/default.nix b/pkgs/applications/science/electronics/nanovna-saver/default.nix index b1085edcd592..ec8ea13a192a 100644 --- a/pkgs/applications/science/electronics/nanovna-saver/default.nix +++ b/pkgs/applications/science/electronics/nanovna-saver/default.nix @@ -4,16 +4,28 @@ python3, fetchFromGitHub, qt6, + writeShellScriptBin, }: +let + # Matches the pyside6-uic and pyside6-rcc implementations + # https://code.qt.io/cgit/pyside/pyside-setup.git/tree/sources/pyside-tools/pyside_tool.py?id=9b310d4c0654a244147766e382834b5e8bdeb762#n90 + pyside-tools-uic = writeShellScriptBin "pyside6-uic" '' + exec ${qt6.qtbase}/libexec/uic -g python "$@" + ''; + pyside-tools-rcc = writeShellScriptBin "pyside6-rcc" '' + exec ${qt6.qtbase}/libexec/rcc -g python "$@" + ''; +in python3.pkgs.buildPythonApplication rec { pname = "nanovna-saver"; - version = "0.6.8"; + version = "0.7.3"; + pyproject = true; src = fetchFromGitHub { owner = "NanoVNA-Saver"; repo = pname; tag = "v${version}"; - sha256 = "sha256-XGm3y0C0bFqKbh2ImbYTKOKSYFJ728mE/1N78/WPJqo="; + sha256 = "sha256-Asx4drb9W2NobdgOlbgdm1aAzB69hnIWvOM915F7sgA="; }; nativeBuildInputs = [ @@ -28,6 +40,7 @@ python3.pkgs.buildPythonApplication rec { scipy pyqt6 pyserial + pyside6 numpy setuptools setuptools-scm @@ -38,6 +51,12 @@ python3.pkgs.buildPythonApplication rec { dontWrapGApps = true; dontWrapQtApps = true; + postPatch = '' + substituteInPlace src/tools/ui_compile.py \ + --replace-fail "pyside6-uic" "${pyside-tools-uic}/bin/pyside6-uic" \ + --replace-fail "pyside6-rcc" "${pyside-tools-rcc}/bin/pyside6-rcc" + ''; + preFixup = '' makeWrapperArgs+=( "''${gappsWrapperArgs[@]}" diff --git a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprsplit.nix b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprsplit.nix index 8a7d7cda0a96..a094d3c8478f 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprsplit.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprsplit.nix @@ -9,13 +9,13 @@ }: mkHyprlandPlugin hyprland rec { pluginName = "hyprsplit"; - version = "0.48.1-unstable-2025-05-03"; + version = "0.49.0"; src = fetchFromGitHub { owner = "shezdy"; repo = "hyprsplit"; - rev = "9a65a4d33cc86703d2ac1f349de9697c8fc7a4b9"; - hash = "sha256-NJTCUa8kHXzQDpUmSifXrHMheR5yejigG2vPBepHolA="; + rev = "refs/tags/v${version}"; + hash = "sha256-0jrsiUoQi/VXM2Ji7YTOEYDYYlBI2C3ZbgQpYoAEVKI="; }; nativeBuildInputs = [ diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/getSortedMapKeys.bash b/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/getSortedMapKeys.bash new file mode 100644 index 000000000000..436d7b0dbd6d --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/getSortedMapKeys.bash @@ -0,0 +1,45 @@ +# shellcheck shell=bash + +# getSortedMapKeys +# Stores the sorted keys of the input associative array referenced by inputMapRef in the indexed arrray referenced by +# outputArrRef. +# +# Note from the Bash manual on arrays: +# There is no maximum limit on the size of an array, nor any requirement that members be indexed or assigned contiguously. +# - https://www.gnu.org/software/bash/manual/html_node/Arrays.html +# +# Since no guarantees are made about the order in which associative maps are traversed, this function is primarly +# useful for getting rid of yet another source of non-determinism. As an added benefit, it checks that the arguments +# provided are of correct type, unlike native parameter expansion which will accept expansions of strings. +# +# Arguments: +# - inputMapRef: a reference to an associative array (not mutated) +# - outputArrRef: a reference to an indexed array (contents are replaced entirely) +# +# Returns 0. +getSortedMapKeys() { + if (($# != 2)); then + nixErrorLog "expected two arguments!" + nixErrorLog "usage: getSortedMapKeys inputMapRef outputArrRef" + exit 1 + fi + + local -rn inputMapRef="$1" + # shellcheck disable=SC2178 + # Don't warn about outputArrRef being used as an array because it is an array. + local -rn outputArrRef="$2" + + if ! isDeclaredMap "${!inputMapRef}"; then + nixErrorLog "first argument inputMapRef must be a reference to an associative array" + exit 1 + elif ! isDeclaredArray "${!outputArrRef}"; then + nixErrorLog "second argument outputArrRef must be a reference to an indexed array" + exit 1 + fi + + # shellcheck disable=SC2034 + local -a keys=("${!inputMapRef[@]}") + sortArray keys "${!outputArrRef}" + + return 0 +} diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/package.nix b/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/package.nix new file mode 100644 index 000000000000..0a610db6eeed --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/package.nix @@ -0,0 +1,17 @@ +{ + callPackages, + isDeclaredArray, + isDeclaredMap, + makeSetupHook, + sortArray, +}: +makeSetupHook { + name = "getSortedMapKeys"; + propagatedBuildInputs = [ + isDeclaredArray + isDeclaredMap + sortArray + ]; + passthru.tests = callPackages ./tests.nix { }; + meta.description = "Gets the sorted indices of an associative array"; +} ./getSortedMapKeys.bash diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/tests.nix b/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/tests.nix new file mode 100644 index 000000000000..3808f6e60cec --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/getSortedMapKeys/tests.nix @@ -0,0 +1,80 @@ +# NOTE: Tests related to getSortedMapKeys go here. +{ + getSortedMapKeys, + lib, + testers, +}: +let + inherit (lib.attrsets) recurseIntoAttrs; + inherit (testers) shellcheck shfmt testEqualArrayOrMap; + + check = + { + name, + valuesMap, + expectedArray, + }: + (testEqualArrayOrMap { + inherit name valuesMap expectedArray; + script = '' + set -eu + nixLog "running getSortedMapKeys with valuesMap to populate actualArray" + getSortedMapKeys valuesMap actualArray + ''; + }).overrideAttrs + (prevAttrs: { + nativeBuildInputs = prevAttrs.nativeBuildInputs or [ ] ++ [ getSortedMapKeys ]; + }); +in +recurseIntoAttrs { + shellcheck = shellcheck { + name = "getSortedMapKeys"; + src = ./getSortedMapKeys.bash; + }; + + shfmt = shfmt { + name = "getSortedMapKeys"; + src = ./getSortedMapKeys.bash; + }; + + empty = check { + name = "empty"; + valuesMap = { }; + expectedArray = [ ]; + }; + + singleton = check { + name = "singleton"; + valuesMap = { + "apple" = "fruit"; + }; + expectedArray = [ "apple" ]; + }; + + keysAreSorted = check { + name = "keysAreSorted"; + valuesMap = { + "apple" = "fruit"; + "bee" = "insect"; + "carrot" = "vegetable"; + }; + expectedArray = [ + "apple" + "bee" + "carrot" + ]; + }; + + # NOTE: While keys can be whitespace, they cannot be null (empty). + keysCanBeWhitespace = check { + name = "keysCanBeWhitespace"; + valuesMap = { + " " = 1; + " " = 2; + }; + expectedArray = [ + " " + " " + ]; + }; +} diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/isDeclaredArray.bash b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/isDeclaredArray.bash new file mode 100644 index 000000000000..695bef751429 --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/isDeclaredArray.bash @@ -0,0 +1,14 @@ +# shellcheck shell=bash + +# isDeclaredArray +# Tests if inputArrayRef refers to a declared, indexed array. +# +# Arguments: +# - inputArrayRef: a reference to an indexed array (not mutated) +# +# Returns 0 if the indexed array is declared, 1 otherwise. +isDeclaredArray() { + # NOTE: We must dereference the name ref to get the type of the underlying variable. + # shellcheck disable=SC2034 + local -nr inputArrayRef="$1" && [[ ${!inputArrayRef@a} =~ a ]] +} diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/package.nix b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/package.nix new file mode 100644 index 000000000000..2b8ba3942c98 --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/package.nix @@ -0,0 +1,9 @@ +{ + callPackages, + makeSetupHook, +}: +makeSetupHook { + name = "isDeclaredArray"; + passthru.tests = callPackages ./tests.nix { }; + meta.description = "Tests if an array is declared"; +} ./isDeclaredArray.bash diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/tests.nix b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/tests.nix new file mode 100644 index 000000000000..72ea53ce45f8 --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredArray/tests.nix @@ -0,0 +1,353 @@ +# NOTE: Tests related to isDeclaredArray go here. +{ + isDeclaredArray, + lib, + runCommand, + testers, +}: +let + inherit (lib.attrsets) recurseIntoAttrs; + inherit (testers) shellcheck shfmt testBuildFailure'; + + commonArgs = { + __structuredAttrs = true; + strictDeps = true; + preferLocalBuild = true; + nativeBuildInputs = [ isDeclaredArray ]; + }; + + check = + let + mkLine = + intro: values: + "${if intro == null then "" else intro + " "}check${if values == null then "" else "=" + values}"; + mkScope = + scope: line: + if scope == null then + line + else if scope == "function" then + '' + foo() { + ${line} + } + foo + '' + else + builtins.throw "Invalid scope: ${scope}"; + in + { + name, + scope, + intro, + values, + }: + runCommand name commonArgs '' + set -eu + + ${mkScope scope (mkLine intro values)} + + if isDeclaredArray check; then + nixLog "test passed" + touch "$out" + else + nixErrorLog "test failed" + exit 1 + fi + ''; +in +recurseIntoAttrs { + shellcheck = shellcheck { + name = "isDeclaredArray"; + src = ./isDeclaredArray.bash; + }; + + shfmt = shfmt { + name = "isDeclaredArray"; + src = ./isDeclaredArray.bash; + }; + + undeclaredFails = testBuildFailure' { + name = "undeclaredFails"; + drv = runCommand "undeclared" commonArgs '' + set -eu + if isDeclaredArray undeclared; then + nixLog "test passed" + touch "$out" + else + nixErrorLog "test failed" + exit 1 + fi + ''; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + mapFails = testBuildFailure' { + name = "mapFails"; + drv = runCommand "map" commonArgs '' + set -eu + local -A map + if isDeclaredArray map; then + nixLog "test passed" + touch "$out" + else + nixErrorLog "test failed" + exit 1 + fi + ''; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + emptyStringNamerefFails = testBuildFailure' { + name = "emptyStringNamerefFails"; + drv = runCommand "emptyStringNameref" commonArgs '' + set -eu + if isDeclaredArray ""; then + nixLog "test passed" + touch "$out" + else + nixErrorLog "test failed" + exit 1 + fi + ''; + expectedBuilderLogEntries = [ + "local: `': not a valid identifier" + "test failed" + ]; + }; + + namerefToEmptyStringFails = testBuildFailure' { + name = "namerefToEmptyStringFails"; + drv = check { + name = "namerefToEmptyString"; + scope = null; + intro = "local -n"; + values = ""; + }; + expectedBuilderLogEntries = [ + "local: `': not a valid identifier" + # The test fails in such a way that it exits immediately, without returning to the else branch. + ]; + }; + + sameScopeEmptyStringFails = testBuildFailure' { + name = "sameScopeEmptyStringFails"; + drv = check { + name = "sameScopeEmptyString"; + scope = null; + intro = null; + values = ""; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + sameScopeEmptyArray = check { + name = "sameScopeEmptyArray"; + scope = null; + intro = null; + values = "()"; + }; + + sameScopeSingletonArray = check { + name = "sameScopeSingletonArray"; + scope = null; + intro = null; + values = ''("hello!")''; + }; + + sameScopeLocalUnsetArray = check { + name = "sameScopeLocalUnsetArray"; + scope = null; + intro = "local -a"; + values = null; + }; + + sameScopeLocalEmptyArray = check { + name = "sameScopeLocalEmptyArray"; + scope = null; + intro = "local -a"; + values = "()"; + }; + + sameScopeLocalSingletonArray = check { + name = "sameScopeLocalSingletonArray"; + scope = null; + intro = "local -a"; + values = ''("hello!")''; + }; + + sameScopeDeclareUnsetArray = check { + name = "sameScopeDeclareUnsetArray"; + scope = null; + intro = "declare -a"; + values = null; + }; + + sameScopeDeclareEmptyArray = check { + name = "sameScopeDeclareEmptyArray"; + scope = null; + intro = "declare -a"; + values = "()"; + }; + + sameScopeDeclareSingletonArray = check { + name = "sameScopeDeclareSingletonArray"; + scope = null; + intro = "declare -a"; + values = ''("hello!")''; + }; + + previousScopeEmptyStringFails = testBuildFailure' { + name = "previousScopeEmptyStringFails"; + drv = check { + name = "previousScopeEmptyString"; + scope = "function"; + intro = null; + values = ""; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + # Works because the variable isn't lexically scoped. + previousScopeEmptyArray = check { + name = "previousScopeEmptyArray"; + scope = "function"; + intro = null; + values = "()"; + }; + + # Works because the variable isn't lexically scoped. + previousScopeSingletonArray = check { + name = "previousScopeSingletonArray"; + scope = "function"; + intro = null; + values = ''("hello!")''; + }; + + previousScopeLocalUnsetArrayFails = testBuildFailure' { + name = "previousScopeLocalUnsetArrayFails"; + drv = check { + name = "previousScopeLocalUnsetArray"; + scope = "function"; + intro = "local -a"; + values = null; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeLocalEmptyArrayFails = testBuildFailure' { + name = "previousScopeLocalEmptyArrayFails"; + drv = check { + name = "previousScopeLocalEmptyArray"; + scope = "function"; + intro = "local -a"; + values = "()"; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeLocalSingletonArrayFails = testBuildFailure' { + name = "previousScopeLocalSingletonArrayFails"; + drv = check { + name = "previousScopeLocalSingletonArray"; + scope = "function"; + intro = "local -a"; + values = ''("hello!")''; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeLocalGlobalUnsetArray = check { + name = "previousScopeLocalGlobalUnsetArray"; + scope = "function"; + intro = "local -ag"; + values = null; + }; + + previousScopeLocalGlobalEmptyArray = check { + name = "previousScopeLocalGlobalEmptyArray"; + scope = "function"; + intro = "local -ag"; + values = "()"; + }; + + previousScopeLocalGlobalSingletonArray = check { + name = "previousScopeLocalGlobalSingletonArray"; + scope = "function"; + intro = "local -ag"; + values = ''("hello!")''; + }; + + previousScopeDeclareUnsetArrayFails = testBuildFailure' { + name = "previousScopeDeclareUnsetArrayFails"; + drv = check { + name = "previousScopeDeclareUnsetArray"; + scope = "function"; + intro = "declare -a"; + values = null; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeDeclareEmptyArrayFails = testBuildFailure' { + name = "previousScopeDeclareEmptyArrayFails"; + drv = check { + name = "previousScopeDeclareEmptyArray"; + scope = "function"; + intro = "declare -a"; + values = "()"; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeDeclareSingletonArrayFails = testBuildFailure' { + name = "previousScopeDeclareSingletonArrayFails"; + drv = check { + name = "previousScopeDeclareSingletonArray"; + scope = "function"; + intro = "declare -a"; + values = ''("hello!")''; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeDeclareGlobalUnsetArray = check { + name = "previousScopeDeclareGlobalUnsetArray"; + scope = "function"; + intro = "declare -ag"; + values = null; + }; + + previousScopeDeclareGlobalEmptyArray = check { + name = "previousScopeDeclareGlobalEmptyArray"; + scope = "function"; + intro = "declare -ag"; + values = "()"; + }; + + previousScopeDeclareGlobalSingletonArray = check { + name = "previousScopeDeclareGlobalSingletonArray"; + scope = "function"; + intro = "declare -ag"; + values = ''("hello!")''; + }; +} diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/isDeclaredMap.bash b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/isDeclaredMap.bash new file mode 100644 index 000000000000..47483a2f4c33 --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/isDeclaredMap.bash @@ -0,0 +1,14 @@ +# shellcheck shell=bash + +# isDeclaredMap +# Tests if inputMapRef refers to a declared, associative array. +# +# Arguments: +# - inputMapRef: a reference to an associative array (not mutated) +# +# Returns 0 if the associative array is declared, 1 otherwise. +isDeclaredMap() { + # NOTE: We must dereference the name ref to get the type of the underlying variable. + # shellcheck disable=SC2034 + local -nr inputMapRef="$1" && [[ ${!inputMapRef@a} =~ A ]] +} diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/package.nix b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/package.nix new file mode 100644 index 000000000000..99d969312dab --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/package.nix @@ -0,0 +1,9 @@ +{ + callPackages, + makeSetupHook, +}: +makeSetupHook { + name = "isDeclaredMap"; + passthru.tests = callPackages ./tests.nix { }; + meta.description = "Tests if an associative array is declared"; +} ./isDeclaredMap.bash diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/tests.nix b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/tests.nix new file mode 100644 index 000000000000..ef77291d64c7 --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/isDeclaredMap/tests.nix @@ -0,0 +1,377 @@ +# NOTE: Tests related to isDeclaredMap go here. +{ + isDeclaredMap, + lib, + runCommand, + testers, +}: +let + inherit (lib.attrsets) recurseIntoAttrs; + inherit (testers) shellcheck shfmt testBuildFailure'; + + commonArgs = { + __structuredAttrs = true; + strictDeps = true; + preferLocalBuild = true; + nativeBuildInputs = [ isDeclaredMap ]; + }; + + check = + let + mkLine = + intro: values: + "${if intro == null then "" else intro + " "}check${if values == null then "" else "=" + values}"; + mkScope = + scope: line: + if scope == null then + line + else if scope == "function" then + '' + foo() { + ${line} + } + foo + '' + else + builtins.throw "Invalid scope: ${scope}"; + in + { + name, + scope, + intro, + values, + }: + runCommand name commonArgs '' + set -eu + + ${mkScope scope (mkLine intro values)} + + if isDeclaredMap check; then + nixLog "test passed" + touch "$out" + else + nixErrorLog "test failed" + exit 1 + fi + ''; +in +recurseIntoAttrs { + shellcheck = shellcheck { + name = "isDeclaredMap"; + src = ./isDeclaredMap.bash; + }; + + shfmt = shfmt { + name = "isDeclaredMap"; + src = ./isDeclaredMap.bash; + }; + + undeclaredFails = testBuildFailure' { + name = "undeclaredFails"; + drv = runCommand "undeclared" commonArgs '' + set -eu + if isDeclaredMap undeclared; then + nixLog "test passed" + touch "$out" + else + nixErrorLog "test failed" + exit 1 + fi + ''; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + arrayFails = testBuildFailure' { + name = "arrayFails"; + drv = runCommand "array" commonArgs '' + set -eu + local -a array + if isDeclaredMap array; then + nixLog "test passed" + touch "$out" + else + nixErrorLog "test failed" + exit 1 + fi + ''; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + emptyStringNamerefFails = testBuildFailure' { + name = "emptyStringNamerefFails"; + drv = runCommand "emptyStringNameref" commonArgs '' + set -eu + if isDeclaredMap ""; then + nixLog "test passed" + touch "$out" + else + nixErrorLog "test failed" + exit 1 + fi + ''; + expectedBuilderLogEntries = [ + "local: `': not a valid identifier" + "test failed" + ]; + }; + + namerefToEmptyStringFails = testBuildFailure' { + name = "namerefToEmptyStringFails"; + drv = check { + name = "namerefToEmptyString"; + scope = null; + intro = "local -n"; + values = ""; + }; + expectedBuilderLogEntries = [ + "local: `': not a valid identifier" + # The test fails in such a way that it exits immediately, without returning to the else branch. + ]; + }; + + sameScopeEmptyStringFails = testBuildFailure' { + name = "sameScopeEmptyStringFails"; + drv = check { + name = "sameScopeEmptyString"; + scope = null; + intro = null; + values = ""; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + sameScopeEmptyMapFails = testBuildFailure' { + name = "sameScopeEmptyMapFails"; + drv = check { + name = "sameScopeEmptyMap"; + scope = null; + intro = null; + values = "()"; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + # Fails because maps must be declared with the -A flag. + sameScopeSingletonMapFails = testBuildFailure' { + name = "sameScopeSingletonMapFails"; + drv = check { + name = "sameScopeSingletonMap"; + scope = null; + intro = null; + values = ''([greeting]="hello!")''; + }; + expectedBuilderLogEntries = [ + "greeting: unbound variable" + ]; + }; + + sameScopeLocalUnsetMap = check { + name = "sameScopeLocalUnsetMap"; + scope = null; + intro = "local -A"; + values = null; + }; + + sameScopeLocalEmptyMap = check { + name = "sameScopeLocalEmptyMap"; + scope = null; + intro = "local -A"; + values = "()"; + }; + + sameScopeLocalSingletonMap = check { + name = "sameScopeLocalSingletonMap"; + scope = null; + intro = "local -A"; + values = ''([greeting]="hello!")''; + }; + + sameScopeDeclareUnsetMap = check { + name = "sameScopeDeclareUnsetMap"; + scope = null; + intro = "declare -A"; + values = null; + }; + + sameScopeDeclareEmptyMap = check { + name = "sameScopeDeclareEmptyMap"; + scope = null; + intro = "declare -A"; + values = "()"; + }; + + sameScopeDeclareSingletonMap = check { + name = "sameScopeDeclareSingletonMap"; + scope = null; + intro = "declare -A"; + values = ''([greeting]="hello!")''; + }; + + previousScopeEmptyStringFails = testBuildFailure' { + name = "previousScopeEmptyStringFails"; + drv = check { + name = "previousScopeEmptyString"; + scope = "function"; + intro = null; + values = ""; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + # Fails because () is ambiguous and defaults to array rather than associative array. + previousScopeEmptyMapFails = testBuildFailure' { + name = "previousScopeEmptyMapFails"; + drv = check { + name = "previousScopeEmptyMap"; + scope = "function"; + intro = null; + values = "()"; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeSingletonMapFails = testBuildFailure' { + name = "previousScopeSingletonMapFails"; + drv = check { + name = "previousScopeSingletonMap"; + scope = "function"; + intro = null; + values = ''([greeting]="hello!")''; + }; + expectedBuilderLogEntries = [ + "greeting: unbound variable" + ]; + }; + + previousScopeLocalUnsetMapFails = testBuildFailure' { + name = "previousScopeLocalUnsetMapFails"; + drv = check { + name = "previousScopeLocalUnsetMap"; + scope = "function"; + intro = "local -A"; + values = null; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeLocalEmptyMapFails = testBuildFailure' { + name = "previousScopeLocalEmptyMapFails"; + drv = check { + name = "previousScopeLocalEmptyMap"; + scope = "function"; + intro = "local -A"; + values = "()"; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeLocalSingletonMapFails = testBuildFailure' { + name = "previousScopeLocalSingletonMapFails"; + drv = check { + name = "previousScopeLocalSingletonMap"; + scope = "function"; + intro = "local -A"; + values = ''([greeting]="hello!")''; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeLocalGlobalUnsetMap = check { + name = "previousScopeLocalGlobalUnsetMap"; + scope = "function"; + intro = "local -Ag"; + values = null; + }; + + previousScopeLocalGlobalEmptyMap = check { + name = "previousScopeLocalGlobalEmptyMap"; + scope = "function"; + intro = "local -Ag"; + values = "()"; + }; + + previousScopeLocalGlobalSingletonMap = check { + name = "previousScopeLocalGlobalSingletonMap"; + scope = "function"; + intro = "local -Ag"; + values = ''([greeting]="hello!")''; + }; + + previousScopeDeclareUnsetMapFails = testBuildFailure' { + name = "previousScopeDeclareUnsetMapFails"; + drv = check { + name = "previousScopeDeclareUnsetMap"; + scope = "function"; + intro = "declare -A"; + values = null; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeDeclareEmptyMapFails = testBuildFailure' { + name = "previousScopeDeclareEmptyMapFails"; + drv = check { + name = "previousScopeDeclareEmptyMap"; + scope = "function"; + intro = "declare -A"; + values = "()"; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeDeclareSingletonMapFails = testBuildFailure' { + name = "previousScopeDeclareSingletonMapFails"; + drv = check { + name = "previousScopeDeclareSingletonMap"; + scope = "function"; + intro = "declare -A"; + values = ''([greeting]="hello!")''; + }; + expectedBuilderLogEntries = [ + "test failed" + ]; + }; + + previousScopeDeclareGlobalUnsetMap = check { + name = "previousScopeDeclareGlobalUnsetMap"; + scope = "function"; + intro = "declare -Ag"; + values = null; + }; + + previousScopeDeclareGlobalEmptyMap = check { + name = "previousScopeDeclareGlobalEmptyMap"; + scope = "function"; + intro = "declare -Ag"; + values = "()"; + }; + + previousScopeDeclareGlobalSingletonMap = check { + name = "previousScopeDeclareGlobalSingletonMap"; + scope = "function"; + intro = "declare -Ag"; + values = ''([greeting]="hello!")''; + }; +} diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/package.nix b/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/package.nix new file mode 100644 index 000000000000..5e5c2ced69b0 --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/package.nix @@ -0,0 +1,11 @@ +{ + callPackages, + isDeclaredArray, + makeSetupHook, +}: +makeSetupHook { + name = "sortArray"; + propagatedBuildInputs = [ isDeclaredArray ]; + passthru.tests = callPackages ./tests.nix { }; + meta.description = "Sorts an array"; +} ./sortArray.bash diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/sortArray.bash b/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/sortArray.bash new file mode 100644 index 000000000000..17e906553dc8 --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/sortArray.bash @@ -0,0 +1,53 @@ +# shellcheck shell=bash + +# sortArray +# Sorts the indexed array referenced by inputArrRef and stores the result in the indexed array referenced by +# outputArrRef. +# +# Arguments: +# - inputArrRef: a reference to an indexed array (not mutated, may alias outputArrRef) +# - outputArrRef: a reference to an indexed array (contents are replaced entirely, may alias inputArrRef) +# +# Returns 0. +sortArray() { + if (($# != 2)); then + nixErrorLog "expected two arguments!" + nixErrorLog "usage: sortArray inputArrRef outputArrRef" + exit 1 + fi + + local -rn inputArrRef="$1" + local -rn outputArrRef="$2" + + if ! isDeclaredArray "${!inputArrRef}"; then + nixErrorLog "first argument inputArrRef must be a reference to an indexed array" + exit 1 + elif ! isDeclaredArray "${!outputArrRef}"; then + nixErrorLog "second argument outputArrRef must be a reference to an indexed array" + exit 1 + fi + + local -a sortedArray=() + + # Guard on the length of the input array, as empty array will expand to nothing, but printf will still see it as an + # argument, producing an empty string. + if ((${#inputArrRef[@]} > 0)); then + # NOTE from Bash's printf documentation: + # The format is reused as necessary to consume all of the arguments. If the format requires more arguments than + # are supplied, the extra format specifications behave as if a zero value or null string, as appropriate, had + # been supplied. + # - https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html#index-printf + # NOTE from sort manpage: + # If you use a non-POSIX locale (e.g., by setting LC_ALL to 'en_US'), then sort may produce output that is sorted + # differently than you're accustomed to. In that case, set the LC_ALL environment variable to 'C'. Setting only + # LC_COLLATE has two problems. First, it is ineffective if LC_ALL is also set. Second, it has undefined behavior + # if LC_CTYPE (or LANG, if LC_CTYPE is unset) is set to an incompatible value. For example, you get undefined + # behavior if LC_CTYPE is ja_JP.PCK but LC_COLLATE is en_US.UTF-8. + # - https://www.gnu.org/software/coreutils/manual/html_node/sort-invocation.html#FOOT1 + mapfile -d $'\0' -t sortedArray < <(printf '%s\0' "${inputArrRef[@]}" | LC_ALL=C sort --stable --zero-terminated) + fi + + outputArrRef=("${sortedArray[@]}") + + return 0 +} diff --git a/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/tests.nix b/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/tests.nix new file mode 100644 index 000000000000..67d5beda1e1f --- /dev/null +++ b/pkgs/build-support/setup-hooks/arrayUtilities/sortArray/tests.nix @@ -0,0 +1,178 @@ +# NOTE: Tests related to sortArray go here. +{ + lib, + sortArray, + testers, +}: +let + inherit (lib.attrsets) recurseIntoAttrs; + inherit (testers) shellcheck shfmt testEqualArrayOrMap; + check = + { + name, + valuesArray, + expectedArray, + }: + (testEqualArrayOrMap { + inherit name valuesArray expectedArray; + script = '' + set -eu + nixLog "running sortArray with valuesArray to populate actualArray" + sortArray valuesArray actualArray + ''; + }).overrideAttrs + (prevAttrs: { + nativeBuildInputs = prevAttrs.nativeBuildInputs or [ ] ++ [ sortArray ]; + }); + + checkInPlace = + { + name, + valuesArray, + expectedArray, + }: + (testEqualArrayOrMap { + inherit name valuesArray expectedArray; + script = '' + set -eu + nixLog "running sortArray with valuesArray as input and output" + sortArray valuesArray valuesArray + nixLog "copying valuesArray to actualArray" + actualArray=("''${valuesArray[@]}") + ''; + }).overrideAttrs + (prevAttrs: { + nativeBuildInputs = prevAttrs.nativeBuildInputs or [ ] ++ [ sortArray ]; + }); +in +recurseIntoAttrs { + shellcheck = shellcheck { + name = "sortArray"; + src = ./sortArray.bash; + }; + + shfmt = shfmt { + name = "sortArray"; + src = ./sortArray.bash; + }; + + empty = check { + name = "empty"; + valuesArray = [ ]; + expectedArray = [ ]; + }; + + singleton = check { + name = "singleton"; + valuesArray = [ "apple" ]; + expectedArray = [ "apple" ]; + }; + + oneDuplicate = check { + name = "oneDuplicate"; + valuesArray = [ + "apple" + "apple" + ]; + expectedArray = [ + "apple" + "apple" + ]; + }; + + oneUnique = check { + name = "oneUnique"; + valuesArray = [ + "bee" + "apple" + "bee" + ]; + expectedArray = [ + "apple" + "bee" + "bee" + ]; + }; + + duplicatesWithSpacesAndLineBreaks = check { + name = "duplicatesWithSpacesAndLineBreaks"; + valuesArray = [ + "dog" + "bee" + '' + line + break + '' + "cat" + "zebra" + "bee" + "cat" + "elephant" + "dog with spaces" + '' + line + break + '' + ]; + expectedArray = [ + "bee" + "bee" + "cat" + "cat" + "dog" + "dog with spaces" + "elephant" + # NOTE: lead whitespace is removed, so the following entries start with `l`. + '' + line + break + '' + '' + line + break + '' + "zebra" + ]; + }; + + duplicatesWithSpacesAndLineBreaksInPlace = checkInPlace { + name = "duplicatesWithSpacesAndLineBreaksInPlace"; + valuesArray = [ + "dog" + "bee" + '' + line + break + '' + "cat" + "zebra" + "bee" + "cat" + "elephant" + "dog with spaces" + '' + line + break + '' + ]; + expectedArray = [ + "bee" + "bee" + "cat" + "cat" + "dog" + "dog with spaces" + "elephant" + # NOTE: lead whitespace is removed, so the following entries start with `l`. + '' + line + break + '' + '' + line + break + '' + "zebra" + ]; + }; +} diff --git a/pkgs/build-support/testers/testEqualArrayOrMap/assert-equal-array.sh b/pkgs/build-support/testers/testEqualArrayOrMap/assert-equal-array.sh index ef43dedba625..b8c292ffed5e 100644 --- a/pkgs/build-support/testers/testEqualArrayOrMap/assert-equal-array.sh +++ b/pkgs/build-support/testers/testEqualArrayOrMap/assert-equal-array.sh @@ -1,11 +1,5 @@ # shellcheck shell=bash -# Tests if an array is declared. -isDeclaredArray() { - # shellcheck disable=SC2034 - local -nr arrayRef="$1" && [[ ${!arrayRef@a} =~ a ]] -} - # Asserts that two arrays are equal, printing out differences if they are not. # Does not short circuit on the first difference. assertEqualArray() { @@ -19,12 +13,12 @@ assertEqualArray() { local -nr actualArrayRef="$2" if ! isDeclaredArray "${!expectedArrayRef}"; then - nixErrorLog "first arugment expectedArrayRef must be an array reference to a declared array" + nixErrorLog "first argument expectedArrayRef must be a reference to an indexed array" exit 1 fi if ! isDeclaredArray "${!actualArrayRef}"; then - nixErrorLog "second arugment actualArrayRef must be an array reference to a declared array" + nixErrorLog "second argument actualArrayRef must be a reference to an indexed array" exit 1 fi diff --git a/pkgs/build-support/testers/testEqualArrayOrMap/assert-equal-map.sh b/pkgs/build-support/testers/testEqualArrayOrMap/assert-equal-map.sh index b601f9e424e9..1469f94565dd 100644 --- a/pkgs/build-support/testers/testEqualArrayOrMap/assert-equal-map.sh +++ b/pkgs/build-support/testers/testEqualArrayOrMap/assert-equal-map.sh @@ -1,11 +1,5 @@ # shellcheck shell=bash -# Tests if a map is declared. -isDeclaredMap() { - # shellcheck disable=SC2034 - local -nr mapRef="$1" && [[ ${!mapRef@a} =~ A ]] -} - # Asserts that two maps are equal, printing out differences if they are not. # Does not short circuit on the first difference. assertEqualMap() { @@ -19,26 +13,15 @@ assertEqualMap() { local -nr actualMapRef="$2" if ! isDeclaredMap "${!expectedMapRef}"; then - nixErrorLog "first arugment expectedMapRef must be an associative array reference to a declared associative array" + nixErrorLog "first argument expectedMapRef must be a reference to an associative array" exit 1 fi if ! isDeclaredMap "${!actualMapRef}"; then - nixErrorLog "second arugment actualMapRef must be an associative array reference to a declared associative array" + nixErrorLog "second argument actualMapRef must be a reference to an associative array" exit 1 fi - # NOTE: - # From the `sort` manpage: "The locale specified by the environment affects sort order. Set LC_ALL=C to get the - # traditional sort order that uses native byte values." - # We specify the environment variable in a subshell to avoid polluting the caller's environment. - - local -a sortedExpectedKeys - mapfile -d '' -t sortedExpectedKeys < <(printf '%s\0' "${!expectedMapRef[@]}" | LC_ALL=C sort --stable --zero-terminated) - - local -a sortedActualKeys - mapfile -d '' -t sortedActualKeys < <(printf '%s\0' "${!actualMapRef[@]}" | LC_ALL=C sort --stable --zero-terminated) - local -ir expectedLength=${#expectedMapRef[@]} local -ir actualLength=${#actualMapRef[@]} @@ -49,6 +32,12 @@ assertEqualMap() { hasDiff=1 fi + local -a sortedExpectedKeys=() + getSortedMapKeys "${!expectedMapRef}" sortedExpectedKeys + + local -a sortedActualKeys=() + getSortedMapKeys "${!actualMapRef}" sortedActualKeys + local -i expectedKeyIdx=0 local expectedKey local expectedValue diff --git a/pkgs/build-support/testers/testEqualArrayOrMap/default.nix b/pkgs/build-support/testers/testEqualArrayOrMap/default.nix index 4dc17d0e2b58..31bbc7fe3f12 100644 --- a/pkgs/build-support/testers/testEqualArrayOrMap/default.nix +++ b/pkgs/build-support/testers/testEqualArrayOrMap/default.nix @@ -1,4 +1,5 @@ { + arrayUtilities, lib, stdenvNoCC, }: @@ -21,7 +22,10 @@ lib.makeOverridable ( inherit name; nativeBuildInputs = [ + arrayUtilities.isDeclaredArray ./assert-equal-array.sh + arrayUtilities.isDeclaredMap + arrayUtilities.getSortedMapKeys ./assert-equal-map.sh ]; diff --git a/pkgs/by-name/al/algolia-cli/package.nix b/pkgs/by-name/al/algolia-cli/package.nix index 1f1debffbd5d..e4d22de76a57 100644 --- a/pkgs/by-name/al/algolia-cli/package.nix +++ b/pkgs/by-name/al/algolia-cli/package.nix @@ -5,7 +5,7 @@ installShellFiles, }: let - version = "1.6.11"; + version = "1.7.0"; in buildGoModule { pname = "algolia-cli"; @@ -15,10 +15,10 @@ buildGoModule { owner = "algolia"; repo = "cli"; rev = "v${version}"; - hash = "sha256-VqY0h0Z3ocmgw0uFI4f6B5C/bTt3zoUXBlYPgOPxBo0="; + hash = "sha256-j8OCN+iV5sMjgYTMGCc72JPImuFFvehKw4S99l+YWhs="; }; - vendorHash = "sha256-cNuBTH7L2K4TgD0H9FZ9CjhE5AGXADaniGLD9Lhrtrk="; + vendorHash = "sha256-qzgkcmRuXHM9aMQGBObUHYH9qpWnDfTvwdx1A4it8aQ="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/by-name/al/alpaca/package.nix b/pkgs/by-name/al/alpaca/package.nix index df884863e4f5..09f48fdf86a9 100644 --- a/pkgs/by-name/al/alpaca/package.nix +++ b/pkgs/by-name/al/alpaca/package.nix @@ -20,14 +20,14 @@ python3Packages.buildPythonApplication rec { pname = "alpaca"; - version = "6.1.5"; + version = "6.1.7"; pyproject = false; # Built with meson src = fetchFromGitHub { owner = "Jeffser"; repo = "Alpaca"; tag = version; - hash = "sha256-4QN88KOCtVFNoqAKpjW/MSvPJFsLoXZixiGN5JNRDvs="; + hash = "sha256-9UXaJpkz9F2D490bMKU/xv+rgfrxstm1DuDwpMmydI0="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/ap/apfsprogs/package.nix b/pkgs/by-name/ap/apfsprogs/package.nix index a8f5c2c89f47..b8b18f6bd563 100644 --- a/pkgs/by-name/ap/apfsprogs/package.nix +++ b/pkgs/by-name/ap/apfsprogs/package.nix @@ -4,6 +4,7 @@ fetchFromGitHub, nixosTests, testers, + nix-update-script, }: let tools = [ @@ -15,13 +16,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "apfsprogs"; - version = "0.2.0"; + version = "0.2.1"; src = fetchFromGitHub { owner = "linux-apfs"; repo = "apfsprogs"; tag = "v${finalAttrs.version}"; - hash = "sha256-rolbBLdE98jqlKC06fTo6eJU3abKzgB3QIlaw4bza9U="; + hash = "sha256-GhhuielfFvcpe9hL3fUcg2xlwFrzjiUS/ZLn0jkfkh8="; }; postPatch = '' @@ -68,6 +69,8 @@ stdenv.mkDerivation (finalAttrs: { } // versionTests; + passthru.updateScript = nix-update-script { }; + strictDeps = true; meta = with lib; { diff --git a/pkgs/by-name/ap/app2unit/package.nix b/pkgs/by-name/ap/app2unit/package.nix index 206426146251..776d1940e4c1 100644 --- a/pkgs/by-name/ap/app2unit/package.nix +++ b/pkgs/by-name/ap/app2unit/package.nix @@ -4,20 +4,21 @@ dash, fetchFromGitHub, }: -stdenvNoCC.mkDerivation { +stdenvNoCC.mkDerivation rec { pname = "app2unit"; - version = "0-unstable-2025-05-09"; + version = "0.9.0"; src = fetchFromGitHub { owner = "Vladimir-csp"; repo = "app2unit"; - rev = "7b9672a2dc16bdfbe7b7b7c27043529ca3bcb6ae"; - sha256 = "03dnx5v75530fwppfgpjl6xzzmdbk73ymrlix129d9n5sqrz9wgk"; + tag = "v${version}"; + sha256 = "fw6Vh3Jyop95TQdOFrpspbauSfqMpd0BZkZVc1k6+K0="; }; installPhase = '' install -Dt $out/bin app2unit ln -s $out/bin/app2unit $out/bin/app2unit-open + ln -s $out/bin/app2unit $out/bin/app2unit-term ''; dontPatchShebangs = true; diff --git a/pkgs/by-name/aw/awsbck/package.nix b/pkgs/by-name/aw/awsbck/package.nix index b43f46683510..92a2e0f9ff04 100644 --- a/pkgs/by-name/aw/awsbck/package.nix +++ b/pkgs/by-name/aw/awsbck/package.nix @@ -6,17 +6,17 @@ rustPlatform.buildRustPackage rec { pname = "awsbck"; - version = "0.3.12"; + version = "0.3.13"; src = fetchFromGitHub { owner = "beeb"; repo = "awsbck"; rev = "v${version}"; - hash = "sha256-C5QaOxZ9DQuda+slf8uqPQYVgDtS5Lhm3AFn8K2G/T4="; + hash = "sha256-7ykDkCA6c5MzaMWT+ZjNBhPOZO8UNYIP5sNwoFx1XT8="; }; useFetchCargoVendor = true; - cargoHash = "sha256-Pb4tnP8BiVTfUR1qM1dUXj9aCmdK23YYxQ4KQQc4z54="; + cargoHash = "sha256-L7iWM5T/FRK+0KQROILg4Mns1+cwPPGKfe0H00FJrSo="; # tests run in CI on the source repo doCheck = false; diff --git a/pkgs/by-name/be/beekeeper-studio/package.nix b/pkgs/by-name/be/beekeeper-studio/package.nix index 384b206eb58f..95a33196f64b 100644 --- a/pkgs/by-name/be/beekeeper-studio/package.nix +++ b/pkgs/by-name/be/beekeeper-studio/package.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "beekeeper-studio"; - version = "5.2.9"; + version = "5.2.12"; src = let @@ -44,8 +44,8 @@ stdenv.mkDerivation (finalAttrs: { fetchurl { url = "https://github.com/beekeeper-studio/beekeeper-studio/releases/download/v${finalAttrs.version}/beekeeper-studio_${finalAttrs.version}_${arch}.deb"; hash = selectSystem { - x86_64-linux = "sha256-iooZSiIkHfd3jSk+Pk0E7s/g51UzbyqyP8qnfes3mts="; - aarch64-linux = "sha256-zLkEMOJhckIM0qPCKBNUgFwYiF1YjJU4wKmiLJ1pzNg="; + x86_64-linux = "sha256-hpzvu4SyVLXhQ5wbh5hyx+8tM19SxkKZvlMVhzhDCW4="; + aarch64-linux = "sha256-s567NOTzTItfOdsABIzYoF8iYSpwDsDzbnLZhUSfT8o="; }; }; diff --git a/pkgs/by-name/br/brave/make-brave.nix b/pkgs/by-name/br/brave/make-brave.nix index aecc20af7dc2..a743bfbe0f8b 100644 --- a/pkgs/by-name/br/brave/make-brave.nix +++ b/pkgs/by-name/br/brave/make-brave.nix @@ -205,7 +205,7 @@ stdenv.mkDerivation { # Fix path to bash in $BINARYWRAPPER substituteInPlace $BINARYWRAPPER \ - --replace /bin/bash ${stdenv.shell} \ + --replace-fail /bin/bash ${stdenv.shell} \ --replace-fail 'CHROME_WRAPPER' 'WRAPPER' ln -sf $BINARYWRAPPER $out/bin/brave @@ -217,14 +217,14 @@ stdenv.mkDerivation { done # Fix paths - substituteInPlace $out/share/applications/brave-browser.desktop \ - --replace /usr/bin/brave-browser-stable $out/bin/brave + substituteInPlace $out/share/applications/{brave-browser,com.brave.Browser}.desktop \ + --replace-fail /usr/bin/brave-browser-stable $out/bin/brave substituteInPlace $out/share/gnome-control-center/default-apps/brave-browser.xml \ - --replace /opt/brave.com $out/opt/brave.com + --replace-fail /opt/brave.com $out/opt/brave.com substituteInPlace $out/share/menu/brave-browser.menu \ - --replace /opt/brave.com $out/opt/brave.com + --replace-fail /opt/brave.com $out/opt/brave.com substituteInPlace $out/opt/brave.com/brave/default-app-block \ - --replace /opt/brave.com $out/opt/brave.com + --replace-fail /opt/brave.com $out/opt/brave.com # Correct icons location icon_sizes=("16" "24" "32" "48" "64" "128" "256") diff --git a/pkgs/by-name/ch/chatmcp/package.nix b/pkgs/by-name/ch/chatmcp/package.nix index cea4234fdee3..6845e544df82 100644 --- a/pkgs/by-name/ch/chatmcp/package.nix +++ b/pkgs/by-name/ch/chatmcp/package.nix @@ -1,6 +1,6 @@ { lib, - flutter329, + flutter332, fetchFromGitHub, autoPatchelfHook, copyDesktopItems, @@ -12,15 +12,15 @@ gitUpdater, }: -flutter329.buildFlutterApplication rec { +flutter332.buildFlutterApplication rec { pname = "chatmcp"; - version = "0.0.57"; + version = "0.0.62"; src = fetchFromGitHub { owner = "daodao97"; repo = "chatmcp"; tag = "v${version}"; - hash = "sha256-V4Tf3nIGMytVuSRlHDd8FvG4qyrpESM1cZKJS9PRCMg="; + hash = "sha256-DEq1LECqlvl3P4ib3RyHK3VLbcTh8PXJtbWwK/0R5dA="; }; pubspecLock = lib.importJSON ./pubspec.lock.json; diff --git a/pkgs/by-name/ch/chatmcp/pubspec.lock.json b/pkgs/by-name/ch/chatmcp/pubspec.lock.json index 1320263dd106..6042d3543290 100644 --- a/pkgs/by-name/ch/chatmcp/pubspec.lock.json +++ b/pkgs/by-name/ch/chatmcp/pubspec.lock.json @@ -14,11 +14,11 @@ "dependency": "transitive", "description": { "name": "analyzer", - "sha256": "13c1e6c6fd460522ea840abec3f677cc226f5fec7872c04ad7b425517ccf54f7", + "sha256": "904ae5bb474d32c38fb9482e2d925d5454cda04ddd0e55d2e6826bc72f6ba8c0", "url": "https://pub.dev" }, "source": "hosted", - "version": "7.4.4" + "version": "7.4.5" }, "archive": { "dependency": "transitive", @@ -44,11 +44,11 @@ "dependency": "transitive", "description": { "name": "async", - "sha256": "d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63", + "sha256": "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.12.0" + "version": "2.13.0" }, "boolean_selector": { "dependency": "transitive", @@ -144,11 +144,11 @@ "dependency": "transitive", "description": { "name": "built_value", - "sha256": "ea90e81dc4a25a043d9bee692d20ed6d1c4a1662a28c03a96417446c093ed6b4", + "sha256": "082001b5c3dc495d4a42f1d5789990505df20d8547d42507c29050af6933ee27", "url": "https://pub.dev" }, "source": "hosted", - "version": "8.9.5" + "version": "8.10.1" }, "cached_network_image": { "dependency": "direct main", @@ -264,11 +264,11 @@ "dependency": "transitive", "description": { "name": "coverage", - "sha256": "802bd084fb82e55df091ec8ad1553a7331b61c08251eef19a508b6f3f3a9858d", + "sha256": "4b8701e48a58f7712492c9b1f7ba0bb9d525644dd66d023b62e1fc8cdb560c8a", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.13.1" + "version": "1.14.0" }, "cross_file": { "dependency": "transitive", @@ -314,11 +314,11 @@ "dependency": "transitive", "description": { "name": "dart_style", - "sha256": "27eb0ae77836989a3bc541ce55595e8ceee0992807f14511552a898ddd0d88ac", + "sha256": "5b236382b47ee411741447c1f1e111459c941ea1b3f2b540dde54c210a3662af", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.0.1" + "version": "3.1.0" }, "event_bus": { "dependency": "direct main", @@ -344,11 +344,11 @@ "dependency": "transitive", "description": { "name": "fake_async", - "sha256": "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc", + "sha256": "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.3.2" + "version": "1.3.3" }, "ffi": { "dependency": "transitive", @@ -374,11 +374,11 @@ "dependency": "direct main", "description": { "name": "file_picker", - "sha256": "ab13ae8ef5580a411c458d6207b6774a6c237d77ac37011b13994879f68a8810", + "sha256": "77f8e81d22d2a07d0dee2c62e1dda71dc1da73bf43bb2d45af09727406167964", "url": "https://pub.dev" }, "source": "hosted", - "version": "8.3.7" + "version": "10.1.9" }, "fixnum": { "dependency": "transitive", @@ -590,11 +590,11 @@ "dependency": "direct dev", "description": { "name": "flutter_lints", - "sha256": "5398f14efa795ffb7a33e9b6a08798b26a180edac4ad7db3f231e40f82ce11e1", + "sha256": "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1", "url": "https://pub.dev" }, "source": "hosted", - "version": "5.0.0" + "version": "6.0.0" }, "flutter_localizations": { "dependency": "direct main", @@ -606,11 +606,11 @@ "dependency": "direct main", "description": { "name": "flutter_math_fork", - "sha256": "284bab89b2fbf1bc3a0baf13d011c1dd324d004e35d177626b77f2fc056366ac", + "sha256": "6d5f2f1aa57ae539ffb0a04bb39d2da67af74601d685a161aff7ce5bda5fa407", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.3" + "version": "0.7.4" }, "flutter_plugin_android_lifecycle": { "dependency": "transitive", @@ -626,11 +626,11 @@ "dependency": "direct main", "description": { "name": "flutter_popup", - "sha256": "8f93cb4ec7341330ee585b4624ac6596f02587aaefc47297344cb7b5af26aa07", + "sha256": "63cbae63fb15f81be1b533cc53306d3835305e314e8ce99c62b98d45ab685261", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.3.4" + "version": "3.3.7" }, "flutter_svg": { "dependency": "direct main", @@ -728,11 +728,11 @@ "dependency": "direct main", "description": { "name": "http", - "sha256": "fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f", + "sha256": "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.3.0" + "version": "1.4.0" }, "http_multi_server": { "dependency": "transitive", @@ -768,11 +768,11 @@ "dependency": "direct main", "description": { "name": "intl", - "sha256": "d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf", + "sha256": "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.19.0" + "version": "0.20.2" }, "io": { "dependency": "transitive", @@ -828,11 +828,11 @@ "dependency": "transitive", "description": { "name": "leak_tracker", - "sha256": "c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec", + "sha256": "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0", "url": "https://pub.dev" }, "source": "hosted", - "version": "10.0.8" + "version": "10.0.9" }, "leak_tracker_flutter_testing": { "dependency": "transitive", @@ -858,11 +858,11 @@ "dependency": "transitive", "description": { "name": "lints", - "sha256": "c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7", + "sha256": "a5e2b223cb7c9c8efdc663ef484fdd95bb243bff242ef5b13e26883547fce9a0", "url": "https://pub.dev" }, "source": "hosted", - "version": "5.1.1" + "version": "6.0.0" }, "logging": { "dependency": "direct main", @@ -1494,11 +1494,11 @@ "dependency": "transitive", "description": { "name": "sqlite3", - "sha256": "310af39c40dd0bb2058538333c9d9840a2725ae0b9f77e4fd09ad6696aa8f66e", + "sha256": "c0503c69b44d5714e6abbf4c1f51a3c3cc42b75ce785f44404765e4635481d38", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.7.5" + "version": "2.7.6" }, "stack_trace": { "dependency": "transitive", @@ -1734,11 +1734,11 @@ "dependency": "transitive", "description": { "name": "vector_graphics_compiler", - "sha256": "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad", + "sha256": "557a315b7d2a6dbb0aaaff84d857967ce6bdc96a63dc6ee2a57ce5a6ee5d3331", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.1.16" + "version": "1.1.17" }, "vector_math": { "dependency": "transitive", @@ -1764,11 +1764,11 @@ "dependency": "transitive", "description": { "name": "vm_service", - "sha256": "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14", + "sha256": "ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02", "url": "https://pub.dev" }, "source": "hosted", - "version": "14.3.1" + "version": "15.0.0" }, "watcher": { "dependency": "transitive", @@ -1794,11 +1794,11 @@ "dependency": "transitive", "description": { "name": "web_socket", - "sha256": "bfe6f435f6ec49cb6c01da1e275ae4228719e59a6b067048c51e72d9d63bcc4b", + "sha256": "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.0.0" + "version": "1.0.1" }, "web_socket_channel": { "dependency": "transitive", @@ -1824,21 +1824,21 @@ "dependency": "transitive", "description": { "name": "win32", - "sha256": "dc6ecaa00a7c708e5b4d10ee7bec8c270e9276dfcab1783f57e9962d7884305f", + "sha256": "329edf97fdd893e0f1e3b9e88d6a0e627128cc17cc316a8d67fda8f1451178ba", "url": "https://pub.dev" }, "source": "hosted", - "version": "5.12.0" + "version": "5.13.0" }, "window_manager": { "dependency": "direct main", "description": { "name": "window_manager", - "sha256": "732896e1416297c63c9e3fb95aea72d0355f61390263982a47fd519169dc5059", + "sha256": "51d50168ab267d344b975b15390426b1243600d436770d3f13de67e55b05ec16", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.4.3" + "version": "0.5.0" }, "xdg_directories": { "dependency": "transitive", @@ -1872,7 +1872,7 @@ } }, "sdks": { - "dart": ">=3.7.0 <4.0.0", + "dart": ">=3.8.0 <4.0.0", "flutter": ">=3.29.0" } } diff --git a/pkgs/by-name/cs/csharpier/package.nix b/pkgs/by-name/cs/csharpier/package.nix index abab133cf716..2f43bdede4fa 100644 --- a/pkgs/by-name/cs/csharpier/package.nix +++ b/pkgs/by-name/cs/csharpier/package.nix @@ -2,10 +2,10 @@ buildDotnetGlobalTool { pname = "csharpier"; - version = "0.30.6"; - executables = "dotnet-csharpier"; + version = "1.0.2"; + executables = "csharpier"; - nugetHash = "sha256-A39F3ohTHZo8yYoyBOAUeW0bk98Za74Esz0Tx0tXgDI="; + nugetHash = "sha256-FPcdTWhdIhl0MgOsWcCzgzLyHFyz0szLYQUBUFoe3Cs="; meta = with lib; { description = "Opinionated code formatter for C#"; @@ -13,6 +13,6 @@ buildDotnetGlobalTool { changelog = "https://github.com/belav/csharpier/blob/main/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ zoriya ]; - mainProgram = "dotnet-csharpier"; + mainProgram = "csharpier"; }; } diff --git a/pkgs/by-name/fa/fan2go/lazy-binding.patch b/pkgs/by-name/fa/fan2go/lazy-binding.patch new file mode 100644 index 000000000000..fc5d07fd2e1d --- /dev/null +++ b/pkgs/by-name/fa/fan2go/lazy-binding.patch @@ -0,0 +1,18 @@ +diff --git a/Makefile b/Makefile +index c92df71..724911a 100644 +--- a/Makefile ++++ b/Makefile +@@ -10,11 +10,12 @@ DATE ?= $(shell date -u -d @${SOURCE_DATE_EPOCH} +"%Y-%m-%dT%H:%M:%SZ") + VERSION ?= 0.10.0 + + test: ## Run all tests +- @go clean --testcache && go test -v ./... ++ @go clean --testcache && go test -ldflags -extldflags=-Wl,-z,lazy -v ./... + + build: ## Builds the CLI + @go build ${GO_FLAGS} \ + -ldflags "-w -s \ ++ -extldflags=-Wl,-z,lazy \ + -X ${NAME}/cmd/global.Version=${VERSION} \ + -X ${PACKAGE}/cmd/global.Version=${VERSION} \ + -X ${NAME}/cmd/global.Commit=${GIT_REV} \ diff --git a/pkgs/by-name/fa/fan2go/package.nix b/pkgs/by-name/fa/fan2go/package.nix index ff54086d9a5c..08c9ab25b497 100644 --- a/pkgs/by-name/fa/fan2go/package.nix +++ b/pkgs/by-name/fa/fan2go/package.nix @@ -1,25 +1,33 @@ { - buildGo123Module, + buildGoModule, fetchFromGitHub, lib, lm_sensors, }: -buildGo123Module rec { +buildGoModule rec { pname = "fan2go"; - version = "0.9.0"; + version = "0.10.0"; src = fetchFromGitHub { owner = "markusressel"; repo = "fan2go"; - rev = version; - hash = "sha256-eSHeHBzDvzsDAck0zexwR8drasisvlQNTeowv92E2uc="; + tag = version; + hash = "sha256-mLypuOGjYrXFf3BGCDggEDk1+PVx2CgsxAjZQ7uiSW0="; + leaveDotGit = true; + postFetch = '' + cd $out + git rev-parse --short HEAD > $out/GIT_REV + find $out -name .git -print0 | xargs -0 rm -rf + ''; }; - vendorHash = "sha256-ad0e/cxbcU/KfPDOdD46KdCcvns83dgGDAyLLQiGyiA="; + vendorHash = "sha256-IJJTolpOtstVov8MNel6EOJqv1oCkTOTiPyW42ElQjc="; buildInputs = [ lm_sensors ]; + patches = [ ./lazy-binding.patch ]; + postConfigure = '' substituteInPlace vendor/github.com/md14454/gosensors/gosensors.go \ --replace-fail '"/etc/sensors3.conf"' '"${lib.getLib lm_sensors}/etc/sensors3.conf"' @@ -30,6 +38,24 @@ buildGo123Module rec { rm internal/fans/cmd_test.go ''; + buildPhase = '' + runHook preBuild + + make build GIT_REV="$(cat GIT_REV)" + + dir="$GOPATH/bin" + mkdir -p "$dir" + cp bin/fan2go "$dir" + + runHook postBuild + ''; + + checkPhase = '' + runHook preCheck + make test + runHook postCheck + ''; + meta = with lib; { description = "Simple daemon providing dynamic fan speed control based on temperature sensors"; mainProgram = "fan2go"; diff --git a/pkgs/by-name/fi/firefly-iii-data-importer/package.nix b/pkgs/by-name/fi/firefly-iii-data-importer/package.nix index 079eafc8e20d..e80858c75720 100644 --- a/pkgs/by-name/fi/firefly-iii-data-importer/package.nix +++ b/pkgs/by-name/fi/firefly-iii-data-importer/package.nix @@ -13,13 +13,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "firefly-iii-data-importer"; - version = "1.6.1"; + version = "1.6.3"; src = fetchFromGitHub { owner = "firefly-iii"; repo = "data-importer"; tag = "v${finalAttrs.version}"; - hash = "sha256-/mQnv/81XpdiXayC4+kw0QihZSPBkz59eJCdEBodudQ="; + hash = "sha256-+e5UtnK/eiFnmvtKjVp3EZ8JLi+dWnJ+vgjDJKRLqH8="; }; buildInputs = [ php84 ]; @@ -38,12 +38,12 @@ stdenvNoCC.mkDerivation (finalAttrs: { composerStrictValidation = true; strictDeps = true; - vendorHash = "sha256-9WSq8kUoXyClAHvuMtqzlfcITgCgXdulslDAzlaJ9LU="; + vendorHash = "sha256-ExHT4kRyyp4c7vGqUN7hbP8pScvto/qp81oDjZGBJis="; npmDeps = fetchNpmDeps { inherit (finalAttrs) src; name = "${finalAttrs.pname}-npm-deps"; - hash = "sha256-6yfXh9KX0ucAB+wo/xG4gRGmDL+CPtLkcq390iVz2qU="; + hash = "sha256-i+Ytv8uLSrdLPC04BfZbRXRA7jmy1IX4nYW5WRZubCY="; }; composerRepository = php84.mkComposerRepository { @@ -66,7 +66,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { passthru = { phpPackage = php84; tests = nixosTests.firefly-iii-data-importer; - updateScript = nix-update-script { }; + updateScript = nix-update-script { extraArgs = [ "--version-regex='v([0-9]+\.[0-9]+\.[0-9]+)'" ]; }; }; postInstall = '' diff --git a/pkgs/by-name/fl/flclash/package.nix b/pkgs/by-name/fl/flclash/package.nix index d0c3b0a0fbc4..e9db47c6e101 100644 --- a/pkgs/by-name/fl/flclash/package.nix +++ b/pkgs/by-name/fl/flclash/package.nix @@ -1,7 +1,7 @@ { lib, fetchFromGitHub, - flutter329, + flutter332, keybinder3, libayatana-appindicator, buildGoModule, @@ -12,14 +12,14 @@ let pname = "flclash"; - version = "0.8.84"; + version = "0.8.85"; src = (fetchFromGitHub { owner = "chen08209"; repo = "FlClash"; tag = "v${version}"; - hash = "sha256-XrZay7C8XIqwAATwDd8U+sh0BcNN5ap43ibYVs6qXFg="; + hash = "sha256-bMx9yQkzUZ8cJpT1WBIqmYKoUvkPND9qg26HoRiY5kM="; fetchSubmodules = true; }).overrideAttrs (_: { @@ -32,7 +32,7 @@ let description = "Multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free"; homepage = "https://github.com/chen08209/FlClash"; license = with lib.licenses; [ gpl3Plus ]; - maintainers = with lib.maintainers; [ ]; + maintainers = with lib.maintainers; [ emaryn ]; }; libclash = buildGoModule { @@ -41,7 +41,7 @@ let modRoot = "core"; - vendorHash = "sha256-Wm1VheSLaAS+tLQq7lNkPzoEER1sKiNczUgYLSfuLng="; + vendorHash = "sha256-pc0TnYnY6QWpGdO7IGAquuyS+NXbq7Xkr+dOo8uLPQU="; env.CGO_ENABLED = 0; @@ -57,11 +57,13 @@ let meta = metaCommon; }; in -flutter329.buildFlutterApplication { +flutter332.buildFlutterApplication { inherit pname version src; pubspecLock = lib.importJSON ./pubspec.lock.json; + gitHashes.flutter_js = "sha256-4PgiUL7aBnWVOmz2bcSxKt81BRVMnopabj5LDbtPYk4="; + nativeBuildInputs = [ copyDesktopItems autoPatchelfHook @@ -81,9 +83,7 @@ flutter329.buildFlutterApplication { icon = "flclash"; genericName = "FlClash"; desktopName = "FlClash"; - categories = [ - "Network" - ]; + categories = [ "Network" ]; keywords = [ "FlClash" "Clash" diff --git a/pkgs/by-name/fl/flclash/pubspec.lock.json b/pkgs/by-name/fl/flclash/pubspec.lock.json index 6011f367d9f0..aa138a5eb469 100644 --- a/pkgs/by-name/fl/flclash/pubspec.lock.json +++ b/pkgs/by-name/fl/flclash/pubspec.lock.json @@ -4,37 +4,31 @@ "dependency": "transitive", "description": { "name": "_fe_analyzer_shared", - "sha256": "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab", + "sha256": "dc27559385e905ad30838356c5f5d574014ba39872d732111cd07ac0beff4c57", "url": "https://pub.dev" }, "source": "hosted", - "version": "76.0.0" - }, - "_macros": { - "dependency": "transitive", - "description": "dart", - "source": "sdk", - "version": "0.3.3" + "version": "80.0.0" }, "analyzer": { "dependency": "transitive", "description": { "name": "analyzer", - "sha256": "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e", + "sha256": "192d1c5b944e7e53b24b5586db760db934b177d4147c42fbca8c8c5f1eb8d11e", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.11.0" + "version": "7.3.0" }, "analyzer_plugin": { "dependency": "transitive", "description": { "name": "analyzer_plugin", - "sha256": "9661b30b13a685efaee9f02e5d01ed9f2b423bd889d28a304d02d704aee69161", + "sha256": "1d460d14e3c2ae36dc2b32cef847c4479198cf87704f63c3c3c8150ee50c3916", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.11.3" + "version": "0.12.0" }, "animations": { "dependency": "direct main", @@ -100,11 +94,11 @@ "dependency": "direct dev", "description": { "name": "args", - "sha256": "bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6", + "sha256": "d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.6.0" + "version": "2.7.0" }, "async": { "dependency": "transitive", @@ -130,61 +124,61 @@ "dependency": "transitive", "description": { "name": "build", - "sha256": "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "2.4.1" - }, - "build_config": { - "dependency": "transitive", - "description": { - "name": "build_config", - "sha256": "bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.1.1" - }, - "build_daemon": { - "dependency": "transitive", - "description": { - "name": "build_daemon", - "sha256": "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "4.0.2" - }, - "build_resolvers": { - "dependency": "transitive", - "description": { - "name": "build_resolvers", - "sha256": "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a", + "sha256": "cef23f1eda9b57566c81e2133d196f8e3df48f244b317368d65c5943d91148f0", "url": "https://pub.dev" }, "source": "hosted", "version": "2.4.2" }, + "build_config": { + "dependency": "transitive", + "description": { + "name": "build_config", + "sha256": "4ae2de3e1e67ea270081eaee972e1bd8f027d459f249e0f1186730784c2e7e33", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "1.1.2" + }, + "build_daemon": { + "dependency": "transitive", + "description": { + "name": "build_daemon", + "sha256": "8e928697a82be082206edb0b9c99c5a4ad6bc31c9e9b8b2f291ae65cd4a25daa", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "4.0.4" + }, + "build_resolvers": { + "dependency": "transitive", + "description": { + "name": "build_resolvers", + "sha256": "b9e4fda21d846e192628e7a4f6deda6888c36b5b69ba02ff291a01fd529140f0", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "2.4.4" + }, "build_runner": { "dependency": "direct dev", "description": { "name": "build_runner", - "sha256": "028819cfb90051c6b5440c7e574d1896f8037e3c96cf17aaeb054c9311cfbf4d", + "sha256": "058fe9dce1de7d69c4b84fada934df3e0153dd000758c4d65964d0166779aa99", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.13" + "version": "2.4.15" }, "build_runner_core": { "dependency": "transitive", "description": { "name": "build_runner_core", - "sha256": "f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0", + "sha256": "22e3aa1c80e0ada3722fe5b63fd43d9c8990759d0a2cf489c8c5d7b2bdebc021", "url": "https://pub.dev" }, "source": "hosted", - "version": "7.3.2" + "version": "8.0.0" }, "built_collection": { "dependency": "transitive", @@ -200,41 +194,11 @@ "dependency": "transitive", "description": { "name": "built_value", - "sha256": "c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb", + "sha256": "ea90e81dc4a25a043d9bee692d20ed6d1c4a1662a28c03a96417446c093ed6b4", "url": "https://pub.dev" }, "source": "hosted", - "version": "8.9.2" - }, - "cached_network_image": { - "dependency": "direct main", - "description": { - "name": "cached_network_image", - "sha256": "7c1183e361e5c8b0a0f21a28401eecdbde252441106a9816400dd4c2b2424916", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "3.4.1" - }, - "cached_network_image_platform_interface": { - "dependency": "transitive", - "description": { - "name": "cached_network_image_platform_interface", - "sha256": "35814b016e37fbdc91f7ae18c8caf49ba5c88501813f73ce8a07027a395e2829", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "4.1.1" - }, - "cached_network_image_web": { - "dependency": "transitive", - "description": { - "name": "cached_network_image_web", - "sha256": "980842f4e8e2535b8dbd3d5ca0b1f0ba66bf61d14cc3a17a9b4788a3685ba062", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.3.1" + "version": "8.9.5" }, "characters": { "dependency": "transitive", @@ -310,11 +274,11 @@ "dependency": "direct main", "description": { "name": "connectivity_plus", - "sha256": "e0817759ec6d2d8e57eb234e6e57d2173931367a865850c7acea40d4b4f9c27d", + "sha256": "051849e2bd7c7b3bc5844ea0d096609ddc3a859890ec3a9ac4a65a2620cc1f99", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.1.1" + "version": "6.1.4" }, "connectivity_plus_platform_interface": { "dependency": "transitive", @@ -347,7 +311,7 @@ "version": "0.3.4+2" }, "crypto": { - "dependency": "direct dev", + "dependency": "direct main", "description": { "name": "crypto", "sha256": "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855", @@ -360,61 +324,61 @@ "dependency": "direct dev", "description": { "name": "custom_lint", - "sha256": "3486c470bb93313a9417f926c7dd694a2e349220992d7b9d14534dc49c15bba9", + "sha256": "021897cce2b6c783b2521543e362e7fe1a2eaab17bf80514d8de37f99942ed9e", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.0" + "version": "0.7.3" }, "custom_lint_builder": { "dependency": "transitive", "description": { "name": "custom_lint_builder", - "sha256": "42cdc41994eeeddab0d7a722c7093ec52bd0761921eeb2cbdbf33d192a234759", + "sha256": "e4235b9d8cef59afe621eba086d245205c8a0a6c70cd470be7cb17494d6df32d", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.0" + "version": "0.7.3" }, "custom_lint_core": { "dependency": "transitive", "description": { "name": "custom_lint_core", - "sha256": "02450c3e45e2a6e8b26c4d16687596ab3c4644dd5792e3313aa9ceba5a49b7f5", + "sha256": "6dcee8a017181941c51a110da7e267c1d104dc74bec8862eeb8c85b5c8759a9e", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.0" + "version": "0.7.1" }, "custom_lint_visitor": { "dependency": "transitive", "description": { "name": "custom_lint_visitor", - "sha256": "bfe9b7a09c4775a587b58d10ebb871d4fe618237639b1e84d5ec62d7dfef25f9", + "sha256": "36282d85714af494ee2d7da8c8913630aa6694da99f104fb2ed4afcf8fc857d8", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.0.0+6.11.0" + "version": "1.0.0+7.3.0" }, "dart_style": { "dependency": "transitive", "description": { "name": "dart_style", - "sha256": "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab", + "sha256": "5b236382b47ee411741447c1f1e111459c941ea1b3f2b540dde54c210a3662af", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.3.7" + "version": "3.1.0" }, "dbus": { "dependency": "transitive", "description": { "name": "dbus", - "sha256": "365c771ac3b0e58845f39ec6deebc76e3276aa9922b0cc60840712094d9047ac", + "sha256": "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.10" + "version": "0.7.11" }, "defer_pointer": { "dependency": "direct main", @@ -430,11 +394,11 @@ "dependency": "direct main", "description": { "name": "device_info_plus", - "sha256": "306b78788d1bb569edb7c55d622953c2414ca12445b41c9117963e03afc5c513", + "sha256": "0c6396126421b590089447154c5f98a5de423b70cfb15b1578fd018843ee6f53", "url": "https://pub.dev" }, "source": "hosted", - "version": "11.3.3" + "version": "11.4.0" }, "device_info_plus_platform_interface": { "dependency": "transitive", @@ -460,11 +424,11 @@ "dependency": "transitive", "description": { "name": "dio_web_adapter", - "sha256": "33259a9276d6cea88774a0000cfae0d861003497755969c92faa223108620dc8", + "sha256": "7586e476d70caecaf1686d21eee7247ea43ef5c345eab9e0cc3583ff13378d78", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.0.0" + "version": "2.1.1" }, "dynamic_color": { "dependency": "direct main", @@ -520,11 +484,11 @@ "dependency": "direct dev", "description": { "name": "ffigen", - "sha256": "a0ca4853028c6a9e4d9a0a40bb744fceb898c89d75931d08e87b3987d0087060", + "sha256": "72d732c33557fc0ca9b46379d3deff2dadbdc539696dc0b270189e2989be20ef", "url": "https://pub.dev" }, "source": "hosted", - "version": "15.0.0" + "version": "18.1.0" }, "file": { "dependency": "transitive", @@ -540,11 +504,11 @@ "dependency": "direct main", "description": { "name": "file_picker", - "sha256": "c2376a6aae82358a9f9ccdd7d1f4006d08faa39a2767cce01031d9f593a8bd3b", + "sha256": "ab13ae8ef5580a411c458d6207b6774a6c237d77ac37011b13994879f68a8810", "url": "https://pub.dev" }, "source": "hosted", - "version": "8.1.6" + "version": "8.3.7" }, "file_selector_linux": { "dependency": "transitive", @@ -580,11 +544,11 @@ "dependency": "transitive", "description": { "name": "file_selector_windows", - "sha256": "8f5d2f6590d51ecd9179ba39c64f722edc15226cc93dcc8698466ad36a4a85a4", + "sha256": "320fcfb6f33caa90f0b58380489fc5ac05d99ee94b61aa96ec2bff0ba81d3c2b", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.9.3+3" + "version": "0.9.3+4" }, "fixnum": { "dependency": "transitive", @@ -603,7 +567,7 @@ "version": "0.0.0" }, "flutter_cache_manager": { - "dependency": "transitive", + "dependency": "direct main", "description": { "name": "flutter_cache_manager", "sha256": "400b6592f16a4409a7f2bb929a9a7e38c72cceb8ffb99ee57bbf2cb2cecf8386", @@ -612,6 +576,17 @@ "source": "hosted", "version": "3.4.1" }, + "flutter_js": { + "dependency": "direct main", + "description": { + "path": ".", + "ref": "master", + "resolved-ref": "c0e10a5dab0e22cd616ec92ae71471d76369cbfe", + "url": "https://github.com/chen08209/flutter_js" + }, + "source": "git", + "version": "0.8.3" + }, "flutter_lints": { "dependency": "direct dev", "description": { @@ -632,11 +607,11 @@ "dependency": "transitive", "description": { "name": "flutter_plugin_android_lifecycle", - "sha256": "9b78450b89f059e96c9ebb355fa6b3df1d6b330436e0b885fb49594c41721398", + "sha256": "f948e346c12f8d5480d2825e03de228d0eb8c3a737e4cdaa122267b89c022b5e", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.0.23" + "version": "2.0.28" }, "flutter_riverpod": { "dependency": "direct main", @@ -648,6 +623,16 @@ "source": "hosted", "version": "2.6.1" }, + "flutter_svg": { + "dependency": "direct main", + "description": { + "name": "flutter_svg", + "sha256": "d44bf546b13025ec7353091516f6881f1d4c633993cb109c3916c3a0159dadf1", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "2.1.0" + }, "flutter_test": { "dependency": "direct dev", "description": "flutter", @@ -664,11 +649,11 @@ "dependency": "direct dev", "description": { "name": "freezed", - "sha256": "44c19278dd9d89292cf46e97dc0c1e52ce03275f40a97c5a348e802a924bf40e", + "sha256": "59a584c24b3acdc5250bb856d0d3e9c0b798ed14a4af1ddb7dc1c7b41df91c9c", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.5.7" + "version": "2.5.8" }, "freezed_annotation": { "dependency": "direct main", @@ -694,11 +679,11 @@ "dependency": "transitive", "description": { "name": "glob", - "sha256": "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63", + "sha256": "c3f1ee72c96f8f78935e18aa8cecced9ab132419e8625dc187e1c2408efc20de", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.1.2" + "version": "2.1.3" }, "graphs": { "dependency": "transitive", @@ -784,31 +769,31 @@ "dependency": "transitive", "description": { "name": "http", - "sha256": "b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010", + "sha256": "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.2.2" + "version": "1.4.0" }, "http_multi_server": { "dependency": "transitive", "description": { "name": "http_multi_server", - "sha256": "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b", + "sha256": "aa6199f908078bb1c5efb8d8638d4ae191aac11b311132c3ef48ce352fb52ef8", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.2.1" + "version": "3.2.2" }, "http_parser": { "dependency": "transitive", "description": { "name": "http_parser", - "sha256": "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b", + "sha256": "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.0.2" + "version": "4.1.2" }, "image_picker": { "dependency": "direct main", @@ -824,11 +809,11 @@ "dependency": "transitive", "description": { "name": "image_picker_android", - "sha256": "fa8141602fde3f7e2f81dbf043613eb44dfa325fa0bcf93c0f142c9f7a2c193e", + "sha256": "317a5d961cec5b34e777b9252393f2afbd23084aa6e60fcf601dcf6341b9ebeb", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.8.12+18" + "version": "0.8.12+23" }, "image_picker_for_web": { "dependency": "transitive", @@ -844,41 +829,41 @@ "dependency": "transitive", "description": { "name": "image_picker_ios", - "sha256": "4f0568120c6fcc0aaa04511cb9f9f4d29fc3d0139884b1d06be88dcec7641d6b", + "sha256": "05da758e67bc7839e886b3959848aa6b44ff123ab4b28f67891008afe8ef9100", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.8.12+1" + "version": "0.8.12+2" }, "image_picker_linux": { "dependency": "transitive", "description": { "name": "image_picker_linux", - "sha256": "4ed1d9bb36f7cd60aa6e6cd479779cc56a4cb4e4de8f49d487b1aaad831300fa", + "sha256": "34a65f6740df08bbbeb0a1abd8e6d32107941fd4868f67a507b25601651022c9", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.2.1+1" + "version": "0.2.1+2" }, "image_picker_macos": { "dependency": "transitive", "description": { "name": "image_picker_macos", - "sha256": "3f5ad1e8112a9a6111c46d0b57a7be2286a9a07fc6e1976fdf5be2bd31d4ff62", + "sha256": "1b90ebbd9dcf98fb6c1d01427e49a55bd96b5d67b8c67cf955d60a5de74207c1", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.2.1+1" + "version": "0.2.1+2" }, "image_picker_platform_interface": { "dependency": "transitive", "description": { "name": "image_picker_platform_interface", - "sha256": "9ec26d410ff46f483c5519c29c02ef0e02e13a543f882b152d4bfd2f06802f80", + "sha256": "886d57f0be73c4b140004e78b9f28a8914a09e50c2d816bdd0520051a71236a0", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.10.0" + "version": "2.10.1" }, "image_picker_windows": { "dependency": "transitive", @@ -934,11 +919,11 @@ "dependency": "transitive", "description": { "name": "js", - "sha256": "c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf", + "sha256": "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.1" + "version": "0.7.2" }, "json_annotation": { "dependency": "direct main", @@ -954,11 +939,11 @@ "dependency": "direct dev", "description": { "name": "json_serializable", - "sha256": "c2fcb3920cf2b6ae6845954186420fca40bc0a8abcc84903b7801f17d7050d7c", + "sha256": "c50ef5fc083d5b5e12eef489503ba3bf5ccc899e487d691584699b4bdefeea8c", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.9.0" + "version": "6.9.5" }, "launch_at_startup": { "dependency": "direct main", @@ -1004,11 +989,11 @@ "dependency": "transitive", "description": { "name": "lints", - "sha256": "3315600f3fb3b135be672bf4a178c55f274bebe368325ae18462c89ac1e3b413", + "sha256": "c35bb79562d980e9a453fc715854e1ed39e24e7d0297a880ef54e17f9874a9d7", "url": "https://pub.dev" }, "source": "hosted", - "version": "5.0.0" + "version": "5.1.1" }, "logging": { "dependency": "transitive", @@ -1030,16 +1015,6 @@ "source": "hosted", "version": "2.0.3" }, - "macros": { - "dependency": "transitive", - "description": { - "name": "macros", - "sha256": "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "0.1.3-main.0" - }, "matcher": { "dependency": "transitive", "description": { @@ -1094,11 +1069,11 @@ "dependency": "direct main", "description": { "name": "mobile_scanner", - "sha256": "728828a798d1a2ee506beb652ca23d974c542c96ed03dcbd5eaf97bef96cdaad", + "sha256": "72f06a071aa8b14acea3ab43ea7949eefe4a2469731ae210e006ba330a033a8c", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.0.2" + "version": "7.0.0" }, "nm": { "dependency": "transitive", @@ -1110,45 +1085,35 @@ "source": "hosted", "version": "0.5.0" }, - "octo_image": { - "dependency": "transitive", - "description": { - "name": "octo_image", - "sha256": "34faa6639a78c7e3cbe79be6f9f96535867e879748ade7d17c9b1ae7536293bd", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "2.1.0" - }, "package_config": { "dependency": "transitive", "description": { "name": "package_config", - "sha256": "92d4488434b520a62570293fbd33bb556c7d49230791c1b4bbd973baf6d2dc67", + "sha256": "f096c55ebb7deb7e384101542bfba8c52696c1b56fca2eb62827989ef2353bbc", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.1.1" + "version": "2.2.0" }, "package_info_plus": { "dependency": "direct main", "description": { "name": "package_info_plus", - "sha256": "70c421fe9d9cc1a9a7f3b05ae56befd469fe4f8daa3b484823141a55442d858d", + "sha256": "7976bfe4c583170d6cdc7077e3237560b364149fcd268b5f53d95a991963b191", "url": "https://pub.dev" }, "source": "hosted", - "version": "8.1.2" + "version": "8.3.0" }, "package_info_plus_platform_interface": { "dependency": "transitive", "description": { "name": "package_info_plus_platform_interface", - "sha256": "a5ef9986efc7bf772f2696183a3992615baa76c1ffb1189318dd8803778fb05b", + "sha256": "6c935fb612dff8e3cc9632c2b301720c77450a126114126ffaafe28d2e87956c", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.0.2" + "version": "3.2.0" }, "path": { "dependency": "direct main", @@ -1160,6 +1125,16 @@ "source": "hosted", "version": "1.9.1" }, + "path_parsing": { + "dependency": "transitive", + "description": { + "name": "path_parsing", + "sha256": "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "1.1.0" + }, "path_provider": { "dependency": "direct main", "description": { @@ -1174,11 +1149,11 @@ "dependency": "transitive", "description": { "name": "path_provider_android", - "sha256": "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2", + "sha256": "d0d310befe2c8ab9e7f393288ccbb11b60c019c6b5afc21973eeee4dda2b35e9", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.2.15" + "version": "2.2.17" }, "path_provider_foundation": { "dependency": "transitive", @@ -1224,11 +1199,11 @@ "dependency": "transitive", "description": { "name": "petitparser", - "sha256": "c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27", + "sha256": "07c8f0b1913bcde1ff0d26e57ace2f3012ccbf2b204e070290dad3bb22797646", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.0.2" + "version": "6.1.0" }, "platform": { "dependency": "transitive", @@ -1273,21 +1248,21 @@ "dependency": "transitive", "description": { "name": "pub_semver", - "sha256": "7b3cfbf654f3edd0c6298ecd5be782ce997ddf0e00531b9464b55245185bbbbd", + "sha256": "5bfcf68ca79ef689f8990d1160781b4bad40a3bd5e5218ad4076ddb7f4081585", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.1.5" + "version": "2.2.0" }, "pubspec_parse": { "dependency": "transitive", "description": { "name": "pubspec_parse", - "sha256": "c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8", + "sha256": "0560ba233314abbed0a48a2956f7f022cce7c3e1e73df540277da7544cad4082", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.3.0" + "version": "1.5.0" }, "quiver": { "dependency": "transitive", @@ -1333,11 +1308,11 @@ "dependency": "transitive", "description": { "name": "riverpod_analyzer_utils", - "sha256": "c6b8222b2b483cb87ae77ad147d6408f400c64f060df7a225b127f4afef4f8c8", + "sha256": "837a6dc33f490706c7f4632c516bcd10804ee4d9ccc8046124ca56388715fdf3", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.5.8" + "version": "0.5.9" }, "riverpod_annotation": { "dependency": "direct main", @@ -1353,21 +1328,21 @@ "dependency": "direct dev", "description": { "name": "riverpod_generator", - "sha256": "63546d70952015f0981361636bf8f356d9cfd9d7f6f0815e3c07789a41233188", + "sha256": "120d3310f687f43e7011bb213b90a436f1bbc300f0e4b251a72c39bccb017a4f", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.6.3" + "version": "2.6.4" }, "riverpod_lint": { "dependency": "direct dev", "description": { "name": "riverpod_lint", - "sha256": "83e4caa337a9840469b7b9bd8c2351ce85abad80f570d84146911b32086fbd99", + "sha256": "b05408412b0f75dec954e032c855bc28349eeed2d2187f94519e1ddfdf8b3693", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.6.3" + "version": "2.6.4" }, "rxdart": { "dependency": "transitive", @@ -1433,21 +1408,21 @@ "dependency": "direct main", "description": { "name": "shared_preferences", - "sha256": "688ee90fbfb6989c980254a56cb26ebe9bb30a3a2dff439a78894211f73de67a", + "sha256": "6e8bf70b7fef813df4e9a36f658ac46d107db4b4cfe1048b477d4e453a8159f5", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.5.1" + "version": "2.5.3" }, "shared_preferences_android": { "dependency": "transitive", "description": { "name": "shared_preferences_android", - "sha256": "02a7d8a9ef346c9af715811b01fbd8e27845ad2c41148eefd31321471b41863d", + "sha256": "20cbd561f743a342c76c151d6ddb93a9ce6005751e7aa458baad3858bfbfb6ac", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.0" + "version": "2.4.10" }, "shared_preferences_foundation": { "dependency": "transitive", @@ -1483,11 +1458,11 @@ "dependency": "transitive", "description": { "name": "shared_preferences_web", - "sha256": "d2ca4132d3946fec2184261726b355836a82c33d7d5b67af32692aff18a4684e", + "sha256": "c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.2" + "version": "2.4.3" }, "shared_preferences_windows": { "dependency": "transitive", @@ -1503,21 +1478,21 @@ "dependency": "transitive", "description": { "name": "shelf", - "sha256": "ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4", + "sha256": "e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.4.1" + "version": "1.4.2" }, "shelf_web_socket": { "dependency": "transitive", "description": { "name": "shelf_web_socket", - "sha256": "cc36c297b52866d203dbf9332263c94becc2fe0ceaa9681d07b6ef9807023b67", + "sha256": "3632775c8e90d6c9712f883e633716432a27758216dfb61bd86a8321c0580925", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.0.1" + "version": "3.0.0" }, "shortid": { "dependency": "transitive", @@ -1539,21 +1514,21 @@ "dependency": "transitive", "description": { "name": "source_gen", - "sha256": "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832", + "sha256": "35c8150ece9e8c8d263337a265153c3329667640850b9304861faea59fc98f6b", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.5.0" + "version": "2.0.0" }, "source_helper": { "dependency": "transitive", "description": { "name": "source_helper", - "sha256": "6adebc0006c37dd63fe05bca0a929b99f06402fc95aa35bf36d67f5c06de01fd", + "sha256": "86d247119aedce8e63f4751bd9626fc9613255935558447569ad42f9f5b48b3c", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.3.4" + "version": "1.3.5" }, "source_span": { "dependency": "transitive", @@ -1579,41 +1554,41 @@ "dependency": "transitive", "description": { "name": "sqflite", - "sha256": "2d7299468485dca85efeeadf5d38986909c5eb0cd71fd3db2c2f000e6c9454bb", + "sha256": "e2297b1da52f127bc7a3da11439985d9b536f75070f3325e62ada69a5c585d03", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.1" + "version": "2.4.2" }, "sqflite_android": { "dependency": "transitive", "description": { "name": "sqflite_android", - "sha256": "78f489aab276260cdd26676d2169446c7ecd3484bbd5fead4ca14f3ed4dd9ee3", + "sha256": "2b3070c5fa881839f8b402ee4a39c1b4d561704d4ebbbcfb808a119bc2a1701b", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.0" + "version": "2.4.1" }, "sqflite_common": { "dependency": "transitive", "description": { "name": "sqflite_common", - "sha256": "761b9740ecbd4d3e66b8916d784e581861fd3c3553eda85e167bc49fdb68f709", + "sha256": "84731e8bfd8303a3389903e01fb2141b6e59b5973cacbb0929021df08dddbe8b", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.5.4+6" + "version": "2.5.5" }, "sqflite_darwin": { "dependency": "transitive", "description": { "name": "sqflite_darwin", - "sha256": "96a698e2bc82bd770a4d6aab00b42396a7c63d9e33513a56945cbccb594c2474", + "sha256": "279832e5cde3fe99e8571879498c9211f3ca6391b0d818df4e17d9fff5c6ccb3", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.1" + "version": "2.4.2" }, "sqflite_platform_interface": { "dependency": "transitive", @@ -1659,11 +1634,11 @@ "dependency": "transitive", "description": { "name": "stream_transform", - "sha256": "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f", + "sha256": "ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.1.0" + "version": "2.1.1" }, "string_scanner": { "dependency": "transitive", @@ -1675,15 +1650,25 @@ "source": "hosted", "version": "1.4.1" }, + "sync_http": { + "dependency": "transitive", + "description": { + "name": "sync_http", + "sha256": "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "0.3.1" + }, "synchronized": { "dependency": "transitive", "description": { "name": "synchronized", - "sha256": "69fe30f3a8b04a0be0c15ae6490fc859a78ef4c43ae2dd5e8a623d45bfcf9225", + "sha256": "0669c70faae6270521ee4f05bffd2919892d42d1276e6c495be80174b6bc0ef6", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.3.0+3" + "version": "3.3.1" }, "term_glyph": { "dependency": "transitive", @@ -1719,11 +1704,11 @@ "dependency": "direct main", "description": { "name": "tray_manager", - "sha256": "c2da0f0f1ddb455e721cf68d05d1281fec75cf5df0a1d3cb67b6ca0bdfd5709d", + "sha256": "ad18c4cd73003097d182884bacb0578ad2865f3ab842a0ad00f6d043ed49eaf0", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.4.0" + "version": "0.5.0" }, "typed_data": { "dependency": "transitive", @@ -1759,21 +1744,21 @@ "dependency": "transitive", "description": { "name": "url_launcher_android", - "sha256": "6fc2f56536ee873eeb867ad176ae15f304ccccc357848b351f6f0d8d4a40d193", + "sha256": "8582d7f6fe14d2652b4c45c9b6c14c0b678c2af2d083a11b604caeba51930d79", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.3.14" + "version": "6.3.16" }, "url_launcher_ios": { "dependency": "transitive", "description": { "name": "url_launcher_ios", - "sha256": "16a513b6c12bb419304e72ea0ae2ab4fed569920d1c7cb850263fe3acc824626", + "sha256": "7f2022359d4c099eea7df3fdf739f7d3d3b9faf3166fb1dd390775176e0b76cb", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.3.2" + "version": "6.3.3" }, "url_launcher_linux": { "dependency": "transitive", @@ -1809,21 +1794,21 @@ "dependency": "transitive", "description": { "name": "url_launcher_web", - "sha256": "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e", + "sha256": "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.3.3" + "version": "2.4.1" }, "url_launcher_windows": { "dependency": "transitive", "description": { "name": "url_launcher_windows", - "sha256": "44cf3aabcedde30f2dba119a9dea3b0f2672fbe6fa96e85536251d678216b3c4", + "sha256": "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.1.3" + "version": "3.1.4" }, "uuid": { "dependency": "transitive", @@ -1835,6 +1820,36 @@ "source": "hosted", "version": "4.5.1" }, + "vector_graphics": { + "dependency": "transitive", + "description": { + "name": "vector_graphics", + "sha256": "44cc7104ff32563122a929e4620cf3efd584194eec6d1d913eb5ba593dbcf6de", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "1.1.18" + }, + "vector_graphics_codec": { + "dependency": "transitive", + "description": { + "name": "vector_graphics_codec", + "sha256": "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "1.1.13" + }, + "vector_graphics_compiler": { + "dependency": "transitive", + "description": { + "name": "vector_graphics_compiler", + "sha256": "557a315b7d2a6dbb0aaaff84d857967ce6bdc96a63dc6ee2a57ce5a6ee5d3331", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "1.1.17" + }, "vector_math": { "dependency": "transitive", "description": { @@ -1859,41 +1874,41 @@ "dependency": "transitive", "description": { "name": "watcher", - "sha256": "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8", + "sha256": "69da27e49efa56a15f8afe8f4438c4ec02eff0a117df1b22ea4aad194fe1c104", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.1.0" + "version": "1.1.1" }, "web": { "dependency": "transitive", "description": { "name": "web", - "sha256": "cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb", + "sha256": "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.1.0" + "version": "1.1.1" }, "web_socket": { "dependency": "transitive", "description": { "name": "web_socket", - "sha256": "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83", + "sha256": "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.1.6" + "version": "1.0.1" }, "web_socket_channel": { "dependency": "transitive", "description": { "name": "web_socket_channel", - "sha256": "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f", + "sha256": "d645757fb0f4773d602444000a8131ff5d48c9e47adfe9772652dd1a4f2d45c8", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.0.1" + "version": "3.0.3" }, "webdav_client": { "dependency": "direct main", @@ -1909,11 +1924,11 @@ "dependency": "direct main", "description": { "name": "win32", - "sha256": "dc6ecaa00a7c708e5b4d10ee7bec8c270e9276dfcab1783f57e9962d7884305f", + "sha256": "329edf97fdd893e0f1e3b9e88d6a0e627128cc17cc316a8d67fda8f1451178ba", "url": "https://pub.dev" }, "source": "hosted", - "version": "5.12.0" + "version": "5.13.0" }, "win32_registry": { "dependency": "direct main", @@ -1938,21 +1953,11 @@ "dependency": "direct main", "description": { "name": "window_manager", - "sha256": "732896e1416297c63c9e3fb95aea72d0355f61390263982a47fd519169dc5059", + "sha256": "51d50168ab267d344b975b15390426b1243600d436770d3f13de67e55b05ec16", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.4.3" - }, - "windows_single_instance": { - "dependency": "direct main", - "description": { - "name": "windows_single_instance", - "sha256": "50d5dcd6bec90b4a5ed588b1822b1aad21b39fc96da843e61c734b3caccfd2fc", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.0.1" + "version": "0.5.0" }, "xdg_directories": { "dependency": "transitive", @@ -1978,25 +1983,25 @@ "dependency": "transitive", "description": { "name": "yaml", - "sha256": "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5", + "sha256": "b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.1.2" + "version": "3.1.3" }, "yaml_edit": { "dependency": "transitive", "description": { "name": "yaml_edit", - "sha256": "e9c1a3543d2da0db3e90270dbb1e4eebc985ee5e3ffe468d83224472b2194a5f", + "sha256": "fb38626579fb345ad00e674e2af3a5c9b0cc4b9bfb8fd7f7ff322c7c9e62aef5", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.2.1" + "version": "2.2.2" } }, "sdks": { "dart": ">=3.7.0 <4.0.0", - "flutter": ">=3.24.0" + "flutter": ">=3.29.0" } } diff --git a/pkgs/by-name/gi/git-machete/package.nix b/pkgs/by-name/gi/git-machete/package.nix index 6dc30fe03830..8582ef0285ba 100644 --- a/pkgs/by-name/gi/git-machete/package.nix +++ b/pkgs/by-name/gi/git-machete/package.nix @@ -9,13 +9,13 @@ python3.pkgs.buildPythonApplication rec { pname = "git-machete"; - version = "3.34.1"; + version = "3.36.0"; src = fetchFromGitHub { owner = "virtuslab"; repo = pname; rev = "v${version}"; - hash = "sha256-CllaviW7pqLD9XD4oSHyW2nG4lObkPWFseXZbtkNUQI="; + hash = "sha256-iSuOiQC+dKqcDCS4nTPMrNFpo3ipPUQhfoofM11UInI="; }; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/by-name/go/go-licence-detector/package.nix b/pkgs/by-name/go/go-licence-detector/package.nix index dd08b14598d4..2e352c8cae7e 100644 --- a/pkgs/by-name/go/go-licence-detector/package.nix +++ b/pkgs/by-name/go/go-licence-detector/package.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "go-licence-detector"; - version = "0.7.0"; + version = "0.8.0"; src = fetchFromGitHub { owner = "elastic"; repo = "go-licence-detector"; rev = "v${version}"; - hash = "sha256-43MyzEF7BZ7pcgzDvXx9SjXGHaLozmWkGWUO/yf6K98="; + hash = "sha256-mytZc5sfYkzvdv53EVnM97fvfOPh+Y06j+aB8bhFv5o="; }; vendorHash = "sha256-7vIP5pGFH6CbW/cJp+DiRg2jFcLFEBl8dQzUw1ogTTA="; diff --git a/pkgs/by-name/go/goreleaser/package.nix b/pkgs/by-name/go/goreleaser/package.nix index 08a7920fea6f..c77eaa932acc 100644 --- a/pkgs/by-name/go/goreleaser/package.nix +++ b/pkgs/by-name/go/goreleaser/package.nix @@ -10,16 +10,16 @@ }: buildGoModule rec { pname = "goreleaser"; - version = "2.9.0"; + version = "2.10.2"; src = fetchFromGitHub { owner = "goreleaser"; repo = "goreleaser"; rev = "v${version}"; - hash = "sha256-2nen0Bd7jBlRz9AbcQAiK1GdT0ZkP9gBu3TfbpXIX6M="; + hash = "sha256-MryN6Qm/cedL/aIpf8Pxb4nPdH4iw9aW0mhEv5jBvUo="; }; - vendorHash = "sha256-RN06Smr6HQGOUV3hQKxAbueDwI8ZlrnaF3vwrSesGOM="; + vendorHash = "sha256-s23FmEbtITW/PD64f8qecClC7SDp08VhC4bRpbgVrb0="; ldflags = [ "-s" diff --git a/pkgs/by-name/ho/hoppscotch/update.sh b/pkgs/by-name/ho/hoppscotch/update.sh index aaa4fc97b59a..dbdb039c00bc 100755 --- a/pkgs/by-name/ho/hoppscotch/update.sh +++ b/pkgs/by-name/ho/hoppscotch/update.sh @@ -3,7 +3,9 @@ set -euo pipefail -currentVersion=$(nix-instantiate --eval -E "with import ./. {}; hoppscotch.version or (lib.getVersion hoppscotch)" | tr -d '"') +BASEDIR="$(dirname "$0")/../../../.." + +currentVersion=$(nix-instantiate --eval -E "with import $BASEDIR {}; hoppscotch.version or (lib.getVersion hoppscotch)" | tr -d '"') latestVersion=$(curl ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} -sL https://api.github.com/repos/hoppscotch/releases/releases/latest | jq --raw-output .tag_name | sed 's/^v//') if [[ "$currentVersion" == "$latestVersion" ]]; then @@ -17,6 +19,6 @@ for system in \ x86_64-linux \ x86_64-darwin \ aarch64-darwin; do - hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import ./. {}; hoppscotch.src.url" --system "$system" | tr -d '"'))) - update-source-version hoppscotch $latestVersion $hash --system=$system --ignore-same-version + hash=$(nix hash convert --to sri --hash-algo sha256 $(nix-prefetch-url $(nix-instantiate --eval -E "with import $BASEDIR {}; hoppscotch.src.url" --system "$system" | tr -d '"'))) + (cd $BASEDIR && update-source-version hoppscotch $latestVersion $hash --system=$system --ignore-same-version) done diff --git a/pkgs/by-name/iw/iwe/package.nix b/pkgs/by-name/iw/iwe/package.nix index bffacfd5d887..5ef708f8d57a 100644 --- a/pkgs/by-name/iw/iwe/package.nix +++ b/pkgs/by-name/iw/iwe/package.nix @@ -7,17 +7,17 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "iwe"; - version = "0.0.30"; + version = "0.0.33"; src = fetchFromGitHub { owner = "iwe-org"; repo = "iwe"; tag = "iwe-v${finalAttrs.version}"; - hash = "sha256-KIhBzPFEPayihDPGy9Zlb59Nf5oOiySKCIS0OClqZnU="; + hash = "sha256-PjonpAyq6FPJs5mo4W3z9yIVU8auGGtTrK/GBxMcPbk="; }; useFetchCargoVendor = true; - cargoHash = "sha256-mADJKDRTixToyol9KEtYWsOy/P70itLAtjh3UbqUz9E="; + cargoHash = "sha256-EfoDpa2hN9W2unci4rIi4gjlJV2NzdU77FbOW0OTu2c="; cargoBuildFlags = [ "--package=iwe" diff --git a/pkgs/by-name/ma/mangayomi/package.nix b/pkgs/by-name/ma/mangayomi/package.nix index 9e7fe1639c21..ff6d2b98f6f4 100644 --- a/pkgs/by-name/ma/mangayomi/package.nix +++ b/pkgs/by-name/ma/mangayomi/package.nix @@ -1,7 +1,7 @@ { lib, fetchFromGitHub, - flutter329, + flutter332, webkitgtk_4_1, mpv, rustPlatform, @@ -13,13 +13,13 @@ let pname = "mangayomi"; - version = "0.6.0"; + version = "0.6.25"; src = fetchFromGitHub { owner = "kodjodevf"; repo = "mangayomi"; tag = "v${version}"; - hash = "sha256-kvwssyVjce9VipANRED5k3a2pdJRAhio6GtM7+5nd38="; + hash = "sha256-vuikoTyvUESz9ZESo4gy76syLYVO1WZdvoJf6NsyW4Y="; }; metaCommon = { @@ -38,14 +38,14 @@ let useFetchCargoVendor = true; - cargoHash = "sha256-vGu5e5M6CFpaLodEpt8v8DGhu2S5h/E4vvqSNOKkWns="; + cargoHash = "sha256-DDHBLQWscORg4+0CX5c2wmrhm2t7wOpotZFB+85w+EA="; passthru.libraryPath = "lib/librust_lib_mangayomi.so"; meta = metaCommon; }; in -flutter329.buildFlutterApplication { +flutter332.buildFlutterApplication { inherit pname version src; pubspecLock = lib.importJSON ./pubspec.lock.json; @@ -76,8 +76,11 @@ flutter329.buildFlutterApplication { gitHashes = { desktop_webview_window = "sha256-wRxQPlJZZe4t2C6+G5dMx3+w8scxWENLwII08dlZ4IA="; - flutter_qjs = "sha256-m+Z0bCswylfd1E2Y6X6bdPivkSlXUxO4J0Icbco+/0A="; + flutter_qjs = "sha256-uF3+lQyc6oXWjg9xm8PVXRNZ3AXrw7+FH/lPIQPzaJY="; flutter_web_auth_2 = "sha256-3aci73SP8eXg6++IQTQoyS+erUUuSiuXymvR32sxHFw="; + epubx = "sha256-Rf9zaabPvP7D4NgyJ+LpSB8zHjBvhq2wE0p9Sy7uOXM="; + media_kit_video = "sha256-t8lqS44lylLhMyvlY5G1k7EXfpDq8WshBVg8D/z0Hbc="; + re_editor = "sha256-alfzTs9lUHTsaZgXADb1X3T4ZB6KrhIEeGY0wuvZJtU="; }; nativeBuildInputs = [ copyDesktopItems ]; diff --git a/pkgs/by-name/ma/mangayomi/pubspec.lock.json b/pkgs/by-name/ma/mangayomi/pubspec.lock.json index d508932aec8b..71d7cc1b1498 100644 --- a/pkgs/by-name/ma/mangayomi/pubspec.lock.json +++ b/pkgs/by-name/ma/mangayomi/pubspec.lock.json @@ -90,11 +90,11 @@ "dependency": "direct main", "description": { "name": "archive", - "sha256": "7dcbd0f87fe5f61cb28da39a1a8b70dbc106e2fe0516f7836eb7bb2948481a12", + "sha256": "2fde1607386ab523f7a36bb3e7edb43bd58e6edaf2ffb29d8a6d578b297fdbbd", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.0.5" + "version": "4.0.7" }, "args": { "dependency": "transitive", @@ -110,21 +110,21 @@ "dependency": "transitive", "description": { "name": "asn1lib", - "sha256": "e02d018628c870ef2d7f03e33f9ad179d89ff6ec52ca6c56bcb80bcef979867f", + "sha256": "0511d6be23b007e95105ae023db599aea731df604608978dada7f9faf2637623", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.6.2" + "version": "1.6.4" }, "async": { "dependency": "transitive", "description": { "name": "async", - "sha256": "d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63", + "sha256": "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.12.0" + "version": "2.13.0" }, "audio_session": { "dependency": "transitive", @@ -276,16 +276,6 @@ "source": "hosted", "version": "1.3.1" }, - "change_case": { - "dependency": "transitive", - "description": { - "name": "change_case", - "sha256": "e41ef3df58521194ef8d7649928954805aeb08061917cf658322305e61568003", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "2.2.0" - }, "characters": { "dependency": "transitive", "description": { @@ -310,11 +300,11 @@ "dependency": "transitive", "description": { "name": "chewie", - "sha256": "df6711bc3ba165ad19cb496e350250be5673327f79c61c9cc8a15088ed8007ed", + "sha256": "4d9554a8f87cc2dc6575dfd5ad20a4375015a29edd567fd6733febe6365e2566", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.11.1" + "version": "1.11.3" }, "cli_util": { "dependency": "transitive", @@ -360,11 +350,11 @@ "dependency": "direct main", "description": { "name": "connectivity_plus", - "sha256": "04bf81bb0b77de31557b58d052b24b3eee33f09a6e7a8c68a3e247c7df19ec27", + "sha256": "051849e2bd7c7b3bc5844ea0d096609ddc3a859890ec3a9ac4a65a2620cc1f99", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.1.3" + "version": "6.1.4" }, "connectivity_plus_platform_interface": { "dependency": "transitive", @@ -446,15 +436,15 @@ "source": "hosted", "version": "1.0.0+7.3.0" }, - "dart_eval": { + "d4rt": { "dependency": "direct main", "description": { - "name": "dart_eval", - "sha256": "bbad8246a99a3c61925e19b3d2c2bd6311f8186fb4642a16bf3d22153b3ade55", + "name": "d4rt", + "sha256": "d38cde299f9e434b3c2bd0c07a7f3743e2853dfed60a3ed1f97685c34d922062", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.10" + "version": "0.0.7" }, "dart_style": { "dependency": "transitive", @@ -501,11 +491,11 @@ "dependency": "direct main", "description": { "name": "device_info_plus", - "sha256": "306b78788d1bb569edb7c55d622953c2414ca12445b41c9117963e03afc5c513", + "sha256": "0c6396126421b590089447154c5f98a5de423b70cfb15b1578fd018843ee6f53", "url": "https://pub.dev" }, "source": "hosted", - "version": "11.3.3" + "version": "11.4.0" }, "device_info_plus_platform_interface": { "dependency": "transitive", @@ -517,16 +507,6 @@ "source": "hosted", "version": "7.0.2" }, - "directed_graph": { - "dependency": "transitive", - "description": { - "name": "directed_graph", - "sha256": "3718b9f697a8e73890dea3d93edb6d58b63778996306b4b19c575710e3e2523d", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "0.4.4" - }, "draggable_menu": { "dependency": "direct main", "description": { @@ -547,15 +527,16 @@ "source": "hosted", "version": "5.0.3" }, - "exception_templates": { - "dependency": "transitive", + "epubx": { + "dependency": "direct main", "description": { - "name": "exception_templates", - "sha256": "517f7c770da690073663f867ee2057ae2f4ffb28edae9da9faa624aa29ac76eb", - "url": "https://pub.dev" + "path": ".", + "ref": "dev", + "resolved-ref": "c8203a489fae5683001556b1d323e35f356294fb", + "url": "https://github.com/kodjodevf/epubx.dart.git" }, - "source": "hosted", - "version": "0.3.1" + "source": "git", + "version": "4.0.3" }, "expandable_text": { "dependency": "direct main", @@ -581,31 +562,41 @@ "dependency": "direct main", "description": { "name": "extended_image", - "sha256": "85199f9233e03abc2ce2e68cbb2991648666af4a527ae4e6250935be8edfddae", + "sha256": "f6cbb1d798f51262ed1a3d93b4f1f2aa0d76128df39af18ecb77fa740f88b2e0", "url": "https://pub.dev" }, "source": "hosted", - "version": "9.1.0" + "version": "10.0.1" }, "extended_image_library": { "dependency": "transitive", "description": { "name": "extended_image_library", - "sha256": "e61dafd94400fff6ef7ed1523d445ff3af137f198f3228e4a3107bc5b4bec5d1", + "sha256": "ae468c31c375064964de11cbb31310a58c4462df6e3bae1a0bc0066f586795d5", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.0.6" + "version": "5.0.0" + }, + "fading_edge_scrollview": { + "dependency": "transitive", + "description": { + "name": "fading_edge_scrollview", + "sha256": "1f84fe3ea8e251d00d5735e27502a6a250e4aa3d3b330d3fdcb475af741464ef", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "4.1.1" }, "fake_async": { "dependency": "transitive", "description": { "name": "fake_async", - "sha256": "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc", + "sha256": "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.3.2" + "version": "1.3.3" }, "ffi": { "dependency": "direct main", @@ -641,11 +632,11 @@ "dependency": "direct main", "description": { "name": "file_picker", - "sha256": "16dc141db5a2ccc6520ebb6a2eb5945b1b09e95085c021d9f914f8ded7f1465c", + "sha256": "77f8e81d22d2a07d0dee2c62e1dda71dc1da73bf43bb2d45af09727406167964", "url": "https://pub.dev" }, "source": "hosted", - "version": "8.1.4" + "version": "10.1.9" }, "fixnum": { "dependency": "transitive", @@ -683,16 +674,6 @@ "source": "sdk", "version": "0.0.0" }, - "flutter_app_installer": { - "dependency": "direct main", - "description": { - "name": "flutter_app_installer", - "sha256": "b71f7c3f6c5712b6f9bdcde798bbb8a0c4047cab47c4364f7252de8c95d67358", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "1.0.0" - }, "flutter_cache_manager": { "dependency": "transitive", "description": { @@ -787,11 +768,11 @@ "dependency": "direct dev", "description": { "name": "flutter_launcher_icons", - "sha256": "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea", + "sha256": "bfa04787c85d80ecb3f8777bde5fc10c3de809240c48fa061a2c2bf15ea5211c", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.13.1" + "version": "0.14.3" }, "flutter_lints": { "dependency": "direct dev", @@ -813,18 +794,18 @@ "dependency": "transitive", "description": { "name": "flutter_plugin_android_lifecycle", - "sha256": "5a1e6fb2c0561958d7e4c33574674bda7b77caaca7a33b758876956f2902eea3", + "sha256": "f948e346c12f8d5480d2825e03de228d0eb8c3a737e4cdaa122267b89c022b5e", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.0.27" + "version": "2.0.28" }, "flutter_qjs": { "dependency": "direct main", "description": { "path": ".", "ref": "main", - "resolved-ref": "6b70858b18d53203f5024edd7e24fee4af8b921a", + "resolved-ref": "312d06c722287cfa05946bc75ac02587eb7a33c0", "url": "https://github.com/kodjodevf/flutter_qjs.git" }, "source": "git", @@ -844,21 +825,21 @@ "dependency": "direct main", "description": { "name": "flutter_rust_bridge", - "sha256": "5a5c7a5deeef2cc2ffe6076a33b0429f4a20ceac22a397297aed2b1eb067e611", + "sha256": "b416ff56002789e636244fb4cc449f587656eff995e5a7169457eb0593fcaddb", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.9.0" + "version": "2.10.0" }, "flutter_svg": { "dependency": "transitive", "description": { "name": "flutter_svg", - "sha256": "c200fd79c918a40c5cd50ea0877fa13f81bdaf6f0a5d3dbcc2a13e3285d6aa1b", + "sha256": "d44bf546b13025ec7353091516f6881f1d4c633993cb109c3916c3a0159dadf1", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.0.17" + "version": "2.1.0" }, "flutter_test": { "dependency": "direct dev", @@ -1077,21 +1058,21 @@ "dependency": "direct main", "description": { "name": "html", - "sha256": "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec", + "sha256": "6d1264f2dffa1b1101c25a91dff0dc2daee4c18e87cd8538729773c073dbf602", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.15.5" + "version": "0.15.6" }, "http": { "dependency": "direct main", "description": { "name": "http", - "sha256": "fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f", + "sha256": "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.3.0" + "version": "1.4.0" }, "http_client_helper": { "dependency": "transitive", @@ -1157,21 +1138,21 @@ "dependency": "direct dev", "description": { "name": "inno_bundle", - "sha256": "e9d0ab41a82157da42ebd4206bda22ed04bf096a6e7d416c79d79201c388d563", + "sha256": "544ca69ce64c5b06b346f328170ae407ca99605beab23ccc779b39acf6ba1c9a", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.8.0" + "version": "0.9.0" }, "intl": { "dependency": "direct main", "description": { "name": "intl", - "sha256": "d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf", + "sha256": "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.19.0" + "version": "0.20.2" }, "io": { "dependency": "transitive", @@ -1307,41 +1288,31 @@ "dependency": "transitive", "description": { "name": "just_audio_platform_interface", - "sha256": "271b93b484c6f494ecd72a107fffbdb26b425f170c665b9777a0a24a726f2f24", + "sha256": "4cd94536af0219fa306205a58e78d67e02b0555283c1c094ee41e402a14a5c4a", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.4.0" + "version": "4.5.0" }, "just_audio_web": { "dependency": "transitive", "description": { "name": "just_audio_web", - "sha256": "58915be64509a7683c44bf11cd1a23c15a48de104927bee116e3c63c8eeea0d4", + "sha256": "6ba8a2a7e87d57d32f0f7b42856ade3d6a9fbe0f1a11fabae0a4f00bb73f0663", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.4.14" - }, - "lazy_memo": { - "dependency": "transitive", - "description": { - "name": "lazy_memo", - "sha256": "dcb30b4184a6d767e1d779d74ce784d752d38313b8fb4bad6b659ae7af4bb34d", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "0.2.3" + "version": "0.4.16" }, "leak_tracker": { "dependency": "transitive", "description": { "name": "leak_tracker", - "sha256": "c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec", + "sha256": "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0", "url": "https://pub.dev" }, "source": "hosted", - "version": "10.0.8" + "version": "10.0.9" }, "leak_tracker_flutter_testing": { "dependency": "transitive", @@ -1393,6 +1364,16 @@ "source": "hosted", "version": "0.1.3-main.0" }, + "marquee": { + "dependency": "direct main", + "description": { + "name": "marquee", + "sha256": "a87e7e80c5d21434f90ad92add9f820cf68be374b226404fe881d2bba7be0862", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "2.3.0" + }, "matcher": { "dependency": "transitive", "description": { @@ -1496,11 +1477,12 @@ "media_kit_video": { "dependency": "direct main", "description": { - "name": "media_kit_video", - "sha256": "a656a9463298c1adc64c57f2d012874f7f2900f0c614d9545a3e7b8bb9e2137b", - "url": "https://pub.dev" + "path": "media_kit_video", + "ref": "aeb29faa8ea93a386ad1185b69fd6225fa331c74", + "resolved-ref": "aeb29faa8ea93a386ad1185b69fd6225fa331c74", + "url": "https://github.com/media-kit/media-kit.git" }, - "source": "hosted", + "source": "git", "version": "1.3.0" }, "meta": { @@ -1627,11 +1609,11 @@ "dependency": "transitive", "description": { "name": "path_provider_android", - "sha256": "0ca7359dad67fd7063cb2892ab0c0737b2daafd807cf1acecd62374c8fae6c12", + "sha256": "d0d310befe2c8ab9e7f393288ccbb11b60c019c6b5afc21973eeee4dda2b35e9", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.2.16" + "version": "2.2.17" }, "path_provider_foundation": { "dependency": "transitive", @@ -1697,11 +1679,11 @@ "dependency": "transitive", "description": { "name": "permission_handler_apple", - "sha256": "f84a188e79a35c687c132a0a0556c254747a08561e99ab933f12f6ca71ef3c98", + "sha256": "f000131e755c54cf4d84a5d8bd6e4149e262cc31c5a8b1d698de1ac85fa41023", "url": "https://pub.dev" }, "source": "hosted", - "version": "9.4.6" + "version": "9.4.7" }, "permission_handler_html": { "dependency": "transitive", @@ -1797,41 +1779,41 @@ "dependency": "transitive", "description": { "name": "posix", - "sha256": "a0117dc2167805aa9125b82eee515cc891819bac2f538c83646d355b16f58b9a", + "sha256": "f0d7856b6ca1887cfa6d1d394056a296ae33489db914e365e2044fdada449e62", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.0.1" + "version": "6.0.2" }, "protobuf": { "dependency": "direct main", "description": { "name": "protobuf", - "sha256": "68645b24e0716782e58948f8467fd42a880f255096a821f9e7d0ec625b00c84d", + "sha256": "579fe5557eae58e3adca2e999e38f02441d8aa908703854a9e0a0f47fa857731", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.1.0" + "version": "4.1.0" }, "protoc_plugin": { "dependency": "direct dev", "description": { "name": "protoc_plugin", - "sha256": "fb0554851c9eca30bd18405fbbfe81e39166d4a2f0e5b770606fd69da3da0b2f", + "sha256": "1d163c80b803c5aeec6364cca95edb22d31941e9dbd921463f063660c70a2368", "url": "https://pub.dev" }, "source": "hosted", - "version": "21.1.2" + "version": "22.2.0" }, "provider": { "dependency": "transitive", "description": { "name": "provider", - "sha256": "489024f942069c2920c844ee18bb3d467c69e48955a4f32d1677f71be103e310", + "sha256": "4abbd070a04e9ddc287673bf5a030c7ca8b685ff70218720abab8b092f53dd84", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.1.4" + "version": "6.1.5" }, "pseudom": { "dependency": "direct main", @@ -1873,25 +1855,16 @@ "source": "hosted", "version": "3.2.2" }, - "quote_buffer": { - "dependency": "transitive", - "description": { - "name": "quote_buffer", - "sha256": "c4cd07e55ed1b1645a1cc74278a03b2a642c9f6ea3c0528d51827fdd320acf87", - "url": "https://pub.dev" - }, - "source": "hosted", - "version": "0.2.6" - }, "re_editor": { "dependency": "direct main", "description": { - "name": "re_editor", - "sha256": "2169c114c7877bcaae72d6e8b69cdaa2a9cded69a51e3cf26209dad4a3ed2b9c", - "url": "https://pub.dev" + "path": ".", + "ref": "main", + "resolved-ref": "f4d9107956aabae303a2b990119bebc9a2671e62", + "url": "https://github.com/kodjodevf/re-editor" }, - "source": "hosted", - "version": "0.6.0" + "source": "git", + "version": "0.7.0" }, "re_highlight": { "dependency": "direct main", @@ -1986,11 +1959,11 @@ "dependency": "direct main", "description": { "name": "screen_brightness", - "sha256": "eca7bd9d2c3c688bcad14855361cab7097839400b6b4a56f62b7ae511c709958", + "sha256": "46d1b448729c1ed67c812f2c97d7fa8308809d91031c7ecdeb216ca65f7660de", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.1.2" + "version": "2.1.3" }, "screen_brightness_android": { "dependency": "transitive", @@ -2022,6 +1995,16 @@ "source": "hosted", "version": "2.1.1" }, + "screen_brightness_ohos": { + "dependency": "transitive", + "description": { + "name": "screen_brightness_ohos", + "sha256": "61e313e46eaee3f83dd4e85a2a91f8a81be02c154bc9e60830a7c0fd76dac286", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "2.1.0" + }, "screen_brightness_platform_interface": { "dependency": "transitive", "description": { @@ -2382,21 +2365,21 @@ "dependency": "transitive", "description": { "name": "url_launcher_android", - "sha256": "1d0eae19bd7606ef60fe69ef3b312a437a16549476c42321d5dc1506c9ca3bf4", + "sha256": "8582d7f6fe14d2652b4c45c9b6c14c0b678c2af2d083a11b604caeba51930d79", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.3.15" + "version": "6.3.16" }, "url_launcher_ios": { "dependency": "transitive", "description": { "name": "url_launcher_ios", - "sha256": "16a513b6c12bb419304e72ea0ae2ab4fed569920d1c7cb850263fe3acc824626", + "sha256": "7f2022359d4c099eea7df3fdf739f7d3d3b9faf3166fb1dd390775176e0b76cb", "url": "https://pub.dev" }, "source": "hosted", - "version": "6.3.2" + "version": "6.3.3" }, "url_launcher_linux": { "dependency": "transitive", @@ -2432,11 +2415,11 @@ "dependency": "transitive", "description": { "name": "url_launcher_web", - "sha256": "3ba963161bd0fe395917ba881d320b9c4f6dd3c4a233da62ab18a5025c85f1e9", + "sha256": "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.4.0" + "version": "2.4.1" }, "url_launcher_windows": { "dependency": "transitive", @@ -2512,21 +2495,21 @@ "dependency": "transitive", "description": { "name": "video_player_android", - "sha256": "ae7d4f1b41e3ac6d24dd9b9d5d6831b52d74a61bdd90a7a6262a33d8bb97c29a", + "sha256": "28dcc4122079f40f93a0965b3679aff1a5f4251cf79611bd8011f937eb6b69de", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.8.2" + "version": "2.8.4" }, "video_player_avfoundation": { "dependency": "transitive", "description": { "name": "video_player_avfoundation", - "sha256": "84b4752745eeccb6e75865c9aab39b3d28eb27ba5726d352d45db8297fbd75bc", + "sha256": "9ee764e5cd2fc1e10911ae8ad588e1a19db3b6aa9a6eb53c127c42d3a3c3f22f", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.7.0" + "version": "2.7.1" }, "video_player_platform_interface": { "dependency": "transitive", @@ -2542,21 +2525,21 @@ "dependency": "transitive", "description": { "name": "video_player_web", - "sha256": "3ef40ea6d72434edbfdba4624b90fd3a80a0740d260667d91e7ecd2d79e13476", + "sha256": "e8bba2e5d1e159d5048c9a491bb2a7b29c535c612bb7d10c1e21107f5bd365ba", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.3.4" + "version": "2.3.5" }, "vm_service": { "dependency": "transitive", "description": { "name": "vm_service", - "sha256": "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14", + "sha256": "ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02", "url": "https://pub.dev" }, "source": "hosted", - "version": "14.3.1" + "version": "15.0.0" }, "volume_controller": { "dependency": "transitive", @@ -2572,21 +2555,21 @@ "dependency": "transitive", "description": { "name": "wakelock_plus", - "sha256": "b90fbcc8d7bdf3b883ea9706d9d76b9978cb1dfa4351fcc8014d6ec31a493354", + "sha256": "a474e314c3e8fb5adef1f9ae2d247e57467ad557fa7483a2b895bc1b421c5678", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.2.11" + "version": "1.3.2" }, "wakelock_plus_platform_interface": { "dependency": "transitive", "description": { "name": "wakelock_plus_platform_interface", - "sha256": "70e780bc99796e1db82fe764b1e7dcb89a86f1e5b3afb1db354de50f2e41eb7a", + "sha256": "e10444072e50dbc4999d7316fd303f7ea53d31c824aa5eb05d7ccbdd98985207", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.2.2" + "version": "1.2.3" }, "watcher": { "dependency": "transitive", @@ -2612,71 +2595,71 @@ "dependency": "transitive", "description": { "name": "web_socket", - "sha256": "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83", + "sha256": "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.1.6" + "version": "1.0.1" }, "web_socket_channel": { "dependency": "transitive", "description": { "name": "web_socket_channel", - "sha256": "0b8e2457400d8a859b7b2030786835a28a8e80836ef64402abef392ff4f1d0e5", + "sha256": "d645757fb0f4773d602444000a8131ff5d48c9e47adfe9772652dd1a4f2d45c8", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.0.2" + "version": "3.0.3" }, "webview_flutter": { "dependency": "transitive", "description": { "name": "webview_flutter", - "sha256": "889a0a678e7c793c308c68739996227c9661590605e70b1f6cf6b9a6634f7aec", + "sha256": "c3e4fe614b1c814950ad07186007eff2f2e5dd2935eba7b9a9a1af8e5885f1ba", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.10.0" + "version": "4.13.0" }, "webview_flutter_android": { "dependency": "transitive", "description": { "name": "webview_flutter_android", - "sha256": "e09150b28a07933839adef0e4a088bb43e8c8d9e6b93025b01882d4067a58ab0", + "sha256": "f6e6afef6e234801da77170f7a1847ded8450778caf2fe13979d140484be3678", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.3.4" + "version": "4.7.0" }, "webview_flutter_platform_interface": { "dependency": "transitive", "description": { "name": "webview_flutter_platform_interface", - "sha256": "d937581d6e558908d7ae3dc1989c4f87b786891ab47bb9df7de548a151779d8d", + "sha256": "7cb32b21825bd65569665c32bb00a34ded5779786d6201f5350979d2d529940d", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.10.0" + "version": "2.13.0" }, "webview_flutter_wkwebview": { "dependency": "transitive", "description": { "name": "webview_flutter_wkwebview", - "sha256": "c14455137ce60a68e1ccaf4e8f2dae8cebcb3465ddaa2fcfb57584fb7c5afe4d", + "sha256": "a3d461fe3467014e05f3ac4962e5fdde2a4bf44c561cb53e9ae5c586600fdbc3", "url": "https://pub.dev" }, "source": "hosted", - "version": "3.18.5" + "version": "3.22.0" }, "win32": { "dependency": "direct main", "description": { "name": "win32", - "sha256": "dc6ecaa00a7c708e5b4d10ee7bec8c270e9276dfcab1783f57e9962d7884305f", + "sha256": "329edf97fdd893e0f1e3b9e88d6a0e627128cc17cc316a8d67fda8f1451178ba", "url": "https://pub.dev" }, "source": "hosted", - "version": "5.12.0" + "version": "5.13.0" }, "win32_registry": { "dependency": "transitive", @@ -2780,7 +2763,7 @@ } }, "sdks": { - "dart": ">=3.7.2 <4.0.0", + "dart": ">=3.8.0 <4.0.0", "flutter": ">=3.29.0" } } diff --git a/pkgs/by-name/me/megasync/package.nix b/pkgs/by-name/me/megasync/package.nix index 1f28e9484b20..415b6c85d14a 100644 --- a/pkgs/by-name/me/megasync/package.nix +++ b/pkgs/by-name/me/megasync/package.nix @@ -34,13 +34,13 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "megasync"; - version = "5.9.0.3"; + version = "5.12.0.1"; src = fetchFromGitHub rec { owner = "meganz"; repo = "MEGAsync"; tag = "v${finalAttrs.version}_Linux"; - hash = "sha256-anX/zVCKG3azROamIIqG9hrj+2Tcw+sFIE60RDCJjaY="; + hash = "sha256-dIva/Xmk7enmRbczfuy1VLAcAMPQ27HUaHEQSTsldaY="; fetchSubmodules = false; # DesignTokensImporter cannot be fetched, see #1010 in github:meganz/megasync leaveDotGit = true; postFetch = '' @@ -122,6 +122,8 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "USE_PDFIUM" false) # PDFIUM is not in nixpkgs (lib.cmakeBool "USE_FREEIMAGE" false) # freeimage is insecure (lib.cmakeBool "ENABLE_DESIGN_TOKENS_IMPORTER" false) # cannot be fetched + (lib.cmakeBool "USE_BREAKPAD" false) + (lib.cmakeBool "ENABLE_DESKTOP_APP_TESTS" false) ]; preFixup = '' diff --git a/pkgs/by-name/mi/microsoft-edge/package.nix b/pkgs/by-name/mi/microsoft-edge/package.nix index 22790e4ebd1c..47d55aa2a4b5 100644 --- a/pkgs/by-name/mi/microsoft-edge/package.nix +++ b/pkgs/by-name/mi/microsoft-edge/package.nix @@ -292,6 +292,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { ulrikstrid maeve-oake leleuvilela + bricklou ]; platforms = [ "x86_64-linux" ]; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; diff --git a/pkgs/by-name/mi/microsoft-identity-broker/package.nix b/pkgs/by-name/mi/microsoft-identity-broker/package.nix index 8957184c928d..ac38570b14c7 100644 --- a/pkgs/by-name/mi/microsoft-identity-broker/package.nix +++ b/pkgs/by-name/mi/microsoft-identity-broker/package.nix @@ -6,18 +6,20 @@ openjdk11, jnr-posix, makeWrapper, - openjfx17, zip, nixosTests, bash, + glib, + xorg, + alsa-lib, }: stdenv.mkDerivation rec { pname = "microsoft-identity-broker"; version = "2.0.1"; src = fetchurl { - url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/m/microsoft-identity-broker/microsoft-identity-broker_${version}_amd64.deb"; - hash = "sha256-v/FxtdvRaUHYqvFSkJIZyicIdcyxQ8lPpY5rb9smnqA="; + url = "https://packages.microsoft.com/ubuntu/24.04/prod/pool/main/m/microsoft-identity-broker/microsoft-identity-broker_${version}_amd64.deb"; + hash = "sha256-JheJnsu1ZxJbcpt0367FqfHVdwWWvPem2fm0i8s7MGE="; }; nativeBuildInputs = [ @@ -27,24 +29,15 @@ stdenv.mkDerivation rec { zip ]; + buildInputs = [ + glib + xorg.libXtst + alsa-lib + ]; + buildPhase = '' runHook preBuild - rm opt/microsoft/identity-broker/lib/jnr-posix-3.1.4.jar - jar -uf opt/microsoft/identity-broker/lib/javafx-graphics-15-linux.jar -C ${openjfx17}/modules_libs/javafx.graphics/ libglass.so - jar -uf opt/microsoft/identity-broker/lib/javafx-graphics-15-linux.jar -C ${openjfx17}/modules_libs/javafx.graphics/ libglassgtk3.so - jar -uf opt/microsoft/identity-broker/lib/javafx-graphics-15-linux.jar -C ${openjfx17}/modules_libs/javafx.graphics/ libprism_es2.so - zip -d opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar libavplugin-54.so - zip -d opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar libavplugin-56.so - zip -d opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar libavplugin-57.so - zip -d opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar libavplugin-ffmpeg-56.so - zip -d opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar libavplugin-ffmpeg-57.so - zip -d opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar libavplugin-ffmpeg-58.so - jar -uf opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar -C ${openjfx17}/modules_libs/javafx.media/ libavplugin.so - jar -uf opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar -C ${openjfx17}/modules_libs/javafx.media/ libfxplugins.so - jar -uf opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar -C ${openjfx17}/modules_libs/javafx.media/ libgstreamer-lite.so - jar -uf opt/microsoft/identity-broker/lib/javafx-media-15-linux.jar -C ${openjfx17}/modules_libs/javafx.media/ libjfxmedia.so - runHook postBuild ''; @@ -60,13 +53,20 @@ stdenv.mkDerivation rec { classpath="$classpath:${jnr-posix}/share/java/jnr-posix-${jnr-posix.version}.jar" mkdir -p $out/bin makeWrapper ${openjdk11}/bin/java $out/bin/microsoft-identity-broker \ - --add-flags "-classpath $classpath com.microsoft.identity.broker.service.IdentityBrokerService" \ - --add-flags "-verbose" - makeWrapper ${openjdk11}/bin/java $out/bin/microsoft-identity-device-broker \ - --add-flags "-verbose" \ + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" \ --add-flags "-classpath $classpath" \ - --add-flags "com.microsoft.identity.broker.service.DeviceBrokerService" \ - --add-flags "save" + --add-flags "-Xmx256m -Xss256k -XX:+UseParallelGC -XX:ParallelGCThreads=1" \ + --add-flags "-verbose" \ + --add-flags "-Djava.net.useSystemProxies=true" \ + --add-flags "com.microsoft.identity.broker.service.IdentityBrokerService" + + makeWrapper ${openjdk11}/bin/java $out/bin/microsoft-identity-device-broker \ + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}" \ + --add-flags "-classpath $classpath" \ + --add-flags "-Xmx256m -Xss256k -XX:+UseParallelGC -XX:ParallelGCThreads=1" \ + --add-flags "-verbose" \ + --add-flags "-Djava.net.useSystemProxies=true" \ + --add-flags "com.microsoft.identity.broker.service.DeviceBrokerService" runHook postInstall ''; @@ -91,7 +91,7 @@ stdenv.mkDerivation rec { $out/bin/microsoft-identity-device-broker \ --replace \ /usr/lib/jvm/java-11-openjdk-amd64 \ - ${openjdk11}/bin/java + ${openjdk11} ''; passthru = { diff --git a/pkgs/by-name/nb/nb/package.nix b/pkgs/by-name/nb/nb/package.nix index 1784ea6e499f..e6b2cf60e7ac 100644 --- a/pkgs/by-name/nb/nb/package.nix +++ b/pkgs/by-name/nb/nb/package.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation rec { pname = "nb"; - version = "7.19.1"; + version = "7.20.0"; src = fetchFromGitHub { owner = "xwmx"; repo = "nb"; rev = version; - hash = "sha256-vryc1sfjIE2ZaZ4Z/KG1Zij81tIwImUMjk2ZZvzpDF4="; + hash = "sha256-lK7jAECLAL/VX3K7AZEwxkQCRRn2ggRNBAeNPv5x35I="; }; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/by-name/ne/nexusmods-app/deps.json b/pkgs/by-name/ne/nexusmods-app/deps.json index d448c117b1a1..4b45a9401d91 100644 --- a/pkgs/by-name/ne/nexusmods-app/deps.json +++ b/pkgs/by-name/ne/nexusmods-app/deps.json @@ -271,8 +271,8 @@ }, { "pname": "DynamicData", - "version": "9.2.2", - "hash": "sha256-76RE68Yvibq237dUEc8mCN/S4PQRyULJPs/tFgNOY2I=" + "version": "9.3.2", + "hash": "sha256-00fzA28aU48l52TsrDSJ9ucljYOunmH7s2qPyR3YjRA=" }, { "pname": "EmptyFiles", @@ -356,58 +356,58 @@ }, { "pname": "GameFinder", - "version": "4.6.3", - "hash": "sha256-Y1kNjf8kZQtx4jrAOv02Jj0JzedTqLhS7CQvtvuFtzY=" + "version": "4.7.2", + "hash": "sha256-a+/4rJbo7dc4sVRg6TtvfCt02/Qlih9ovwwkAf6Lve0=" }, { "pname": "GameFinder.Common", - "version": "4.6.3", - "hash": "sha256-EjbqVIx67dZocKL+IGyvcm/7DmDMCfvOgPEUpf0XMRQ=" + "version": "4.7.2", + "hash": "sha256-PNGHswvAeJyr0ipbxY884c9/SKsoYXEYMsI5ymfJovQ=" }, { "pname": "GameFinder.Launcher.Heroic", - "version": "4.6.3", - "hash": "sha256-w/z5qi5O3CjDNDR9rFdgibeUB+OspNEHfEKXLtEXkn0=" + "version": "4.7.2", + "hash": "sha256-sQth9S4artOEA0nalFZRQKLkMU7IqHCx/B5HG8fJVZk=" }, { "pname": "GameFinder.RegistryUtils", - "version": "4.6.3", - "hash": "sha256-keHM0ngcgxx8UEBky6GtDMfqEv1VupeLsmNpd1i7s2A=" + "version": "4.7.2", + "hash": "sha256-ujiSbIH5JHG4c861ex3zm+Uf7RbV+2tNFHKY2gtkwFg=" }, { "pname": "GameFinder.StoreHandlers.EADesktop", - "version": "4.6.3", - "hash": "sha256-n9Dg0bawW+UtedEJMHiEZOhDigd7j74DX1kWMJlbngw=" + "version": "4.7.2", + "hash": "sha256-BcSyWqlsFXaQmYqD+dR2FSNI0NkzjkH9kZCqp4YOy14=" }, { "pname": "GameFinder.StoreHandlers.EGS", - "version": "4.6.3", - "hash": "sha256-v1kmug4QkBzaqm/6droC36U4gQcckv5bbdw6TIG3Y4o=" + "version": "4.7.2", + "hash": "sha256-YAz1gf77Bm18dZe0h1zKO52ZJ7sw6XRz1XPQRVt8W3U=" }, { "pname": "GameFinder.StoreHandlers.GOG", - "version": "4.6.3", - "hash": "sha256-aGplqNlf8gwnoEpfieMDJQxmJJ13hdz+ahgpBdxK7Do=" + "version": "4.7.2", + "hash": "sha256-hvA+kf2ZvpDS1pVSTAJ2839b1rRamJTz+Erux/OmdfE=" }, { "pname": "GameFinder.StoreHandlers.Origin", - "version": "4.6.3", - "hash": "sha256-U7DfWE2IwOBeDBvdsRXAgiGojnocGqvOa7MNq2nFJ/8=" + "version": "4.7.2", + "hash": "sha256-U7ko6fWujUXabVEe0Xxc5PXwb2VBFCyHIByg3MzleG4=" }, { "pname": "GameFinder.StoreHandlers.Steam", - "version": "4.6.3", - "hash": "sha256-h+akH+XSLnhD2NLM4K3YqgXxEY2dQxeB4XN4D1d0Enk=" + "version": "4.7.2", + "hash": "sha256-G1YPgAn7ORQuBm5ZD78EzKS1hIiLyQgjcX2RzSYWbO4=" }, { "pname": "GameFinder.StoreHandlers.Xbox", - "version": "4.6.3", - "hash": "sha256-fIwa/j71Ll3k371pxmKnEQWOqowW9XD0VhRTMnqsNYA=" + "version": "4.7.2", + "hash": "sha256-LSxBpARmANJg199wBZ5FgvBUkq5JvCjTUEe9X+Gs+Ec=" }, { "pname": "GameFinder.Wine", - "version": "4.6.3", - "hash": "sha256-Tm1i2PO/+y/eCoVjKNsbX0Hu0w09mtUC4xkShgNVJz0=" + "version": "4.7.2", + "hash": "sha256-YQgkRgF/wh+Jy5dIDBBE3lExDv5XpylL/xNBf0ge9sI=" }, { "pname": "Gee.External.Capstone", @@ -1011,8 +1011,8 @@ }, { "pname": "Microsoft.CodeCoverage", - "version": "17.13.0", - "hash": "sha256-GKrIxeyQo5Az1mztfQgea1kGtJwonnNOrXK/0ULfu8o=" + "version": "17.14.0", + "hash": "sha256-dvhelCipcrKwLvwilqwU4Md2YONCHteV+vcWnvBlLEI=" }, { "pname": "Microsoft.Composition", @@ -1511,8 +1511,8 @@ }, { "pname": "Microsoft.NET.Test.Sdk", - "version": "17.13.0", - "hash": "sha256-sc2wvyV8cGm1FrNP2GGHEI584RCvRPu15erYCsgw5QY=" + "version": "17.14.0", + "hash": "sha256-KSZk8lDeSyHDiFC2xG4b9x6XoK+6nDVEFi2dDd4bk+4=" }, { "pname": "Microsoft.NETCore.Platforms", @@ -1551,13 +1551,13 @@ }, { "pname": "Microsoft.TestPlatform.ObjectModel", - "version": "17.13.0", - "hash": "sha256-6S0fjfj8vA+h6dJVNwLi6oZhYDO/I/6hBZaq2VTW+Uk=" + "version": "17.14.0", + "hash": "sha256-e312v6n+QcNG6boEL1L7W1pzi14NhVnzf1EAH/Pn06s=" }, { "pname": "Microsoft.TestPlatform.TestHost", - "version": "17.13.0", - "hash": "sha256-L/CJzou7dhmShUgXq3aXL3CaLTJll17Q+JY2DBdUUpo=" + "version": "17.14.0", + "hash": "sha256-uSiD1mioF2ROSmw4B1qONNPe5PxlKzu0AYg3kr3AYH0=" }, { "pname": "Microsoft.VisualStudio.Composition", @@ -1671,58 +1671,58 @@ }, { "pname": "NexusMods.Cascade", - "version": "0.12.0", - "hash": "sha256-EHGoZyp67KzDPz3weqQTaSe2aMwJvwUFkeDDdqXYHBU=" + "version": "0.15.0", + "hash": "sha256-lmb0zvp4cq9oOF25B/J2iBKmiBAMGtCYb6WMqeqwgA0=" }, { "pname": "NexusMods.Cascade.SourceGenerator", - "version": "0.12.0", - "hash": "sha256-P7cUTqFgHrvbEvd2nYD0acD8l3f7ZqmT6DX2fxTmpEg=" + "version": "0.15.0", + "hash": "sha256-8tfNAUILcmBPeZNiQJ7VC+jbuFEhT9aZo/T7gnn4ZAI=" }, { "pname": "NexusMods.Hashing.xxHash3", - "version": "3.0.3", - "hash": "sha256-lhuuHZvH1klH6HE00h1On6icd6CLdFqvLLkfb3x1VVY=" + "version": "3.0.4", + "hash": "sha256-QXqRjwLcIXD4nTJrxkhp+/2WEkGjjJgE8Zi3bX/4Y9M=" }, { "pname": "NexusMods.Hashing.xxHash3.Paths", - "version": "3.0.3", - "hash": "sha256-UeOX3Y8MGmAgWHWH3GolsA/MyNM9iam75pxxRXhd50M=" + "version": "3.0.4", + "hash": "sha256-n5cVzPcTl0f3iGRFqxr2hP8MXIUQPcAizmDfnmDEAGk=" }, { "pname": "NexusMods.MnemonicDB", - "version": "0.13.0", - "hash": "sha256-Qb+RAMFYwDSmh4LJwGg0DIR4vzIPP6qJlYL1NQ1THOA=" + "version": "0.15.0", + "hash": "sha256-4rtb6WRCxknp0a47tg3JPkvGOCoRXl4ilQZOaTvYQFw=" }, { "pname": "NexusMods.MnemonicDB.Abstractions", - "version": "0.13.0", - "hash": "sha256-UzVjG5w7UCWpnuvSWrWdUKTyYtb09FM5LweGfE2a5OQ=" + "version": "0.15.0", + "hash": "sha256-BWx5MjJfSu4UGRVnFIncfSg6tu5OetSTdtDsIHwHZ5Q=" }, { "pname": "NexusMods.MnemonicDB.SourceGenerator", - "version": "0.13.0", - "hash": "sha256-vuvKag8+4c0YTuQ+XqitOXg6LQtgY7wonsGeQqhl0uw=" - }, - { - "pname": "NexusMods.Paths", "version": "0.15.0", - "hash": "sha256-No2kbrDVmJ5ySLm7jH+gNAfNLVnsv4AtLT1phcuOFLc=" + "hash": "sha256-MuMgcHn+73izfYdA6WTHpvKBAITxuNhtGSW1JCJD4Y0=" }, { "pname": "NexusMods.Paths", - "version": "0.18.0", - "hash": "sha256-HNFDFStIXxkoHU8bt9enmb6YxU2NZnqbiapztQpzCcE=" + "version": "0.19.1", + "hash": "sha256-OVknNOErAXglQfDFit+uIQlpxBJ//WOsYtIdGICls88=" + }, + { + "pname": "NexusMods.Paths", + "version": "0.20.0", + "hash": "sha256-EA4t3gmBF5ny9DyPdb/17NaryOEV8ZxUwS27PW2a9SM=" }, { "pname": "NexusMods.Paths.Extensions.Nx", - "version": "0.18.0", - "hash": "sha256-UcDLHyepHB1c3RnObNk7Y+2+GDAg+ZmJkGwJ+fLfo1w=" + "version": "0.20.0", + "hash": "sha256-4FWRle0MlCm120gp4/3yG0WqMolf/44v+P8oSaQibDc=" }, { "pname": "NexusMods.Paths.TestingHelpers", - "version": "0.18.0", - "hash": "sha256-J8vNJ5njlKz9Nl6JzrTo232p8PAgm9t3RPh+y7nnD68=" + "version": "0.20.0", + "hash": "sha256-k+1dgCZEuEO8xVfdwGKec+FgE//FX1xqIyiyPGYypF0=" }, { "pname": "NLog", @@ -2399,11 +2399,6 @@ "version": "4.3.0", "hash": "sha256-KMY5DfJnDeIsa13DpqvyN8NkReZEMAFnlmNglVoFIXI=" }, - { - "pname": "System.Collections.Immutable", - "version": "1.2.0", - "hash": "sha256-FQ3l+ulbLSPhQ0JcQCC4D4SzjTnHsRqcOj56Ywy7pMo=" - }, { "pname": "System.Collections.Immutable", "version": "5.0.0", @@ -2609,11 +2604,6 @@ "version": "4.3.0", "hash": "sha256-mmJWA27T0GRVuFP9/sj+4TrR4GJWrzNIk2PDrbr7RQk=" }, - { - "pname": "System.IO", - "version": "4.1.0", - "hash": "sha256-V6oyQFwWb8NvGxAwvzWnhPxy9dKOfj/XBM3tEC5aHrw=" - }, { "pname": "System.IO", "version": "4.3.0", @@ -2654,11 +2644,6 @@ "version": "9.0.0", "hash": "sha256-k6Pdndm5fTD6CB1QsQfP7G+2h4B30CWIsuvjHuBg3fc=" }, - { - "pname": "System.IO.Hashing", - "version": "9.0.4", - "hash": "sha256-rbcQzEncB3VuUZIcsE1tq30suf5rvRE4HkE+0lR/skU=" - }, { "pname": "System.IO.Pipelines", "version": "6.0.3", @@ -2819,11 +2804,6 @@ "version": "4.3.0", "hash": "sha256-rKx4a9yZKcajloSZHr4CKTVJ6Vjh95ni+zszPxWjh2I=" }, - { - "pname": "System.Reflection.Extensions", - "version": "4.0.1", - "hash": "sha256-NsfmzM9G/sN3H8X2cdnheTGRsh7zbRzvegnjDzDH/FQ=" - }, { "pname": "System.Reflection.Extensions", "version": "4.3.0", @@ -2849,6 +2829,11 @@ "version": "7.0.0", "hash": "sha256-GwAKQhkhPBYTqmRdG9c9taqrKSKDwyUgOEhWLKxWNPI=" }, + { + "pname": "System.Reflection.Metadata", + "version": "8.0.0", + "hash": "sha256-dQGC30JauIDWNWXMrSNOJncVa1umR1sijazYwUDdSIE=" + }, { "pname": "System.Reflection.Primitives", "version": "4.0.1", @@ -2919,11 +2904,6 @@ "version": "4.3.0", "hash": "sha256-KJ5aXoGpB56Y6+iepBkdpx/AfaJDAitx4vrkLqR7gms=" }, - { - "pname": "System.Runtime.InteropServices", - "version": "4.1.0", - "hash": "sha256-QceAYlJvkPRJc/+5jR+wQpNNI3aqGySWWSO30e/FfQY=" - }, { "pname": "System.Runtime.InteropServices", "version": "4.3.0", @@ -3044,11 +3024,6 @@ "version": "5.0.0", "hash": "sha256-CBOQwl9veFkrKK2oU8JFFEiKIh/p+aJO+q9Tc2Q/89Y=" }, - { - "pname": "System.Text.Encoding", - "version": "4.0.11", - "hash": "sha256-PEailOvG05CVgPTyKLtpAgRydlSHmtd5K0Y8GSHY2Lc=" - }, { "pname": "System.Text.Encoding", "version": "4.3.0", @@ -3064,11 +3039,6 @@ "version": "7.0.0", "hash": "sha256-eCKTVwumD051ZEcoJcDVRGnIGAsEvKpfH3ydKluHxmo=" }, - { - "pname": "System.Text.Encoding.Extensions", - "version": "4.0.11", - "hash": "sha256-+kf7J3dEhgCbnCM5vHYlsTm5/R/Ud0Jr6elpHm922iI=" - }, { "pname": "System.Text.Encoding.Extensions", "version": "4.3.0", @@ -3191,8 +3161,13 @@ }, { "pname": "TransparentValueObjects", - "version": "1.0.2", - "hash": "sha256-5d9pIf8hbbcBtj6/oc87f98xEuhBiT6Yq5FR2b/mvUQ=" + "version": "1.1.0", + "hash": "sha256-ofguV7Dk9Wf47JIvYXoFIs7T+Rv4evtUJ7hcqa8xFDo=" + }, + { + "pname": "TransparentValueObjects.Abstractions", + "version": "1.1.0", + "hash": "sha256-I2NBomTTExaEhf9/BoplBbDJ9B7YMS3nUOQ5Od4A/e0=" }, { "pname": "Validation", diff --git a/pkgs/by-name/ne/nexusmods-app/package.nix b/pkgs/by-name/ne/nexusmods-app/package.nix index 7d703dbe9c2a..1319e1f40166 100644 --- a/pkgs/by-name/ne/nexusmods-app/package.nix +++ b/pkgs/by-name/ne/nexusmods-app/package.nix @@ -24,12 +24,12 @@ let in buildDotnetModule (finalAttrs: { inherit pname; - version = "0.11.3"; + version = "0.12.3"; src = fetchgit { url = "https://github.com/Nexus-Mods/NexusMods.App.git"; rev = "refs/tags/v${finalAttrs.version}"; - hash = "sha256-EP51nhFKYfYRjOpgHiGLwXGmpDULoTlGh3hQXhR8sy8="; + hash = "sha256-X0zF0zqWwuCt7oWXwfzDtu+7KZ3yMQwQqP45rlfGm/o="; fetchSubmodules = true; }; @@ -64,6 +64,10 @@ buildDotnetModule (finalAttrs: { postPatch = '' # for some reason these tests fail (intermittently?) with a zero timestamp touch tests/NexusMods.UI.Tests/WorkspaceSystem/*.verified.png + + # Assertion assumes version is set to 0.0.1 + substituteInPlace tests/NexusMods.Telemetry.Tests/TrackingDataSenderTests.cs \ + --replace-fail 'cra_ct=v0.0.1' 'cra_ct=v${finalAttrs.version}' ''; makeWrapperArgs = [ diff --git a/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/nix.py b/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/nix.py index f4f3db5f13b5..3be610b5ddbd 100644 --- a/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/nix.py +++ b/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/nix.py @@ -41,7 +41,6 @@ SWITCH_TO_CONFIGURATION_CMD_PREFIX: Final = [ "--no-ask-password", "--pipe", "--quiet", - "--same-dir", "--service-type=exec", "--unit=nixos-rebuild-switch-to-configuration", ] diff --git a/pkgs/by-name/op/openstack-rs/package.nix b/pkgs/by-name/op/openstack-rs/package.nix index a865f74b9e2a..10bf67482648 100644 --- a/pkgs/by-name/op/openstack-rs/package.nix +++ b/pkgs/by-name/op/openstack-rs/package.nix @@ -9,16 +9,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "openstack-rs"; - version = "0.12.1"; + version = "0.12.2"; src = fetchFromGitHub { owner = "gtema"; repo = "openstack"; tag = "v${finalAttrs.version}"; - hash = "sha256-jJNEZF0aGD4pdKWdWOa64nIr/CKJlBL7Vo9MFiQ54xo="; + hash = "sha256-rqHWNI5SDuEV64eFBIfoQrO2DSy/L8WpKxdkUE/EZ9Y="; }; useFetchCargoVendor = true; - cargoHash = "sha256-edKIJM4FQ/SmR7IU/7WxNm+hHouXMWUV8n3rbKzvV0A="; + cargoHash = "sha256-61Il8RxTIKAnDtyy9dVpAtK3hox4mV2cL0VMmXe6hLA="; nativeBuildInputs = [ installShellFiles diff --git a/pkgs/by-name/pi/pinchflat/mix.nix b/pkgs/by-name/pi/pinchflat/mix.nix index 9beeda5e70c5..39a6cc39bbe3 100644 --- a/pkgs/by-name/pi/pinchflat/mix.nix +++ b/pkgs/by-name/pi/pinchflat/mix.nix @@ -30,12 +30,12 @@ let castore = buildMix rec { name = "castore"; - version = "1.0.11"; + version = "1.0.14"; src = fetchHex { pkg = "castore"; version = "${version}"; - sha256 = "e03990b4db988df56262852f20de0f659871c35154691427a5047f4967a16a62"; + sha256 = "7bc1b65249d31701393edaaac18ec8398d8974d52c647b7904d01b964137b9f4"; }; beamDeps = [ ]; @@ -56,12 +56,12 @@ let certifi = buildRebar3 rec { name = "certifi"; - version = "2.12.0"; + version = "2.15.0"; src = fetchHex { pkg = "certifi"; version = "${version}"; - sha256 = "ee68d85df22e554040cdb4be100f33873ac6051387baf6a8f6ce82272340ff1c"; + sha256 = "b147ed22ce71d72eafdad94f055165c1c182f61a2ff49df28bcc71d1d5b94a60"; }; beamDeps = [ ]; @@ -82,12 +82,12 @@ let cowboy = buildErlangMk rec { name = "cowboy"; - version = "2.12.0"; + version = "2.13.0"; src = fetchHex { pkg = "cowboy"; version = "${version}"; - sha256 = "8a7abe6d183372ceb21caa2709bec928ab2b72e18a3911aa1771639bef82651e"; + sha256 = "e724d3a70995025d654c1992c7b11dbfea95205c047d86ff9bf1cda92ddc5614"; }; beamDeps = [ @@ -114,12 +114,12 @@ let cowlib = buildRebar3 rec { name = "cowlib"; - version = "2.13.0"; + version = "2.15.0"; src = fetchHex { pkg = "cowlib"; version = "${version}"; - sha256 = "e1e1284dc3fc030a64b1ad0d8382ae7e99da46c3246b815318a4b848873800a4"; + sha256 = "4f00c879a64b4fe7c8fcb42a4281925e9ffdb928820b03c3ad325a617e857532"; }; beamDeps = [ ]; @@ -127,12 +127,12 @@ let credo = buildMix rec { name = "credo"; - version = "1.7.7"; + version = "1.7.12"; src = fetchHex { pkg = "credo"; version = "${version}"; - sha256 = "8bc87496c9aaacdc3f90f01b7b0582467b69b4bd2441fe8aae3109d843cc2f2e"; + sha256 = "8493d45c656c5427d9c729235b99d498bd133421f3e0a683e5c1b561471291e5"; }; beamDeps = [ @@ -170,12 +170,12 @@ let decimal = buildMix rec { name = "decimal"; - version = "2.2.0"; + version = "2.3.0"; src = fetchHex { pkg = "decimal"; version = "${version}"; - sha256 = "af8daf87384b51b7e611fb1a1f2c4d4876b65ef968fa8bd3adf44cff401c7f21"; + sha256 = "a4d66355cb29cb47c3cf30e71329e58361cfcb37c34235ef3bf1d7bf3773aeac"; }; beamDeps = [ ]; @@ -183,12 +183,12 @@ let dns_cluster = buildMix rec { name = "dns_cluster"; - version = "0.1.2"; + version = "0.2.0"; src = fetchHex { pkg = "dns_cluster"; version = "${version}"; - sha256 = "7494272040f847637bbdb01bcdf4b871e82daf09b813e7d3cb3b84f112c6f2f8"; + sha256 = "ba6f1893411c69c01b9e8e8f772062535a4cf70f3f35bcc964a324078d8c8240"; }; beamDeps = [ ]; @@ -196,12 +196,12 @@ let ecto = buildMix rec { name = "ecto"; - version = "3.12.3"; + version = "3.12.5"; src = fetchHex { pkg = "ecto"; version = "${version}"; - sha256 = "9efd91506ae722f95e48dc49e70d0cb632ede3b7a23896252a60a14ac6d59165"; + sha256 = "6eb18e80bef8bb57e17f5a7f068a1719fbda384d40fc37acb8eb8aeca493b6ea"; }; beamDeps = [ @@ -213,12 +213,12 @@ let ecto_sql = buildMix rec { name = "ecto_sql"; - version = "3.12.0"; + version = "3.12.1"; src = fetchHex { pkg = "ecto_sql"; version = "${version}"; - sha256 = "dc9e4d206f274f3947e96142a8fdc5f69a2a6a9abb4649ef5c882323b6d512f0"; + sha256 = "aff5b958a899762c5f09028c847569f7dfb9cc9d63bdb8133bff8a5546de6bf5"; }; beamDeps = [ @@ -230,12 +230,12 @@ let ecto_sqlite3 = buildMix rec { name = "ecto_sqlite3"; - version = "0.17.2"; + version = "0.19.0"; src = fetchHex { pkg = "ecto_sqlite3"; version = "${version}"; - sha256 = "a3838919c5a34c268c28cafab87b910bcda354a9a4e778658da46c149bb2c1da"; + sha256 = "297b16750fe229f3056fe32afd3247de308094e8b0298aef0d73a8493ce97c81"; }; beamDeps = [ @@ -264,44 +264,38 @@ let elixir_make = buildMix rec { name = "elixir_make"; - version = "0.8.4"; + version = "0.9.0"; src = fetchHex { pkg = "elixir_make"; version = "${version}"; - sha256 = "6e7f1d619b5f61dfabd0a20aa268e575572b542ac31723293a4c1a567d5ef040"; + sha256 = "db23d4fd8b757462ad02f8aa73431a426fe6671c80b200d9710caf3d1dd0ffdb"; }; - beamDeps = [ - castore - certifi - ]; + beamDeps = [ ]; }; esbuild = buildMix rec { name = "esbuild"; - version = "0.8.1"; + version = "0.10.0"; src = fetchHex { pkg = "esbuild"; version = "${version}"; - sha256 = "25fc876a67c13cb0a776e7b5d7974851556baeda2085296c14ab48555ea7560f"; + sha256 = "468489cda427b974a7cc9f03ace55368a83e1a7be12fba7e30969af78e5f8c70"; }; - beamDeps = [ - castore - jason - ]; + beamDeps = [ jason ]; }; ex_check = buildMix rec { name = "ex_check"; - version = "0.14.0"; + version = "0.16.0"; src = fetchHex { pkg = "ex_check"; version = "${version}"; - sha256 = "8a602e98c66e6a4be3a639321f1f545292042f290f91fa942a285888c6868af0"; + sha256 = "4d809b72a18d405514dda4809257d8e665ae7cf37a7aee3be6b74a34dec310f5"; }; beamDeps = [ ]; @@ -309,12 +303,12 @@ let expo = buildMix rec { name = "expo"; - version = "0.5.1"; + version = "1.1.0"; src = fetchHex { pkg = "expo"; version = "${version}"; - sha256 = "68a4233b0658a3d12ee00d27d37d856b1ba48607e7ce20fd376958d0ba6ce92b"; + sha256 = "fbadf93f4700fb44c331362177bdca9eeb8097e8b0ef525c9cc501cb9917c960"; }; beamDeps = [ ]; @@ -322,19 +316,14 @@ let exqlite = buildMix rec { name = "exqlite"; - version = "0.23.0"; + version = "0.31.0"; src = fetchHex { pkg = "exqlite"; version = "${version}"; - sha256 = "404341cceec5e6466aaed160cf0b58be2019b60af82588c215e1224ebd3ec831"; + sha256 = "df352de99ba4ce1bac2ad4943d09dbe9ad59e0e7ace55917b493ae289c78fc75"; }; - # This needs to be re-added manually after running mix2nix, see: https://github.com/ydlr/mix2nix/issues/3#issuecomment-2508889881 - preConfigure = '' - export ELIXIR_MAKE_CACHE_DIR="$TMPDIR/.cache" - ''; - beamDeps = [ cc_precompiler db_connection @@ -344,12 +333,12 @@ let faker = buildMix rec { name = "faker"; - version = "0.17.0"; + version = "0.18.0"; src = fetchHex { pkg = "faker"; version = "${version}"; - sha256 = "a7d4ad84a93fd25c5f5303510753789fc2433ff241bf3b4144d3f6f291658a6a"; + sha256 = "bfbdd83958d78e2788e99ec9317c4816e651ad05e24cfd1196ce5db5b3e81797"; }; beamDeps = [ ]; @@ -357,12 +346,12 @@ let file_system = buildMix rec { name = "file_system"; - version = "0.2.10"; + version = "1.1.0"; src = fetchHex { pkg = "file_system"; version = "${version}"; - sha256 = "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"; + sha256 = "bfcf81244f416871f2a2e15c1b515287faa5db9c6bcf290222206d120b3d43f6"; }; beamDeps = [ ]; @@ -389,12 +378,12 @@ let floki = buildMix rec { name = "floki"; - version = "0.36.3"; + version = "0.37.1"; src = fetchHex { pkg = "floki"; version = "${version}"; - sha256 = "fe0158bff509e407735f6d40b3ee0d7deb47f3f3ee7c6c182ad28599f9f6b27a"; + sha256 = "673d040cb594d31318d514590246b6dd587ed341d3b67e17c1c0eb8ce7ca6f04"; }; beamDeps = [ ]; @@ -402,12 +391,12 @@ let gettext = buildMix rec { name = "gettext"; - version = "0.24.0"; + version = "0.26.2"; src = fetchHex { pkg = "gettext"; version = "${version}"; - sha256 = "bdf75cdfcbe9e4622dd18e034b227d77dd17f0f133853a1c73b97b3d6c770e8b"; + sha256 = "aa978504bcf76511efdc22d580ba08e2279caab1066b76bb9aa81c4a1e0a32a5"; }; beamDeps = [ expo ]; @@ -415,12 +404,12 @@ let hackney = buildRebar3 rec { name = "hackney"; - version = "1.20.1"; + version = "1.24.1"; src = fetchHex { pkg = "hackney"; version = "${version}"; - sha256 = "fe9094e5f1a2a2c0a7d10918fee36bfec0ec2a979994cff8cfe8058cd9af38e3"; + sha256 = "f4a7392a0b53d8bbc3eb855bdcc919cd677358e65b2afd3840b5b3690c4c8a39"; }; beamDeps = [ @@ -436,12 +425,12 @@ let hpax = buildMix rec { name = "hpax"; - version = "1.0.2"; + version = "1.0.3"; src = fetchHex { pkg = "hpax"; version = "${version}"; - sha256 = "2f09b4c1074e0abd846747329eaa26d535be0eb3d189fa69d812bfb8bfefd32f"; + sha256 = "8eab6e1cfa8d5918c2ce4ba43588e894af35dbd8e91e6e55c817bca5847df34a"; }; beamDeps = [ ]; @@ -488,12 +477,12 @@ let mime = buildMix rec { name = "mime"; - version = "2.0.6"; + version = "2.0.7"; src = fetchHex { pkg = "mime"; version = "${version}"; - sha256 = "c9945363a6b26d747389aac3643f8e0e09d30499a138ad64fe8fd1d13d9b153e"; + sha256 = "6171188e399ee16023ffc5b76ce445eb6d9672e2e241d2df6050f3c771e80ccd"; }; beamDeps = [ ]; @@ -501,12 +490,12 @@ let mimerl = buildRebar3 rec { name = "mimerl"; - version = "1.3.0"; + version = "1.4.0"; src = fetchHex { pkg = "mimerl"; version = "${version}"; - sha256 = "a1e15a50d1887217de95f0b9b0793e32853f7c258a5cd227650889b38839fe9d"; + sha256 = "13af15f9f68c65884ecca3a3891d50a7b57d82152792f3e19d88650aa126b144"; }; beamDeps = [ ]; @@ -514,12 +503,12 @@ let mint = buildMix rec { name = "mint"; - version = "1.6.2"; + version = "1.7.1"; src = fetchHex { pkg = "mint"; version = "${version}"; - sha256 = "5ee441dffc1892f1ae59127f74afe8fd82fda6587794278d924e4d90ea3d63f9"; + sha256 = "fceba0a4d0f24301ddee3024ae116df1c3f4bb7a563a731f45fdfeb9d39a231b"; }; beamDeps = [ @@ -530,15 +519,15 @@ let mox = buildMix rec { name = "mox"; - version = "1.1.0"; + version = "1.2.0"; src = fetchHex { pkg = "mox"; version = "${version}"; - sha256 = "d44474c50be02d5b72131070281a5d3895c0e7a95c780e90bc0cfe712f633a13"; + sha256 = "c7b92b3cc69ee24a7eeeaf944cd7be22013c52fcb580c1f33f50845ec821089a"; }; - beamDeps = [ ]; + beamDeps = [ nimble_ownership ]; }; nimble_options = buildMix rec { @@ -554,14 +543,27 @@ let beamDeps = [ ]; }; + nimble_ownership = buildMix rec { + name = "nimble_ownership"; + version = "1.0.1"; + + src = fetchHex { + pkg = "nimble_ownership"; + version = "${version}"; + sha256 = "3825e461025464f519f3f3e4a1f9b68c47dc151369611629ad08b636b73bb22d"; + }; + + beamDeps = [ ]; + }; + nimble_parsec = buildMix rec { name = "nimble_parsec"; - version = "1.4.0"; + version = "1.4.2"; src = fetchHex { pkg = "nimble_parsec"; version = "${version}"; - sha256 = "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"; + sha256 = "4b21398942dda052b403bbe1da991ccd03a053668d147d53fb8c4e0efe09c973"; }; beamDeps = [ ]; @@ -582,12 +584,12 @@ let oban = buildMix rec { name = "oban"; - version = "2.18.3"; + version = "2.19.4"; src = fetchHex { pkg = "oban"; version = "${version}"; - sha256 = "36ca6ca84ef6518f9c2c759ea88efd438a3c81d667ba23b02b062a0aa785475e"; + sha256 = "5fcc6219e6464525b808d97add17896e724131f498444a292071bf8991c99f97"; }; beamDeps = [ @@ -646,12 +648,12 @@ let phoenix = buildMix rec { name = "phoenix"; - version = "1.7.17"; + version = "1.7.21"; src = fetchHex { pkg = "phoenix"; version = "${version}"; - sha256 = "50e8ad537f3f7b0efb1509b2f75b5c918f697be6a45d48e49a30d3b7c0e464c9"; + sha256 = "336dce4f86cba56fed312a7d280bf2282c720abb6074bdb1b61ec8095bdd0bc9"; }; beamDeps = [ @@ -669,12 +671,12 @@ let phoenix_ecto = buildMix rec { name = "phoenix_ecto"; - version = "4.4.3"; + version = "4.6.4"; src = fetchHex { pkg = "phoenix_ecto"; version = "${version}"; - sha256 = "d36c401206f3011fefd63d04e8ef626ec8791975d9d107f9a0817d426f61ac07"; + sha256 = "f5b8584c36ccc9b903948a696fc9b8b81102c79c7c0c751a9f00cdec55d5f2d7"; }; beamDeps = [ @@ -686,25 +688,25 @@ let phoenix_html = buildMix rec { name = "phoenix_html"; - version = "3.3.4"; + version = "4.2.1"; src = fetchHex { pkg = "phoenix_html"; version = "${version}"; - sha256 = "0249d3abec3714aff3415e7ee3d9786cb325be3151e6c4b3021502c585bf53fb"; + sha256 = "cff108100ae2715dd959ae8f2a8cef8e20b593f8dfd031c9cba92702cf23e053"; }; - beamDeps = [ plug ]; + beamDeps = [ ]; }; phoenix_live_dashboard = buildMix rec { name = "phoenix_live_dashboard"; - version = "0.8.3"; + version = "0.8.7"; src = fetchHex { pkg = "phoenix_live_dashboard"; version = "${version}"; - sha256 = "f9470a0a8bae4f56430a23d42f977b5a6205fdba6559d76f932b876bfaec652d"; + sha256 = "3a8625cab39ec261d48a13b7468dc619c0ede099601b084e343968309bd4d7d7"; }; beamDeps = [ @@ -718,12 +720,12 @@ let phoenix_live_reload = buildMix rec { name = "phoenix_live_reload"; - version = "1.4.1"; + version = "1.6.0"; src = fetchHex { pkg = "phoenix_live_reload"; version = "${version}"; - sha256 = "9bffb834e7ddf08467fe54ae58b5785507aaba6255568ae22b4d46e2bb3615ab"; + sha256 = "b3a1fa036d7eb2f956774eda7a7638cf5123f8f2175aca6d6420a7f95e598e1c"; }; beamDeps = [ @@ -734,12 +736,12 @@ let phoenix_live_view = buildMix rec { name = "phoenix_live_view"; - version = "1.0.0"; + version = "1.0.17"; src = fetchHex { pkg = "phoenix_live_view"; version = "${version}"; - sha256 = "254caef0028765965ca6bd104cc7d68dcc7d57cc42912bef92f6b03047251d99"; + sha256 = "a4ca05c1eb6922c4d07a508a75bfa12c45e5f4d8f77ae83283465f02c53741e1"; }; beamDeps = [ @@ -781,12 +783,12 @@ let plug = buildMix rec { name = "plug"; - version = "1.16.1"; + version = "1.18.0"; src = fetchHex { pkg = "plug"; version = "${version}"; - sha256 = "a13ff6b9006b03d7e33874945b2755253841b238c34071ed85b0e86057f8cddc"; + sha256 = "819f9e176d51e44dc38132e132fe0accaf6767eab7f0303431e404da8476cfa2"; }; beamDeps = [ @@ -798,12 +800,12 @@ let plug_cowboy = buildMix rec { name = "plug_cowboy"; - version = "2.7.2"; + version = "2.7.3"; src = fetchHex { pkg = "plug_cowboy"; version = "${version}"; - sha256 = "245d8a11ee2306094840c000e8816f0cbed69a23fc0ac2bcf8d7835ae019bb2f"; + sha256 = "77c95524b2aa5364b247fa17089029e73b951ebc1adeef429361eab0bb55819d"; }; beamDeps = [ @@ -815,12 +817,12 @@ let plug_crypto = buildMix rec { name = "plug_crypto"; - version = "2.1.0"; + version = "2.1.1"; src = fetchHex { pkg = "plug_crypto"; version = "${version}"; - sha256 = "131216a4b030b8f8ce0f26038bc4421ae60e4bb95c5cf5395e1421437824c4fa"; + sha256 = "6470bce6ffe41c8bd497612ffde1a7e4af67f36a15eea5f921af71cf3e11247c"; }; beamDeps = [ ]; @@ -856,12 +858,12 @@ let ranch = buildRebar3 rec { name = "ranch"; - version = "1.8.0"; + version = "2.2.0"; src = fetchHex { pkg = "ranch"; version = "${version}"; - sha256 = "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"; + sha256 = "fa0b99a1780c80218a4197a59ea8d3bdae32fbff7e88527d7d8a4787eff4f8e7"; }; beamDeps = [ ]; @@ -869,12 +871,12 @@ let sobelow = buildMix rec { name = "sobelow"; - version = "0.13.0"; + version = "0.14.0"; src = fetchHex { pkg = "sobelow"; version = "${version}"; - sha256 = "cd6e9026b85fc35d7529da14f95e85a078d9dd1907a9097b3ba6ac7ebbe34a0d"; + sha256 = "7ecf91e298acfd9b24f5d761f19e8f6e6ac585b9387fb6301023f1f2cd5eed5f"; }; beamDeps = [ jason ]; @@ -895,12 +897,12 @@ let swoosh = buildMix rec { name = "swoosh"; - version = "1.14.4"; + version = "1.19.1"; src = fetchHex { pkg = "swoosh"; version = "${version}"; - sha256 = "081c5a590e4ba85cc89baddf7b2beecf6c13f7f84a958f1cd969290815f0f026"; + sha256 = "eab57462d41a3330e82cb93a9d7640f5c79a85951f3457db25c1eb28fda193a6"; }; beamDeps = [ @@ -917,12 +919,12 @@ let table_rex = buildMix rec { name = "table_rex"; - version = "4.0.0"; + version = "4.1.0"; src = fetchHex { pkg = "table_rex"; version = "${version}"; - sha256 = "c35c4d5612ca49ebb0344ea10387da4d2afe278387d4019e4d8111e815df8f55"; + sha256 = "95932701df195d43bc2d1c6531178fc8338aa8f38c80f098504d529c43bc2601"; }; beamDeps = [ ]; @@ -956,12 +958,12 @@ let telemetry_metrics = buildMix rec { name = "telemetry_metrics"; - version = "1.0.0"; + version = "1.1.0"; src = fetchHex { pkg = "telemetry_metrics"; version = "${version}"; - sha256 = "f23713b3847286a534e005126d4c959ebcca68ae9582118ce436b521d1d47d5d"; + sha256 = "e7b79e8ddfde70adb6db8a6623d1778ec66401f366e9a8f5dd0955c56bc8ce67"; }; beamDeps = [ telemetry ]; @@ -985,12 +987,12 @@ let telemetry_poller = buildRebar3 rec { name = "telemetry_poller"; - version = "1.1.0"; + version = "1.2.0"; src = fetchHex { pkg = "telemetry_poller"; version = "${version}"; - sha256 = "9eb9d9cbfd81cbd7cdd24682f8711b6e2b691289a0de6826e58452f28c103c8f"; + sha256 = "7216e21a6c326eb9aa44328028c34e9fd348fb53667ca837be59d0aa2a0156e8"; }; beamDeps = [ telemetry ]; @@ -998,12 +1000,12 @@ let timex = buildMix rec { name = "timex"; - version = "3.7.11"; + version = "3.7.12"; src = fetchHex { pkg = "timex"; version = "${version}"; - sha256 = "8b9024f7efbabaf9bd7aa04f65cf8dcd7c9818ca5737677c7b76acbc6a94d1aa"; + sha256 = "220dc675e8afca1762568dad874d8fbc8a0a0ccb25a4d1bde8f7cf006707e04f"; }; beamDeps = [ @@ -1015,12 +1017,12 @@ let tzdata = buildMix rec { name = "tzdata"; - version = "1.1.2"; + version = "1.1.3"; src = fetchHex { pkg = "tzdata"; version = "${version}"; - sha256 = "cec7b286e608371602318c414f344941d5eb0375e14cfdab605cca2fe66cba8b"; + sha256 = "d4ca85575a064d29d4e94253ee95912edfb165938743dbf002acdf0dcecb0c28"; }; beamDeps = [ hackney ]; @@ -1028,12 +1030,12 @@ let unicode_util_compat = buildRebar3 rec { name = "unicode_util_compat"; - version = "0.7.0"; + version = "0.7.1"; src = fetchHex { pkg = "unicode_util_compat"; version = "${version}"; - sha256 = "25eee6d67df61960cf6a794239566599b09e17e668d3700247bc498638152521"; + sha256 = "b3a917854ce3ae233619744ad1e0102e05673136776fb2fa76234f3e03b23642"; }; beamDeps = [ ]; diff --git a/pkgs/by-name/pi/pinchflat/package.nix b/pkgs/by-name/pi/pinchflat/package.nix index 05f7b1070657..a604637fdb36 100644 --- a/pkgs/by-name/pi/pinchflat/package.nix +++ b/pkgs/by-name/pi/pinchflat/package.nix @@ -13,16 +13,24 @@ }: beamPackages.mixRelease rec { pname = "pinchflat"; - version = "2025.3.17"; + version = "2025.6.6"; src = fetchFromGitHub { owner = "kieraneglin"; repo = "pinchflat"; rev = "v${version}"; - hash = "sha256-XHYCYC3SEVyheBV6diE2pn1AJARml+aNNUjJw2tVKTk="; + hash = "sha256-5hHueaA0QGTDr4wViZMBpBFhPnl8uAaxy72LMHgZdWU="; + }; mixNixDeps = import ./mix.nix { inherit beamPackages lib; + overrides = _: super: { + exqlite = super.exqlite.overrideAttrs (_: { + preConfigure = '' + export ELIXIR_MAKE_CACHE_DIR="$TMPDIR/.cache" + ''; + }); + }; }; removeCookie = false; diff --git a/pkgs/by-name/pp/pptpd/package.nix b/pkgs/by-name/pp/pptpd/package.nix index 75afbd812f05..86df1ced9c54 100644 --- a/pkgs/by-name/pp/pptpd/package.nix +++ b/pkgs/by-name/pp/pptpd/package.nix @@ -7,21 +7,17 @@ stdenv.mkDerivation rec { pname = "pptpd"; - version = "1.4.0"; + version = "1.5.0"; src = fetchurl { url = "mirror://sourceforge/poptop/${pname}/${pname}-${version}/${pname}-${version}.tar.gz"; - sha256 = "1h06gyxj51ba6kbbnf6hyivwjia0i6gsmjz8kyggaany8a58pkcg"; + sha256 = "sha256-anJChLHOAOoj99dgjQgYQ6EMio2H2VHLLqhucKobTnc="; }; - patches = [ - ./ppp-2.5.0-compat.patch - ]; - buildInputs = [ ppp ]; postPatch = '' - substituteInPlace plugins/Makefile --replace "install -o root" "install" + substituteInPlace plugins/Makefile --replace-fail "install -o root" "install" ''; meta = with lib; { diff --git a/pkgs/by-name/pp/pptpd/ppp-2.5.0-compat.patch b/pkgs/by-name/pp/pptpd/ppp-2.5.0-compat.patch deleted file mode 100644 index 33c4a828067e..000000000000 --- a/pkgs/by-name/pp/pptpd/ppp-2.5.0-compat.patch +++ /dev/null @@ -1,59 +0,0 @@ -diff --git a/plugins/pptpd-logwtmp.c b/plugins/pptpd-logwtmp.c -index ac5ecc2..9745177 100644 ---- a/plugins/pptpd-logwtmp.c -+++ b/plugins/pptpd-logwtmp.c -@@ -12,9 +12,18 @@ - #include - #include - #include -+ -+#define HAVE_STDARG_H 1 -+#define HAVE_STDBOOL_H 1 -+#define HAVE_STDDEF_H 1 - #include -+#include -+#include -+#include -+ -+int debug = 0; - --char pppd_version[] = VERSION; -+char pppd_version[] = PPPD_VERSION; - - static char pptpd_original_ip[PATH_MAX+1]; - static bool pptpd_logwtmp_strip_domain = 0; -@@ -42,25 +51,27 @@ static char *reduce(char *user) - - static void ip_up(void *opaque, int arg) - { -+ char peer_authname[MAXNAMELEN]; -+ ppp_peer_authname(peer_authname, MAXNAMELEN); - char *user = reduce(peer_authname); - if (debug) -- notice("pptpd-logwtmp.so ip-up %s %s %s", ifname, user, -+ notice("pptpd-logwtmp.so ip-up %s %s %s", ppp_ifname(), user, - pptpd_original_ip); -- logwtmp(ifname, user, pptpd_original_ip); -+ logwtmp(ppp_ifname(), user, pptpd_original_ip); - } - - static void ip_down(void *opaque, int arg) - { - if (debug) -- notice("pptpd-logwtmp.so ip-down %s", ifname); -- logwtmp(ifname, "", ""); -+ notice("pptpd-logwtmp.so ip-down %s", ppp_ifname()); -+ logwtmp(ppp_ifname(), "", ""); - } - - void plugin_init(void) - { -- add_options(options); -- add_notifier(&ip_up_notifier, ip_up, NULL); -- add_notifier(&ip_down_notifier, ip_down, NULL); -+ ppp_add_options(options); -+ ppp_add_notify(NF_IP_UP, ip_up, NULL); -+ ppp_add_notify(NF_IP_DOWN, ip_down, NULL); - if (debug) - notice("pptpd-logwtmp: $Version$"); - } diff --git a/pkgs/by-name/pr/pritunl-client/package.nix b/pkgs/by-name/pr/pritunl-client/package.nix index d4177d008d9b..9698f60ab9d9 100644 --- a/pkgs/by-name/pr/pritunl-client/package.nix +++ b/pkgs/by-name/pr/pritunl-client/package.nix @@ -19,12 +19,12 @@ electron, }: let - version = "1.3.4220.57"; + version = "1.3.4275.94"; src = fetchFromGitHub { owner = "pritunl"; repo = "pritunl-client-electron"; rev = version; - sha256 = "sha256-AqolwsGHDxVQMjgQdWz24BmM+uMT/XII1vtDjA3fFcQ="; + sha256 = "sha256-a1arRI4qQy5niKV8JAyusAjheMa/LtEXPZGhngsH+TU="; }; cli = buildGoModule { @@ -32,7 +32,7 @@ let inherit version src; modRoot = "cli"; - vendorHash = "sha256-wwPgyIo14zpA+oCJH0CQ4+7zyP+Itxbd6S0P7t01wBw="; + vendorHash = "sha256-xozdrNKBgrrCZ5WYHGWKOuuGrEhx/VzOKLZTGq3scoo="; postInstall = '' mv $out/bin/cli $out/bin/pritunl-client @@ -45,7 +45,7 @@ let inherit version src; modRoot = "service"; - vendorHash = "sha256-WWvROYvw8JuidZHKOO0xiNcxlyRCZkw9j/eI6C5HJhU="; + vendorHash = "sha256-3dgBiCqWj+nwWn9mFARBKIpgjn2aJYvVUrqMIzhToQs="; nativeBuildInputs = [ makeWrapper ]; diff --git a/pkgs/by-name/sh/shopware-cli/package.nix b/pkgs/by-name/sh/shopware-cli/package.nix index 99eece4824bc..de01cc520de0 100644 --- a/pkgs/by-name/sh/shopware-cli/package.nix +++ b/pkgs/by-name/sh/shopware-cli/package.nix @@ -10,12 +10,12 @@ buildGoModule rec { pname = "shopware-cli"; - version = "0.6.3"; + version = "0.6.8"; src = fetchFromGitHub { repo = "shopware-cli"; owner = "FriendsOfShopware"; tag = version; - hash = "sha256-UkLzjW3Ak+bMw+nRqlaojeJ67cxadkvufZ/pn1nTmoM="; + hash = "sha256-vLy3HWHfsUaf80iuBUYYAP87wJNke8/h48r3Db18kFQ="; }; nativeBuildInputs = [ @@ -27,7 +27,7 @@ buildGoModule rec { dart-sass ]; - vendorHash = "sha256-bNno3YGfm/3MLMtp3N2XX4UwXNZ0lusjIjnZJlke09Q="; + vendorHash = "sha256-pidR7b4k3PG9FVHJ5oWz2nYtCZwE8SlBjQqqvyFPNzM="; postInstall = '' installShellCompletion --cmd shopware-cli \ diff --git a/pkgs/by-name/si/sillytavern/package.nix b/pkgs/by-name/si/sillytavern/package.nix new file mode 100644 index 000000000000..160e2bd5e64f --- /dev/null +++ b/pkgs/by-name/si/sillytavern/package.nix @@ -0,0 +1,47 @@ +{ + makeBinaryWrapper, + buildNpmPackage, + nodejs, + fetchFromGitHub, + lib, +}: +buildNpmPackage (finalAttrs: { + pname = "sillytavern"; + version = "1.13.0"; + + src = fetchFromGitHub { + owner = "SillyTavern"; + repo = "SillyTavern"; + tag = finalAttrs.version; + hash = "sha256-HUlypAPadlad12J60Xfa30qE18II6MceVYkMqANWlyI="; + }; + npmDepsHash = "sha256-IZMwDgazY+6oyuOlE7zdWcDn5D2/8v2mHX9yDBwK+4I="; + + nativeBuildInputs = [ makeBinaryWrapper ]; + + dontNpmBuild = true; + installPhase = '' + runHook preInstall + + mkdir -p $out/{bin,opt} + cp -r . $out/opt/sillytavern + makeWrapper ${lib.getExe nodejs} $out/bin/sillytavern \ + --add-flags $out/opt/sillytavern/server.js \ + --set-default NODE_ENV production + + runHook postInstall + ''; + + meta = { + description = "LLM Frontend for Power Users"; + longDescription = '' + SillyTavern is a user interface you can install on your computer (and Android phones) that allows you to interact with + text generation AIs and chat/roleplay with characters you or the community create. + ''; + downloadPage = "https://github.com/SillyTavern/SillyTavern/releases"; + homepage = "https://docs.sillytavern.app/"; + mainProgram = "sillytavern"; + license = lib.licenses.agpl3Only; + maintainers = [ lib.maintainers.wrvsrx ]; + }; +}) diff --git a/pkgs/by-name/si/simple-live-app/package.nix b/pkgs/by-name/si/simple-live-app/package.nix index b67e3177cef1..3b251bfe112b 100644 --- a/pkgs/by-name/si/simple-live-app/package.nix +++ b/pkgs/by-name/si/simple-live-app/package.nix @@ -1,6 +1,6 @@ { lib, - flutter329, + flutter332, fetchFromGitHub, autoPatchelfHook, mpv, @@ -8,15 +8,15 @@ copyDesktopItems, }: -flutter329.buildFlutterApplication rec { +flutter332.buildFlutterApplication rec { pname = "simple-live-app"; - version = "1.8.3"; + version = "1.8.6"; src = fetchFromGitHub { owner = "xiaoyaocz"; repo = "dart_simple_live"; tag = "v${version}"; - hash = "sha256-8l+9NA9W7um61dbEf264OhrAdJLS6zyCTv78daOKfOw="; + hash = "sha256-6kEty4QZZQW3Xzz4213ThC4FF+quMNE4oAuZ1limxFg="; }; sourceRoot = "${src.name}/simple_live_app"; diff --git a/pkgs/by-name/si/simple-live-app/pubspec.lock.json b/pkgs/by-name/si/simple-live-app/pubspec.lock.json index a3c3076bb426..66d5f7664335 100644 --- a/pkgs/by-name/si/simple-live-app/pubspec.lock.json +++ b/pkgs/by-name/si/simple-live-app/pubspec.lock.json @@ -160,11 +160,11 @@ "dependency": "transitive", "description": { "name": "built_value", - "sha256": "ea90e81dc4a25a043d9bee692d20ed6d1c4a1662a28c03a96417446c093ed6b4", + "sha256": "082001b5c3dc495d4a42f1d5789990505df20d8547d42507c29050af6933ee27", "url": "https://pub.dev" }, "source": "hosted", - "version": "8.9.5" + "version": "8.10.1" }, "characters": { "dependency": "transitive", @@ -502,11 +502,11 @@ "dependency": "direct main", "description": { "name": "flutter_smart_dialog", - "sha256": "a3aaf690b2737ee6b2c7e7a983bc685e5f118e5de7e2042d2e0b7db26eb074f2", + "sha256": "d09a661b928b0af0bff58c84c5a5244ab342fc7ce6f910ac1d01b0b284d821be", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.9.8+7" + "version": "4.9.8+8" }, "flutter_staggered_grid_view": { "dependency": "direct main", @@ -614,11 +614,11 @@ "dependency": "transitive", "description": { "name": "http", - "sha256": "fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f", + "sha256": "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.3.0" + "version": "1.4.0" }, "http_client_helper": { "dependency": "transitive", @@ -1265,11 +1265,11 @@ "dependency": "direct main", "description": { "name": "screen_brightness", - "sha256": "eca7bd9d2c3c688bcad14855361cab7097839400b6b4a56f62b7ae511c709958", + "sha256": "46d1b448729c1ed67c812f2c97d7fa8308809d91031c7ecdeb216ca65f7660de", "url": "https://pub.dev" }, "source": "hosted", - "version": "2.1.2" + "version": "2.1.3" }, "screen_brightness_android": { "dependency": "transitive", @@ -1301,6 +1301,16 @@ "source": "hosted", "version": "2.1.1" }, + "screen_brightness_ohos": { + "dependency": "transitive", + "description": { + "name": "screen_brightness_ohos", + "sha256": "61e313e46eaee3f83dd4e85a2a91f8a81be02c154bc9e60830a7c0fd76dac286", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "2.1.0" + }, "screen_brightness_platform_interface": { "dependency": "transitive", "description": { @@ -1490,11 +1500,11 @@ "dependency": "transitive", "description": { "name": "sse", - "sha256": "4389a01d5bc7ef3e90fbc645f8e7c6d8711268adb1f511e14ae9c71de47ee32b", + "sha256": "fcc97470240bb37377f298e2bd816f09fd7216c07928641c0560719f50603643", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.1.7" + "version": "4.1.8" }, "sse_channel": { "dependency": "transitive", @@ -1819,11 +1829,11 @@ "dependency": "transitive", "description": { "name": "web_socket", - "sha256": "bfe6f435f6ec49cb6c01da1e275ae4228719e59a6b067048c51e72d9d63bcc4b", + "sha256": "34d64019aa8e36bf9842ac014bb5d2f5586ca73df5e4d9bf5c936975cae6982c", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.0.0" + "version": "1.0.1" }, "web_socket_channel": { "dependency": "transitive", @@ -1849,11 +1859,11 @@ "dependency": "transitive", "description": { "name": "win32", - "sha256": "dc6ecaa00a7c708e5b4d10ee7bec8c270e9276dfcab1783f57e9962d7884305f", + "sha256": "329edf97fdd893e0f1e3b9e88d6a0e627128cc17cc316a8d67fda8f1451178ba", "url": "https://pub.dev" }, "source": "hosted", - "version": "5.12.0" + "version": "5.13.0" }, "win32_registry": { "dependency": "transitive", diff --git a/pkgs/by-name/sn/snac2/package.nix b/pkgs/by-name/sn/snac2/package.nix index 81caa40570f8..75d456a3c51b 100644 --- a/pkgs/by-name/sn/snac2/package.nix +++ b/pkgs/by-name/sn/snac2/package.nix @@ -10,14 +10,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "snac2"; - version = "2.77"; + version = "2.78"; src = fetchFromGitea { domain = "codeberg.org"; owner = "grunfink"; repo = "snac2"; tag = finalAttrs.version; - hash = "sha256-QUPFD7x1ZDnDxediA+oqYC8CotmGeAr36xSZ3STOK9Y="; + hash = "sha256-t2FQFHpEN9IZMqLp2nNH0utkKjgkw1EPxadAn07h7sw="; }; buildInputs = [ diff --git a/pkgs/by-name/sp/sparkle/package.nix b/pkgs/by-name/sp/sparkle/package.nix index 406b801fe134..92f2cd5946d2 100644 --- a/pkgs/by-name/sp/sparkle/package.nix +++ b/pkgs/by-name/sp/sparkle/package.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "sparkle"; - version = "1.6.4"; + version = "1.6.7"; src = let @@ -31,8 +31,8 @@ stdenv.mkDerivation (finalAttrs: { fetchurl { url = "https://github.com/xishang0128/sparkle/releases/download/${finalAttrs.version}/sparkle-linux-${finalAttrs.version}-${arch}.deb"; hash = selectSystem { - x86_64-linux = "sha256-Q2TWrYNz3BAV8rBflxMuIQOogs+QJmmEidnGSOXaZgQ="; - aarch64-linux = "sha256-m/aAnAJpu9ycXECQJNrCpwFN76kWGFKvWfLXiJQbrWE="; + x86_64-linux = "sha256-WpyHZzQ3LkBToiBXLUoUx5H4ZhK3J5JVqXYDl+9MtHo="; + aarch64-linux = "sha256-7u5CUB8i5b2PXhHw0x8rjCH8jcC2Ncrz00Nty7rqKng="; }; }; diff --git a/pkgs/by-name/st/streamripper/package.nix b/pkgs/by-name/st/streamripper/package.nix index 50ec647755ab..22ee95b0e381 100644 --- a/pkgs/by-name/st/streamripper/package.nix +++ b/pkgs/by-name/st/streamripper/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchurl, + fetchDebianPatch, glib, pkg-config, libogg, @@ -18,6 +19,23 @@ stdenv.mkDerivation rec { sha256 = "0hnyv3206r0rfprn3k7k6a0j959kagsfyrmyjm3gsf3vkhp5zmy1"; }; + patches = [ + # fix build with gcc 14 + (fetchDebianPatch { + inherit pname version; + debianRevision = "2"; + patch = "1075541-gcc14"; + hash = "sha256-30bz7CDmbq+Bd+jTKSq7aJsXUJQAQp3nnJZvt3Qbp8Q="; + }) + # fix parse of URIs containing colons (https://bugs.debian.org/873964) + (fetchDebianPatch { + inherit pname version; + debianRevision = "2"; + patch = "873964-http"; + hash = "sha256-D6koUCbnJHtRuq2zZy9VrxymuGXN1COacbQhphgB8qo="; + }) + ]; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ glib @@ -26,10 +44,6 @@ stdenv.mkDerivation rec { libmad ]; - makeFlags = [ - "AR:=$(AR)" - ]; - meta = with lib; { homepage = "https://streamripper.sourceforge.net/"; description = "Application that lets you record streaming mp3 to your hard drive"; diff --git a/pkgs/by-name/su/sums/package.nix b/pkgs/by-name/su/sums/package.nix index a719de19ae92..27a59480c0aa 100644 --- a/pkgs/by-name/su/sums/package.nix +++ b/pkgs/by-name/su/sums/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "sums"; - version = "0.13"; + version = "0.15"; src = fetchFromGitLab { owner = "leesonwai"; repo = "sums"; rev = "refs/tags/${finalAttrs.version}"; - hash = "sha256-DztSQcaH/k5EOvsrVA/DdgNSEHtz4Nr938tIhC94Gu8="; + hash = "sha256-L+ND18cqXAi0qqt1lECQlx2cBX9HrhAXNFxHFl9wjU8="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/t1/t1lib/package.nix b/pkgs/by-name/t1/t1lib/package.nix deleted file mode 100644 index 6bb91c9d1978..000000000000 --- a/pkgs/by-name/t1/t1lib/package.nix +++ /dev/null @@ -1,74 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - fetchpatch, - libX11, - libXaw, -}: - -let - getPatch = - { name, sha256 }: - fetchpatch { - inherit name sha256; - url = - "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/${name}" - + "?h=packages/t1lib&id=643a4c2c58e70072b5bc1e9e4624162517b58357"; - }; - - patches = map getPatch [ - { - name = "lib-cleanup.diff"; - sha256 = "1w3q1y4zk0y4mf2s2x9z4cd8d4af8i868c8837p40mz3dqrai4zp"; - } - { - name = "format-security.diff"; - sha256 = "0cca94bif9dsc6iwpcnk1504gb3sl3nsqhni85c21q9aywyz26l3"; - } - { - name = "CVE-2011-0764.diff"; - sha256 = "1j0y3f38im7srpqjg9jvx8as6sxkz8gw7hglcxnxl9qylx8mr2jh"; - } - { - name = "CVE-2011-1552_1553_1554.patch"; - sha256 = "16cyq6jhyhh8912j8hapx9pq4rzxk36ljlkxlnyi7i3wr8iz1dir"; - } - { - name = "CVE-2010-2642.patch"; - sha256 = "175zvyr9v1xs22k2svgxqjcpz5nihfa7j46hn9nzvkqcrhm5m9y8"; - } - # this ^ also fixes CVE-2011-5244 - ]; -in -stdenv.mkDerivation rec { - pname = "t1lib"; - version = "5.1.2"; - - src = fetchurl { - url = "mirror://ibiblioPubLinux/libs/graphics/${pname}-${version}.tar.gz"; - hash = "sha256-ghMotQVPeJCg0M0vUoJScHBd82QdvUdtWNF+Vu2Ve1k="; - }; - inherit patches; - - buildInputs = [ - libX11 - libXaw - ]; - buildFlags = [ "without_doc" ]; - - postInstall = lib.optionalString (!stdenv.hostPlatform.isDarwin) '' - # ?? - chmod +x $out/lib/*.so.* - ''; - - meta = with lib; { - homepage = "http://www.t1lib.org/"; - description = "Type 1 font rasterizer library for UNIX/X11"; - license = with licenses; [ - gpl2 - lgpl2 - ]; - platforms = platforms.unix; - }; -} diff --git a/pkgs/by-name/te/tea/package.nix b/pkgs/by-name/te/tea/package.nix index 72a8455a4169..dba50852bb55 100644 --- a/pkgs/by-name/te/tea/package.nix +++ b/pkgs/by-name/te/tea/package.nix @@ -6,17 +6,17 @@ buildGoModule rec { pname = "tea"; - version = "0.9.2"; + version = "0.10.0"; src = fetchFromGitea { domain = "gitea.com"; owner = "gitea"; repo = "tea"; rev = "v${version}"; - sha256 = "sha256-sZfg8+LIu1Ejvmr/o4X3EOz3fv+RvLhrGRf2yy+6t8c="; + sha256 = "sha256-JXF3oKbJ1G5UBfZYfEJcFw8H+J9KRn1aqSxUAyiRCIg="; }; - vendorHash = "sha256-nb0lQEAaIYlGpodFQLhMk/24DmTgg5K3zQ4s/XY+Z1w="; + vendorHash = "sha256-1j8X4euJPbNeqEtYFKuRl9zARxUW0aWk07+AoNO24Qc="; meta = with lib; { description = "Gitea official CLI client"; diff --git a/pkgs/by-name/un/unstructured-api/package.nix b/pkgs/by-name/un/unstructured-api/package.nix index a6e0bc77c337..309f2e68b524 100644 --- a/pkgs/by-name/un/unstructured-api/package.nix +++ b/pkgs/by-name/un/unstructured-api/package.nix @@ -144,7 +144,7 @@ let ++ google-api-core.optional-dependencies.grpc ++ unstructured.optional-dependencies.all-docs ); - version = "0.0.85"; + version = "0.0.86"; unstructured_api_nltk_data = python3.pkgs.nltk.dataDir (d: [ d.punkt d.averaged-perceptron-tagger @@ -158,7 +158,7 @@ stdenvNoCC.mkDerivation { owner = "Unstructured-IO"; repo = "unstructured-api"; rev = version; - hash = "sha256-FNcm/7JxQE6ZksFtEgInnUhbKArZoyo9rlxhyHgRG3E="; + hash = "sha256-8GjBhuZJUt+dN3DuC2tqzPFblZNzLJsYu0ZAh7asdyM="; }; nativeBuildInputs = [ makeWrapper ]; diff --git a/pkgs/by-name/uw/uwsm/package.nix b/pkgs/by-name/uw/uwsm/package.nix index 9f25bebf3496..b0ae1721c435 100644 --- a/pkgs/by-name/uw/uwsm/package.nix +++ b/pkgs/by-name/uw/uwsm/package.nix @@ -28,13 +28,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "uwsm"; - version = "0.21.6"; + version = "0.21.8"; src = fetchFromGitHub { owner = "Vladimir-csp"; repo = "uwsm"; tag = "v${finalAttrs.version}"; - hash = "sha256-Pav86kNCIe1cqkkPyAt8yGCR1M7wGHPSGibkeLCE4E4="; + hash = "sha256-b5n0SuJ0WEm7Mx77BVgjabw5QQeXR7lGUHLxIyqmM9I="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/va/vault-tasks/package.nix b/pkgs/by-name/va/vault-tasks/package.nix index dc817ada9256..cba058736e65 100644 --- a/pkgs/by-name/va/vault-tasks/package.nix +++ b/pkgs/by-name/va/vault-tasks/package.nix @@ -2,10 +2,13 @@ lib, fetchFromGitHub, rustPlatform, + stdenv, + buildPackages, + installShellFiles, nix-update-script, }: let - version = "0.11.2"; + version = "0.12.0"; in rustPlatform.buildRustPackage { pname = "vault-tasks"; @@ -14,12 +17,37 @@ rustPlatform.buildRustPackage { owner = "louis-thevenet"; repo = "vault-tasks"; rev = "v${version}"; - hash = "sha256-DcnOuQ37fzLVJOteP7ZiA9IxNAd6lH6zelaO5GCvakk="; + hash = "sha256-PMqGqvyxgkGRVahQ+ruDA0vFT0162DrZU92nT4SMTGw="; }; useFetchCargoVendor = true; - cargoHash = "sha256-/5CpIPdqIvxwiplMqXZ1J04oQoK9rnzDP1N7ffrbJDk="; + cargoHash = "sha256-34c5i2kIoQuTkm1SF7bYX109noVGaGJ47b2FCxQUyB8="; - postInstall = "install -Dm444 desktop/vault-tasks.desktop -t $out/share/applications"; + nativeBuildInputs = [ + installShellFiles + ]; + + postInstall = + '' + install -Dm444 desktop/vault-tasks.desktop -t $out/share/applications + '' + + ( + let + vault-tasks = + if stdenv.buildPlatform.canExecute stdenv.hostPlatform then + placeholder "out" + else + buildPackages.vault-tasks; + in + '' + # vault-tasks tries to load a config file from ~/.config/ before generating completions + export HOME="$(mktemp -d)" + + installShellCompletion --cmd vault-tasks \ + --bash <(${vault-tasks}/bin/vault-tasks generate-completions bash) \ + --fish <(${vault-tasks}/bin/vault-tasks generate-completions fish) \ + --zsh <(${vault-tasks}/bin/vault-tasks generate-completions zsh) + '' + ); passthru.updateScript = nix-update-script { }; diff --git a/pkgs/by-name/ve/vengi-tools/package.nix b/pkgs/by-name/ve/vengi-tools/package.nix index 7bcb42914396..9b70f9dd6a5f 100644 --- a/pkgs/by-name/ve/vengi-tools/package.nix +++ b/pkgs/by-name/ve/vengi-tools/package.nix @@ -34,13 +34,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "vengi-tools"; - version = "0.0.37"; + version = "0.0.38"; src = fetchFromGitHub { owner = "vengi-voxel"; repo = "vengi"; rev = "v${finalAttrs.version}"; - hash = "sha256-Pm3vGS6u//iktkj/2RR7xaCTt8fevCWm0a1Hlfkxry8="; + hash = "sha256-TTbwoZt5+tkxuoC05sbgrwIRmyWIR272D4TZWYXyPjA="; }; prePatch = lib.optionalString stdenv.hostPlatform.isDarwin '' diff --git a/pkgs/by-name/xd/xdg-ninja/package.nix b/pkgs/by-name/xd/xdg-ninja/package.nix index 0de1ec79c389..7efbaa4db60f 100644 --- a/pkgs/by-name/xd/xdg-ninja/package.nix +++ b/pkgs/by-name/xd/xdg-ninja/package.nix @@ -5,17 +5,18 @@ makeWrapper, jq, glow, + nix-update-script, }: -stdenvNoCC.mkDerivation rec { +stdenvNoCC.mkDerivation { pname = "xdg-ninja"; - version = "0.2.0.2"; + version = "0.2.0.2-unstable-2025-03-09"; src = fetchFromGitHub { owner = "b3nj5m1n"; repo = "xdg-ninja"; - rev = "v${version}"; - sha256 = "sha256-ASJIFQ/BpZMQGRtw8kPhtMCbXC1eb/X8TWQz+CAnaSM="; + rev = "a964a4a4a9b2e34eb3f684f72f5c751c18b27348"; + hash = "sha256-rFGVRbjpXBDS8qae9xv9pL6dNlZNN/WYC3taUFK8O2U="; }; nativeBuildInputs = [ makeWrapper ]; @@ -38,6 +39,8 @@ stdenvNoCC.mkDerivation rec { runHook postInstall ''; + passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; + meta = with lib; { description = "Shell script which checks your $HOME for unwanted files and directories"; homepage = "https://github.com/b3nj5m1n/xdg-ninja"; diff --git a/pkgs/by-name/xs/xscope/package.nix b/pkgs/by-name/xs/xscope/package.nix index 792a5412cd39..335033419cd7 100644 --- a/pkgs/by-name/xs/xscope/package.nix +++ b/pkgs/by-name/xs/xscope/package.nix @@ -1,29 +1,42 @@ { lib, stdenv, - fetchurl, + fetchFromGitLab, pkg-config, - libXt, + autoreconfHook, + xorg-autoconf, + xorg, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "xscope"; - version = "1.4.1"; + version = "1.4.5"; - src = fetchurl { - url = "mirror://xorg/individual/app/${pname}-${version}.tar.bz2"; - sha256 = "08zl3zghvbcqy0r5dn54dim84lp52s0ygrr87jr3a942a6ypz01k"; + src = fetchFromGitLab { + domain = "gitlab.freedesktop.org"; + owner = "xorg"; + repo = "app/xscope"; + tag = "xscope-${finalAttrs.version}"; + hash = "sha256-9ZmmV41PKv+WFL9I4D9NTfNVTsazCijZMMmDFSvXMlg="; }; - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ libXt ]; + nativeBuildInputs = [ + autoreconfHook + pkg-config + xorg-autoconf + ]; - meta = with lib; { + buildInputs = [ + xorg.libXt + xorg.xtrans + ]; + + meta = { description = "program to monitor X11/Client conversations"; homepage = "https://cgit.freedesktop.org/xorg/app/xscope/"; - license = with licenses; [ mit ]; - maintainers = with maintainers; [ crertel ]; - platforms = with platforms; unix; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ crertel ]; + platforms = lib.platforms.unix; mainProgram = "xscope"; }; -} +}) diff --git a/pkgs/by-name/ya/yafc-ce/package.nix b/pkgs/by-name/ya/yafc-ce/package.nix index 0e527992cf76..2886280ceaf3 100644 --- a/pkgs/by-name/ya/yafc-ce/package.nix +++ b/pkgs/by-name/ya/yafc-ce/package.nix @@ -12,16 +12,19 @@ let in buildDotnetModule (finalAttrs: { pname = "yafc-ce"; - version = "2.11.1"; + version = "2.13.0"; src = fetchFromGitHub { owner = "shpaass"; repo = "yafc-ce"; rev = finalAttrs.version; - hash = "sha256-n6twiCIQ1nMSidfmdl2py5wHvx4kk6skK0f8chXTCjQ="; + hash = "sha256-FWGH/CDjfeewms0lKMMK3hGPCw6Xs40MdsbS/Cgif8s="; }; - projectFile = [ "Yafc/Yafc.csproj" ]; + projectFile = [ + "Yafc.I18n.Generator/Yafc.I18n.Generator.csproj" + "Yafc/Yafc.csproj" + ]; testProjectFile = [ "Yafc.Model.Tests/Yafc.Model.Tests.csproj" ]; nugetDeps = ./deps.json; @@ -36,6 +39,13 @@ buildDotnetModule (finalAttrs: { SDL2_image ]; + postPatch = '' + # Yafc finds the root by looking for a `.git` directory, but `.git` is + # removed by Nix to ensure reproducibility. `.github` is not. + substituteInPlace Yafc.I18n.Generator/SourceGenerator.cs \ + --replace-fail 'rootDirectory, ".git"' 'rootDirectory, ".github"' + ''; + meta = { description = "Powerful Factorio calculator/analyser that works with mods, Community Edition"; longDescription = '' diff --git a/pkgs/by-name/za/zashboard/package.nix b/pkgs/by-name/za/zashboard/package.nix index 5b038dd71416..a3a17c7221e2 100644 --- a/pkgs/by-name/za/zashboard/package.nix +++ b/pkgs/by-name/za/zashboard/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "zashboard"; - version = "1.93.0"; + version = "1.94.0"; src = fetchFromGitHub { owner = "Zephyruso"; repo = "zashboard"; tag = "v${finalAttrs.version}"; - hash = "sha256-0YlFDmn5XAQiGxGpFJtVgtFdPbxApVlsqRLwIun0YtI="; + hash = "sha256-jhnK7G1OLAntVRpozVCn/Gky3qy6rAu8Eevs0nLTvSI="; }; nativeBuildInputs = [ @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { pnpmDeps = pnpm_9.fetchDeps { inherit (finalAttrs) pname version src; - hash = "sha256-LYHBWNMTZQU1sXwwpAmBaypLDR3w/T9i9WdOoI+TcEo="; + hash = "sha256-hZ6Lvj4YimhIKFu/fJHCd+EOCny+RSFMOdhBcUUNqNw="; }; buildPhase = '' diff --git a/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix b/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix index 31a3180c320e..1eaf743d2436 100644 --- a/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix +++ b/pkgs/desktops/pantheon/services/xdg-desktop-portal-pantheon/default.nix @@ -19,13 +19,13 @@ stdenv.mkDerivation rec { pname = "xdg-desktop-portal-pantheon"; - version = "8.0.1"; + version = "8.0.2"; src = fetchFromGitHub { owner = "elementary"; repo = "portals"; rev = version; - sha256 = "sha256-oBOyYE4NLlNmCRO9Uk22/OZb9+fXcyOICE8V3n4grEw="; + sha256 = "sha256-/zX2OZggMYbiyTLVOuSpfQw8E4ZMr19CiiVV47zpSV0="; }; nativeBuildInputs = [ diff --git a/pkgs/development/coq-modules/coq-lsp/default.nix b/pkgs/development/coq-modules/coq-lsp/default.nix index e4064be1d625..d5b4a0e90c0b 100644 --- a/pkgs/development/coq-modules/coq-lsp/default.nix +++ b/pkgs/development/coq-modules/coq-lsp/default.nix @@ -15,10 +15,11 @@ useDune = true; release."0.1.8+8.16".sha256 = "sha256-dEEAK5IXGjHB8D/fYJRQG/oCotoXJuWLxXB0GQlY2eo="; - release."0.2.2+8.17".sha256 = "sha256-dWPAwePbfTf2t+ydSd1Cnr2kKTDbvedmxm2+Z6F5zuM="; - release."0.2.2+8.18".sha256 = "sha256-0J/XaSvhnKHRlcWfG1xbUOyN4LDtK1SEahE9kpV7GK4="; - release."0.2.2+8.19".sha256 = "sha256-E2zO2SOU3nmTFf1yA1gefyIWTViUGNTTJ4r6fZYl6UY="; - release."0.2.2+8.20".sha256 = "sha256-9yHisA3YJ/KuolU53qcQAjuSIAZPY+4rnkWV9dpLc6c="; + release."0.2.3+8.17".sha256 = "sha256-s7GXRYxuCMXm0XpKAyEwYqolsVFcKHhM71uabqqK5BY="; + release."0.2.3+8.18".sha256 = "sha256-0cEuMWuNJwfiPdc0aHKk3EQbkVRIbVukS586EWSHCgo="; + release."0.2.3+8.19".sha256 = "sha256-0eQQheY2yjS7shifhUlVPLXvTmyvgNpx7deLWXBRTfA="; + release."0.2.3+8.20".sha256 = "sha256-TUVS8jkgf1MMOOx5y70OaeZkdIgdgmyGQ2/zKxeplEk="; + release."0.2.3+9.0".sha256 = "sha256-eZMM4gYRXQroEIKz6XlffyHNYryEF5dIeIoVbEulh6M="; inherit version; defaultVersion = @@ -30,19 +31,23 @@ } { case = isEq "8.17"; - out = "0.2.2+8.17"; + out = "0.2.3+8.17"; } { case = isEq "8.18"; - out = "0.2.2+8.18"; + out = "0.2.3+8.18"; } { case = isEq "8.19"; - out = "0.2.2+8.19"; + out = "0.2.3+8.19"; } { case = isEq "8.20"; - out = "0.2.2+8.20"; + out = "0.2.3+8.20"; + } + { + case = isEq "9.0"; + out = "0.2.3+9.0"; } ] null; diff --git a/pkgs/development/python-modules/aiokem/default.nix b/pkgs/development/python-modules/aiokem/default.nix index 04b1cf6fd5bb..37fac7acbe2c 100644 --- a/pkgs/development/python-modules/aiokem/default.nix +++ b/pkgs/development/python-modules/aiokem/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "aiokem"; - version = "1.0.1"; + version = "1.1.4"; pyproject = true; disabled = pythonOlder "3.12"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "kohlerlibs"; repo = "aiokem"; tag = "v${version}"; - hash = "sha256-1mhsHoHttMMdMkHJ4awDHQhoMHWLHnNkeC6scEd25Z4="; + hash = "sha256-4LbpTov81LMr4V8jMgttlUCyHWJoR6tExOvt8X4Telc="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/craft-store/default.nix b/pkgs/development/python-modules/craft-store/default.nix index 009e61ab701d..e0c1e7b93e04 100644 --- a/pkgs/development/python-modules/craft-store/default.nix +++ b/pkgs/development/python-modules/craft-store/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { pname = "craft-store"; - version = "3.2.1"; + version = "3.2.2"; pyproject = true; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = "canonical"; repo = "craft-store"; tag = version; - hash = "sha256-rJ7FXHDrJ7w+dFPBs7MhT4iqN6KCWaqrmlCni5kUEKI="; + hash = "sha256-ODchOdEzzR8LXdPgPVXp0mWIu2rr5yzrfUDbOVW1xXc="; }; postPatch = '' diff --git a/pkgs/development/python-modules/google-maps-routing/default.nix b/pkgs/development/python-modules/google-maps-routing/default.nix index 96bfbc5fa606..aedf5d723e17 100644 --- a/pkgs/development/python-modules/google-maps-routing/default.nix +++ b/pkgs/development/python-modules/google-maps-routing/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "google-maps-routing"; - version = "0.6.15"; + version = "0.6.16"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; repo = "google-cloud-python"; tag = "google-maps-routing-v${version}"; - hash = "sha256-5PzidE1CWN+pt7+gcAtbuXyL/pq6cnn0MCRkBfmeUSw="; + hash = "sha256-VYkgkVrUgBiUEFF2J8ZFrh2Sw7h653stYxNcpYfRAj4="; }; sourceRoot = "${src.name}/packages/google-maps-routing"; diff --git a/pkgs/development/python-modules/meson-python/default.nix b/pkgs/development/python-modules/meson-python/default.nix index 6364fc2bf8ce..b4099605e0e0 100644 --- a/pkgs/development/python-modules/meson-python/default.nix +++ b/pkgs/development/python-modules/meson-python/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchPypi, fetchpatch, @@ -56,6 +57,18 @@ buildPythonPackage rec { pytest-mock ]; + # meson-python respectes MACOSX_DEPLOYMENT_TARGET, but compares it with the + # actual platform version during tests, which mismatches. + # https://github.com/mesonbuild/meson-python/issues/760 + # FIXME: drop in 0.19.0 + preCheck = + if stdenv.hostPlatform.isDarwin then + '' + unset MACOSX_DEPLOYMENT_TARGET + '' + else + null; + setupHooks = [ ./add-build-flags.sh ]; meta = { diff --git a/pkgs/development/python-modules/openstacksdk/default.nix b/pkgs/development/python-modules/openstacksdk/default.nix index 104f76dec0f6..32a027892633 100644 --- a/pkgs/development/python-modules/openstacksdk/default.nix +++ b/pkgs/development/python-modules/openstacksdk/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { pname = "openstacksdk"; - version = "4.5.0"; + version = "4.6.0"; pyproject = true; outputs = [ @@ -32,7 +32,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-q3oSQCB6aWm6Cc7ujxZlOAVzBne0SXqAbNlWczZR/mg="; + hash = "sha256-5H4WbEcy6a6mUijmGNSQ5L5d8GUmobleLVmV19CXfT0="; }; postPatch = '' diff --git a/pkgs/development/python-modules/panphon/default.nix b/pkgs/development/python-modules/panphon/default.nix index 6190a4bc9ad2..230c7a310ba8 100644 --- a/pkgs/development/python-modules/panphon/default.nix +++ b/pkgs/development/python-modules/panphon/default.nix @@ -18,18 +18,17 @@ buildPythonPackage rec { pname = "panphon"; - version = "0.21.2"; + version = "0.22.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-FpYHbkEeQzyPfbpigZ1EMNlzLLFWB/wNcGHYFYiEE2k="; + hash = "sha256-iSdCZjzeZhxsrkaRYHpg60evmo9g09a9Fwr0I5WWd1A="; }; build-system = [ setuptools ]; dependencies = [ - setuptools # need for pkg_resources unicodecsv pyyaml regex diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix index 76a60bfcf362..a409f2cbc1ca 100644 --- a/pkgs/development/python-modules/python-openstackclient/default.nix +++ b/pkgs/development/python-modules/python-openstackclient/default.nix @@ -70,7 +70,8 @@ buildPythonPackage rec { checkPhase = '' runHook preCheck - stestr run + stestr run -E \ + "openstackclient.tests.unit.network.v2.test_security_group_network.(TestCreateSecurityGroupNetwork.(test_create_with_tags|test_create_with_no_tag|test_create_min_options|test_create_all_options)|TestShowSecurityGroupNetwork.test_show_all_options)" runHook postCheck ''; diff --git a/pkgs/development/rocm-modules/6/default.nix b/pkgs/development/rocm-modules/6/default.nix index 19a8baa1b27b..c399061c1992 100644 --- a/pkgs/development/rocm-modules/6/default.nix +++ b/pkgs/development/rocm-modules/6/default.nix @@ -441,6 +441,10 @@ let }; }; + rocm-bandwidth-test = self.callPackage ./rocm-bandwidth-test { + rocmPackages = self; + }; + rocm-tests = self.callPackage ./rocm-tests { rocmPackages = self; }; diff --git a/pkgs/development/rocm-modules/6/rocm-bandwidth-test/default.nix b/pkgs/development/rocm-modules/6/rocm-bandwidth-test/default.nix new file mode 100644 index 000000000000..1da28d9b2f10 --- /dev/null +++ b/pkgs/development/rocm-modules/6/rocm-bandwidth-test/default.nix @@ -0,0 +1,38 @@ +{ + lib, + stdenv, + fetchFromGitHub, + rocmPackages, + cmake, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "rocm-bandwidth-test"; + version = "6.3.3"; + + src = fetchFromGitHub { + owner = "ROCm"; + repo = "rocm_bandwidth_test"; + rev = "rocm-${finalAttrs.version}"; + hash = "sha256-dHyfYpRB13wUvim152nZ61McZOQ1zUZFx4dUo2vVqZM="; + }; + + nativeBuildInputs = [ + cmake + ]; + + buildInputs = [ rocmPackages.rocm-runtime ]; + + cmakeFlags = [ + "-DROCT_INC_DIR=${rocmPackages.rocm-runtime}/include/libhsakmt" + ]; + + meta = with lib; { + description = "Bandwidth test for AMD GPUs supported by ROCm"; + homepage = "https://github.com/ROCm/rocm_bandwidth_test"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fangpen ]; + teams = [ teams.rocm ]; + platforms = [ "x86_64-linux" ]; + }; +}) diff --git a/pkgs/games/shattered-pixel-dungeon/default.nix b/pkgs/games/shattered-pixel-dungeon/default.nix index d5b64267d216..1711dfc6092c 100644 --- a/pkgs/games/shattered-pixel-dungeon/default.nix +++ b/pkgs/games/shattered-pixel-dungeon/default.nix @@ -6,13 +6,13 @@ callPackage ./generic.nix rec { pname = "shattered-pixel-dungeon"; - version = "3.0.2"; + version = "3.1.0"; src = fetchFromGitHub { owner = "00-Evan"; repo = "shattered-pixel-dungeon"; rev = "v${version}"; - hash = "sha256-tEgwB/YIhSpwUZrEC4Gw9+6lLllNK8JuTMNKgVzqv7c="; + hash = "sha256-BPZN163Opr2uKYckqlimizr0pIhmz4wUzI5r2aYzZFY="; }; depsPath = ./deps.json; diff --git a/pkgs/misc/fastly/default.nix b/pkgs/misc/fastly/default.nix index b91f35595517..184861961908 100644 --- a/pkgs/misc/fastly/default.nix +++ b/pkgs/misc/fastly/default.nix @@ -11,13 +11,13 @@ buildGoModule rec { pname = "fastly"; - version = "11.2.0"; + version = "11.3.0"; src = fetchFromGitHub { owner = "fastly"; repo = "cli"; tag = "v${version}"; - hash = "sha256-2bZEPwAj9K3ubKoM0P1xRS/NmJp+CMRYo7tXk6miRRs="; + hash = "sha256-SFBKu30C92BbbwSlmlRU/66mBywROktWUiw8fltFXoA="; # The git commit is part of the `fastly version` original output; # leave that output the same in nixpkgs. Use the `.git` directory # to retrieve the commit SHA, and remove the directory afterwards, @@ -34,7 +34,7 @@ buildGoModule rec { "cmd/fastly" ]; - vendorHash = "sha256-dmUqlkBwnz4/u3vOxNfk/rMFuPwB5OoHz5/xjYnffRk="; + vendorHash = "sha256-ypimv9xi3mKL6xmmkAYdUO+lspafXpJsP8StaniboE0="; nativeBuildInputs = [ installShellFiles diff --git a/pkgs/servers/nextcloud/default.nix b/pkgs/servers/nextcloud/default.nix index 4764a92e246e..17b4805878c3 100644 --- a/pkgs/servers/nextcloud/default.nix +++ b/pkgs/servers/nextcloud/default.nix @@ -59,14 +59,14 @@ let in { nextcloud30 = generic { - version = "30.0.11"; - hash = "sha256-WEJ3LV1xLxBdyPFdZ4hFnmFEuDbMiKBiyQU3CiZUN3o="; + version = "30.0.12"; + hash = "sha256-nhmyX0InPUNhIYQmtHYqdmvuQIz6aqghn4wn9yCVp6g="; packages = nextcloud30Packages; }; nextcloud31 = generic { - version = "31.0.5"; - hash = "sha256-Iii49STc2H8IoqkoHUGwT1y1ALdiS8jI4HuOMDkGFQM="; + version = "31.0.6"; + hash = "sha256-pqvOG+hK5lCQYliV7leWxuYx/RDLF2RexNc/fZs3Jig="; packages = nextcloud31Packages; }; diff --git a/pkgs/servers/nextcloud/packages/30.json b/pkgs/servers/nextcloud/packages/30.json index 0d8173a54e09..797455c8014b 100644 --- a/pkgs/servers/nextcloud/packages/30.json +++ b/pkgs/servers/nextcloud/packages/30.json @@ -20,19 +20,19 @@ ] }, "calendar": { - "hash": "sha256-z/BMKay9Fj+aIypPA9cbEJ6dcB03oGPhy2TSGHJeRz0=", - "url": "https://github.com/nextcloud-releases/calendar/releases/download/v5.2.4/calendar-v5.2.4.tar.gz", - "version": "5.2.4", - "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* πŸ™‹ **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* πŸ” Search! Find your events at ease\n* β˜‘οΈ Tasks! See tasks with a due date directly in the calendar\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", + "hash": "sha256-vsqyTtHDTjB4POwQyDtlAPnb8nBQw0ZTBnBUqP4Kw9A=", + "url": "https://github.com/nextcloud-releases/calendar/releases/download/v5.3.2/calendar-v5.3.2.tar.gz", + "version": "5.3.2", + "description": "A Calendar app for Nextcloud. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Like Contacts, Talk, Tasks, Deck and Circles\n* 🌐 **WebCal Support!** Want to see your favorite team's matchdays in your calendar? No problem!\n* πŸ™‹ **Attendees!** Invite people to your events\n* ⌚ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* πŸ” **Search!** Find your events at ease\n* β˜‘οΈ **Tasks!** See tasks or Deck cards with a due date directly in the calendar\n* πŸ”ˆ **Talk rooms!** Create an associated Talk room when booking a meeting with just one click\n* πŸ“† **Appointment booking** Send people a link so they can book an appointment with you [using this app](https://apps.nextcloud.com/apps/appointments)\n* πŸ“Ž **Attachments!** Add, upload and view event attachments\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", "homepage": "https://github.com/nextcloud/calendar/", "licenses": [ "agpl" ] }, "collectives": { - "hash": "sha256-U6EQumuN7b309JtaWwdbluQcK7Gpt5O6q9fJu6qyVhE=", - "url": "https://github.com/nextcloud/collectives/releases/download/v2.17.0/collectives-2.17.0.tar.gz", - "version": "2.17.0", + "hash": "sha256-RCpIfoSmYahIo03IumJwEn/06ZeqOhJ/ov5WKGvwcUA=", + "url": "https://github.com/nextcloud/collectives/releases/download/v2.18.0/collectives-2.18.0.tar.gz", + "version": "2.18.0", "description": "Collectives is a Nextcloud App for activist and community projects to organize together.\nCome and gather in collectives to build shared knowledge.\n\n* πŸ‘₯ **Collective and non-hierarchical workflow by heart**: Collectives are\n tied to a [Nextcloud Team](https://github.com/nextcloud/circles) and\n owned by the collective.\n* πŸ“ **Collaborative page editing** like known from Etherpad thanks to the\n [Text app](https://github.com/nextcloud/text).\n* πŸ”€ **Well-known [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax**\n for page formatting.\n\n## Installation\n\nIn your Nextcloud instance, simply navigate to **Β»AppsΒ«**, find the\n**Β»TeamsΒ«** and **Β»CollectivesΒ«** apps and enable them.", "homepage": "https://github.com/nextcloud/collectives", "licenses": [ @@ -40,9 +40,9 @@ ] }, "contacts": { - "hash": "sha256-OYObGIEAViBMWesL/kNv4FHO7SSa73rdVjklwuyPSrY=", - "url": "https://github.com/nextcloud-releases/contacts/releases/download/v7.1.0/contacts-v7.1.0.tar.gz", - "version": "7.1.0", + "hash": "sha256-uT1QOZpuKvsrnZWYbaQUhUdM49xdIivotFe6FAz330I=", + "url": "https://github.com/nextcloud-releases/contacts/releases/download/v7.1.3/contacts-v7.1.3.tar.gz", + "version": "7.1.3", "description": "The Nextcloud contacts app is a user interface for Nextcloud's CardDAV server. Easily sync contacts from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Mail and Calendar – more to come.\n* πŸŽ‰ **Never forget a birthday!** You can sync birthdays and other recurring events with your Nextcloud Calendar.\n* πŸ‘₯ **Sharing of Adressbooks!** You want to share your contacts with your friends or coworkers? No problem!\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great and open SabreDAV library.", "homepage": "https://github.com/nextcloud/contacts#readme", "licenses": [ @@ -83,7 +83,7 @@ "hash": "sha256-ZPVvr84WTiZRobgWeagHCYxpfoVyRQgF8YIbwUoDpWo=", "url": "https://github.com/nextcloud-releases/end_to_end_encryption/releases/download/v1.16.2/end_to_end_encryption-v1.16.2.tar.gz", "version": "1.16.2", - "description": "This app provides all the necessary APIs to implement End-to-End encryption on the client side.\nAdditionally it implements Secure FileDrop and makes sure that End-to-End encrypted files are neither accessible via the web interface nor other WebDAV clients.", + "description": "Provides the necessary endpoint to enable end-to-end encryption.\n\n**Notice:** E2EE is currently not compatible to be used together with server-side encryption", "homepage": "https://github.com/nextcloud/end_to_end_encryption", "licenses": [ "agpl" @@ -190,9 +190,9 @@ ] }, "mail": { - "hash": "sha256-uDig7ySWlx7WqYzjB9H45p3a9EfUFxY3Es0dso6uQJs=", - "url": "https://github.com/nextcloud-releases/mail/releases/download/v5.0.7/mail-v5.0.7.tar.gz", - "version": "5.0.7", + "hash": "sha256-P2LeJOjCR6ufq26gz4aK/Xy359vwnD2TZJodn/YfXcU=", + "url": "https://github.com/nextcloud-releases/mail/releases/download/v5.1.3/mail-v5.1.3.tar.gz", + "version": "5.1.3", "description": "**πŸ’Œ A mail app for Nextcloud**\n\n- **πŸš€ Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.\n- **πŸ“₯ Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox. Connect any IMAP account.\n- **πŸ”’ Send & receive encrypted mails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.\n- **πŸ™ˆ We’re not reinventing the wheel!** Based on the great [Horde](https://www.horde.org) libraries.\n- **πŸ“¬ Want to host your own mail server?** We do not have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)!\n\n## Ethical AI Rating\n\n### Priority Inbox\n\nPositive:\n* The software for training and inferencing of this model is open source.\n* The model is created and trained on-premises based on the user's own data.\n* The training data is accessible to the user, making it possible to check or correct for bias or optimise the performance and CO2 usage.\n\n### Thread Summaries (opt-in)\n\n**Rating:** 🟒/🟑/🟠/πŸ”΄\n\nThe rating depends on the installed text processing backend. See [the rating overview](https://docs.nextcloud.com/server/latest/admin_manual/ai/index.html) for details.\n\nLearn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).", "homepage": "https://github.com/nextcloud/mail#readme", "licenses": [ @@ -230,9 +230,9 @@ ] }, "news": { - "hash": "sha256-trXnDSSFyr5HKXaS1S3XrlSAUiiT+8B+kP0lg+exLcs=", - "url": "https://github.com/nextcloud/news/releases/download/25.3.1/news.tar.gz", - "version": "25.3.1", + "hash": "sha256-T/ZKL4YWw0ai7mZ9gm91BUl6Md6hyTakYgKsarSYO4k=", + "url": "https://github.com/nextcloud/news/releases/download/26.0.1/news.tar.gz", + "version": "26.0.1", "description": "πŸ“° A RSS/Atom Feed reader App for Nextcloud\n\n- πŸ“² Synchronize your feeds with multiple mobile or desktop [clients](https://nextcloud.github.io/news/clients/)\n- πŸ”„ Automatic updates of your news feeds\n- πŸ†“ Free and open source under AGPLv3, no ads or premium functions\n\n**System Cron is currently required for this app to work**\n\nRequirements can be found [here](https://nextcloud.github.io/news/install/#dependencies)\n\nThe Changelog is available [here](https://github.com/nextcloud/news/blob/master/CHANGELOG.md)\n\nCreate a [bug report](https://github.com/nextcloud/news/issues/new/choose)\n\nCreate a [feature request](https://github.com/nextcloud/news/discussions/new)\n\nReport a [feed issue](https://github.com/nextcloud/news/discussions/new)", "homepage": "https://github.com/nextcloud/news", "licenses": [ @@ -240,9 +240,9 @@ ] }, "notes": { - "hash": "sha256-UdqK6DiC67YPcy84wFEZaT8AQLDhhNndLiEesQeBY7M=", - "url": "https://github.com/nextcloud-releases/notes/releases/download/v4.12.0/notes-v4.12.0.tar.gz", - "version": "4.12.0", + "hash": "sha256-/Zym7bNotcdradtR3cG+rIaAH9jZs+/3PCP7zXS6WJo=", + "url": "https://github.com/nextcloud-releases/notes/releases/download/v4.12.1/notes-v4.12.1.tar.gz", + "version": "4.12.1", "description": "The Notes app is a distraction free notes taking app for [Nextcloud](https://www.nextcloud.com/). It provides categories for better organization and supports formatting using [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax. Notes are saved as files in your Nextcloud, so you can view and edit them with every Nextcloud client. Furthermore, a separate [REST API](https://github.com/nextcloud/notes/blob/master/docs/api/README.md) allows for an easy integration into apps ([Android](https://github.com/nextcloud/notes-android), [iOS](https://github.com/nextcloud/notes-ios), as well as [3rd-party apps](https://github.com/nextcloud/notes/wiki#3rd-party-clients) which allow convenient access to your Nextcloud notes). Further features include marking notes as favorites.", "homepage": "https://github.com/nextcloud/notes", "licenses": [ @@ -260,9 +260,9 @@ ] }, "onlyoffice": { - "hash": "sha256-lOkVGOo2ylTaRVDFGD31DMUb3IbteWgFkHEj0Ox0D84=", - "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.8.0/onlyoffice.tar.gz", - "version": "9.8.0", + "hash": "sha256-Nj8siAeNyN/lyq+K5y92ZXMqRLmhawtR9Q6b5dq7LL0=", + "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.9.0/onlyoffice.tar.gz", + "version": "9.9.0", "description": "ONLYOFFICE app allows you to view, edit and collaborate on text documents, spreadsheets and presentations within Nextcloud using ONLYOFFICE Docs. This will create a new Edit in ONLYOFFICE action within the document library for Office documents. This allows multiple users to co-author documents in real time from the familiar web interface and save the changes back to your file storage.", "homepage": "https://www.onlyoffice.com", "licenses": [ @@ -280,9 +280,9 @@ ] }, "polls": { - "hash": "sha256-zatPm8JY1WkeO2Uvm9BUVPXrJp0df12jspqSNNuZVh0=", - "url": "https://github.com/nextcloud-releases/polls/releases/download/v7.4.2/polls-v7.4.2.tar.gz", - "version": "7.4.2", + "hash": "sha256-AJUC5UIz6xY75cEJHfNjhUm9K9HnXWMokt9gIOcq8vI=", + "url": "https://github.com/nextcloud-releases/polls/releases/download/v7.4.3/polls-v7.4.3.tar.gz", + "version": "7.4.3", "description": "A polls app, similar to Doodle/Dudle with the possibility to restrict access (members, certain groups/users, hidden and public).", "homepage": "https://github.com/nextcloud/polls", "licenses": [ @@ -340,19 +340,19 @@ ] }, "sociallogin": { - "hash": "sha256-DNf48YmVJ49v+lynTCIBTZhPi/S1mjyIF5OWf+UVKeY=", - "url": "https://github.com/zorn-v/nextcloud-social-login/releases/download/v6.0.1/release.tar.gz", - "version": "6.0.1", - "description": "# Social login\n\nMake possible create users and login via Telegram, OAuth or OpenID\n\nFor OAuth you must create app for certain providers. Login button appear at login page if app id specified. Settings are in \"Social login\" section of settings page.\n\n## Installation\n\nLogin to your NextCloud installation as an administrator and under \"Apps\" click \"Download and enable\" next to the \"Social Login\" app.\n\nSee below for setup and configuration instructions.\n\n\n\n## Custom OAuth2/OIDC groups\n\nYou can use groups from your custom provider. For that you should specify \"Groups claim\" in custom OAuth2/OIDC provider settings. That claim should be returned from provider in `id_token` or at user info endpoint. Format should be `array` or comma separated string. Eg (with claim named `roles`)\n\n```json\n{\"roles\": [\"admin\", \"user\"]}\n```\nor\n```json\n{\"roles\": \"admin,user\"}\n```\n\nAlso nested claims is supported. For example `resource_access.client-id.roles` for\n\n```json\n\"resource_access\": {\n \"client-id\": {\n \"roles\": [\n \"client-role-1\",\n \"client-role-2\"\n ]\n }\n}\n```\n\nThere is also support for setting the displayName:\n```\n{\"roles\": [{gid: 1, displayName: \"admin\"}, {gid: 2, displayName: \"user\"}]}\n```\n\n\nYou can use provider groups in two ways:\n\n1. Map provider groups to existing nextcloud groups\n2. Create provider groups in nextcloud and associate it to user (if appropriate option specified)\n\nIf you want sync groups on every login do not forget to check \"Update user profile every login\" setting\n\n## Examples for groups\n\n* You can find example how to configure WSO2IS for return roles claim with OIDC [here](https://medium.com/@dewni.matheesha/claim-mapping-and-retrieving-end-user-information-in-wso2is-cffd5f3937ff)\n* [GitLab OIDC allowing specific GitLab groups](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/gitlab.md)\n\n## Built-in OAuth providers\n\nYou can copy link of certain login button to get proper \"redirect url\" for OAuth app setting.\n\n* [Google](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/google.md)\n* [Amazon](https://developer.amazon.com/loginwithamazon/console/site/lwa/overview.html)\n* [Facebook](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/facebook.md)\n* [Twitter](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/twitter.md)\n* [GitHub](https://github.com/settings/developers)\n* [Discord](#configure-discord)\n* [Telegram](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/telegram.md)\n* PlexTv - you can use any title as app id\n* [Codeberg](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/codeberg.md)\n\nDetails about \"Allow login only from specified domain\" google setting you can find here [#44](https://github.com/zorn-v/nextcloud-social-login/issues/44)\nYou can use comma separated list for multiple domains\n\n## Config\n\nYou can use `'social_login_auto_redirect' => true` setting in `config.php` for auto redirect unauthorized users to social login if only one provider is configured.\nIf you want to temporary disable this function (e.g. for login as local admin), you can add `noredir=1` query parameter in url for login page. Something like `https://cloud.domain.com/login?noredir=1`\n\nTo set options for http client, you can use\n```php\n 'social_login_http_client' => [\n 'timeout' => 45,\n 'proxy' => 'socks4://127.0.0.1:9050', // Check https://curl.se/libcurl/c/CURLOPT_PROXY.html for allowed variants\n ],\n```\nin `config.php`\n\n### Configurate a provider via CLI\n\nYou can configure everything from commandline by using the occ utility. To setup a oidc-provider replace the variables and URLs with values that match your deployment.\n```bash\nphp occ config:app:set sociallogin custom_providers --value='{\"custom_oidc\": [{\"name\": \"gitlab_oidc\", \"title\": \"Gitlab\", \"authorizeUrl\": \"https://gitlab.my-domain.org/oauth/authorize\", \"tokenUrl\": \"https://gitlab.my-domain.org/oauth/token\", \"userInfoUrl\": \"https://gitlab.my-domain.org/oauth/userinfo\", \"logoutUrl\": \"\", \"clientId\": \"$my_application_id\", \"clientSecret\": \"$my_super_secret_secret\", \"scope\": \"openid\", \"groupsClaim\": \"groups\", \"style\": \"gitlab\", \"defaultGroup\": \"\"}]}'\n```\nto do this with docker you just need to add `docker exec -t -uwww-data CONTAINER_NAME` in front of the command, or run it interactively from `docker exec -it -uwww-data CONTAINER_NAME sh`\n\nTo find out how to configure other providers, just configure them in the GUI and take a look at the database afterwards:\n```\nmysql -u nextcloud -p nextcloud\nPassword: \n\n> SELECT * FROM oc_appconfig WHERE appid='sociallogin';\n```\n\nOr just run\n\n`docker exec -t -uwww-data CONTAINER_NAME php occ config:app:get sociallogin custom_providers`\n\n### Configure Discord\n\nTo properly configure discord you have to:\n\n1. Create new discord application on [DiscordApp developers](https://discordapp.com/developers/applications/me#top)\n2. Open tab `Settings -> OAuth2 -> General`. In `Redirects` add new redirection link looking like this: `https://nextcloud.mydomain.com/apps/sociallogin/oauth/discord`.\n3. Copy `CLIENT ID` and generate and copy `CLIENT SECRET`\n4. Open in Nextcloud `Settings -> Social Login` and paste `CLIENT ID` into field `App id` and `CLIENT SECRET` into `Secret`.\n5. Select default group for users created this way.\n6. For group mapping check [#395](https://github.com/zorn-v/nextcloud-social-login/pull/395)\n\n## Hint\n\n### About Callback(Reply) Url\nYou can copy link from specific login button on login page and paste it on provider's website as callback url. To make proper button visible, just fill certain provider settings with random data and change it later.\n\nSome users may get strange reply(Callback) url error from provider even if you pasted the right url, that's because your nextcloud server may generate http urls when you are actually using https.\nPlease set 'overwriteprotocol' => 'https', in your config.php file.", + "hash": "sha256-wNDmu4IdpjZSw3ppWJpQ13q7/2l5B71m76Lzs/SHkkY=", + "url": "https://github.com/zorn-v/nextcloud-social-login/releases/download/v6.0.2/release.tar.gz", + "version": "6.0.2", + "description": "# Social Login\n\nMake it possible to create users and log in via Telegram, OAuth, or OpenID.\n\nFor OAuth, you must create an app with certain providers. Login buttons will appear on the login page if an app ID is specified. Settings are located in the \"Social login\" section of the settings page.\n\n## Installation\n\nLog in to your Nextcloud installation as an administrator. Under \"Apps\", click \"Download and enable\" next to the \"Social Login\" app.\n\nSee below for setup and configuration instructions.\n\n## Custom OAuth2/OIDC Groups\n\nYou can use groups from your custom provider. For this, specify the \"Groups claim\" in the custom OAuth2/OIDC provider settings. This claim should be returned from the provider in the `id_token` or at the user info endpoint. The format should be an `array` or a comma-separated string. E.g., (with a claim named `roles`):\n\n```json\n{\"roles\": [\"admin\", \"user\"]}\n```\nor\n```json\n{\"roles\": \"admin,user\"}\n```\n\nNested claims are also supported. For example, `resource_access.client-id.roles` for:\n\n```json\n\"resource_access\": {\n \"client-id\": {\n \"roles\": [\n \"client-role-1\",\n \"client-role-2\"\n ]\n }\n}\n```\n\n**DisplayName** support is also available:\n```json\n{\"roles\": [{\"gid\": 1, \"displayName\": \"admin\"}, {\"gid\": 2, \"displayName\": \"user\"}]}\n```\n\nYou can use provider groups in two ways:\n\n1. Map provider groups to existing Nextcloud groups.\n2. Create provider groups in Nextcloud and associate them with users (if the appropriate option is enabled).\n\nTo sync groups on every login, ensure the \"Update user profile every login\" setting is checked.\n\n## Examples for Groups\n\n* Configure WSO2IS to return a roles claim with OIDC [here](https://medium.com/@dewni.matheesha/claim-mapping-and-retrieving-end-user-information-in-wso2is-cffd5f3937ff).\n* [GitLab OIDC configuration to allow specific GitLab groups](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/gitlab.md).\n\n## Built-in OAuth Providers\n\nCopy the link from a specific login button to get the correct \"redirect URL\" for OAuth app settings.\n\n* [Amazon](https://developer.amazon.com/loginwithamazon/console/site/lwa/overview.html)\n* [Apple](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/apple.md)\n* [Codeberg](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/codeberg.md)\n* [Discord](#configure-discord)\n* [Facebook](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/facebook.md)\n* [GitHub](https://github.com/settings/developers)\n* [GitLab](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/gitlab.md)\n* [Google](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/google.md)\n* [Keycloak](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/keycloak.md)\n* [Mail.ru](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/mailru.md)\n* **PlexTv**: Use any title as the app ID.\n* [Telegram](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/telegram.md)\n* [Twitter](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/twitter.md)\n\nFor details about Google's \"Allow login only from specified domain\" setting, see [#44](https://github.com/zorn-v/nextcloud-social-login/issues/44). Use a comma-separated list for multiple domains.\n\n## Configuration\n\nAdd `'social_login_auto_redirect' => true` to `config.php` to automatically redirect unauthorized users to social login if only one provider is configured. To temporarily disable this (e.g., for local admin login), add `noredir=1` to the login URL: `https://cloud.domain.com/login?noredir=1`.\n\nConfigure HTTP client options using:\n```php\n 'social_login_http_client' => [\n 'timeout' => 45,\n 'proxy' => 'socks4://127.0.0.1:9050', // See for allowed formats\n ],\n```\nin `config.php`.\n\n### Configure a Provider via CLI\n\nUse the `occ` utility to configure providers via the command line. Replace variables and URLs with your deployment values:\n```bash\nphp occ config:app:set sociallogin custom_providers --value='{\"custom_oidc\": [{\"name\": \"gitlab_oidc\", \"title\": \"Gitlab\", \"authorizeUrl\": \"https://gitlab.my-domain.org/oauth/authorize\", \"tokenUrl\": \"https://gitlab.my-domain.org/oauth/token\", \"userInfoUrl\": \"https://gitlab.my-domain.org/oauth/userinfo\", \"logoutUrl\": \"\", \"clientId\": \"$my_application_id\", \"clientSecret\": \"$my_super_secret_secret\", \"scope\": \"openid\", \"groupsClaim\": \"groups\", \"style\": \"gitlab\", \"defaultGroup\": \"\"}]}'\n```\nFor Docker, prepend `docker exec -t -uwww-data CONTAINER_NAME` to the command or run interactively via `docker exec -it -uwww-data CONTAINER_NAME sh`.\n\nTo inspect configurations:\n```sql\nmysql -u nextcloud -p nextcloud\nPassword: \n\n> SELECT * FROM oc_appconfig WHERE appid='sociallogin';\n```\nOr run:\n```bash\ndocker exec -t -uwww-data CONTAINER_NAME php occ config:app:get sociallogin custom_providers\n```\n\n### Configure Discord\n\n1. Create a Discord application at [Discord Developer Portal](https://discord.com/developers/applications).\n2. Navigate to `Settings > OAuth2 > General`. Add a redirect URL: `https://nextcloud.mydomain.com/apps/sociallogin/oauth/discord`.\n3. Copy the `CLIENT ID` and generate a `CLIENT SECRET`.\n4. In Nextcloud, go to `Settings > Social Login`. Paste the `CLIENT ID` into \"App id\" and `CLIENT SECRET` into \"Secret\".\n5. Select a default group for new users.\n6. For group mapping, see [#395](https://github.com/zorn-v/nextcloud-social-login/pull/395).\n\n## Hint\n\n### Callback (Reply) URL\nCopy the link from a login button on the Nextcloud login page and use it as the callback URL on your provider's site. To make the button visible temporarily, fill provider settings with placeholder data and update later.\n\nIf you encounter callback URL errors despite correct settings, ensure your Nextcloud server generates HTTPS URLs by adding `'overwriteprotocol' => 'https'` to `config.php`.", "homepage": "https://github.com/zorn-v/nextcloud-social-login", "licenses": [ "agpl" ] }, "spreed": { - "hash": "sha256-KldJD49vxL1cRxsS8eOXTc0uYfj8ctChEwYMKicfJgY=", - "url": "https://github.com/nextcloud-releases/spreed/releases/download/v20.1.6/spreed-v20.1.6.tar.gz", - "version": "20.1.6", + "hash": "sha256-C3TLD6tZa++H6Kg0X5gz2kyJQVitXJoQ5rUccyX4N8w=", + "url": "https://github.com/nextcloud-releases/spreed/releases/download/v20.1.7/spreed-v20.1.7.tar.gz", + "version": "20.1.7", "description": "Chat, video & audio-conferencing using WebRTC\n\n* πŸ’¬ **Chat** Nextcloud Talk comes with a simple text chat, allowing you to share or upload files from your Nextcloud Files app or local device and mention other participants.\n* πŸ‘₯ **Private, group, public and password protected calls!** Invite someone, a whole group or send a public link to invite to a call.\n* 🌐 **Federated chats** Chat with other Nextcloud users on their servers\n* πŸ’» **Screen sharing!** Share your screen with the participants of your call.\n* πŸš€ **Integration with other Nextcloud apps** like Files, Calendar, User status, Dashboard, Flow, Maps, Smart picker, Contacts, Deck, and many more.\n* πŸŒ‰ **Sync with other chat solutions** With [Matterbridge](https://github.com/42wim/matterbridge/) being integrated in Talk, you can easily sync a lot of other chat solutions to Nextcloud Talk and vice-versa.", "homepage": "https://github.com/nextcloud/spreed", "licenses": [ @@ -380,9 +380,9 @@ ] }, "twofactor_webauthn": { - "hash": "sha256-16Silofm/alQaKZ2buNqyLEjKK2kR2IpTAxEawHpGjI=", - "url": "https://github.com/nextcloud-releases/twofactor_webauthn/releases/download/v2.1.0/twofactor_webauthn-v2.1.0.tar.gz", - "version": "2.1.0", + "hash": "sha256-cfityMvl6BLsxkGkR3Mm61AZsykC7KjDkDRIyFAQP4c=", + "url": "https://github.com/nextcloud-releases/twofactor_webauthn/releases/download/v2.2.0/twofactor_webauthn-v2.2.0.tar.gz", + "version": "2.2.0", "description": "A two-factor provider for WebAuthn devices", "homepage": "https://github.com/nextcloud/twofactor_webauthn#readme", "licenses": [ @@ -400,9 +400,9 @@ ] }, "unsplash": { - "hash": "sha256-hUKpIGvu7aX45Pz/xCssOuyZ7E+kJ4cmqhhycX5DG6A=", - "url": "https://github.com/nextcloud/unsplash/releases/download/v3.0.3/unsplash.tar.gz", - "version": "3.0.3", + "hash": "sha256-j0cQem+KLQFxj19DIqK6wqYYDs31V1VfVobH5JZ89RM=", + "url": "https://github.com/nextcloud-releases/unsplash/releases/download/v3.1.0/unsplash-v3.1.0.tar.gz", + "version": "3.1.0", "description": "Show a new random featured nature photo in your nextcloud. Now with choosable motives!", "homepage": "https://github.com/nextcloud/unsplash/", "licenses": [ diff --git a/pkgs/servers/nextcloud/packages/31.json b/pkgs/servers/nextcloud/packages/31.json index baaaf516b433..dfa8dbdd3f90 100644 --- a/pkgs/servers/nextcloud/packages/31.json +++ b/pkgs/servers/nextcloud/packages/31.json @@ -20,19 +20,19 @@ ] }, "calendar": { - "hash": "sha256-z/BMKay9Fj+aIypPA9cbEJ6dcB03oGPhy2TSGHJeRz0=", - "url": "https://github.com/nextcloud-releases/calendar/releases/download/v5.2.4/calendar-v5.2.4.tar.gz", - "version": "5.2.4", - "description": "The Calendar app is a user interface for Nextcloud's CalDAV server. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Contacts - more to come.\n* 🌐 **WebCal Support!** Want to see your favorite team’s matchdays in your calendar? No problem!\n* πŸ™‹ **Attendees!** Invite people to your events\n* ⌚️ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* πŸ” Search! Find your events at ease\n* β˜‘οΈ Tasks! See tasks with a due date directly in the calendar\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", + "hash": "sha256-vsqyTtHDTjB4POwQyDtlAPnb8nBQw0ZTBnBUqP4Kw9A=", + "url": "https://github.com/nextcloud-releases/calendar/releases/download/v5.3.2/calendar-v5.3.2.tar.gz", + "version": "5.3.2", + "description": "A Calendar app for Nextcloud. Easily sync events from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Like Contacts, Talk, Tasks, Deck and Circles\n* 🌐 **WebCal Support!** Want to see your favorite team's matchdays in your calendar? No problem!\n* πŸ™‹ **Attendees!** Invite people to your events\n* ⌚ **Free/Busy!** See when your attendees are available to meet\n* ⏰ **Reminders!** Get alarms for events inside your browser and via email\n* πŸ” **Search!** Find your events at ease\n* β˜‘οΈ **Tasks!** See tasks or Deck cards with a due date directly in the calendar\n* πŸ”ˆ **Talk rooms!** Create an associated Talk room when booking a meeting with just one click\n* πŸ“† **Appointment booking** Send people a link so they can book an appointment with you [using this app](https://apps.nextcloud.com/apps/appointments)\n* πŸ“Ž **Attachments!** Add, upload and view event attachments\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great [c-dav library](https://github.com/nextcloud/cdav-library), [ical.js](https://github.com/mozilla-comm/ical.js) and [fullcalendar](https://github.com/fullcalendar/fullcalendar) libraries.", "homepage": "https://github.com/nextcloud/calendar/", "licenses": [ "agpl" ] }, "collectives": { - "hash": "sha256-U6EQumuN7b309JtaWwdbluQcK7Gpt5O6q9fJu6qyVhE=", - "url": "https://github.com/nextcloud/collectives/releases/download/v2.17.0/collectives-2.17.0.tar.gz", - "version": "2.17.0", + "hash": "sha256-RCpIfoSmYahIo03IumJwEn/06ZeqOhJ/ov5WKGvwcUA=", + "url": "https://github.com/nextcloud/collectives/releases/download/v2.18.0/collectives-2.18.0.tar.gz", + "version": "2.18.0", "description": "Collectives is a Nextcloud App for activist and community projects to organize together.\nCome and gather in collectives to build shared knowledge.\n\n* πŸ‘₯ **Collective and non-hierarchical workflow by heart**: Collectives are\n tied to a [Nextcloud Team](https://github.com/nextcloud/circles) and\n owned by the collective.\n* πŸ“ **Collaborative page editing** like known from Etherpad thanks to the\n [Text app](https://github.com/nextcloud/text).\n* πŸ”€ **Well-known [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax**\n for page formatting.\n\n## Installation\n\nIn your Nextcloud instance, simply navigate to **Β»AppsΒ«**, find the\n**Β»TeamsΒ«** and **Β»CollectivesΒ«** apps and enable them.", "homepage": "https://github.com/nextcloud/collectives", "licenses": [ @@ -40,9 +40,9 @@ ] }, "contacts": { - "hash": "sha256-OYObGIEAViBMWesL/kNv4FHO7SSa73rdVjklwuyPSrY=", - "url": "https://github.com/nextcloud-releases/contacts/releases/download/v7.1.0/contacts-v7.1.0.tar.gz", - "version": "7.1.0", + "hash": "sha256-uT1QOZpuKvsrnZWYbaQUhUdM49xdIivotFe6FAz330I=", + "url": "https://github.com/nextcloud-releases/contacts/releases/download/v7.1.3/contacts-v7.1.3.tar.gz", + "version": "7.1.3", "description": "The Nextcloud contacts app is a user interface for Nextcloud's CardDAV server. Easily sync contacts from various devices with your Nextcloud and edit them online.\n\n* πŸš€ **Integration with other Nextcloud apps!** Currently Mail and Calendar – more to come.\n* πŸŽ‰ **Never forget a birthday!** You can sync birthdays and other recurring events with your Nextcloud Calendar.\n* πŸ‘₯ **Sharing of Adressbooks!** You want to share your contacts with your friends or coworkers? No problem!\n* πŸ™ˆ **We’re not reinventing the wheel!** Based on the great and open SabreDAV library.", "homepage": "https://github.com/nextcloud/contacts#readme", "licenses": [ @@ -83,7 +83,7 @@ "hash": "sha256-Wojv/UzDT9v9bVaC8K7GqaQYVTE4GoRG2ztHALZktLk=", "url": "https://github.com/nextcloud-releases/end_to_end_encryption/releases/download/v1.17.0/end_to_end_encryption-v1.17.0.tar.gz", "version": "1.17.0", - "description": "This app provides all the necessary APIs to implement End-to-End encryption on the client side.\nAdditionally it implements Secure FileDrop and makes sure that End-to-End encrypted files are neither accessible via the web interface nor other WebDAV clients.", + "description": "Provides the necessary endpoint to enable end-to-end encryption.\n\n**Notice:** E2EE is currently not compatible to be used together with server-side encryption", "homepage": "https://github.com/nextcloud/end_to_end_encryption", "licenses": [ "agpl" @@ -140,9 +140,9 @@ ] }, "groupfolders": { - "hash": "sha256-lFIXNbBqdRHEvNFu2P68IF4v0+E4rFWLdRJYWm3RM/k=", - "url": "https://github.com/nextcloud-releases/groupfolders/releases/download/v19.0.4/groupfolders-v19.0.4.tar.gz", - "version": "19.0.4", + "hash": "sha256-GEM5Xw8J2xFOTf9AOlOttVXo25E/x4foT9493J9ZIf4=", + "url": "https://github.com/nextcloud-releases/groupfolders/releases/download/v19.1.0/groupfolders-v19.1.0.tar.gz", + "version": "19.1.0", "description": "Admin configured folders shared with everyone in a team.\n\nFolders can be configured from *Team folders* in the admin settings.\n\nAfter a folder is created, the admin can give access to the folder to one or more teams, control their write/sharing permissions and assign a quota for the folder.", "homepage": "https://github.com/nextcloud/groupfolders", "licenses": [ @@ -190,9 +190,9 @@ ] }, "mail": { - "hash": "sha256-uDig7ySWlx7WqYzjB9H45p3a9EfUFxY3Es0dso6uQJs=", - "url": "https://github.com/nextcloud-releases/mail/releases/download/v5.0.7/mail-v5.0.7.tar.gz", - "version": "5.0.7", + "hash": "sha256-P2LeJOjCR6ufq26gz4aK/Xy359vwnD2TZJodn/YfXcU=", + "url": "https://github.com/nextcloud-releases/mail/releases/download/v5.1.3/mail-v5.1.3.tar.gz", + "version": "5.1.3", "description": "**πŸ’Œ A mail app for Nextcloud**\n\n- **πŸš€ Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.\n- **πŸ“₯ Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox. Connect any IMAP account.\n- **πŸ”’ Send & receive encrypted mails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.\n- **πŸ™ˆ We’re not reinventing the wheel!** Based on the great [Horde](https://www.horde.org) libraries.\n- **πŸ“¬ Want to host your own mail server?** We do not have to reimplement this as you could set up [Mail-in-a-Box](https://mailinabox.email)!\n\n## Ethical AI Rating\n\n### Priority Inbox\n\nPositive:\n* The software for training and inferencing of this model is open source.\n* The model is created and trained on-premises based on the user's own data.\n* The training data is accessible to the user, making it possible to check or correct for bias or optimise the performance and CO2 usage.\n\n### Thread Summaries (opt-in)\n\n**Rating:** 🟒/🟑/🟠/πŸ”΄\n\nThe rating depends on the installed text processing backend. See [the rating overview](https://docs.nextcloud.com/server/latest/admin_manual/ai/index.html) for details.\n\nLearn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).", "homepage": "https://github.com/nextcloud/mail#readme", "licenses": [ @@ -230,9 +230,9 @@ ] }, "news": { - "hash": "sha256-trXnDSSFyr5HKXaS1S3XrlSAUiiT+8B+kP0lg+exLcs=", - "url": "https://github.com/nextcloud/news/releases/download/25.3.1/news.tar.gz", - "version": "25.3.1", + "hash": "sha256-T/ZKL4YWw0ai7mZ9gm91BUl6Md6hyTakYgKsarSYO4k=", + "url": "https://github.com/nextcloud/news/releases/download/26.0.1/news.tar.gz", + "version": "26.0.1", "description": "πŸ“° A RSS/Atom Feed reader App for Nextcloud\n\n- πŸ“² Synchronize your feeds with multiple mobile or desktop [clients](https://nextcloud.github.io/news/clients/)\n- πŸ”„ Automatic updates of your news feeds\n- πŸ†“ Free and open source under AGPLv3, no ads or premium functions\n\n**System Cron is currently required for this app to work**\n\nRequirements can be found [here](https://nextcloud.github.io/news/install/#dependencies)\n\nThe Changelog is available [here](https://github.com/nextcloud/news/blob/master/CHANGELOG.md)\n\nCreate a [bug report](https://github.com/nextcloud/news/issues/new/choose)\n\nCreate a [feature request](https://github.com/nextcloud/news/discussions/new)\n\nReport a [feed issue](https://github.com/nextcloud/news/discussions/new)", "homepage": "https://github.com/nextcloud/news", "licenses": [ @@ -240,9 +240,9 @@ ] }, "notes": { - "hash": "sha256-UdqK6DiC67YPcy84wFEZaT8AQLDhhNndLiEesQeBY7M=", - "url": "https://github.com/nextcloud-releases/notes/releases/download/v4.12.0/notes-v4.12.0.tar.gz", - "version": "4.12.0", + "hash": "sha256-/Zym7bNotcdradtR3cG+rIaAH9jZs+/3PCP7zXS6WJo=", + "url": "https://github.com/nextcloud-releases/notes/releases/download/v4.12.1/notes-v4.12.1.tar.gz", + "version": "4.12.1", "description": "The Notes app is a distraction free notes taking app for [Nextcloud](https://www.nextcloud.com/). It provides categories for better organization and supports formatting using [Markdown](https://en.wikipedia.org/wiki/Markdown) syntax. Notes are saved as files in your Nextcloud, so you can view and edit them with every Nextcloud client. Furthermore, a separate [REST API](https://github.com/nextcloud/notes/blob/master/docs/api/README.md) allows for an easy integration into apps ([Android](https://github.com/nextcloud/notes-android), [iOS](https://github.com/nextcloud/notes-ios), as well as [3rd-party apps](https://github.com/nextcloud/notes/wiki#3rd-party-clients) which allow convenient access to your Nextcloud notes). Further features include marking notes as favorites.", "homepage": "https://github.com/nextcloud/notes", "licenses": [ @@ -260,9 +260,9 @@ ] }, "onlyoffice": { - "hash": "sha256-lOkVGOo2ylTaRVDFGD31DMUb3IbteWgFkHEj0Ox0D84=", - "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.8.0/onlyoffice.tar.gz", - "version": "9.8.0", + "hash": "sha256-Nj8siAeNyN/lyq+K5y92ZXMqRLmhawtR9Q6b5dq7LL0=", + "url": "https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases/download/v9.9.0/onlyoffice.tar.gz", + "version": "9.9.0", "description": "ONLYOFFICE app allows you to view, edit and collaborate on text documents, spreadsheets and presentations within Nextcloud using ONLYOFFICE Docs. This will create a new Edit in ONLYOFFICE action within the document library for Office documents. This allows multiple users to co-author documents in real time from the familiar web interface and save the changes back to your file storage.", "homepage": "https://www.onlyoffice.com", "licenses": [ @@ -280,9 +280,9 @@ ] }, "polls": { - "hash": "sha256-zatPm8JY1WkeO2Uvm9BUVPXrJp0df12jspqSNNuZVh0=", - "url": "https://github.com/nextcloud-releases/polls/releases/download/v7.4.2/polls-v7.4.2.tar.gz", - "version": "7.4.2", + "hash": "sha256-AJUC5UIz6xY75cEJHfNjhUm9K9HnXWMokt9gIOcq8vI=", + "url": "https://github.com/nextcloud-releases/polls/releases/download/v7.4.3/polls-v7.4.3.tar.gz", + "version": "7.4.3", "description": "A polls app, similar to Doodle/Dudle with the possibility to restrict access (members, certain groups/users, hidden and public).", "homepage": "https://github.com/nextcloud/polls", "licenses": [ @@ -330,9 +330,9 @@ ] }, "richdocuments": { - "hash": "sha256-fxVopw6n+0wU+OMiR3QFw1c/8YrzVMTtFfRharvNl0A=", - "url": "https://github.com/nextcloud-releases/richdocuments/releases/download/v8.6.5/richdocuments-v8.6.5.tar.gz", - "version": "8.6.5", + "hash": "sha256-3tCUe7mXgUpmWSWd1y7uYGc3yBk2C26QLPAOcfsUEjY=", + "url": "https://github.com/nextcloud-releases/richdocuments/releases/download/v8.7.0/richdocuments-v8.7.0.tar.gz", + "version": "8.7.0", "description": "This application can connect to a Collabora Online (or other) server (WOPI-like Client). Nextcloud is the WOPI Host. Please read the documentation to learn more about that.\n\nYou can also edit your documents off-line with the Collabora Office app from the **[Android](https://play.google.com/store/apps/details?id=com.collabora.libreoffice)** and **[iOS](https://apps.apple.com/us/app/collabora-office/id1440482071)** store.", "homepage": "https://collaboraoffice.com/", "licenses": [ @@ -340,19 +340,19 @@ ] }, "sociallogin": { - "hash": "sha256-DNf48YmVJ49v+lynTCIBTZhPi/S1mjyIF5OWf+UVKeY=", - "url": "https://github.com/zorn-v/nextcloud-social-login/releases/download/v6.0.1/release.tar.gz", - "version": "6.0.1", - "description": "# Social login\n\nMake possible create users and login via Telegram, OAuth or OpenID\n\nFor OAuth you must create app for certain providers. Login button appear at login page if app id specified. Settings are in \"Social login\" section of settings page.\n\n## Installation\n\nLogin to your NextCloud installation as an administrator and under \"Apps\" click \"Download and enable\" next to the \"Social Login\" app.\n\nSee below for setup and configuration instructions.\n\n\n\n## Custom OAuth2/OIDC groups\n\nYou can use groups from your custom provider. For that you should specify \"Groups claim\" in custom OAuth2/OIDC provider settings. That claim should be returned from provider in `id_token` or at user info endpoint. Format should be `array` or comma separated string. Eg (with claim named `roles`)\n\n```json\n{\"roles\": [\"admin\", \"user\"]}\n```\nor\n```json\n{\"roles\": \"admin,user\"}\n```\n\nAlso nested claims is supported. For example `resource_access.client-id.roles` for\n\n```json\n\"resource_access\": {\n \"client-id\": {\n \"roles\": [\n \"client-role-1\",\n \"client-role-2\"\n ]\n }\n}\n```\n\nThere is also support for setting the displayName:\n```\n{\"roles\": [{gid: 1, displayName: \"admin\"}, {gid: 2, displayName: \"user\"}]}\n```\n\n\nYou can use provider groups in two ways:\n\n1. Map provider groups to existing nextcloud groups\n2. Create provider groups in nextcloud and associate it to user (if appropriate option specified)\n\nIf you want sync groups on every login do not forget to check \"Update user profile every login\" setting\n\n## Examples for groups\n\n* You can find example how to configure WSO2IS for return roles claim with OIDC [here](https://medium.com/@dewni.matheesha/claim-mapping-and-retrieving-end-user-information-in-wso2is-cffd5f3937ff)\n* [GitLab OIDC allowing specific GitLab groups](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/gitlab.md)\n\n## Built-in OAuth providers\n\nYou can copy link of certain login button to get proper \"redirect url\" for OAuth app setting.\n\n* [Google](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/google.md)\n* [Amazon](https://developer.amazon.com/loginwithamazon/console/site/lwa/overview.html)\n* [Facebook](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/facebook.md)\n* [Twitter](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/twitter.md)\n* [GitHub](https://github.com/settings/developers)\n* [Discord](#configure-discord)\n* [Telegram](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/telegram.md)\n* PlexTv - you can use any title as app id\n* [Codeberg](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/codeberg.md)\n\nDetails about \"Allow login only from specified domain\" google setting you can find here [#44](https://github.com/zorn-v/nextcloud-social-login/issues/44)\nYou can use comma separated list for multiple domains\n\n## Config\n\nYou can use `'social_login_auto_redirect' => true` setting in `config.php` for auto redirect unauthorized users to social login if only one provider is configured.\nIf you want to temporary disable this function (e.g. for login as local admin), you can add `noredir=1` query parameter in url for login page. Something like `https://cloud.domain.com/login?noredir=1`\n\nTo set options for http client, you can use\n```php\n 'social_login_http_client' => [\n 'timeout' => 45,\n 'proxy' => 'socks4://127.0.0.1:9050', // Check https://curl.se/libcurl/c/CURLOPT_PROXY.html for allowed variants\n ],\n```\nin `config.php`\n\n### Configurate a provider via CLI\n\nYou can configure everything from commandline by using the occ utility. To setup a oidc-provider replace the variables and URLs with values that match your deployment.\n```bash\nphp occ config:app:set sociallogin custom_providers --value='{\"custom_oidc\": [{\"name\": \"gitlab_oidc\", \"title\": \"Gitlab\", \"authorizeUrl\": \"https://gitlab.my-domain.org/oauth/authorize\", \"tokenUrl\": \"https://gitlab.my-domain.org/oauth/token\", \"userInfoUrl\": \"https://gitlab.my-domain.org/oauth/userinfo\", \"logoutUrl\": \"\", \"clientId\": \"$my_application_id\", \"clientSecret\": \"$my_super_secret_secret\", \"scope\": \"openid\", \"groupsClaim\": \"groups\", \"style\": \"gitlab\", \"defaultGroup\": \"\"}]}'\n```\nto do this with docker you just need to add `docker exec -t -uwww-data CONTAINER_NAME` in front of the command, or run it interactively from `docker exec -it -uwww-data CONTAINER_NAME sh`\n\nTo find out how to configure other providers, just configure them in the GUI and take a look at the database afterwards:\n```\nmysql -u nextcloud -p nextcloud\nPassword: \n\n> SELECT * FROM oc_appconfig WHERE appid='sociallogin';\n```\n\nOr just run\n\n`docker exec -t -uwww-data CONTAINER_NAME php occ config:app:get sociallogin custom_providers`\n\n### Configure Discord\n\nTo properly configure discord you have to:\n\n1. Create new discord application on [DiscordApp developers](https://discordapp.com/developers/applications/me#top)\n2. Open tab `Settings -> OAuth2 -> General`. In `Redirects` add new redirection link looking like this: `https://nextcloud.mydomain.com/apps/sociallogin/oauth/discord`.\n3. Copy `CLIENT ID` and generate and copy `CLIENT SECRET`\n4. Open in Nextcloud `Settings -> Social Login` and paste `CLIENT ID` into field `App id` and `CLIENT SECRET` into `Secret`.\n5. Select default group for users created this way.\n6. For group mapping check [#395](https://github.com/zorn-v/nextcloud-social-login/pull/395)\n\n## Hint\n\n### About Callback(Reply) Url\nYou can copy link from specific login button on login page and paste it on provider's website as callback url. To make proper button visible, just fill certain provider settings with random data and change it later.\n\nSome users may get strange reply(Callback) url error from provider even if you pasted the right url, that's because your nextcloud server may generate http urls when you are actually using https.\nPlease set 'overwriteprotocol' => 'https', in your config.php file.", + "hash": "sha256-wNDmu4IdpjZSw3ppWJpQ13q7/2l5B71m76Lzs/SHkkY=", + "url": "https://github.com/zorn-v/nextcloud-social-login/releases/download/v6.0.2/release.tar.gz", + "version": "6.0.2", + "description": "# Social Login\n\nMake it possible to create users and log in via Telegram, OAuth, or OpenID.\n\nFor OAuth, you must create an app with certain providers. Login buttons will appear on the login page if an app ID is specified. Settings are located in the \"Social login\" section of the settings page.\n\n## Installation\n\nLog in to your Nextcloud installation as an administrator. Under \"Apps\", click \"Download and enable\" next to the \"Social Login\" app.\n\nSee below for setup and configuration instructions.\n\n## Custom OAuth2/OIDC Groups\n\nYou can use groups from your custom provider. For this, specify the \"Groups claim\" in the custom OAuth2/OIDC provider settings. This claim should be returned from the provider in the `id_token` or at the user info endpoint. The format should be an `array` or a comma-separated string. E.g., (with a claim named `roles`):\n\n```json\n{\"roles\": [\"admin\", \"user\"]}\n```\nor\n```json\n{\"roles\": \"admin,user\"}\n```\n\nNested claims are also supported. For example, `resource_access.client-id.roles` for:\n\n```json\n\"resource_access\": {\n \"client-id\": {\n \"roles\": [\n \"client-role-1\",\n \"client-role-2\"\n ]\n }\n}\n```\n\n**DisplayName** support is also available:\n```json\n{\"roles\": [{\"gid\": 1, \"displayName\": \"admin\"}, {\"gid\": 2, \"displayName\": \"user\"}]}\n```\n\nYou can use provider groups in two ways:\n\n1. Map provider groups to existing Nextcloud groups.\n2. Create provider groups in Nextcloud and associate them with users (if the appropriate option is enabled).\n\nTo sync groups on every login, ensure the \"Update user profile every login\" setting is checked.\n\n## Examples for Groups\n\n* Configure WSO2IS to return a roles claim with OIDC [here](https://medium.com/@dewni.matheesha/claim-mapping-and-retrieving-end-user-information-in-wso2is-cffd5f3937ff).\n* [GitLab OIDC configuration to allow specific GitLab groups](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/gitlab.md).\n\n## Built-in OAuth Providers\n\nCopy the link from a specific login button to get the correct \"redirect URL\" for OAuth app settings.\n\n* [Amazon](https://developer.amazon.com/loginwithamazon/console/site/lwa/overview.html)\n* [Apple](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/apple.md)\n* [Codeberg](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/codeberg.md)\n* [Discord](#configure-discord)\n* [Facebook](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/facebook.md)\n* [GitHub](https://github.com/settings/developers)\n* [GitLab](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/gitlab.md)\n* [Google](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/google.md)\n* [Keycloak](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/keycloak.md)\n* [Mail.ru](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/mailru.md)\n* **PlexTv**: Use any title as the app ID.\n* [Telegram](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/telegram.md)\n* [Twitter](https://github.com/zorn-v/nextcloud-social-login/blob/master/docs/sso/twitter.md)\n\nFor details about Google's \"Allow login only from specified domain\" setting, see [#44](https://github.com/zorn-v/nextcloud-social-login/issues/44). Use a comma-separated list for multiple domains.\n\n## Configuration\n\nAdd `'social_login_auto_redirect' => true` to `config.php` to automatically redirect unauthorized users to social login if only one provider is configured. To temporarily disable this (e.g., for local admin login), add `noredir=1` to the login URL: `https://cloud.domain.com/login?noredir=1`.\n\nConfigure HTTP client options using:\n```php\n 'social_login_http_client' => [\n 'timeout' => 45,\n 'proxy' => 'socks4://127.0.0.1:9050', // See for allowed formats\n ],\n```\nin `config.php`.\n\n### Configure a Provider via CLI\n\nUse the `occ` utility to configure providers via the command line. Replace variables and URLs with your deployment values:\n```bash\nphp occ config:app:set sociallogin custom_providers --value='{\"custom_oidc\": [{\"name\": \"gitlab_oidc\", \"title\": \"Gitlab\", \"authorizeUrl\": \"https://gitlab.my-domain.org/oauth/authorize\", \"tokenUrl\": \"https://gitlab.my-domain.org/oauth/token\", \"userInfoUrl\": \"https://gitlab.my-domain.org/oauth/userinfo\", \"logoutUrl\": \"\", \"clientId\": \"$my_application_id\", \"clientSecret\": \"$my_super_secret_secret\", \"scope\": \"openid\", \"groupsClaim\": \"groups\", \"style\": \"gitlab\", \"defaultGroup\": \"\"}]}'\n```\nFor Docker, prepend `docker exec -t -uwww-data CONTAINER_NAME` to the command or run interactively via `docker exec -it -uwww-data CONTAINER_NAME sh`.\n\nTo inspect configurations:\n```sql\nmysql -u nextcloud -p nextcloud\nPassword: \n\n> SELECT * FROM oc_appconfig WHERE appid='sociallogin';\n```\nOr run:\n```bash\ndocker exec -t -uwww-data CONTAINER_NAME php occ config:app:get sociallogin custom_providers\n```\n\n### Configure Discord\n\n1. Create a Discord application at [Discord Developer Portal](https://discord.com/developers/applications).\n2. Navigate to `Settings > OAuth2 > General`. Add a redirect URL: `https://nextcloud.mydomain.com/apps/sociallogin/oauth/discord`.\n3. Copy the `CLIENT ID` and generate a `CLIENT SECRET`.\n4. In Nextcloud, go to `Settings > Social Login`. Paste the `CLIENT ID` into \"App id\" and `CLIENT SECRET` into \"Secret\".\n5. Select a default group for new users.\n6. For group mapping, see [#395](https://github.com/zorn-v/nextcloud-social-login/pull/395).\n\n## Hint\n\n### Callback (Reply) URL\nCopy the link from a login button on the Nextcloud login page and use it as the callback URL on your provider's site. To make the button visible temporarily, fill provider settings with placeholder data and update later.\n\nIf you encounter callback URL errors despite correct settings, ensure your Nextcloud server generates HTTPS URLs by adding `'overwriteprotocol' => 'https'` to `config.php`.", "homepage": "https://github.com/zorn-v/nextcloud-social-login", "licenses": [ "agpl" ] }, "spreed": { - "hash": "sha256-O0W1olbpau+GjYdND/IYMl3GJntsG9p51VRbmRWksTI=", - "url": "https://github.com/nextcloud-releases/spreed/releases/download/v21.0.4/spreed-v21.0.4.tar.gz", - "version": "21.0.4", + "hash": "sha256-DxwK3PMsLTxbdjyM10rX6wveRFCr8EoIGToKSkaMwYM=", + "url": "https://github.com/nextcloud-releases/spreed/releases/download/v21.1.0/spreed-v21.1.0.tar.gz", + "version": "21.1.0", "description": "Chat, video & audio-conferencing using WebRTC\n\n* πŸ’¬ **Chat** Nextcloud Talk comes with a simple text chat, allowing you to share or upload files from your Nextcloud Files app or local device and mention other participants.\n* πŸ‘₯ **Private, group, public and password protected calls!** Invite someone, a whole group or send a public link to invite to a call.\n* 🌐 **Federated chats** Chat with other Nextcloud users on their servers\n* πŸ’» **Screen sharing!** Share your screen with the participants of your call.\n* πŸš€ **Integration with other Nextcloud apps** like Files, Calendar, User status, Dashboard, Flow, Maps, Smart picker, Contacts, Deck, and many more.\n* πŸŒ‰ **Sync with other chat solutions** With [Matterbridge](https://github.com/42wim/matterbridge/) being integrated in Talk, you can easily sync a lot of other chat solutions to Nextcloud Talk and vice-versa.", "homepage": "https://github.com/nextcloud/spreed", "licenses": [ @@ -380,9 +380,9 @@ ] }, "twofactor_webauthn": { - "hash": "sha256-16Silofm/alQaKZ2buNqyLEjKK2kR2IpTAxEawHpGjI=", - "url": "https://github.com/nextcloud-releases/twofactor_webauthn/releases/download/v2.1.0/twofactor_webauthn-v2.1.0.tar.gz", - "version": "2.1.0", + "hash": "sha256-cfityMvl6BLsxkGkR3Mm61AZsykC7KjDkDRIyFAQP4c=", + "url": "https://github.com/nextcloud-releases/twofactor_webauthn/releases/download/v2.2.0/twofactor_webauthn-v2.2.0.tar.gz", + "version": "2.2.0", "description": "A two-factor provider for WebAuthn devices", "homepage": "https://github.com/nextcloud/twofactor_webauthn#readme", "licenses": [ @@ -399,6 +399,16 @@ "agpl" ] }, + "unsplash": { + "hash": "sha256-j0cQem+KLQFxj19DIqK6wqYYDs31V1VfVobH5JZ89RM=", + "url": "https://github.com/nextcloud-releases/unsplash/releases/download/v3.1.0/unsplash-v3.1.0.tar.gz", + "version": "3.1.0", + "description": "Show a new random featured nature photo in your nextcloud. Now with choosable motives!", + "homepage": "https://github.com/nextcloud/unsplash/", + "licenses": [ + "agpl" + ] + }, "uppush": { "hash": "sha256-3QD3gtCfhs9tWrbiiPPV7lYxpzGQhc31unSZukcrvN0=", "url": "https://codeberg.org/NextPush/uppush/archive/2.3.0.tar.gz", diff --git a/pkgs/servers/nosql/influxdb/default.nix b/pkgs/servers/nosql/influxdb/default.nix index a6f053467a5b..08abc6ff864b 100644 --- a/pkgs/servers/nosql/influxdb/default.nix +++ b/pkgs/servers/nosql/influxdb/default.nix @@ -6,12 +6,11 @@ pkg-config, rustPlatform, libiconv, - fetchpatch, nixosTests, }: let - libflux_version = "0.194.5"; + libflux_version = "0.196.1"; # This is copied from influxdb2 with the required flux version flux = rustPlatform.buildRustPackage rec { @@ -21,21 +20,11 @@ let owner = "influxdata"; repo = "flux"; tag = "v${libflux_version}"; - hash = "sha256-XHT/+JMu5q1cPjZT2x/OKEPgxFJcnjrQKqn8w9/Mb3s="; + hash = "sha256-935aN2SxfNZvpG90rXuqZ2OTpSGLgiBDbZsBoG0WUvU="; }; patches = [ - # Fix build on Rust 1.78 (included after v0.195.0) - (fetchpatch { - name = "fix-build-on-rust-1.78.patch"; - url = "https://github.com/influxdata/flux/commit/68c831c40b396f0274f6a9f97d77707c39970b02.patch"; - stripLen = 2; - extraPrefix = ""; - excludes = [ ]; - hash = "sha256-6LOTgbOCfETNTmshyXgtDZf9y4t/2iqRuVPkz9dYPHc="; - }) + # https://github.com/influxdata/flux/pull/5542 ../influxdb2/fix-unsigned-char.patch - # https://github.com/influxdata/flux/pull/5516 - ../influxdb2/rust_lifetime.patch ]; # Don't fail on missing code documentation postPatch = '' @@ -44,7 +33,7 @@ let ''; sourceRoot = "${src.name}/libflux"; useFetchCargoVendor = true; - cargoHash = "sha256-wJVvpjaBUae3FK3lQaQov4t0UEsH86tB8B8bsSFGGBU="; + cargoHash = "sha256-A6j/lb47Ob+Po8r1yvqBXDVP0Hf7cNz8WFZqiVUJj+Y="; nativeBuildInputs = [ rustPlatform.bindgenHook ]; buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv; pkgcfg = '' @@ -60,7 +49,7 @@ let mkdir -p $out/include $out/pkgconfig cp -r $NIX_BUILD_TOP/source/libflux/include/influxdata $out/include substitute $pkgcfgPath $out/pkgconfig/flux.pc \ - --replace /out $out + --replace-fail /out $out '' + lib.optionalString stdenv.hostPlatform.isDarwin '' install_name_tool -id $out/lib/libflux.dylib $out/lib/libflux.dylib @@ -69,16 +58,16 @@ let in buildGoModule rec { pname = "influxdb"; - version = "1.10.7"; + version = "1.12.0"; src = fetchFromGitHub { owner = "influxdata"; - repo = pname; + repo = "influxdb"; rev = "v${version}"; - hash = "sha256-Aibu3yG/D1501Hr2F2qsGvjig14tbEAI+MBfqbxlpg8="; + hash = "sha256-jSv3zzU/jIqALF9mb4gV7zyQvm8pIwJU6Y4ADBlpVOE="; }; - vendorHash = "sha256-AA6uj7PgXjC+IK2ZSwRnYpHS4MFScOROO1BpP+s33IU="; + vendorHash = "sha256-tPw/1vkUTwmRHrnENDG3NJTV6RplI4pCP6GueRT8dbc="; nativeBuildInputs = [ pkg-config ]; diff --git a/pkgs/servers/nosql/influxdb2/default.nix b/pkgs/servers/nosql/influxdb2/default.nix index c90a77f4af36..60d4ec2b917f 100644 --- a/pkgs/servers/nosql/influxdb2/default.nix +++ b/pkgs/servers/nosql/influxdb2/default.nix @@ -14,20 +14,20 @@ }: let - version = "2.7.6"; - ui_version = "OSS-v2.7.1"; - libflux_version = "0.194.5"; + version = "2.7.12"; + ui_version = "OSS-v2.7.12"; + libflux_version = "0.196.1"; src = fetchFromGitHub { owner = "influxdata"; repo = "influxdb"; rev = "v${version}"; - hash = "sha256-0gqFUIV0ETdVuVmC+SwoKsO6OkoT/s+qKO1f8fkaZj4="; + hash = "sha256-FwvcKxCozMqJulDDCFDgp7MYJwMq/9XZ6g2q2lIgFc0="; }; ui = fetchurl { url = "https://github.com/influxdata/ui/releases/download/${ui_version}/build.tar.gz"; - hash = "sha256-0k59SKvt9pFt3WSd5PRUThbfbctt2RYtaxaxoyLICm8="; + hash = "sha256-aC+GYMaxYKkY9GMaeRx22hQ3xi3kfWpaTLC9ajqOaAA="; }; flux = rustPlatform.buildRustPackage { @@ -37,21 +37,11 @@ let owner = "influxdata"; repo = "flux"; rev = "v${libflux_version}"; - hash = "sha256-XHT/+JMu5q1cPjZT2x/OKEPgxFJcnjrQKqn8w9/Mb3s="; + hash = "sha256-935aN2SxfNZvpG90rXuqZ2OTpSGLgiBDbZsBoG0WUvU="; }; patches = [ - # Fix build on Rust 1.78 (included after v0.195.0) - (fetchpatch { - name = "fix-build-on-rust-1.78.patch"; - url = "https://github.com/influxdata/flux/commit/68c831c40b396f0274f6a9f97d77707c39970b02.patch"; - stripLen = 2; - extraPrefix = ""; - excludes = [ ]; - hash = "sha256-6LOTgbOCfETNTmshyXgtDZf9y4t/2iqRuVPkz9dYPHc="; - }) + # https://github.com/influxdata/flux/pull/5542 ./fix-unsigned-char.patch - # https://github.com/influxdata/flux/pull/5516 - ./rust_lifetime.patch ]; # Don't fail on missing code documentation postPatch = '' @@ -60,7 +50,7 @@ let ''; sourceRoot = "${src.name}/libflux"; useFetchCargoVendor = true; - cargoHash = "sha256-wJVvpjaBUae3FK3lQaQov4t0UEsH86tB8B8bsSFGGBU="; + cargoHash = "sha256-A6j/lb47Ob+Po8r1yvqBXDVP0Hf7cNz8WFZqiVUJj+Y="; nativeBuildInputs = [ rustPlatform.bindgenHook ]; buildInputs = lib.optional stdenv.hostPlatform.isDarwin libiconv; pkgcfg = '' @@ -76,7 +66,7 @@ let mkdir -p $out/include $out/pkgconfig cp -r $NIX_BUILD_TOP/source/libflux/include/influxdata $out/include substitute $pkgcfgPath $out/pkgconfig/flux.pc \ - --replace /out $out + --replace-fail /out $out '' + lib.optionalString stdenv.hostPlatform.isDarwin '' install_name_tool -id $out/lib/libflux.dylib $out/lib/libflux.dylib @@ -94,7 +84,7 @@ buildGoModule { perl ]; - vendorHash = "sha256-3Vf8BCrOwliXrH+gmZ4RJ1YBEbqL0Szx2prW3ie9CNg="; + vendorHash = "sha256-B4w8+UaewujKVr98MFhRh2c6UMOdB+TE/mOT+cy2pHk="; subPackages = [ "cmd/influxd" "cmd/telemetryd" @@ -105,7 +95,7 @@ buildGoModule { postPatch = '' # use go-bindata from environment substituteInPlace static/static.go \ - --replace 'go run github.com/kevinburke/go-bindata/' "" + --replace-fail 'go run github.com/kevinburke/go-bindata/' "" ''; # Check that libflux and the UI are at the right version, and embed diff --git a/pkgs/servers/nosql/influxdb2/rust_lifetime.patch b/pkgs/servers/nosql/influxdb2/rust_lifetime.patch deleted file mode 100644 index 7680f287e217..000000000000 --- a/pkgs/servers/nosql/influxdb2/rust_lifetime.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/flux-core/src/ast/walk/mod.rs b/flux-core/src/ast/walk/mod.rs -index 90f70ba6f7..a6966827e8 100644 ---- a/flux-core/src/ast/walk/mod.rs -+++ b/flux-core/src/ast/walk/mod.rs -@@ -180,7 +180,7 @@ impl<'a> Node<'a> { - - impl<'a> Node<'a> { - #[allow(missing_docs)] -- pub fn from_expr(expr: &'a Expression) -> Node { -+ pub fn from_expr(expr: &'a Expression) -> Node<'a> { - match expr { - Expression::Identifier(e) => Node::Identifier(e), - Expression::Array(e) => Node::ArrayExpr(e), -diff --git a/flux-core/src/parser/mod.rs b/flux-core/src/parser/mod.rs -index ac7d4b9a72..561c3a0ff6 100644 ---- a/flux-core/src/parser/mod.rs -+++ b/flux-core/src/parser/mod.rs -@@ -41,7 +41,7 @@ pub struct Parser<'input> { - - impl<'input> Parser<'input> { - /// Instantiates a new parser with the given string as input. -- pub fn new(src: &'input str) -> Parser { -+ pub fn new(src: &'input str) -> Parser<'input> { - let s = Scanner::new(src); - Parser { - s, diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index 1284935c5e4b..adff97a26914 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -110,9 +110,19 @@ let hasUnfreeLicense = attrs: hasLicense attrs && isUnfree attrs.meta.license; hasNoMaintainers = + # To get usable output, we want to avoid flagging "internal" derivations. + # Because we do not have a way to reliably decide between internal or + # external derivation, some heuristics are required to decide. + # + # If `outputHash` is defined, the derivation is a FOD, such as the output of a fetcher. + # If `description` is not defined, the derivation is probably not a package. + # Simply checking whether `meta` is defined is insufficient, + # as some fetchers and trivial builders do define meta. attrs: - (attrs ? meta.maintainers && (length attrs.meta.maintainers) == 0) - && (attrs ? meta.teams && (length attrs.meta.teams) == 0); + (!attrs ? outputHash) + && (attrs ? meta.description) + && (attrs.meta.maintainers or [ ] == [ ]) + && (attrs.meta.teams or [ ] == [ ]); isMarkedBroken = attrs: attrs.meta.broken or false; diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index 7804ea23b06e..bad29c346140 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -201,6 +201,16 @@ with pkgs; auto-patchelf-hook = callPackage ./auto-patchelf-hook { }; + # Accumulate all passthru.tests from arrayUtilities into a single attribute set. + arrayUtilities = recurseIntoAttrs ( + lib.concatMapAttrs ( + name: value: + lib.optionalAttrs (value ? passthru.tests) { + ${name} = value.passthru.tests; + } + ) arrayUtilities + ); + srcOnly = callPackage ../build-support/src-only/tests.nix { }; systemd = callPackage ./systemd { }; diff --git a/pkgs/tools/security/ghidra/extensions/kaiju/default.nix b/pkgs/tools/security/ghidra/extensions/kaiju/default.nix index 4987ec30c898..eed0778bd946 100644 --- a/pkgs/tools/security/ghidra/extensions/kaiju/default.nix +++ b/pkgs/tools/security/ghidra/extensions/kaiju/default.nix @@ -26,13 +26,13 @@ let self = buildGhidraExtension rec { pname = "kaiju"; - version = "250417"; + version = "250610"; src = fetchFromGitHub { owner = "CERTCC"; repo = "kaiju"; rev = version; - hash = "sha256-SSvCb3xnOh0mb3H24RJTi11UmN2ARgFgsiiKlZXyufM="; + hash = "sha256-qqUnWakQDOBw3sI/6iWD9140iRAsM5PUEQJSV/3/8FQ="; }; buildInputs = [ diff --git a/pkgs/tools/security/trufflehog/default.nix b/pkgs/tools/security/trufflehog/default.nix index 2a3634a7f626..48ae41eb8ed2 100644 --- a/pkgs/tools/security/trufflehog/default.nix +++ b/pkgs/tools/security/trufflehog/default.nix @@ -8,13 +8,13 @@ buildGoModule rec { pname = "trufflehog"; - version = "3.89.0"; + version = "3.89.1"; src = fetchFromGitHub { owner = "trufflesecurity"; repo = "trufflehog"; tag = "v${version}"; - hash = "sha256-utcTfoRBYvTHlbTdUXUTPUHHvVkHe7HqE84qR7dl46Y="; + hash = "sha256-mzApiAWPLq2Q69NNLj1/FNuktYjIGHt9iWO9OlercjM="; }; vendorHash = "sha256-Zum9Clc7yL81QT6dA6sjLV2HmB5Why76fmooSSAo63Y="; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 90b6166ded8b..211293f8958b 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1868,6 +1868,7 @@ mapAliases { ### T ### + t1lib = throw "'t1lib' has been removed as it was broken and unmaintained upstream."; # Added 2025-06-11 tabula = throw "tabula has been removed from nixpkgs, as it was broken"; # Added 2024-07-15 tailor = throw "'tailor' has been removed from nixpkgs, as it was unmaintained upstream."; # Added 2024-11-02 tangogps = throw "'tangogps' has been renamed to/replaced by 'foxtrotgps'"; # Converted to throw 2024-10-17 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 495c81d5c668..bd4e40ad0617 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -177,6 +177,23 @@ with pkgs; __flattenIncludeHackHook = callPackage ../build-support/setup-hooks/flatten-include-hack { }; + arrayUtilities = + let + arrayUtilitiesPackages = makeScopeWithSplicing' { + otherSplices = generateSplicesForMkScope "arrayUtilities"; + f = + finalArrayUtilities: + { + callPackages = lib.callPackagesWith (pkgs // finalArrayUtilities); + } + // lib.packagesFromDirectoryRecursive { + inherit (finalArrayUtilities) callPackage; + directory = ../build-support/setup-hooks/arrayUtilities; + }; + }; + in + recurseIntoAttrs arrayUtilitiesPackages; + addBinToPathHook = callPackage ( { makeSetupHook }: makeSetupHook {