diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 3e2a9d950e4f..b78aa817862f 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -291,3 +291,7 @@ b4532efe93882ae2e3fc579929a42a5a56544146 # systemd: nixfmt b1c5cd3e794cdf89daa5e4f0086274a416a1cded + +#nixos/nextcloud: remove with lib usage +b6088b0d8e13e8d18464d78935f0130052784658 +f7611cad5154a9096faa26d156a4079577bfae17 diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index d93e11fbcd7a..0392578df488 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -34,6 +34,7 @@ jobs: private-key: ${{ secrets.NIXPKGS_CI_APP_PRIVATE_KEY }} permission-contents: write permission-pull-requests: write + permission-workflows: write - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c19c3b6e81ae..368a10eee78c 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -38,7 +38,7 @@ jobs: permissions: pull-requests: write runs-on: ubuntu-24.04-arm - timeout-minutes: 3 + timeout-minutes: 10 steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: diff --git a/.github/workflows/eval.yml b/.github/workflows/eval.yml index dc9889545857..53ad022a559f 100644 --- a/.github/workflows/eval.yml +++ b/.github/workflows/eval.yml @@ -11,6 +11,10 @@ on: systems: required: true type: string + testVersions: + required: false + default: false + type: boolean secrets: OWNER_APP_PRIVATE_KEY: required: false @@ -22,13 +26,49 @@ defaults: shell: bash jobs: + versions: + if: inputs.testVersions + runs-on: ubuntu-24.04-arm + outputs: + versions: ${{ steps.versions.outputs.versions }} + steps: + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + with: + path: trusted + sparse-checkout: | + ci/supportedVersions.nix + + - name: Check out the PR at the test merge commit + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + with: + ref: ${{ inputs.mergedSha }} + path: untrusted + sparse-checkout: | + ci/pinned.json + + - name: Install Nix + uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31 + + - name: Load supported versions + id: versions + run: | + echo "versions=$(trusted/ci/supportedVersions.nix --arg pinnedJson untrusted/ci/pinned.json)" >> "$GITHUB_OUTPUT" + eval: runs-on: ubuntu-24.04-arm + needs: versions + if: ${{ !cancelled() && !failure() }} strategy: fail-fast: false matrix: system: ${{ fromJSON(inputs.systems) }} - name: ${{ matrix.system }} + version: + - "" # Default Eval triggering rebuild labels and such. + - ${{ fromJSON(needs.versions.outputs.versions || '[]') }} # Only for ci/pinned.json updates. + # Failures for versioned Evals will be collected in a separate job below + # to not interrupt main Eval's compare step. + continue-on-error: ${{ matrix.version != '' }} + name: ${{ matrix.system }}${{ matrix.version && format(' @ {0}', matrix.version) || '' }} outputs: targetRunId: ${{ steps.targetRunId.outputs.targetRunId }} timeout-minutes: 15 @@ -60,17 +100,19 @@ jobs: - name: Evaluate the ${{ matrix.system }} output paths for all derivation attributes env: MATRIX_SYSTEM: ${{ matrix.system }} + MATRIX_VERSION: ${{ matrix.version || 'nixVersions.latest' }} run: | nix-build untrusted/ci --arg nixpkgs ./pinned -A eval.singleSystem \ --argstr evalSystem "$MATRIX_SYSTEM" \ --arg chunkSize 8000 \ + --argstr nixPath "$MATRIX_VERSION" \ --out-link merged # If it uses too much memory, slightly decrease chunkSize - name: Upload the output paths and eval stats uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: - name: merged-${{ matrix.system }} + name: ${{ matrix.version && format('{0}-', matrix.version) || '' }}merged-${{ matrix.system }} path: merged/* - name: Log current API rate limits @@ -125,7 +167,7 @@ jobs: GH_TOKEN: ${{ github.token }} run: gh api /rate_limit | jq - - uses: actions/download-artifact@v5 + - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 if: steps.targetRunId.outputs.targetRunId with: run-id: ${{ steps.targetRunId.outputs.targetRunId }} @@ -149,13 +191,13 @@ jobs: if: steps.targetRunId.outputs.targetRunId uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: - name: diff-${{ matrix.system }} + name: ${{ matrix.version && format('{0}-', matrix.version) || '' }}diff-${{ matrix.system }} path: diff/* compare: runs-on: ubuntu-24.04-arm needs: [eval] - if: needs.eval.outputs.targetRunId + if: needs.eval.outputs.targetRunId && !cancelled() && !failure() permissions: statuses: write timeout-minutes: 5 @@ -171,7 +213,7 @@ jobs: pinnedFrom: trusted - name: Download output paths and eval stats for all systems - uses: actions/download-artifact@de96f4613b77ec03b5cf633e7c350c32bd3c5660 # v4.1.8 + uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 with: pattern: diff-* path: diff @@ -240,6 +282,91 @@ jobs: target_url }) + # Creates a matrix of Eval performance for various versions and systems. + report: + runs-on: ubuntu-24.04-arm + needs: [versions, eval] + steps: + - name: Download output paths and eval stats for all versions + uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 + with: + pattern: "*-diff-*" + path: versions + + - name: Add version comparison table to job summary + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + env: + SYSTEMS: ${{ inputs.systems }} + VERSIONS: ${{ needs.versions.outputs.versions }} + with: + script: | + const { readFileSync } = require('node:fs') + const path = require('node:path') + + const systems = JSON.parse(process.env.SYSTEMS) + const versions = JSON.parse(process.env.VERSIONS) + + core.summary.addHeading('Lix/Nix version comparison') + core.summary.addTable( + [].concat( + [ + [{ data: 'Version', header: true }].concat( + systems.map((system) => ({ data: system, header: true })), + ), + ], + versions.map((version) => + [{ data: version }].concat( + systems.map((system) => { + try { + const artifact = path.join('versions', `${version}-diff-${system}`) + const time = Math.round( + parseFloat( + readFileSync( + path.join(artifact, 'after', system, 'total-time'), + 'utf-8', + ), + ), + ) + const diff = JSON.parse( + readFileSync(path.join(artifact, system, 'diff.json'), 'utf-8'), + ) + const attrs = [].concat( + diff.added, + diff.removed, + diff.changed, + diff.rebuilds + ).filter(attr => + // Exceptions related to dev shells, which changed at some time between 2.18 and 2.24. + !attr.startsWith('tests.devShellTools.nixos.') && + !attr.startsWith('tests.devShellTools.unstructuredDerivationInputEnv.') + ) + if (attrs.length > 0) { + core.setFailed( + `${version} on ${system} has changed outpaths!\nNote: Please make sure to update ci/pinned.json separately from changes to other packages.`, + ) + return { data: ':x:' } + } + return { data: time } + } catch { + core.warning(`${version} on ${system} did not produce artifact.`) + return { data: ':warning:' } + } + }), + ), + ), + ), + ) + core.summary.addRaw( + '\n*Evaluation time in seconds without downloading dependencies.*', + true, + ) + core.summary.addRaw('\n*:warning: Job did not report a result.*', true) + core.summary.addRaw( + '\n*:x: Job produced different outpaths than the target branch.*', + true, + ) + core.summary.write() + misc: if: ${{ github.event_name != 'push' }} runs-on: ubuntu-24.04-arm diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 086b14268f5b..c5a9b7ccf7c9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -28,6 +28,7 @@ jobs: mergedSha: ${{ steps.get-merge-commit.outputs.mergedSha }} targetSha: ${{ steps.get-merge-commit.outputs.targetSha }} systems: ${{ steps.systems.outputs.systems }} + touched: ${{ steps.files.outputs.touched }} steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: @@ -64,6 +65,20 @@ jobs: core.setOutput('head', headClassification) core.info('head classification:', headClassification) + - name: Determine changed files + id: files + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + with: + script: | + const files = (await github.paginate(github.rest.pulls.listFiles, { + ...context.repo, + pull_number: context.payload.pull_request.number, + per_page: 100, + })).map(file => file.filename) + + if (files.includes('ci/pinned.json')) core.setOutput('touched', ['pinned']) + else core.setOutput('touched', []) + check: name: Check needs: [prepare] @@ -96,6 +111,7 @@ jobs: mergedSha: ${{ needs.prepare.outputs.mergedSha }} targetSha: ${{ needs.prepare.outputs.targetSha }} systems: ${{ needs.prepare.outputs.systems }} + testVersions: ${{ contains(fromJSON(needs.prepare.outputs.touched), 'pinned') && !contains(fromJSON(needs.prepare.outputs.headBranch).type, 'development') }} labels: name: Labels @@ -144,7 +160,11 @@ jobs: # Do NOT change the name of this job, otherwise the rule will not catch it anymore. # This would prevent all PRs from merging. name: no PR failures - if: ${{ failure() }} + # A single job is "cancelled" when it hits its timeout. This is not the same + # as "skipped", which happens when the `if` condition doesn't apply. + # The "cancelled()" function only checks the whole workflow, but not individual + # jobs. + if: ${{ failure() || contains(needs.*.result, 'cancelled') }} runs-on: ubuntu-24.04-arm steps: - run: exit 1 diff --git a/.github/workflows/reviewers.yml b/.github/workflows/reviewers.yml index 2cddb17a1018..58c201724273 100644 --- a/.github/workflows/reviewers.yml +++ b/.github/workflows/reviewers.yml @@ -96,7 +96,7 @@ jobs: run: gh api /rate_limit | jq - name: Download the comparison results - uses: actions/download-artifact@de96f4613b77ec03b5cf633e7c350c32bd3c5660 # v4.1.8 + uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 with: run-id: ${{ steps.eval.outputs.run-id }} github-token: ${{ github.token }} diff --git a/ci/default.nix b/ci/default.nix index 603e11513aa7..c75de0ff2b9a 100644 --- a/ci/default.nix +++ b/ci/default.nix @@ -5,6 +5,7 @@ in system ? builtins.currentSystem, nixpkgs ? null, + nixPath ? "nixVersions.latest", }: let nixpkgs' = @@ -16,13 +17,7 @@ let else nixpkgs; - pkgs = import nixpkgs' { - inherit system; - config = { - permittedInsecurePackages = [ "nix-2.3.18" ]; - }; - overlays = [ ]; - }; + pkgs = import nixpkgs' { inherit system; }; fmt = let @@ -115,7 +110,7 @@ rec { # (nixVersions.stable and Lix) here somehow at some point to ensure we don't # have eval divergence. eval = pkgs.callPackage ./eval { - nix = pkgs.nixVersions.latest; + nix = pkgs.lib.getAttrFromPath (pkgs.lib.splitString "." nixPath) pkgs; }; # CI jobs @@ -127,8 +122,7 @@ rec { parse = pkgs.lib.recurseIntoAttrs { latest = pkgs.callPackage ./parse.nix { nix = pkgs.nixVersions.latest; }; lix = pkgs.callPackage ./parse.nix { nix = pkgs.lix; }; - # TODO: Raise nixVersions.minimum to 2.24 and flip back to it. - minimum = pkgs.callPackage ./parse.nix { nix = pkgs.nixVersions.nix_2_24; }; + nix_2_24 = pkgs.callPackage ./parse.nix { nix = pkgs.nixVersions.nix_2_24; }; }; shell = import ../shell.nix { inherit nixpkgs system; }; tarball = import ../pkgs/top-level/make-tarball.nix { diff --git a/ci/eval/compare/default.nix b/ci/eval/compare/default.nix index 81eebcc9adb1..9060d357d662 100644 --- a/ci/eval/compare/default.nix +++ b/ci/eval/compare/default.nix @@ -146,6 +146,12 @@ runCommand "compare" cp ${changed-paths} $out/changed-paths.json + { + echo + echo "# Packages" + echo + jq -r -f ${./generate-step-summary.jq} < ${changed-paths} + } >> $out/step-summary.md if jq -e '(.attrdiff.added | length == 0) and (.attrdiff.removed | length == 0)' "${changed-paths}" > /dev/null; then # Chunks have changed between revisions @@ -175,12 +181,5 @@ runCommand "compare" } >> $out/step-summary.md fi - { - echo - echo "# Packages" - echo - jq -r -f ${./generate-step-summary.jq} < ${changed-paths} - } >> $out/step-summary.md - cp "$maintainersPath" "$out/maintainers.json" '' diff --git a/ci/pinned.json b/ci/pinned.json index 1f1af448a2e8..14a454c2e258 100644 --- a/ci/pinned.json +++ b/ci/pinned.json @@ -9,9 +9,9 @@ }, "branch": "nixpkgs-unstable", "submodules": false, - "revision": "6a489c9482ca676ce23c0bcd7f2e1795383325fa", - "url": "https://github.com/NixOS/nixpkgs/archive/6a489c9482ca676ce23c0bcd7f2e1795383325fa.tar.gz", - "hash": "0vsvkhy3gb8yzq62vazhmpqixssmd4xinnll7w73l4vrqd611wlf" + "revision": "641d909c4a7538f1539da9240dedb1755c907e40", + "url": "https://github.com/NixOS/nixpkgs/archive/641d909c4a7538f1539da9240dedb1755c907e40.tar.gz", + "hash": "10hpb1aw884k3zzcy1mhf47dqvfagiyx7kr6hg0p5xcwg04mkx8x" }, "treefmt-nix": { "type": "Git", @@ -22,9 +22,9 @@ }, "branch": "main", "submodules": false, - "revision": "58bd4da459f0a39e506847109a2a5cfceb837796", - "url": "https://github.com/numtide/treefmt-nix/archive/58bd4da459f0a39e506847109a2a5cfceb837796.tar.gz", - "hash": "01bg9b4xzlv6s5q1q78vib6l2csw02b3rk5bm5yj4gx2sk2hvmrq" + "revision": "7d81f6fb2e19bf84f1c65135d1060d829fae2408", + "url": "https://github.com/numtide/treefmt-nix/archive/7d81f6fb2e19bf84f1c65135d1060d829fae2408.tar.gz", + "hash": "1cg20q8ja8k2nb7mzy95hgmd8whxapc3fbyndh1ip5dr6d1grxfs" } }, "version": 5 diff --git a/ci/supportedVersions.nix b/ci/supportedVersions.nix new file mode 100755 index 000000000000..77f6f7dd1475 --- /dev/null +++ b/ci/supportedVersions.nix @@ -0,0 +1,32 @@ +#!/usr/bin/env -S nix-instantiate --eval --strict --json --arg unused true +# Unused argument to trigger nix-instantiate calling this function with the default arguments. +{ + pinnedJson ? ./pinned.json, +}: +let + pinned = (builtins.fromJSON (builtins.readFile pinnedJson)).pins; + nixpkgs = fetchTarball { + inherit (pinned.nixpkgs) url; + sha256 = pinned.nixpkgs.hash; + }; + pkgs = import nixpkgs { + config.allowAliases = false; + }; + + inherit (pkgs) lib; + + lix = lib.pipe pkgs.lixPackageSets [ + (lib.filterAttrs (_: set: lib.isDerivation set.lix or null && set.lix.meta.available)) + lib.attrNames + (lib.filter (name: lib.match "lix_[0-9_]+|git" name != null)) + (map (name: "lixPackageSets.${name}.lix")) + ]; + + nix = lib.pipe pkgs.nixVersions [ + (lib.filterAttrs (_: drv: lib.isDerivation drv && drv.meta.available)) + lib.attrNames + (lib.filter (name: lib.match "nix_[0-9_]+|git" name != null)) + (map (name: "nixVersions.${name}")) + ]; +in +lix ++ nix diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md index e79a324b236c..d4b3b0d66928 100644 --- a/doc/languages-frameworks/python.section.md +++ b/doc/languages-frameworks/python.section.md @@ -2121,7 +2121,7 @@ The following rules are desired to be respected: * `pythonImportsCheck` is set. This is still a good smoke test even if `pytestCheckHook` is set. * `meta.platforms` takes the default value in many cases. It does not need to be set explicitly unless the package requires a specific platform. -* The file is formatted with `nixfmt-rfc-style`. +* The file is formatted with `nixfmt`. * Commit names of Python libraries must reflect that they are Python libraries (e.g. `python313Packages.numpy: 1.11 -> 1.12` rather than `numpy: 1.11 -> 1.12`). * The current default version of python should be included diff --git a/doc/release-notes/rl-2511.section.md b/doc/release-notes/rl-2511.section.md index d3b34e1d1e36..7e13bfbb52b3 100644 --- a/doc/release-notes/rl-2511.section.md +++ b/doc/release-notes/rl-2511.section.md @@ -16,6 +16,10 @@ +- `nixVersions.nix_2_3` has been dropped because it was insecure and unmaintained. + +- The minimum version of Nix required to evaluate Nixpkgs has been raised from 2.3 to 2.18. + - The `offrss` package was removed due to lack of upstream maintenance since 2012. It's recommended for users to migrate to another RSS reader - `base16-builder` node package has been removed due to lack of upstream maintenance. @@ -48,6 +52,8 @@ - `tooling-language-server` has been renamed to `deputy` (both the package and binary), following the rename of the upstream project. +- `fetchtorrent`, when using the "rqbit" backend, erroneously started fetching files into a subdirectory in Nixpkgs 24.11. The original behaviour – which matches the behaviour using the "transmission" backend – has now been restored. Users reliant on the erroneous behaviour can temporarily maintain it by adding `flatten = false` to the `fetchtorrent` arguments; Nix will produce an evaluation warning for anyone using `backend = "rqbit"` without `flatten = true`. + - `webfontkitgenerator` has been renamed to `webfont-bundler`, following the rename of the upstream project. The binary name remains `webfontkitgenerator`. The `webfontkitgenerator` package is an alias to `webfont-bundler`. diff --git a/lib/minver.nix b/lib/minver.nix index cb9c6ee3156f..c9fc45354d2e 100644 --- a/lib/minver.nix +++ b/lib/minver.nix @@ -1,2 +1,2 @@ # Expose the minimum required version for evaluating Nixpkgs -"2.3.17" +"2.18" diff --git a/lib/tests/release.nix b/lib/tests/release.nix index 5a1752010745..3eb62912ffc4 100644 --- a/lib/tests/release.nix +++ b/lib/tests/release.nix @@ -2,21 +2,14 @@ # The pkgs used for dependencies for the testing itself # Don't test properties of pkgs.lib, but rather the lib in the parent directory system ? builtins.currentSystem, - pkgs ? - import ../.. { - inherit system; - config = { - permittedInsecurePackages = [ "nix-2.3.18" ]; - }; - } - // { - lib = throw "pkgs.lib accessed, but the lib tests should use nixpkgs' lib path directly!"; - }, + pkgs ? import ../.. { inherit system; } // { + lib = throw "pkgs.lib accessed, but the lib tests should use nixpkgs' lib path directly!"; + }, # For testing someone may edit impure.nix to return cross pkgs, use `pkgsBuildBuild` directly so everything here works. pkgsBB ? pkgs.pkgsBuildBuild, nix ? pkgs-nixVersions.stable, nixVersions ? [ - pkgs-nixVersions.minimum + pkgs-nixVersions.nix_2_24 nix pkgs-nixVersions.latest ], diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 03c174352385..a647a90c9eba 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5914,7 +5914,7 @@ }; dblsaiko = { email = "me@dblsaiko.net"; - github = "2xsaiko"; + github = "dblsaiko"; githubId = 3987560; name = "Katalin Rebhan"; }; @@ -6886,6 +6886,11 @@ github = "dstengele"; githubId = 1706418; }; + dstremur = { + name = "Diego Strebel"; + github = "dstremur"; + githubId = 76773187; + }; dsuetin = { name = "Danil Suetin"; email = "suetin085+nixpkgs@protonmail.com"; @@ -16745,6 +16750,12 @@ githubId = 24192522; name = "MithicSpirit"; }; + miyu = { + email = "miyu@allthingslinux.org"; + github = "fndov"; + githubId = 168955383; + name = "Tommy B"; + }; mjm = { email = "matt@mattmoriarity.com"; github = "mjm"; @@ -26917,6 +26928,12 @@ name = "Stefan Zabka"; githubId = 13276717; }; + vrose = { + email = "vrose04@gmail.com"; + github = "vinnybod"; + name = "Vince Rose"; + githubId = 9831420; + }; vrthra = { email = "rahul@gopinath.org"; github = "vrthra"; @@ -28141,6 +28158,12 @@ githubId = 908716; name = "Zach Coyle"; }; + ZachDavies = { + name = "Zach Davies"; + email = "zdmalta@proton.me"; + github = "ZachDavies"; + githubId = 131615861; + }; Zaczero = { name = "Kamil Monicz"; email = "kamil@monicz.dev"; diff --git a/nixos/doc/manual/release-notes/rl-2511.section.md b/nixos/doc/manual/release-notes/rl-2511.section.md index c3aa117cdaa3..cd6b9b10644b 100644 --- a/nixos/doc/manual/release-notes/rl-2511.section.md +++ b/nixos/doc/manual/release-notes/rl-2511.section.md @@ -187,6 +187,8 @@ - `services.monero` now includes the `environmentFile` option for adding secrets to the Monero daemon config. +- `services.netbird.server` now uses dedicated packages split out due to relicensing of server components to AGPLv3 with version `0.53.0`, + - The new option [networking.ipips](#opt-networking.ipips) has been added to create IP within IP kind of tunnels (including 4in6, ip6ip6 and ipip). With the existing [networking.sits](#opt-networking.sits) option (6in4), it is now possible to create all combinations of IPv4 and IPv6 encapsulation. diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix index 1a5e741c4597..86ba8683c54b 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix @@ -11,7 +11,7 @@ # Add Firefox and other tools useful for installation to the launcher favoriteAppsOverride = '' [org.gnome.shell] - favorite-apps=[ 'firefox.desktop', 'nixos-manual.desktop', 'org.gnome.Console.desktop', 'org.gnome.Nautilus.desktop', 'gparted.desktop', 'io.calamares.calamares.desktop' ] + favorite-apps=[ 'firefox.desktop', 'nixos-manual.desktop', 'org.gnome.Console.desktop', 'org.gnome.Nautilus.desktop', 'gparted.desktop', 'calamares.desktop' ] ''; # Override GNOME defaults to disable GNOME tour and disable suspend diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nix index a8a30ca42b52..84d0ea44bb84 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nix @@ -45,8 +45,8 @@ ln -sfT ${pkgs.plasma5Packages.konsole}/share/applications/org.kde.konsole.desktop ${ desktopDir + "org.kde.konsole.desktop" } - ln -sfT ${pkgs.calamares-nixos}/share/applications/io.calamares.calamares.desktop ${ - desktopDir + "io.calamares.calamares.desktop" + ln -sfT ${pkgs.calamares-nixos}/share/applications/calamares.desktop ${ + desktopDir + "calamares.desktop" } ''; diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix index 90683fa088dc..793f0cabc996 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix @@ -50,8 +50,8 @@ ln -sfT ${manualDesktopFile} ${desktopDir + "nixos-manual.desktop"} ln -sfT ${pkgs.gparted}/share/applications/gparted.desktop ${desktopDir + "gparted.desktop"} - ln -sfT ${pkgs.calamares-nixos}/share/applications/io.calamares.calamares.desktop ${ - desktopDir + "io.calamares.calamares.desktop" + ln -sfT ${pkgs.calamares-nixos}/share/applications/calamares.desktop ${ + desktopDir + "calamares.desktop" } ''; diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares.nix index 631342d51ea7..097a4eca51d5 100644 --- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares.nix +++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares.nix @@ -4,16 +4,18 @@ { pkgs, ... }: let calamares-nixos-autostart = pkgs.makeAutostartItem { - name = "io.calamares.calamares"; + name = "calamares"; package = pkgs.calamares-nixos; }; in { imports = [ ./installation-cd-graphical-base.nix ]; + # required for kpmcore to work correctly + programs.partition-manager.enable = true; + environment.systemPackages = with pkgs; [ # Calamares for graphical installation - libsForQt5.kpmcore calamares-nixos calamares-nixos-autostart calamares-nixos-extensions diff --git a/nixos/modules/misc/documentation/modular-services.nix b/nixos/modules/misc/documentation/modular-services.nix index 07de80689658..5e004d6a8332 100644 --- a/nixos/modules/misc/documentation/modular-services.nix +++ b/nixos/modules/misc/documentation/modular-services.nix @@ -21,6 +21,7 @@ let _file = "${__curPos.file}:${toString __curPos.line}"; options = { "" = fakeSubmodule pkgs.ghostunnel.services.default; + "" = fakeSubmodule pkgs.php.services.default; }; }; in diff --git a/nixos/modules/programs/partition-manager.nix b/nixos/modules/programs/partition-manager.nix index 9a4650269e55..0f637e26d3d2 100644 --- a/nixos/modules/programs/partition-manager.nix +++ b/nixos/modules/programs/partition-manager.nix @@ -15,7 +15,7 @@ in programs.partition-manager = { enable = lib.mkEnableOption "KDE Partition Manager"; - package = lib.mkPackageOption pkgs [ "libsForQt5" "partitionmanager" ] { }; + package = lib.mkPackageOption pkgs [ "kdePackages" "partitionmanager" ] { }; }; }; diff --git a/nixos/modules/services/backup/sanoid.nix b/nixos/modules/services/backup/sanoid.nix index 1baf08f4622f..b8b64075b1d5 100644 --- a/nixos/modules/services/backup/sanoid.nix +++ b/nixos/modules/services/backup/sanoid.nix @@ -57,6 +57,42 @@ let type = with lib.types; nullOr bool; default = null; }; + + pre_snapshot_script = lib.mkOption { + description = "Script to run before taking snapshot."; + type = with lib.types; nullOr str; + default = null; + }; + + post_snapshot_script = lib.mkOption { + description = "Script to run after taking snapshot."; + type = with lib.types; nullOr str; + default = null; + }; + + pruning_script = lib.mkOption { + description = "Script to run after pruning snapshot."; + type = with lib.types; nullOr str; + default = null; + }; + + no_inconsistent_snapshot = lib.mkOption { + description = "Whether to take a snapshot if the pre script fails"; + type = with lib.types; nullOr bool; + default = null; + }; + + force_post_snapshot_script = lib.mkOption { + description = "Whether to run the post script if the pre script fails"; + type = with lib.types; nullOr bool; + default = null; + }; + + script_timeout = lib.mkOption { + description = "Time limit for pre/post/pruning script execution time (<=0 for infinite)."; + type = with lib.types; nullOr int; + default = null; + }; }; datasetOptions = rec { diff --git a/nixos/modules/services/misc/open-webui.nix b/nixos/modules/services/misc/open-webui.nix index 21a40ab00d13..b848a2a61eae 100644 --- a/nixos/modules/services/misc/open-webui.nix +++ b/nixos/modules/services/misc/open-webui.nix @@ -97,6 +97,23 @@ in } // cfg.environment; + # backwards compatability migration + preStart = '' + if [ -d "${cfg.stateDir}/data" ] && [ -n "$(ls -A "${cfg.stateDir}/data" 2>/dev/null)" ]; then + exit 0 + fi + + mkdir -p "${cfg.stateDir}/data" + + [ -f "${cfg.stateDir}/webui.db" ] && mv "${cfg.stateDir}/webui.db" "${cfg.stateDir}/data/" + + for dir in cache uploads vector_db; do + [ -d "${cfg.stateDir}/$dir" ] && mv "${cfg.stateDir}/$dir" "${cfg.stateDir}/data/" + done + + exit 0 + ''; + serviceConfig = { ExecStart = "${lib.getExe cfg.package} serve --host \"${cfg.host}\" --port ${toString cfg.port}"; EnvironmentFile = lib.optional (cfg.environmentFile != null) cfg.environmentFile; diff --git a/nixos/modules/services/networking/netbird/management.nix b/nixos/modules/services/networking/netbird/management.nix index f05adb671e99..1026cf4fc9c1 100644 --- a/nixos/modules/services/networking/netbird/management.nix +++ b/nixos/modules/services/networking/netbird/management.nix @@ -139,7 +139,7 @@ in options.services.netbird.server.management = { enable = mkEnableOption "Netbird Management Service"; - package = mkPackageOption pkgs "netbird" { }; + package = mkPackageOption pkgs "netbird-management" { }; domain = mkOption { type = str; diff --git a/nixos/modules/services/networking/netbird/signal.nix b/nixos/modules/services/networking/netbird/signal.nix index 3122b6c9fe5f..ac13bdb6d6ba 100644 --- a/nixos/modules/services/networking/netbird/signal.nix +++ b/nixos/modules/services/networking/netbird/signal.nix @@ -31,7 +31,7 @@ in options.services.netbird.server.signal = { enable = mkEnableOption "Netbird's Signal Service"; - package = mkPackageOption pkgs "netbird" { }; + package = mkPackageOption pkgs "netbird-signal" { }; enableNginx = mkEnableOption "Nginx reverse-proxy for the netbird signal service"; diff --git a/nixos/modules/services/networking/wireguard-networkd.nix b/nixos/modules/services/networking/wireguard-networkd.nix index be069328c66f..0dc9f5b8d91c 100644 --- a/nixos/modules/services/networking/wireguard-networkd.nix +++ b/nixos/modules/services/networking/wireguard-networkd.nix @@ -105,7 +105,7 @@ let # See: https://github.com/systemd/systemd/issues/9911 # This hack does the job but takes down the whole interface to do it. script = '' - ip link delete ${name} + ip link delete ${name} || : networkctl reload ''; }; diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index 1e9360dc1f92..658666680340 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -5,11 +5,6 @@ ... }: let - inherit (lib) - mkIf - mkMerge - ; - cfg = config.services.nextcloud; overridePackage = cfg.package.override { @@ -1024,543 +1019,545 @@ in }; }; - config = mkIf cfg.enable (mkMerge [ - { - warnings = - let - latest = 31; - upgradeWarning = major: nixos: '' - A legacy Nextcloud install (from before NixOS ${nixos}) may be installed. - - After nextcloud${toString major} is installed successfully, you can safely upgrade - to ${toString (major + 1)}. The latest version available is Nextcloud${toString latest}. - - Please note that Nextcloud doesn't support upgrades across multiple major versions - (i.e. an upgrade from 16 is possible to 17, but not 16 to 18). - - The package can be upgraded by explicitly declaring the service-option - `services.nextcloud.package`. - ''; - - in - (lib.optional (cfg.poolConfig != null) '' - Using config.services.nextcloud.poolConfig is deprecated and will become unsupported in a future release. - Please migrate your configuration to config.services.nextcloud.poolSettings. - '') - ++ (lib.optional (cfg.config.dbtableprefix != null) '' - Using `services.nextcloud.config.dbtableprefix` is deprecated. Fresh installations with this - option set are not allowed anymore since v20. - - If you have an existing installation with a custom table prefix, make sure it is - set correctly in `config.php` and remove the option from your NixOS config. - '') - ++ (lib.optional (lib.versionOlder overridePackage.version "26") (upgradeWarning 25 "23.05")) - ++ (lib.optional (lib.versionOlder overridePackage.version "27") (upgradeWarning 26 "23.11")) - ++ (lib.optional (lib.versionOlder overridePackage.version "28") (upgradeWarning 27 "24.05")) - ++ (lib.optional (lib.versionOlder overridePackage.version "29") (upgradeWarning 28 "24.11")) - ++ (lib.optional (lib.versionOlder overridePackage.version "30") (upgradeWarning 29 "24.11")) - ++ (lib.optional (lib.versionOlder overridePackage.version "31") (upgradeWarning 30 "25.05")); - - services.nextcloud.package = lib.mkDefault ( - if pkgs ? nextcloud then - throw '' - The `pkgs.nextcloud`-attribute has been removed. If it's supposed to be the default - nextcloud defined in an overlay, please set `services.nextcloud.package` to - `pkgs.nextcloud`. - '' - else if lib.versionOlder stateVersion "24.05" then - pkgs.nextcloud27 - else if lib.versionOlder stateVersion "24.11" then - pkgs.nextcloud29 - else if lib.versionOlder stateVersion "25.05" then - pkgs.nextcloud30 - else - pkgs.nextcloud31 - ); - - services.nextcloud.phpOptions = mkMerge [ - (lib.mapAttrs (lib.const lib.mkOptionDefault) defaultPHPSettings) - { - upload_max_filesize = cfg.maxUploadSize; - post_max_size = cfg.maxUploadSize; - memory_limit = cfg.maxUploadSize; - } - (mkIf cfg.caching.apcu { - "apc.enable_cli" = "1"; - }) - ]; - } - - { - assertions = [ - { - assertion = cfg.database.createLocally -> cfg.config.dbpassFile == null; - message = '' - Using `services.nextcloud.database.createLocally` with database - password authentication is no longer supported. - - If you use an external database (or want to use password auth for any - other reason), set `services.nextcloud.database.createLocally` to - `false`. The database won't be managed for you (use `services.mysql` - if you want to set it up). - - If you want this module to manage your nextcloud database for you, - unset `services.nextcloud.config.dbpassFile` and - `services.nextcloud.config.dbhost` to use socket authentication - instead of password. - ''; - } - { - assertion = cfg.config.dbtype != null; - message = '' - `services.nextcloud.config.dbtype` must be set explicitly (pgsql, mysql, or sqlite) - - Before 25.05, it used to default to sqlite but that is not recommended by upstream. - Either set it to sqlite as it used to be, or convert to another type as described - in the official db conversion page: - https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/db_conversion.html - ''; - } - ]; - } - - { - systemd.timers.nextcloud-cron = { - wantedBy = [ "timers.target" ]; - after = [ "nextcloud-setup.service" ]; - timerConfig = { - OnBootSec = "5m"; - OnUnitActiveSec = "5m"; - Unit = "nextcloud-cron.service"; - }; - }; - - systemd.tmpfiles.rules = - map (dir: "d ${dir} 0750 nextcloud nextcloud - -") [ - "${cfg.home}" - "${datadir}/config" - "${datadir}/data" - "${cfg.home}/store-apps" - ] - ++ [ - "L+ ${datadir}/config/override.config.php - - - - ${overrideConfig}" - ]; - - services.nextcloud.finalPackage = webroot; - - systemd.services = { - nextcloud-setup = + config = lib.mkIf cfg.enable ( + lib.mkMerge [ + { + warnings = let - c = cfg.config; - occInstallCmd = - let - mkExport = - { arg, value }: - '' - ${arg}=${value}; - export ${arg}; - ''; - dbpass = { - arg = "DBPASS"; - value = if c.dbpassFile != null then ''"$(<"$CREDENTIALS_DIRECTORY/dbpass")"'' else ''""''; - }; - adminpass = { - arg = "ADMINPASS"; - value = ''"$(<"$CREDENTIALS_DIRECTORY/adminpass")"''; - }; - installFlags = lib.concatStringsSep " \\\n " ( - lib.mapAttrsToList (k: v: "${k} ${toString v}") { - "--database" = ''"${c.dbtype}"''; - # The following attributes are optional depending on the type of - # database. Those that evaluate to null on the left hand side - # will be omitted. - ${if c.dbname != null then "--database-name" else null} = ''"${c.dbname}"''; - ${if c.dbhost != null then "--database-host" else null} = ''"${c.dbhost}"''; - ${if c.dbuser != null then "--database-user" else null} = ''"${c.dbuser}"''; - "--database-pass" = "\"\$${dbpass.arg}\""; - "--admin-user" = ''"${c.adminuser}"''; - "--admin-pass" = "\"\$${adminpass.arg}\""; - "--data-dir" = ''"${datadir}/data"''; - } - ); - in - '' - ${mkExport dbpass} - ${mkExport adminpass} - ${lib.getExe occ} maintenance:install \ - ${installFlags} - ''; - occSetTrustedDomainsCmd = lib.concatStringsSep "\n" ( - lib.imap0 (i: v: '' - ${lib.getExe occ} config:system:set trusted_domains \ - ${toString i} --value="${toString v}" - '') (lib.unique ([ cfg.hostName ] ++ cfg.settings.trusted_domains)) - ); + latest = 31; + upgradeWarning = major: nixos: '' + A legacy Nextcloud install (from before NixOS ${nixos}) may be installed. + + After nextcloud${toString major} is installed successfully, you can safely upgrade + to ${toString (major + 1)}. The latest version available is Nextcloud${toString latest}. + + Please note that Nextcloud doesn't support upgrades across multiple major versions + (i.e. an upgrade from 16 is possible to 17, but not 16 to 18). + + The package can be upgraded by explicitly declaring the service-option + `services.nextcloud.package`. + ''; in + (lib.optional (cfg.poolConfig != null) '' + Using config.services.nextcloud.poolConfig is deprecated and will become unsupported in a future release. + Please migrate your configuration to config.services.nextcloud.poolSettings. + '') + ++ (lib.optional (cfg.config.dbtableprefix != null) '' + Using `services.nextcloud.config.dbtableprefix` is deprecated. Fresh installations with this + option set are not allowed anymore since v20. + + If you have an existing installation with a custom table prefix, make sure it is + set correctly in `config.php` and remove the option from your NixOS config. + '') + ++ (lib.optional (lib.versionOlder overridePackage.version "26") (upgradeWarning 25 "23.05")) + ++ (lib.optional (lib.versionOlder overridePackage.version "27") (upgradeWarning 26 "23.11")) + ++ (lib.optional (lib.versionOlder overridePackage.version "28") (upgradeWarning 27 "24.05")) + ++ (lib.optional (lib.versionOlder overridePackage.version "29") (upgradeWarning 28 "24.11")) + ++ (lib.optional (lib.versionOlder overridePackage.version "30") (upgradeWarning 29 "24.11")) + ++ (lib.optional (lib.versionOlder overridePackage.version "31") (upgradeWarning 30 "25.05")); + + services.nextcloud.package = lib.mkDefault ( + if pkgs ? nextcloud then + throw '' + The `pkgs.nextcloud`-attribute has been removed. If it's supposed to be the default + nextcloud defined in an overlay, please set `services.nextcloud.package` to + `pkgs.nextcloud`. + '' + else if lib.versionOlder stateVersion "24.05" then + pkgs.nextcloud27 + else if lib.versionOlder stateVersion "24.11" then + pkgs.nextcloud29 + else if lib.versionOlder stateVersion "25.05" then + pkgs.nextcloud30 + else + pkgs.nextcloud31 + ); + + services.nextcloud.phpOptions = lib.mkMerge [ + (lib.mapAttrs (lib.const lib.mkOptionDefault) defaultPHPSettings) { - wantedBy = [ "multi-user.target" ]; - wants = [ "nextcloud-update-db.service" ]; - before = [ "phpfpm-nextcloud.service" ]; - after = lib.optional mysqlLocal "mysql.service" ++ lib.optional pgsqlLocal "postgresql.target"; - requires = lib.optional mysqlLocal "mysql.service" ++ lib.optional pgsqlLocal "postgresql.target"; - path = [ occ ]; - restartTriggers = [ overrideConfig ]; - script = '' - ${lib.optionalString (c.dbpassFile != null) '' - if [ -z "$(<"$CREDENTIALS_DIRECTORY/dbpass")" ]; then - echo "dbpassFile ${c.dbpassFile} is empty!" - exit 1 - fi - ''} - if [ -z "$(<"$CREDENTIALS_DIRECTORY/adminpass")" ]; then - echo "adminpassFile ${c.adminpassFile} is empty!" - exit 1 - fi - - # Check if systemd-tmpfiles setup worked correctly - if [[ ! -O "${datadir}/config" ]]; then - echo "${datadir}/config is not owned by user 'nextcloud'!" - echo "Please check the logs via 'journalctl -u systemd-tmpfiles-setup'" - echo "and make sure there are no unsafe path transitions." - echo "(https://nixos.org/manual/nixos/stable/#module-services-nextcloud-pitfalls-during-upgrade)" - exit 1 - fi - - ${lib.concatMapStrings - (name: '' - if [ -d "${cfg.home}"/${name} ]; then - echo "Cleaning up ${name}; these are now bundled in the webroot store-path!" - rm -r "${cfg.home}"/${name} - fi - '') - [ - "nix-apps" - "apps" - ] - } - - # Do not install if already installed - if [[ ! -s ${datadir}/config/config.php ]]; then - ${occInstallCmd} - fi - - ${lib.getExe occ} upgrade - - ${lib.getExe occ} config:system:delete trusted_domains - - ${lib.optionalString (cfg.extraAppsEnable && cfg.extraApps != { }) '' - # Try to enable apps - ${lib.getExe occ} app:enable ${lib.concatStringsSep " " (lib.attrNames cfg.extraApps)} - ''} - - ${occSetTrustedDomainsCmd} - ''; - serviceConfig.Type = "oneshot"; - serviceConfig.User = "nextcloud"; - serviceConfig.LoadCredential = [ - "adminpass:${cfg.config.adminpassFile}" - ] - ++ runtimeSystemdCredentials; - # On Nextcloud ≥ 26, it is not necessary to patch the database files to prevent - # an automatic creation of the database user. - environment.NC_setup_create_db_user = "false"; - }; - nextcloud-cron = { - after = [ "nextcloud-setup.service" ]; - # NOTE: In contrast to the occ wrapper script running phpCli directly will not - # set NEXTCLOUD_CONFIG_DIR by itself currently. - environment.NEXTCLOUD_CONFIG_DIR = "${datadir}/config"; - script = '' - # NOTE: This early returns the script when nextcloud is in maintenance mode - # or needs `occ upgrade`. Using ExecCondition= is not possible here - # because it doesn't work with systemd credentials. - if [[ $(${lib.getExe occ} status --output=json | ${lib.getExe pkgs.jq} '. | if .maintenance or .needsDbUpgrade then "skip" else "" end' --raw-output) == "skip" ]]; then - echo "Nextcloud is in maintenance mode or needs DB upgrade, exiting." - exit 0 - fi - - ${phpCli} -f ${webroot}/cron.php - ''; - serviceConfig = { - Type = "exec"; - User = "nextcloud"; - KillMode = "process"; - LoadCredential = runtimeSystemdCredentials; - }; - }; - nextcloud-update-plugins = mkIf cfg.autoUpdateApps.enable { - after = [ "nextcloud-setup.service" ]; - serviceConfig = { - Type = "oneshot"; - ExecStart = "${lib.getExe occ} app:update --all"; - User = "nextcloud"; - LoadCredential = runtimeSystemdCredentials; - }; - startAt = cfg.autoUpdateApps.startAt; - }; - nextcloud-update-db = { - after = [ "nextcloud-setup.service" ]; - script = '' - # NOTE: This early returns the script when nextcloud is in maintenance mode - # or needs `occ upgrade`. Using ExecCondition= is not possible here - # because it doesn't work with systemd credentials. - if [[ $(${lib.getExe occ} status --output=json | ${lib.getExe pkgs.jq} '. | if .maintenance or .needsDbUpgrade then "skip" else "" end' --raw-output) == "skip" ]]; then - echo "Nextcloud is in maintenance mode or needs DB upgrade, exiting." - exit 0 - fi - - ${lib.getExe occ} db:add-missing-columns - ${lib.getExe occ} db:add-missing-indices - ${lib.getExe occ} db:add-missing-primary-keys - ''; - serviceConfig = { - Type = "exec"; - User = "nextcloud"; - LoadCredential = runtimeSystemdCredentials; - }; - }; - - phpfpm-nextcloud = { - # When upgrading the Nextcloud package, Nextcloud can report errors such as - # "The files of the app [all apps in /var/lib/nextcloud/apps] were not replaced correctly" - # Restarting phpfpm on Nextcloud package update fixes these issues (but this is a workaround). - restartTriggers = [ - webroot - overrideConfig - ]; - } - // lib.optionalAttrs requiresRuntimeSystemdCredentials { - serviceConfig.LoadCredential = runtimeSystemdCredentials; - - # FIXME: We use a hack to make the credential files readable by the nextcloud - # user by copying them somewhere else and overriding CREDENTIALS_DIRECTORY - # for php. This is currently necessary as the unit runs as root. - serviceConfig.RuntimeDirectory = lib.mkForce "phpfpm phpfpm-nextcloud"; - preStart = '' - umask 0077 - - # NOTE: Runtime directories for this service are currently preserved - # between restarts. - rm -rf /run/phpfpm-nextcloud/credentials/ - mkdir -p /run/phpfpm-nextcloud/credentials/ - cp "$CREDENTIALS_DIRECTORY"/* /run/phpfpm-nextcloud/credentials/ - chown -R nextcloud:nextcloud /run/phpfpm-nextcloud/credentials/ - ''; - }; - }; - - services.phpfpm = { - pools.nextcloud = { - user = "nextcloud"; - group = "nextcloud"; - phpPackage = phpPackage; - phpEnv = { - CREDENTIALS_DIRECTORY = "/run/phpfpm-nextcloud/credentials/"; - NEXTCLOUD_CONFIG_DIR = "${datadir}/config"; - PATH = "/run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin"; - }; - settings = - lib.mapAttrs (name: lib.mkDefault) { - "listen.owner" = config.services.nginx.user; - "listen.group" = config.services.nginx.group; - } - // cfg.poolSettings; - extraConfig = cfg.poolConfig; - }; - }; - - users.users.nextcloud = { - home = "${cfg.home}"; - group = "nextcloud"; - isSystemUser = true; - }; - users.groups.nextcloud.members = [ - "nextcloud" - config.services.nginx.user - ]; - - environment.systemPackages = [ occ ]; - - services.mysql = lib.mkIf mysqlLocal { - enable = true; - package = lib.mkDefault pkgs.mariadb; - ensureDatabases = [ cfg.config.dbname ]; - ensureUsers = [ - { - name = cfg.config.dbuser; - ensurePermissions = { - "${cfg.config.dbname}.*" = "ALL PRIVILEGES"; - }; + upload_max_filesize = cfg.maxUploadSize; + post_max_size = cfg.maxUploadSize; + memory_limit = cfg.maxUploadSize; } - ]; - }; - - services.postgresql = mkIf pgsqlLocal { - enable = true; - ensureDatabases = [ cfg.config.dbname ]; - ensureUsers = [ - { - name = cfg.config.dbuser; - ensureDBOwnership = true; - } - ]; - }; - - services.redis.servers.nextcloud = lib.mkIf cfg.configureRedis { - enable = true; - user = "nextcloud"; - }; - - services.nextcloud = { - caching.redis = lib.mkIf cfg.configureRedis true; - settings = mkMerge [ - { - datadirectory = lib.mkDefault "${datadir}/data"; - trusted_domains = [ cfg.hostName ]; - "upgrade.disable-web" = true; - # NixOS already provides its own integrity check and the nix store is read-only, therefore Nextcloud does not need to do its own integrity checks. - "integrity.check.disabled" = true; - } - (lib.mkIf cfg.configureRedis { - "memcache.distributed" = ''\OC\Memcache\Redis''; - "memcache.locking" = ''\OC\Memcache\Redis''; - redis = { - host = config.services.redis.servers.nextcloud.unixSocket; - port = 0; - }; + (lib.mkIf cfg.caching.apcu { + "apc.enable_cli" = "1"; }) ]; - }; + } - services.nginx.enable = lib.mkDefault true; + { + assertions = [ + { + assertion = cfg.database.createLocally -> cfg.config.dbpassFile == null; + message = '' + Using `services.nextcloud.database.createLocally` with database + password authentication is no longer supported. - services.nginx.virtualHosts.${cfg.hostName} = { - root = webroot; - locations = { - "= /robots.txt" = { - priority = 100; - extraConfig = '' - allow all; - access_log off; + If you use an external database (or want to use password auth for any + other reason), set `services.nextcloud.database.createLocally` to + `false`. The database won't be managed for you (use `services.mysql` + if you want to set it up). + + If you want this module to manage your nextcloud database for you, + unset `services.nextcloud.config.dbpassFile` and + `services.nextcloud.config.dbhost` to use socket authentication + instead of password. ''; + } + { + assertion = cfg.config.dbtype != null; + message = '' + `services.nextcloud.config.dbtype` must be set explicitly (pgsql, mysql, or sqlite) + + Before 25.05, it used to default to sqlite but that is not recommended by upstream. + Either set it to sqlite as it used to be, or convert to another type as described + in the official db conversion page: + https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/db_conversion.html + ''; + } + ]; + } + + { + systemd.timers.nextcloud-cron = { + wantedBy = [ "timers.target" ]; + after = [ "nextcloud-setup.service" ]; + timerConfig = { + OnBootSec = "5m"; + OnUnitActiveSec = "5m"; + Unit = "nextcloud-cron.service"; }; - "= /" = { - priority = 100; - extraConfig = '' - if ( $http_user_agent ~ ^DavClnt ) { - return 302 /remote.php/webdav/$is_args$args; - } + }; + + systemd.tmpfiles.rules = + map (dir: "d ${dir} 0750 nextcloud nextcloud - -") [ + "${cfg.home}" + "${datadir}/config" + "${datadir}/data" + "${cfg.home}/store-apps" + ] + ++ [ + "L+ ${datadir}/config/override.config.php - - - - ${overrideConfig}" + ]; + + services.nextcloud.finalPackage = webroot; + + systemd.services = { + nextcloud-setup = + let + c = cfg.config; + occInstallCmd = + let + mkExport = + { arg, value }: + '' + ${arg}=${value}; + export ${arg}; + ''; + dbpass = { + arg = "DBPASS"; + value = if c.dbpassFile != null then ''"$(<"$CREDENTIALS_DIRECTORY/dbpass")"'' else ''""''; + }; + adminpass = { + arg = "ADMINPASS"; + value = ''"$(<"$CREDENTIALS_DIRECTORY/adminpass")"''; + }; + installFlags = lib.concatStringsSep " \\\n " ( + lib.mapAttrsToList (k: v: "${k} ${toString v}") { + "--database" = ''"${c.dbtype}"''; + # The following attributes are optional depending on the type of + # database. Those that evaluate to null on the left hand side + # will be omitted. + ${if c.dbname != null then "--database-name" else null} = ''"${c.dbname}"''; + ${if c.dbhost != null then "--database-host" else null} = ''"${c.dbhost}"''; + ${if c.dbuser != null then "--database-user" else null} = ''"${c.dbuser}"''; + "--database-pass" = "\"\$${dbpass.arg}\""; + "--admin-user" = ''"${c.adminuser}"''; + "--admin-pass" = "\"\$${adminpass.arg}\""; + "--data-dir" = ''"${datadir}/data"''; + } + ); + in + '' + ${mkExport dbpass} + ${mkExport adminpass} + ${lib.getExe occ} maintenance:install \ + ${installFlags} + ''; + occSetTrustedDomainsCmd = lib.concatStringsSep "\n" ( + lib.imap0 (i: v: '' + ${lib.getExe occ} config:system:set trusted_domains \ + ${toString i} --value="${toString v}" + '') (lib.unique ([ cfg.hostName ] ++ cfg.settings.trusted_domains)) + ); + + in + { + wantedBy = [ "multi-user.target" ]; + wants = [ "nextcloud-update-db.service" ]; + before = [ "phpfpm-nextcloud.service" ]; + after = lib.optional mysqlLocal "mysql.service" ++ lib.optional pgsqlLocal "postgresql.target"; + requires = lib.optional mysqlLocal "mysql.service" ++ lib.optional pgsqlLocal "postgresql.target"; + path = [ occ ]; + restartTriggers = [ overrideConfig ]; + script = '' + ${lib.optionalString (c.dbpassFile != null) '' + if [ -z "$(<"$CREDENTIALS_DIRECTORY/dbpass")" ]; then + echo "dbpassFile ${c.dbpassFile} is empty!" + exit 1 + fi + ''} + if [ -z "$(<"$CREDENTIALS_DIRECTORY/adminpass")" ]; then + echo "adminpassFile ${c.adminpassFile} is empty!" + exit 1 + fi + + # Check if systemd-tmpfiles setup worked correctly + if [[ ! -O "${datadir}/config" ]]; then + echo "${datadir}/config is not owned by user 'nextcloud'!" + echo "Please check the logs via 'journalctl -u systemd-tmpfiles-setup'" + echo "and make sure there are no unsafe path transitions." + echo "(https://nixos.org/manual/nixos/stable/#module-services-nextcloud-pitfalls-during-upgrade)" + exit 1 + fi + + ${lib.concatMapStrings + (name: '' + if [ -d "${cfg.home}"/${name} ]; then + echo "Cleaning up ${name}; these are now bundled in the webroot store-path!" + rm -r "${cfg.home}"/${name} + fi + '') + [ + "nix-apps" + "apps" + ] + } + + # Do not install if already installed + if [[ ! -s ${datadir}/config/config.php ]]; then + ${occInstallCmd} + fi + + ${lib.getExe occ} upgrade + + ${lib.getExe occ} config:system:delete trusted_domains + + ${lib.optionalString (cfg.extraAppsEnable && cfg.extraApps != { }) '' + # Try to enable apps + ${lib.getExe occ} app:enable ${lib.concatStringsSep " " (lib.attrNames cfg.extraApps)} + ''} + + ${occSetTrustedDomainsCmd} + ''; + serviceConfig.Type = "oneshot"; + serviceConfig.User = "nextcloud"; + serviceConfig.LoadCredential = [ + "adminpass:${cfg.config.adminpassFile}" + ] + ++ runtimeSystemdCredentials; + # On Nextcloud ≥ 26, it is not necessary to patch the database files to prevent + # an automatic creation of the database user. + environment.NC_setup_create_db_user = "false"; + }; + nextcloud-cron = { + after = [ "nextcloud-setup.service" ]; + # NOTE: In contrast to the occ wrapper script running phpCli directly will not + # set NEXTCLOUD_CONFIG_DIR by itself currently. + environment.NEXTCLOUD_CONFIG_DIR = "${datadir}/config"; + script = '' + # NOTE: This early returns the script when nextcloud is in maintenance mode + # or needs `occ upgrade`. Using ExecCondition= is not possible here + # because it doesn't work with systemd credentials. + if [[ $(${lib.getExe occ} status --output=json | ${lib.getExe pkgs.jq} '. | if .maintenance or .needsDbUpgrade then "skip" else "" end' --raw-output) == "skip" ]]; then + echo "Nextcloud is in maintenance mode or needs DB upgrade, exiting." + exit 0 + fi + + ${phpCli} -f ${webroot}/cron.php ''; + serviceConfig = { + Type = "exec"; + User = "nextcloud"; + KillMode = "process"; + LoadCredential = runtimeSystemdCredentials; + }; }; - "^~ /.well-known" = { - priority = 210; - extraConfig = '' - absolute_redirect off; - location = /.well-known/carddav { - return 301 /remote.php/dav/; - } - location = /.well-known/caldav { - return 301 /remote.php/dav/; - } - location ~ ^/\.well-known/(?!acme-challenge|pki-validation) { - return 301 /index.php$request_uri; - } - try_files $uri $uri/ =404; - ''; + nextcloud-update-plugins = lib.mkIf cfg.autoUpdateApps.enable { + after = [ "nextcloud-setup.service" ]; + serviceConfig = { + Type = "oneshot"; + ExecStart = "${lib.getExe occ} app:update --all"; + User = "nextcloud"; + LoadCredential = runtimeSystemdCredentials; + }; + startAt = cfg.autoUpdateApps.startAt; }; - "~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/)" = { - priority = 450; - extraConfig = '' - return 404; + nextcloud-update-db = { + after = [ "nextcloud-setup.service" ]; + script = '' + # NOTE: This early returns the script when nextcloud is in maintenance mode + # or needs `occ upgrade`. Using ExecCondition= is not possible here + # because it doesn't work with systemd credentials. + if [[ $(${lib.getExe occ} status --output=json | ${lib.getExe pkgs.jq} '. | if .maintenance or .needsDbUpgrade then "skip" else "" end' --raw-output) == "skip" ]]; then + echo "Nextcloud is in maintenance mode or needs DB upgrade, exiting." + exit 0 + fi + + ${lib.getExe occ} db:add-missing-columns + ${lib.getExe occ} db:add-missing-indices + ${lib.getExe occ} db:add-missing-primary-keys ''; + serviceConfig = { + Type = "exec"; + User = "nextcloud"; + LoadCredential = runtimeSystemdCredentials; + }; }; - "~ ^/(?:\\.|autotest|occ|issue|indie|db_|console)" = { - priority = 450; - extraConfig = '' - return 404; - ''; - }; - "~ \\.php(?:$|/)" = { - priority = 500; - extraConfig = '' - # legacy support (i.e. static files and directories in cfg.package) - rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode(_arm64)?\/proxy) /index.php$request_uri; - include ${config.services.nginx.package}/conf/fastcgi.conf; - fastcgi_split_path_info ^(.+?\.php)(\\/.*)$; - set $path_info $fastcgi_path_info; - try_files $fastcgi_script_name =404; - fastcgi_param PATH_INFO $path_info; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_param HTTPS ${if cfg.https then "on" else "off"}; - fastcgi_param modHeadersAvailable true; - fastcgi_param front_controller_active true; - fastcgi_pass unix:${fpm.socket}; - fastcgi_intercept_errors on; - fastcgi_request_buffering ${if cfg.nginx.enableFastcgiRequestBuffering then "on" else "off"}; - fastcgi_read_timeout ${builtins.toString cfg.fastcgiTimeout}s; - ''; - }; - "~ \\.(?:css|js|mjs|svg|gif|ico|jpg|jpeg|png|webp|wasm|tflite|map|html|ttf|bcmap|mp4|webm|ogg|flac)$".extraConfig = - '' - try_files $uri /index.php$request_uri; - expires 6M; - access_log off; - location ~ \.mjs$ { - default_type text/javascript; - } - location ~ \.wasm$ { - default_type application/wasm; - } - ''; - "~ ^\\/(?:updater|ocs-provider)(?:$|\\/)".extraConfig = '' - try_files $uri/ =404; - index index.php; - ''; - "/remote" = { - priority = 1500; - extraConfig = '' - return 301 /remote.php$request_uri; - ''; - }; - "/" = { - priority = 1600; - extraConfig = '' - try_files $uri $uri/ /index.php$request_uri; + + phpfpm-nextcloud = { + # When upgrading the Nextcloud package, Nextcloud can report errors such as + # "The files of the app [all apps in /var/lib/nextcloud/apps] were not replaced correctly" + # Restarting phpfpm on Nextcloud package update fixes these issues (but this is a workaround). + restartTriggers = [ + webroot + overrideConfig + ]; + } + // lib.optionalAttrs requiresRuntimeSystemdCredentials { + serviceConfig.LoadCredential = runtimeSystemdCredentials; + + # FIXME: We use a hack to make the credential files readable by the nextcloud + # user by copying them somewhere else and overriding CREDENTIALS_DIRECTORY + # for php. This is currently necessary as the unit runs as root. + serviceConfig.RuntimeDirectory = lib.mkForce "phpfpm phpfpm-nextcloud"; + preStart = '' + umask 0077 + + # NOTE: Runtime directories for this service are currently preserved + # between restarts. + rm -rf /run/phpfpm-nextcloud/credentials/ + mkdir -p /run/phpfpm-nextcloud/credentials/ + cp "$CREDENTIALS_DIRECTORY"/* /run/phpfpm-nextcloud/credentials/ + chown -R nextcloud:nextcloud /run/phpfpm-nextcloud/credentials/ ''; }; }; - extraConfig = '' - index index.php index.html /index.php$request_uri; - ${lib.optionalString (cfg.nginx.recommendedHttpHeaders) '' - add_header X-Content-Type-Options nosniff; - add_header X-XSS-Protection "1; mode=block"; - add_header X-Robots-Tag "noindex, nofollow"; - add_header X-Permitted-Cross-Domain-Policies none; - add_header X-Frame-Options sameorigin; - add_header Referrer-Policy no-referrer; - ''} - ${lib.optionalString (cfg.https) '' - add_header Strict-Transport-Security "max-age=${toString cfg.nginx.hstsMaxAge}; includeSubDomains" always; - ''} - client_max_body_size ${cfg.maxUploadSize}; - fastcgi_buffers 64 4K; - fastcgi_hide_header X-Powered-By; - gzip on; - gzip_vary on; - gzip_comp_level 4; - gzip_min_length 256; - gzip_proxied expired no-cache no-store private no_last_modified no_etag auth; - gzip_types application/atom+xml text/javascript application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy; - ${lib.optionalString cfg.webfinger '' - rewrite ^/.well-known/host-meta /public.php?service=host-meta last; - rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last; - ''} - ''; - }; - } - ]); + services.phpfpm = { + pools.nextcloud = { + user = "nextcloud"; + group = "nextcloud"; + phpPackage = phpPackage; + phpEnv = { + CREDENTIALS_DIRECTORY = "/run/phpfpm-nextcloud/credentials/"; + NEXTCLOUD_CONFIG_DIR = "${datadir}/config"; + PATH = "/run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin"; + }; + settings = + lib.mapAttrs (name: lib.mkDefault) { + "listen.owner" = config.services.nginx.user; + "listen.group" = config.services.nginx.group; + } + // cfg.poolSettings; + extraConfig = cfg.poolConfig; + }; + }; + + users.users.nextcloud = { + home = "${cfg.home}"; + group = "nextcloud"; + isSystemUser = true; + }; + users.groups.nextcloud.members = [ + "nextcloud" + config.services.nginx.user + ]; + + environment.systemPackages = [ occ ]; + + services.mysql = lib.mkIf mysqlLocal { + enable = true; + package = lib.mkDefault pkgs.mariadb; + ensureDatabases = [ cfg.config.dbname ]; + ensureUsers = [ + { + name = cfg.config.dbuser; + ensurePermissions = { + "${cfg.config.dbname}.*" = "ALL PRIVILEGES"; + }; + } + ]; + }; + + services.postgresql = lib.mkIf pgsqlLocal { + enable = true; + ensureDatabases = [ cfg.config.dbname ]; + ensureUsers = [ + { + name = cfg.config.dbuser; + ensureDBOwnership = true; + } + ]; + }; + + services.redis.servers.nextcloud = lib.mkIf cfg.configureRedis { + enable = true; + user = "nextcloud"; + }; + + services.nextcloud = { + caching.redis = lib.mkIf cfg.configureRedis true; + settings = lib.mkMerge [ + { + datadirectory = lib.mkDefault "${datadir}/data"; + trusted_domains = [ cfg.hostName ]; + "upgrade.disable-web" = true; + # NixOS already provides its own integrity check and the nix store is read-only, therefore Nextcloud does not need to do its own integrity checks. + "integrity.check.disabled" = true; + } + (lib.mkIf cfg.configureRedis { + "memcache.distributed" = ''\OC\Memcache\Redis''; + "memcache.locking" = ''\OC\Memcache\Redis''; + redis = { + host = config.services.redis.servers.nextcloud.unixSocket; + port = 0; + }; + }) + ]; + }; + + services.nginx.enable = lib.mkDefault true; + + services.nginx.virtualHosts.${cfg.hostName} = { + root = webroot; + locations = { + "= /robots.txt" = { + priority = 100; + extraConfig = '' + allow all; + access_log off; + ''; + }; + "= /" = { + priority = 100; + extraConfig = '' + if ( $http_user_agent ~ ^DavClnt ) { + return 302 /remote.php/webdav/$is_args$args; + } + ''; + }; + "^~ /.well-known" = { + priority = 210; + extraConfig = '' + absolute_redirect off; + location = /.well-known/carddav { + return 301 /remote.php/dav/; + } + location = /.well-known/caldav { + return 301 /remote.php/dav/; + } + location ~ ^/\.well-known/(?!acme-challenge|pki-validation) { + return 301 /index.php$request_uri; + } + try_files $uri $uri/ =404; + ''; + }; + "~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/)" = { + priority = 450; + extraConfig = '' + return 404; + ''; + }; + "~ ^/(?:\\.|autotest|occ|issue|indie|db_|console)" = { + priority = 450; + extraConfig = '' + return 404; + ''; + }; + "~ \\.php(?:$|/)" = { + priority = 500; + extraConfig = '' + # legacy support (i.e. static files and directories in cfg.package) + rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode(_arm64)?\/proxy) /index.php$request_uri; + include ${config.services.nginx.package}/conf/fastcgi.conf; + fastcgi_split_path_info ^(.+?\.php)(\\/.*)$; + set $path_info $fastcgi_path_info; + try_files $fastcgi_script_name =404; + fastcgi_param PATH_INFO $path_info; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_param HTTPS ${if cfg.https then "on" else "off"}; + fastcgi_param modHeadersAvailable true; + fastcgi_param front_controller_active true; + fastcgi_pass unix:${fpm.socket}; + fastcgi_intercept_errors on; + fastcgi_request_buffering ${if cfg.nginx.enableFastcgiRequestBuffering then "on" else "off"}; + fastcgi_read_timeout ${builtins.toString cfg.fastcgiTimeout}s; + ''; + }; + "~ \\.(?:css|js|mjs|svg|gif|ico|jpg|jpeg|png|webp|wasm|tflite|map|html|ttf|bcmap|mp4|webm|ogg|flac)$".extraConfig = + '' + try_files $uri /index.php$request_uri; + expires 6M; + access_log off; + location ~ \.mjs$ { + default_type text/javascript; + } + location ~ \.wasm$ { + default_type application/wasm; + } + ''; + "~ ^\\/(?:updater|ocs-provider)(?:$|\\/)".extraConfig = '' + try_files $uri/ =404; + index index.php; + ''; + "/remote" = { + priority = 1500; + extraConfig = '' + return 301 /remote.php$request_uri; + ''; + }; + "/" = { + priority = 1600; + extraConfig = '' + try_files $uri $uri/ /index.php$request_uri; + ''; + }; + }; + extraConfig = '' + index index.php index.html /index.php$request_uri; + ${lib.optionalString (cfg.nginx.recommendedHttpHeaders) '' + add_header X-Content-Type-Options nosniff; + add_header X-XSS-Protection "1; mode=block"; + add_header X-Robots-Tag "noindex, nofollow"; + add_header X-Permitted-Cross-Domain-Policies none; + add_header X-Frame-Options sameorigin; + add_header Referrer-Policy no-referrer; + ''} + ${lib.optionalString (cfg.https) '' + add_header Strict-Transport-Security "max-age=${toString cfg.nginx.hstsMaxAge}; includeSubDomains" always; + ''} + client_max_body_size ${cfg.maxUploadSize}; + fastcgi_buffers 64 4K; + fastcgi_hide_header X-Powered-By; + gzip on; + gzip_vary on; + gzip_comp_level 4; + gzip_min_length 256; + gzip_proxied expired no-cache no-store private no_last_modified no_etag auth; + gzip_types application/atom+xml text/javascript application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy; + + ${lib.optionalString cfg.webfinger '' + rewrite ^/.well-known/host-meta /public.php?service=host-meta last; + rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last; + ''} + ''; + }; + } + ] + ); meta.doc = ./nextcloud.md; meta.maintainers = lib.teams.nextcloud.members; diff --git a/nixos/modules/virtualisation/oci-containers.nix b/nixos/modules/virtualisation/oci-containers.nix index be1ab80b7390..24337cb6f8d7 100644 --- a/nixos/modules/virtualisation/oci-containers.nix +++ b/nixos/modules/virtualisation/oci-containers.nix @@ -494,7 +494,7 @@ let filterAttrs (_: v: v == false) container.capabilities ) ++ map (d: "--device=${escapeShellArg d}") container.devices - ++ map (n: "--network=${escapeShellArg n}") container.networks + ++ map (n: "--network=${escapeShellArg n}") (lib.lists.unique container.networks) ++ [ "--pull ${escapeShellArg container.pull}" ] ++ map escapeShellArg container.extraOptions ++ [ container.image ] diff --git a/nixos/tests/all-terminfo.nix b/nixos/tests/all-terminfo.nix index dad52834cb8b..fce2b8a0dd5b 100644 --- a/nixos/tests/all-terminfo.nix +++ b/nixos/tests/all-terminfo.nix @@ -13,6 +13,10 @@ ... }: let + # Use derivations instead of attr names to avoid listing missing packages + maskedTerminfos = with pkgs; [ + alacritty-graphics # would clobber alacritty terminfo + ]; infoFilter = name: drv: let @@ -23,7 +27,8 @@ && o.value ? outputs && builtins.elem "terminfo" o.value.outputs && !o.value.meta.broken - && lib.meta.availableOn pkgs.stdenv.hostPlatform o.value; + && lib.meta.availableOn pkgs.stdenv.hostPlatform o.value + && !(builtins.elem o.value maskedTerminfos); terminfos = lib.filterAttrs infoFilter pkgs; excludedTerminfos = lib.filterAttrs ( _: drv: !(builtins.elem drv.terminfo config.environment.systemPackages) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index fd52943f093e..9bf8c982c8a7 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1123,6 +1123,7 @@ in osquery = handleTestOn [ "x86_64-linux" ] ./osquery.nix { }; osrm-backend = runTest ./osrm-backend.nix; overlayfs = runTest ./overlayfs.nix; + oxidized = handleTest ./oxidized.nix { }; pacemaker = runTest ./pacemaker.nix; packagekit = runTest ./packagekit.nix; paisa = runTest ./paisa.nix; diff --git a/nixos/tests/netbird.nix b/nixos/tests/netbird.nix index 873f5405935e..962b5377cc9d 100644 --- a/nixos/tests/netbird.nix +++ b/nixos/tests/netbird.nix @@ -7,7 +7,7 @@ ]; nodes = { - clients = + node = { ... }: { services.netbird.enable = true; @@ -15,34 +15,16 @@ }; }; - # TODO: confirm the whole solution is working end-to-end when netbird server is implemented - testScript = '' - start_all() - def did_start(node, name, interval=0.5, timeout=10): - node.wait_for_unit(f"{name}.service") - node.wait_for_file(f"/var/run/{name}/sock") - # `netbird status` returns a full "Disconnected" status during initialization - # only after a while passes it starts returning "NeedsLogin" help message - - start = time.time() - output = node.succeed(f"{name} status") - while "Disconnected" in output and (time.time() - start) < timeout: - time.sleep(interval) - output = node.succeed(f"{name} status") - assert "NeedsLogin" in output - - did_start(clients, "netbird") - did_start(clients, "netbird-custom") - ''; - /* - `netbird status` used to print `Daemon status: NeedsLogin` - https://github.com/netbirdio/netbird/blob/23a14737974e3849fa86408d136cc46db8a885d0/client/cmd/status.go#L154-L164 - as the first line, but now it is just: + Historically waiting for the NetBird client daemon initialization helped catch number of bugs with the service, + so we keep try to keep it here in as much details as it makes sense. - Daemon version: 0.26.3 - CLI version: 0.26.3 - Management: Disconnected + Initially `netbird status` returns a "Disconnected" messages: + OS: linux/amd64 + Daemon version: 0.54.0 + CLI version: 0.54.0 + Profile: default + Management: Disconnected, reason: rpc error: code = FailedPrecondition desc = failed connecting to Management Service : context deadline exceeded Signal: Disconnected Relays: 0/0 Available Nameservers: 0/0 Available @@ -50,7 +32,69 @@ NetBird IP: N/A Interface type: N/A Quantum resistance: false - Routes: - + Lazy connection: false + Networks: - + Forwarding rules: 0 Peers count: 0/0 Connected + + After a while passes it should start returning "NeedsLogin" help message. + + As of ~0.53.0+ in ~30 second intervals the `netbird status` instead of "NeedsLogin" it briefly (for under 2 seconds) crashes with: + + Error: status failed: failed connecting to Management Service : context deadline exceeded + + This might be related to the following log line: + + 2025-08-11T15:03:25Z ERRO shared/management/client/grpc.go:65: failed creating connection to Management Service: context deadline exceeded */ + # TODO: confirm the whole solution is working end-to-end when netbird server is implemented + testScript = '' + import textwrap + import time + + start_all() + + def run_with_debug(node, cmd, check=True, display=True, **kwargs): + cmd = f"{cmd} 2>&1" + start = time.time() + ret, output = node.execute(cmd, **kwargs) + duration = time.time() - start + txt = f">>> {cmd=} {ret=} {duration=:.2f}:\n{textwrap.indent(output, '... ')}" + if check: + assert ret == 0, txt + if display: + print(txt) + return ret, output + + def wait_until_rcode(node, cmd, rcode=0, retries=30, **kwargs): + def check_success(_last_try): + nonlocal output + ret, output = run_with_debug(node, cmd, **kwargs) + return ret == rcode + + kwargs.setdefault('check', False) + output = None + with node.nested(f"waiting for {cmd=} to exit with {rcode=}"): + retry(check_success, retries) + return output + + instances = ["netbird", "netbird-custom"] + + for name in instances: + node.wait_for_unit(f"{name}.service") + node.wait_for_file(f"/var/run/{name}/sock") + + for name in instances: + wait_until_rcode(node, f"{name} status |& grep -C20 Disconnected", 0, retries=5) + '' + # The status used to turn into `NeedsLogin`, but recently started crashing instead. + # leaving the snippets in here, in case some update goes back to the old behavior and can be tested again + + lib.optionalString false '' + for name in instances: + #wait_until_rcode(node, f"{name} status |& grep -C20 NeedsLogin", 0, retries=20) + output = wait_until_rcode(node, f"{name} status", 1, retries=61) + msg = "Error: status failed: failed connecting to Management Service : context deadline exceeded" + assert output.strip() == msg, f"expected {msg=}, got {output=} instead" + wait_until_rcode(node, f"{name} status |& grep -C20 Disconnected", 0, retries=10) + ''; } diff --git a/nixos/tests/oxidized.nix b/nixos/tests/oxidized.nix new file mode 100644 index 000000000000..88aadce7a8f4 --- /dev/null +++ b/nixos/tests/oxidized.nix @@ -0,0 +1,104 @@ +{ + system ? builtins.currentSystem, + pkgs ? import ../.. { + inherit system; + config = { }; + }, +}: + +let + inherit (import ../lib/testing-python.nix { inherit system pkgs; }) makeTest; +in +makeTest { + name = "oxidized"; + + nodes.server = + { config, pkgs, ... }: + { + security.pam.services.sshd.allowNullPassword = true; # the default `UsePam yes` makes this necessary + services = { + sshd.enable = true; + openssh = { + settings.PermitRootLogin = "yes"; + settings.PermitEmptyPasswords = "yes"; + }; + oxidized = { + enable = true; + package = pkgs.oxidized; + routerDB = pkgs.writeText "oxidized-router.db" '' + localhost:linuxgeneric:root + ''; + configFile = pkgs.writeText "oxidized-config.yml" '' + # vi: ft=yaml + --- + extensions: + oxidized-web: + load: true + listen: 127.0.0.1 + port: 8888 + vhosts: + - localhost + - 127.0.0.1 + - oxidized + - oxidized.example.com + interval: 3600 + retries: 3 + model: linuxgeneric + username: root + source: + default: csv + csv: + file: "/var/lib/oxidized/.config/oxidized/router.db" + delimiter: !ruby/regexp /:/ + map: + name: 0 + model: 1 + username: 2 + password: 3 + vars_map: + enable: 4 + input: + default: ssh + utf8_encoded: true + output: + default: git + git: + single_repo: true + user: oxidized + email: oxidized@example.com + repo: /var/lib/oxidized/git + ''; + }; + }; + systemd.services.oxidized = { + stopIfChanged = false; + environment.HOME = "/var/lib/oxidized"; + environment.APP_ENV = "production"; + serviceConfig = { + StateDirectory = "oxidized"; + MemoryDenyWriteExecute = false; + + PrivateNetwork = false; + SystemCallFilter = "@system-service"; + }; + + path = [ config.programs.ssh.package ]; + }; + + }; + + testScript = + { nodes, ... }: + '' + start_all() + + server.wait_for_unit("oxidized.service") + + with subtest("Check if oxidized reports the correct version"): + server.wait_until_succeeds(("curl --silent --fail --location http://127.0.0.1:8888/ | grep '${nodes.server.services.oxidized.package.version}' >&2")) + with subtest("Check if oxidized can be accessed with a vhost and reports the correct version"): + server.wait_until_succeeds(("curl --silent --fail --resolve oxidized:8888:127.0.0.1 --location http://oxidized:8888/ | grep '${nodes.server.services.oxidized.package.version}' >&2")) + with subtest("Check if oxidized can connect to linuxgeneric model"): + server.wait_until_succeeds("journalctl -b --grep 'Oxidized::Worker -- Configuration updated for /localhost' -t oxidized") + ''; +} diff --git a/nixos/tests/php/default.nix b/nixos/tests/php/default.nix index 71b2c823a6de..83155ae7ad1b 100644 --- a/nixos/tests/php/default.nix +++ b/nixos/tests/php/default.nix @@ -13,6 +13,10 @@ in imports = [ ./fpm.nix ]; _module.args.php = php'; }; + fpm-modular = runTest { + imports = [ ./fpm-modular.nix ]; + _module.args.php = php'; + }; httpd = runTest { imports = [ ./httpd.nix ]; _module.args.php = php'; diff --git a/nixos/tests/php/fpm-modular.nix b/nixos/tests/php/fpm-modular.nix new file mode 100644 index 000000000000..cd95bbd7e098 --- /dev/null +++ b/nixos/tests/php/fpm-modular.nix @@ -0,0 +1,71 @@ +{ lib, php, ... }: +{ + name = "php-${php.version}-fpm-modular-nginx-test"; + meta.maintainers = with lib.maintainers; [ + aanderse + ]; + + nodes.machine = + { config, pkgs, ... }: + { + environment.systemPackages = [ php ]; + + services.nginx = { + enable = true; + + virtualHosts."phpfpm" = + let + testdir = pkgs.writeTextDir "web/index.php" " backend == "transmission") '' + json config for configuring fetchtorrent only works with the transmission backend +''; +assert lib.assertMsg (backend == "transmission" -> flatten') '' + `flatten = false` is only supported by the rqbit backend for fetchtorrent +''; runCommand name { inherit meta; @@ -75,17 +120,54 @@ runCommand name mkdir -p $downloadedDirectory mkdir -p $HOME/.config/transmission cp ${jsonConfig} $HOME/.config/transmission/settings.json + port="$(shuf -n 1 -i 49152-65535)" function handleChild { # This detects failures and logs the contents of the transmission fetch find $out exit 0 } trap handleChild CHLD - transmission-cli --port $(shuf -n 1 -i 49152-65535) --portmap --finish ${afterSuccess} --download-dir $downloadedDirectory --config-dir "$HOME"/.config/transmission "$url" + transmission-cli \ + --port "$port" \ + --portmap \ + --finish ${transmissionFinishScript} \ + --download-dir "$downloadedDirectory" \ + --config-dir "$HOME"/.config/transmission \ + "$url" '' else '' export HOME=$TMP - rqbit --disable-dht-persistence --http-api-listen-addr "127.0.0.1:$(shuf -n 1 -i 49152-65535)" download -o $out --exit-on-finish "$url" + '' + + lib.optionalString flatten' '' + downloadedDirectory=$out/downloadedDirectory + mkdir -p $downloadedDirectory + '' + + lib.optionalString (!flatten') '' + downloadedDirectory=$out + '' + + '' + port="$(shuf -n 1 -i 49152-65535)" + + rqbit \ + --disable-dht-persistence \ + --http-api-listen-addr "127.0.0.1:$port" \ + download \ + -o "$downloadedDirectory" \ + --exit-on-finish \ + "$url" + + ${postUnpack} + '' + + lib.optionalString flatten' '' + # Flatten the directory, so that only the torrent contents are in $out, + # not the folder name + shopt -s dotglob + mv -v $downloadedDirectory/*/* $out + rm -v -rf $downloadedDirectory + unset downloadedDirectory + '' + + '' + ${postFetch} '' ) diff --git a/pkgs/build-support/fetchtorrent/tests.nix b/pkgs/build-support/fetchtorrent/tests.nix index 392d53b8956d..18774ba1d503 100644 --- a/pkgs/build-support/fetchtorrent/tests.nix +++ b/pkgs/build-support/fetchtorrent/tests.nix @@ -18,41 +18,74 @@ let }; # Via https://webtorrent.io/free-torrents - httpUrl = "https://webtorrent.io/torrents/sintel.torrent"; - magnetUrl = "magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel.torrent"; + http.url = "https://webtorrent.io/torrents/sintel.torrent"; + magnet.url = "magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel.torrent"; - # All routes to download the torrent should produce the same output and - # therefore have the same FOD hash. - hash = "sha256-EzbmBiTEWOlFUNaV5R4eDeD9EBbp6d93rfby88ACg0s="; + flattened.hash = "sha256-EzbmBiTEWOlFUNaV5R4eDeD9EBbp6d93rfby88ACg0s="; + unflattened.hash = "sha256-lVrlo1AwmFcxwsIsY976VYqb3hAprFH1xWYdmlTuw0U="; in - -{ - http-link = testers.invalidateFetcherByDrvHash fetchtorrent { - inherit hash; - url = httpUrl; - backend = "transmission"; +# Seems almost but not quite worth using lib.mapCartesianProduct... +builtins.mapAttrs (n: v: testers.invalidateFetcherByDrvHash fetchtorrent v) { + http-link = { + inherit (http) url; + inherit (flattened) hash; inherit (sintel) meta; }; - magnet-link = testers.invalidateFetcherByDrvHash fetchtorrent { - inherit hash; - url = magnetUrl; + http-link-transmission = { + inherit (http) url; backend = "transmission"; + inherit (flattened) hash; inherit (sintel) meta; }; - http-link-rqbit = testers.invalidateFetcherByDrvHash fetchtorrent { - inherit hash; - url = httpUrl; - backend = "rqbit"; - meta = sintel.meta // { - broken = true; - }; + magnet-link = { + inherit (magnet) url; + inherit (flattened) hash; + inherit (sintel) meta; }; - magnet-link-rqbit = testers.invalidateFetcherByDrvHash fetchtorrent { - inherit hash; - url = magnetUrl; + magnet-link-transmission = { + inherit (magnet) url; + backend = "transmission"; + inherit (flattened) hash; + inherit (sintel) meta; + }; + http-link-rqbit = { + inherit (http) url; backend = "rqbit"; - meta = sintel.meta // { - broken = true; - }; + inherit (flattened) hash; + inherit (sintel) meta; + }; + magnet-link-rqbit = { + inherit (magnet) url; + backend = "rqbit"; + inherit (flattened) hash; + inherit (sintel) meta; + }; + http-link-rqbit-flattened = { + inherit (http) url; + backend = "rqbit"; + flatten = true; + inherit (flattened) hash; + inherit (sintel) meta; + }; + magnet-link-rqbit-flattened = { + inherit (magnet) url; + backend = "rqbit"; + flatten = true; + inherit (flattened) hash; + inherit (sintel) meta; + }; + http-link-rqbit-unflattened = { + inherit (http) url; + backend = "rqbit"; + flatten = false; + inherit (unflattened) hash; + inherit (sintel) meta; + }; + magnet-link-rqbit-unflattened = { + inherit (magnet) url; + backend = "rqbit"; + flatten = false; + inherit (unflattened) hash; + inherit (sintel) meta; }; } diff --git a/pkgs/by-name/ab/abbaye-des-morts/package.nix b/pkgs/by-name/ab/abbaye-des-morts/package.nix index baed89f1b682..e0905c31c0ca 100644 --- a/pkgs/by-name/ab/abbaye-des-morts/package.nix +++ b/pkgs/by-name/ab/abbaye-des-morts/package.nix @@ -7,14 +7,14 @@ SDL2_mixer, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "abbaye-des-morts"; version = "2.0.5"; src = fetchFromGitHub { owner = "nevat"; repo = "abbayedesmorts-gpl"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; sha256 = "sha256-muJt1cml0nYdgl0v8cudpUXcdSntc49e6zICTCwzkks="; }; @@ -25,18 +25,17 @@ stdenv.mkDerivation rec { ]; makeFlags = [ - "PREFIX=$(out)" + "PREFIX=${placeholder "out"}" "DESTDIR=" - ]; + ] + ++ lib.optional stdenv.isDarwin "PLATFORM=mac"; - preBuild = lib.optionalString stdenv.cc.isClang '' + # Even with PLATFORM=mac, the Makefile specifies some GCC-specific CFLAGS that + # are not supported by modern Clang on macOS + postPatch = lib.optionalString stdenv.isDarwin '' substituteInPlace Makefile \ - --replace -fpredictive-commoning "" - ''; - - preInstall = '' - mkdir -p $out/bin - mkdir -p $out/share/applications + --replace-fail "-funswitch-loops" "" \ + --replace-fail "-fgcse-after-reload" "" ''; meta = { @@ -46,4 +45,4 @@ stdenv.mkDerivation rec { license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ marius851000 ]; }; -} +}) diff --git a/pkgs/by-name/al/aliyun-cli/package.nix b/pkgs/by-name/al/aliyun-cli/package.nix index 11be87091125..bd5bc18d4bcd 100644 --- a/pkgs/by-name/al/aliyun-cli/package.nix +++ b/pkgs/by-name/al/aliyun-cli/package.nix @@ -8,17 +8,17 @@ buildGoModule rec { pname = "aliyun-cli"; - version = "3.0.292"; + version = "3.0.294"; src = fetchFromGitHub { owner = "aliyun"; repo = "aliyun-cli"; tag = "v${version}"; - hash = "sha256-/bw4ukQRQ7rJLa+Muy7KjgyBh7ffFGSJ/q5Wnd/y7FY="; + hash = "sha256-u7a90QObYcsZFLlKoaIanqadxrSaWEVB/FCHFBul/dI="; fetchSubmodules = true; }; - vendorHash = "sha256-pa60hGn1UmzSgmopw+OAFgsL0o7mjEXTpYLAHgdTcMI="; + vendorHash = "sha256-Vp7cvIlswhRf1ntZESd7Oabg+xZ4UOFJGD2usRcnnhY="; subPackages = [ "main" ]; diff --git a/pkgs/by-name/an/analyze-build/package.nix b/pkgs/by-name/an/analyze-build/package.nix new file mode 100644 index 000000000000..7d4ec5845407 --- /dev/null +++ b/pkgs/by-name/an/analyze-build/package.nix @@ -0,0 +1,46 @@ +{ + lib, + llvmPackages, + python3, +}: +let + inherit (llvmPackages) clang-unwrapped; +in +python3.pkgs.buildPythonApplication rec { + pname = "analyze-build"; + inherit (clang-unwrapped) version; + + format = "other"; + + src = clang-unwrapped + "/bin"; + + dontUnpack = true; + + dependencies = with python3.pkgs; [ + libscanbuild + ]; + + installPhase = '' + mkdir -p "$out/bin" + install "$src/analyze-build" "$out/bin/" + ''; + + makeWrapperArgs = [ + "--prefix" + "PATH" + ":" + (lib.makeBinPath [ clang-unwrapped ]) + ]; + + meta = { + description = "run Clang static analyzer against a project with compilation database"; + homepage = "https://github.com/llvm/llvm-project/tree/llvmorg-${version}/clang/tools/scan-build-py/"; + mainProgram = "scan-build"; + license = with lib.licenses; [ + asl20 + llvm-exception + ]; + maintainers = with lib.maintainers; [ RossSmyth ]; + platforms = lib.intersectLists python3.meta.platforms clang-unwrapped.meta.platforms; + }; +} diff --git a/pkgs/by-name/ar/archipelago/package.nix b/pkgs/by-name/ar/archipelago/package.nix index e0cd0fcaac95..995cc280bb6d 100644 --- a/pkgs/by-name/ar/archipelago/package.nix +++ b/pkgs/by-name/ar/archipelago/package.nix @@ -7,10 +7,10 @@ }: let pname = "archipelago"; - version = "0.6.2"; + version = "0.6.3"; src = fetchurl { url = "https://github.com/ArchipelagoMW/Archipelago/releases/download/${version}/Archipelago_${version}_linux-x86_64.AppImage"; - hash = "sha256-DdlfHb8iTCfTGGBUYQeELYh2NF/2GcamtuJzeYb2A5M="; + hash = "sha256-PetlGYsdhyvThIFqy+7wbPLAXDcgN2Kcl2WF3rta8PA="; }; appimageContents = appimageTools.extractType2 { inherit pname version src; }; diff --git a/pkgs/by-name/ar/argyllcms/package.nix b/pkgs/by-name/ar/argyllcms/package.nix index cf9ddf139dc0..071d192685f0 100644 --- a/pkgs/by-name/ar/argyllcms/package.nix +++ b/pkgs/by-name/ar/argyllcms/package.nix @@ -26,13 +26,13 @@ stdenv.mkDerivation rec { pname = "argyllcms"; - version = "3.3.0"; + version = "3.4.0"; src = fetchzip { # Kind of flacky URL, it was reaturning 406 and inconsistent binaries for a # while on me. It might be good to find a mirror url = "https://www.argyllcms.com/Argyll_V${version}_src.zip"; - hash = "sha256-xpbj15GzpGS0d1UjzvYiZ1nmmTjNIyv0ST2blmi7ZSk="; + hash = "sha256-jY6X9mQaP9NTIkbpW5QO31s+5Iv/mFEDgtwDgYXzIU4="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/ar/arti/package.nix b/pkgs/by-name/ar/arti/package.nix index 7884185e1a4d..4e88e1a717ce 100644 --- a/pkgs/by-name/ar/arti/package.nix +++ b/pkgs/by-name/ar/arti/package.nix @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "arti"; - version = "1.4.4"; + version = "1.4.6"; src = fetchFromGitLab { domain = "gitlab.torproject.org"; @@ -20,10 +20,10 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "core"; repo = "arti"; tag = "arti-v${finalAttrs.version}"; - hash = "sha256-mLeiG+503+kuzNUC9Qh2JE1Mm8XEa6CDJYkouzGUJpQ="; + hash = "sha256-4HEJiA7FLM3NGV0dcx5aEwky8UTzVLR092b/0HTGCvY="; }; - cargoHash = "sha256-mjlrylfQZN8/zei/1enApYryhlv0zlghOPEr86iklg4="; + cargoHash = "sha256-ke58MnRYL2ZRck5UKCsGCqiiAZtnOZFTOaoQneP6tV0="; nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ]; diff --git a/pkgs/by-name/as/asn/package.nix b/pkgs/by-name/as/asn/package.nix index 58800a0d87bd..023ef0cbbff5 100644 --- a/pkgs/by-name/as/asn/package.nix +++ b/pkgs/by-name/as/asn/package.nix @@ -16,13 +16,13 @@ stdenv.mkDerivation rec { pname = "asn"; - version = "0.78.3"; + version = "0.78.6"; src = fetchFromGitHub { owner = "nitefood"; repo = "asn"; tag = "v${version}"; - hash = "sha256-ydCpCmW6NK3LM05YLw6KtJWo7UtMcsxQt2RH/Xl+bFw="; + hash = "sha256-IcAXcsmzxzDUPJp2ieouxfkpdwpOZP6IBTPdm3C5/k4="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/as/ast-grep/package.nix b/pkgs/by-name/as/ast-grep/package.nix index 9b970ad74afb..e513a7efa42b 100644 --- a/pkgs/by-name/as/ast-grep/package.nix +++ b/pkgs/by-name/as/ast-grep/package.nix @@ -11,13 +11,13 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ast-grep"; - version = "0.39.2"; + version = "0.39.3"; src = fetchFromGitHub { owner = "ast-grep"; repo = "ast-grep"; tag = finalAttrs.version; - hash = "sha256-RfsBgxxb9Kd28hzDXNBNFEwpRchxt+VmSMwc2wRDuig="; + hash = "sha256-oUVsfR5azu4i6irCQL1CXCWA8ygIHK+dpWC/grbkSyk="; }; # error: linker `aarch64-linux-gnu-gcc` not found @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage (finalAttrs: { rm .cargo/config.toml ''; - cargoHash = "sha256-5SDGkOeByG8SUQJH/89TLuEJeKcu9lu/ZKbudwCAM0o="; + cargoHash = "sha256-BX5OAwIZzl9dm7ebw/zyJ2ICVpzCcHUVRTyUDMY4fH0="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/by-name/au/audiothekar/package.nix b/pkgs/by-name/au/audiothekar/package.nix index 38fdbf9e1110..a653cf0324ec 100644 --- a/pkgs/by-name/au/audiothekar/package.nix +++ b/pkgs/by-name/au/audiothekar/package.nix @@ -38,10 +38,6 @@ buildDotnetModule rec { passthru = { updateScript = ./update.sh; - tests.version = testers.testVersion { - package = audiothekar; - command = "audiothekar-cli --version"; - }; }; meta = with lib; { diff --git a/pkgs/by-name/au/autobase/package.nix b/pkgs/by-name/au/autobase/package.nix index c21307276fc1..8b3272781cf6 100644 --- a/pkgs/by-name/au/autobase/package.nix +++ b/pkgs/by-name/au/autobase/package.nix @@ -7,13 +7,13 @@ buildNpmPackage (finalAttrs: { pname = "autobase"; - version = "7.17.0"; + version = "7.17.3"; src = fetchFromGitHub { owner = "holepunchto"; repo = "autobase"; tag = "v${finalAttrs.version}"; - hash = "sha256-KSx9zOnoJouH2sAByG0947uxgqPu9cx3fTbA2MDiMt4="; + hash = "sha256-RTbK1U63gNuUN81ceJVjFzqNtg0kfvfq8DiLEpDXJq0="; }; npmDepsHash = "sha256-H9Xy1VD7WQvi0+86v6CMcmc0L3mB6KuSCtgQSF4AlkY="; diff --git a/pkgs/by-name/ba/baresip/package.nix b/pkgs/by-name/ba/baresip/package.nix index 1bf303ffbc9e..2065164936f4 100644 --- a/pkgs/by-name/ba/baresip/package.nix +++ b/pkgs/by-name/ba/baresip/package.nix @@ -31,14 +31,14 @@ }: stdenv.mkDerivation rec { - version = "3.24.0"; + version = "4.0.0"; pname = "baresip"; src = fetchFromGitHub { owner = "baresip"; repo = "baresip"; rev = "v${version}"; - hash = "sha256-32XyMblHF+ST+TpIbdyPFdRtWnIugYMr4lYZnfeFm/c="; + hash = "sha256-Kun6fcDy7JQU0zrHfNxv9cV77Bm/WNrgrrGqCzrgTJ4="; }; patches = [ diff --git a/pkgs/by-name/ba/bashunit/package.nix b/pkgs/by-name/ba/bashunit/package.nix index d101e66e91a2..5832d6f23961 100644 --- a/pkgs/by-name/ba/bashunit/package.nix +++ b/pkgs/by-name/ba/bashunit/package.nix @@ -12,13 +12,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "bashunit"; - version = "0.22.3"; + version = "0.23.0"; src = fetchFromGitHub { owner = "TypedDevs"; repo = "bashunit"; tag = finalAttrs.version; - hash = "sha256-CN3BmsAFRQSkcS97XkKsL9+lChxb7V05iw8xoq0QVZE="; + hash = "sha256-sYg5zrB887rliBLdiZ6ZFcK2OVJjpRMO2fT498aOYF0="; forceFetchGit = true; # needed to include the tests directory for the check phase }; diff --git a/pkgs/by-name/be/beeper/package.nix b/pkgs/by-name/be/beeper/package.nix index 1c016665357c..a6c59f085224 100644 --- a/pkgs/by-name/be/beeper/package.nix +++ b/pkgs/by-name/be/beeper/package.nix @@ -9,10 +9,10 @@ }: let pname = "beeper"; - version = "4.1.20"; + version = "4.1.64"; src = fetchurl { url = "https://beeper-desktop.download.beeper.com/builds/Beeper-${version}.AppImage"; - hash = "sha256-4sJ61j9/DdZM9mn3JqrvjlWPDb6nN4A4wzQR5lXthxU="; + hash = "sha256-8Gd7qSp0/anYLrLCUfq15OacVsKwFVWQxaVvN9xsXkY="; }; appimageContents = appimageTools.extract { inherit pname version src; diff --git a/pkgs/by-name/be/beszel/package.nix b/pkgs/by-name/be/beszel/package.nix index 5148f1ac0e52..628592190f4d 100644 --- a/pkgs/by-name/be/beszel/package.nix +++ b/pkgs/by-name/be/beszel/package.nix @@ -5,16 +5,15 @@ nix-update-script, buildNpmPackage, }: - buildGoModule rec { pname = "beszel"; - version = "0.11.1"; + version = "0.12.3"; src = fetchFromGitHub { owner = "henrygd"; repo = "beszel"; tag = "v${version}"; - hash = "sha256-tAi48PAHDGIZn/HMsnCq0mLpvFSqUOMocq47hooiFT8="; + hash = "sha256-rthaufUL0JX3sE2hdrcJ8J73DLK4/2wMR+uOs8GoX2A="; }; webui = buildNpmPackage { @@ -48,12 +47,12 @@ buildGoModule rec { sourceRoot = "${src.name}/beszel/site"; - npmDepsHash = "sha256-27NUV23dNHFSwOHiB/wGSAWkp6eZMnw/6Pd3Fwn98+s="; + npmDepsHash = "sha256-6J1LwRzwbQyXVBHNgG7k8CQ67JZIDqYreDbgfm6B4w4="; }; sourceRoot = "${src.name}/beszel"; - vendorHash = "sha256-B6mOqOgcrRn0jV9wnDgRmBvfw7I/Qy5MNYvTiaCgjBE="; + vendorHash = "sha256-Nd2jDlq+tdGrgxU6ZNgj9awAb+G/yDqY1J15dpMcjtw="; preBuild = '' mkdir -p site/dist diff --git a/pkgs/by-name/bi/bilibili/sources.nix b/pkgs/by-name/bi/bilibili/sources.nix index 0e438b2fddb8..b72a771bdd31 100644 --- a/pkgs/by-name/bi/bilibili/sources.nix +++ b/pkgs/by-name/bi/bilibili/sources.nix @@ -1,6 +1,6 @@ # Generated by ./update.sh - do not update manually! { - version = "1.16.5-4"; - arm64-hash = "sha256-8APk13cLzhOaPXCpkdX5OLpXM/EV93uR2LHuMaBeUb0="; - x86_64-hash = "sha256-S7R4XmBnqyXugwf5henOZG5TzGUw4IrU42SXINm6Wcw="; + version = "1.17.0-2"; + arm64-hash = "sha256-skqxt0IPn3X1ejltxTdT7Xm1zEeFTmyJdxRmNK8+fvY="; + x86_64-hash = "sha256-ZYTELa0syIS2fZCNNFHg7WlTh9+Zu7XxSJTAvwavg5w="; } diff --git a/pkgs/by-name/bi/bitwarden-desktop/fix-lock-files.diff b/pkgs/by-name/bi/bitwarden-desktop/fix-lock-files.diff deleted file mode 100644 index 0fb95a72f799..000000000000 --- a/pkgs/by-name/bi/bitwarden-desktop/fix-lock-files.diff +++ /dev/null @@ -1,282 +0,0 @@ -diff --git a/apps/cli/package.json b/apps/cli/package.json -index 2ec4e6f697..db5981b5ec 100644 ---- a/apps/cli/package.json -+++ b/apps/cli/package.json -@@ -85,7 +85,7 @@ - "multer": "1.4.5-lts.2", - "node-fetch": "2.6.12", - "node-forge": "1.3.1", -- "open": "10.1.2", -+ "open": "8.4.2", - "papaparse": "5.5.3", - "proper-lockfile": "4.1.2", - "rxjs": "7.8.1", -diff --git a/apps/desktop/desktop_native/Cargo.lock b/apps/desktop/desktop_native/Cargo.lock -index 05663ea7e0..eadd75e598 100644 ---- a/apps/desktop/desktop_native/Cargo.lock -+++ b/apps/desktop/desktop_native/Cargo.lock -@@ -162,7 +162,7 @@ dependencies = [ - "serde_repr", - "tokio", - "url", -- "zbus 5.6.0", -+ "zbus", - ] - - [[package]] -@@ -900,7 +900,7 @@ dependencies = [ - "widestring", - "windows 0.61.1", - "windows-future", -- "zbus 4.4.0", -+ "zbus", - "zbus_polkit", - "zeroizing-alloc", - ] -@@ -2063,10 +2063,10 @@ dependencies = [ - "sha2", - "subtle", - "tokio", -- "zbus 5.6.0", -- "zbus_macros 5.6.0", -+ "zbus", -+ "zbus_macros", - "zeroize", -- "zvariant 5.5.1", -+ "zvariant", - ] - - [[package]] -@@ -2715,17 +2715,6 @@ dependencies = [ - "syn", - ] - --[[package]] --name = "sha1" --version = "0.10.6" --source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" --dependencies = [ -- "cfg-if", -- "cpufeatures", -- "digest", --] -- - [[package]] - name = "sha2" - version = "0.10.8" -@@ -3921,9 +3910,9 @@ dependencies = [ - - [[package]] - name = "zbus" --version = "4.4.0" -+version = "5.5.0" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "bb97012beadd29e654708a0fdb4c84bc046f537aecfde2c3ee0a9e4b4d48c725" -+checksum = "59c333f648ea1b647bc95dc1d34807c8e25ed7a6feff3394034dc4776054b236" - dependencies = [ - "async-broadcast", - "async-executor", -@@ -3938,90 +3927,37 @@ dependencies = [ - "enumflags2", - "event-listener", - "futures-core", -- "futures-sink", -- "futures-util", -- "hex", -- "nix", -- "ordered-stream", -- "rand 0.8.5", -- "serde", -- "serde_repr", -- "sha1", -- "static_assertions", -- "tracing", -- "uds_windows", -- "windows-sys 0.52.0", -- "xdg-home", -- "zbus_macros 4.4.0", -- "zbus_names 3.0.0", -- "zvariant 4.2.0", --] -- --[[package]] --name = "zbus" --version = "5.6.0" --source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "2522b82023923eecb0b366da727ec883ace092e7887b61d3da5139f26b44da58" --dependencies = [ -- "async-broadcast", -- "async-recursion", -- "async-trait", -- "enumflags2", -- "event-listener", -- "futures-core", - "futures-lite", - "hex", - "nix", - "ordered-stream", - "serde", - "serde_repr", -+ "static_assertions", - "tokio", - "tracing", - "uds_windows", - "windows-sys 0.59.0", - "winnow", -- "zbus_macros 5.6.0", -- "zbus_names 4.2.0", -- "zvariant 5.5.1", -+ "xdg-home", -+ "zbus_macros", -+ "zbus_names", -+ "zvariant", - ] - - [[package]] - name = "zbus_macros" --version = "4.4.0" -+version = "5.5.0" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "267db9407081e90bbfa46d841d3cbc60f59c0351838c4bc65199ecd79ab1983e" -+checksum = "f325ad10eb0d0a3eb060203494c3b7ec3162a01a59db75d2deee100339709fc0" - dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", -- "zvariant_utils 2.1.0", --] -- --[[package]] --name = "zbus_macros" --version = "5.6.0" --source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "05d2e12843c75108c00c618c2e8ef9675b50b6ec095b36dc965f2e5aed463c15" --dependencies = [ -- "proc-macro-crate", -- "proc-macro2", -- "quote", -- "syn", -- "zbus_names 4.2.0", -- "zvariant 5.5.1", -- "zvariant_utils 3.2.0", --] -- --[[package]] --name = "zbus_names" --version = "3.0.0" --source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "4b9b1fef7d021261cc16cba64c351d291b715febe0fa10dc3a443ac5a5022e6c" --dependencies = [ -- "serde", -- "static_assertions", -- "zvariant 4.2.0", -+ "zbus_names", -+ "zvariant", -+ "zvariant_utils", - ] - - [[package]] -@@ -4033,20 +3969,20 @@ dependencies = [ - "serde", - "static_assertions", - "winnow", -- "zvariant 5.5.1", -+ "zvariant", - ] - - [[package]] - name = "zbus_polkit" --version = "4.0.0" -+version = "5.0.0" - source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "00a29bfa927b29f91b7feb4e1990f2dd1b4604072f493dc2f074cf59e4e0ba90" -+checksum = "ad23d5c4d198c7e2641b33e6e0d1f866f117408ba66fe80bbe52e289eeb77c52" - dependencies = [ - "enumflags2", - "serde", - "serde_repr", - "static_assertions", -- "zbus 4.4.0", -+ "zbus", - ] - - [[package]] -@@ -4149,19 +4085,6 @@ dependencies = [ - "syn", - ] - --[[package]] --name = "zvariant" --version = "4.2.0" --source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "2084290ab9a1c471c38fc524945837734fbf124487e105daec2bb57fd48c81fe" --dependencies = [ -- "endi", -- "enumflags2", -- "serde", -- "static_assertions", -- "zvariant_derive 4.2.0", --] -- - [[package]] - name = "zvariant" - version = "5.5.1" -@@ -4173,21 +4096,8 @@ dependencies = [ - "serde", - "url", - "winnow", -- "zvariant_derive 5.5.1", -- "zvariant_utils 3.2.0", --] -- --[[package]] --name = "zvariant_derive" --version = "4.2.0" --source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "73e2ba546bda683a90652bac4a279bc146adad1386f25379cf73200d2002c449" --dependencies = [ -- "proc-macro-crate", -- "proc-macro2", -- "quote", -- "syn", -- "zvariant_utils 2.1.0", -+ "zvariant_derive", -+ "zvariant_utils", - ] - - [[package]] -@@ -4200,18 +4110,7 @@ dependencies = [ - "proc-macro2", - "quote", - "syn", -- "zvariant_utils 3.2.0", --] -- --[[package]] --name = "zvariant_utils" --version = "2.1.0" --source = "registry+https://github.com/rust-lang/crates.io-index" --checksum = "c51bcff7cc3dbb5055396bcf774748c3dab426b4b8659046963523cee4808340" --dependencies = [ -- "proc-macro2", -- "quote", -- "syn", -+ "zvariant_utils", - ] - - [[package]] -diff --git a/package-lock.json b/package-lock.json -index 5df63a79dd..702b6d1c81 100644 ---- a/package-lock.json -+++ b/package-lock.json -@@ -225,7 +225,7 @@ - "multer": "1.4.5-lts.2", - "node-fetch": "2.6.12", - "node-forge": "1.3.1", -- "open": "10.1.2", -+ "open": "8.4.2", - "papaparse": "5.5.3", - "proper-lockfile": "4.1.2", - "rxjs": "7.8.1", diff --git a/pkgs/by-name/bi/bitwarden-desktop/package.nix b/pkgs/by-name/bi/bitwarden-desktop/package.nix index d872ba2ae8f8..373d3daa31c9 100644 --- a/pkgs/by-name/bi/bitwarden-desktop/package.nix +++ b/pkgs/by-name/bi/bitwarden-desktop/package.nix @@ -14,7 +14,7 @@ makeWrapper, napi-rs-cli, nix-update-script, - nodejs_20, + nodejs_22, pkg-config, rustc, rustPlatform, @@ -34,20 +34,18 @@ let in buildNpmPackage' rec { pname = "bitwarden-desktop"; - version = "2025.6.1"; + version = "2025.7.0"; src = fetchFromGitHub { owner = "bitwarden"; repo = "clients"; rev = "desktop-v${version}"; - hash = "sha256-dYeq0YkQwmRve++RcMWnAuJyslaTZ4VIV4V/lMgSauQ="; + hash = "sha256-i1osaSK2Nnjnt2j/bS6VEMi4j5UvEEHf+RVt0901DvA="; }; patches = [ ./electron-builder-package-lock.patch ./dont-auto-setup-biometrics.patch - # The nixpkgs tooling trips over upstreams inconsistent lock files, so we fixed them by running npm install open@10.2.1 and cargo b - ./fix-lock-files.diff # ensures `app.getPath("exe")` returns our wrapper, not ${electron}/bin/electron ./set-exe-path.patch @@ -67,9 +65,12 @@ buildNpmPackage' rec { # will open releases page instead of trying to update files substituteInPlace apps/desktop/src/main/updater.main.ts \ --replace-fail 'this.canUpdate =' 'this.canUpdate = false; let _dummy =' + + # unneeded for desktop, and causes errors + rm -r apps/cli ''; - nodejs = nodejs_20; + nodejs = nodejs_22; makeCacheWritable = true; npmFlags = [ @@ -82,7 +83,7 @@ buildNpmPackage' rec { "--ignore-scripts" ]; npmWorkspace = "apps/desktop"; - npmDepsHash = "sha256-yzOz1X75Wz/NwjlGHL439bEek082vJBL/9imnla3SyU="; + npmDepsHash = "sha256-NnkT+NO3zUI71w9dSinnPeJbOlWBA4IHAxnMlYUmOT4="; cargoDeps = rustPlatform.fetchCargoVendor { inherit @@ -92,7 +93,7 @@ buildNpmPackage' rec { cargoRoot patches ; - hash = "sha256-mt7zWKgH21khAIrfpBFzb+aS2V2mV56zMqCSLzDhGfQ="; + hash = "sha256-nhQUUj7Hz21fnbhqrQL4eYInPNlNLVgbkWylWMRJkAk="; }; cargoRoot = "apps/desktop/desktop_native"; diff --git a/pkgs/by-name/bl/blade-formatter/package.nix b/pkgs/by-name/bl/blade-formatter/package.nix index 4e3d1c760c2c..2de907a4dd5b 100644 --- a/pkgs/by-name/bl/blade-formatter/package.nix +++ b/pkgs/by-name/bl/blade-formatter/package.nix @@ -16,18 +16,18 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "blade-formatter"; - version = "1.43.0"; + version = "1.44.2"; src = fetchFromGitHub { owner = "shufo"; repo = "blade-formatter"; rev = "v${finalAttrs.version}"; - hash = "sha256-jxRC7VYApAZrC/1b2r5cc9OCQ9/mA8ttizA4v0SY4U8="; + hash = "sha256-FrP+D7SYUPSn82TIRGh9mo/ZpbYxmiTOKagbl/9D7Hk="; }; yarnOfflineCache = fetchYarnDeps { yarnLock = finalAttrs.src + "/yarn.lock"; - hash = "sha256-pWa2gI3RiZd5BJ2KJQHKH6+KBJasIVV5xnIoFi8jzlg="; + hash = "sha256-XUd1p9AQXVUtADERNcHY7pHkMCr2g7+N/Dy7z4hL0g4="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/bo/bolt-launcher/package.nix b/pkgs/by-name/bo/bolt-launcher/package.nix index 9e2ee2549e09..e524920e0918 100644 --- a/pkgs/by-name/bo/bolt-launcher/package.nix +++ b/pkgs/by-name/bo/bolt-launcher/package.nix @@ -38,14 +38,14 @@ in let bolt = stdenv.mkDerivation (finalAttrs: { pname = "bolt-launcher"; - version = "0.18.0"; + version = "0.19.0"; src = fetchFromGitHub { owner = "AdamCake"; repo = "bolt"; tag = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-S9SZ9UfohEHfwmXmHsTeSW45BHTJA4wPdFQXsX3Pk34="; + hash = "sha256-RTLlNB6eiesXZayC69hpnXQsAgmPuaJTC+18Q6KzAP0="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/bo/bootdev-cli/package.nix b/pkgs/by-name/bo/bootdev-cli/package.nix index 4868643c3935..21a20409a24b 100644 --- a/pkgs/by-name/bo/bootdev-cli/package.nix +++ b/pkgs/by-name/bo/bootdev-cli/package.nix @@ -11,13 +11,13 @@ buildGoModule rec { pname = "bootdev-cli"; - version = "1.19.2"; + version = "1.20.0"; src = fetchFromGitHub { owner = "bootdotdev"; repo = "bootdev"; tag = "v${version}"; - hash = "sha256-jTI91t/gcEdOc3mwP0dFqL5sYeaC6nD96+RpuQfAf4s="; + hash = "sha256-Hm8fvY50stoeQE3A2HeMsL/uDo8+Y4zQx/Zv/ksi7gg="; }; vendorHash = "sha256-jhRoPXgfntDauInD+F7koCaJlX4XDj+jQSe/uEEYIMM="; diff --git a/pkgs/by-name/bo/boxflat/package.nix b/pkgs/by-name/bo/boxflat/package.nix index 12a888610bc9..b42156eab9e9 100644 --- a/pkgs/by-name/bo/boxflat/package.nix +++ b/pkgs/by-name/bo/boxflat/package.nix @@ -14,14 +14,14 @@ python3Packages.buildPythonPackage rec { pname = "boxflat"; - version = "1.34.2"; + version = "1.34.2-1"; pyproject = true; src = fetchFromGitHub { owner = "Lawstorant"; repo = "boxflat"; tag = "v${version}"; - hash = "sha256-u1rhZfYCQC0qm79cMCCBvlHC4F9rwkL6X72rylPhJwE="; + hash = "sha256-A18YhQp4USFQ4xoyR1Zc0o0fs5mVFVrvfbdPWvo1NXw="; }; build-system = [ python3Packages.setuptools ]; diff --git a/pkgs/by-name/bu/bun/package.nix b/pkgs/by-name/bu/bun/package.nix index 38d600519689..12ba337bea89 100644 --- a/pkgs/by-name/bu/bun/package.nix +++ b/pkgs/by-name/bu/bun/package.nix @@ -17,7 +17,7 @@ }: stdenvNoCC.mkDerivation rec { - version = "1.2.19"; + version = "1.2.20"; pname = "bun"; src = @@ -87,19 +87,19 @@ stdenvNoCC.mkDerivation rec { sources = { "aarch64-darwin" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; - hash = "sha256-Z0pIN4NC76rcPCkVlrVzAQ88I4iVj3xEZ42H9vt1mZE="; + hash = "sha256-QE9abdH2BLQOs7FW1Bl7uNOYuybgrkyKyOeqSQ9+I18="; }; "aarch64-linux" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; - hash = "sha256-/P1HHNvVp4/Uo5DinMzSu3AEpJ01K6A3rzth1P1dC4M="; + hash = "sha256-mNLgssCUIVaRcrTUa2+BN4wtvdd0gOuyfzmJ3U5y4Ys="; }; "x86_64-darwin" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64-baseline.zip"; - hash = "sha256-7CE3X3nul26pjI7wn+KnijCkibQxWUd13amCgPexEGQ="; + hash = "sha256-li1ZeAHkLjxi+/b2O/8edqoaRxpYluvYMZeC8QzgiWE="; }; "x86_64-linux" = fetchurl { url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; - hash = "sha256-w9PBTppeyD/2fQrP525DFa0G2p809Z/HsTgTeCyvH2Y="; + hash = "sha256-Tp7cTLoMfBYjooi+AeU7veEaTQc/LPM5yrAmYnhYtUg="; }; }; updateScript = writeShellScript "update-bun" '' diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/package.nix b/pkgs/by-name/ca/calamares-nixos-extensions/package.nix index c6bd7665ac09..5dcf4ace066e 100644 --- a/pkgs/by-name/ca/calamares-nixos-extensions/package.nix +++ b/pkgs/by-name/ca/calamares-nixos-extensions/package.nix @@ -1,26 +1,25 @@ { stdenv, - fetchFromGitHub, lib, + glibcLocales, }: stdenv.mkDerivation (finalAttrs: { pname = "calamares-nixos-extensions"; version = "0.3.23"; - src = fetchFromGitHub { - owner = "NixOS"; - repo = "calamares-nixos-extensions"; - rev = finalAttrs.version; - hash = "sha256-KNRztajU7sTLNDwCwP4WOdR2IRMqfbeapdko58LcrjM="; - }; + src = ./src; installPhase = '' runHook preInstall - mkdir -p $out/{lib,share}/calamares + mkdir -p $out/{etc,lib,share}/calamares cp -r modules $out/lib/calamares/ - cp -r config/* $out/share/calamares/ + cp -r config/* $out/etc/calamares/ cp -r branding $out/share/calamares/ + + substituteInPlace $out/etc/calamares/settings.conf --replace-fail @out@ $out + substituteInPlace $out/etc/calamares/modules/locale.conf --replace-fail @glibcLocales@ ${glibcLocales} + runHook postInstall ''; @@ -28,11 +27,10 @@ stdenv.mkDerivation (finalAttrs: { description = "Calamares modules for NixOS"; homepage = "https://github.com/NixOS/calamares-nixos-extensions"; license = with licenses; [ - gpl3Plus - bsd2 + mit + # assets cc-by-40 cc-by-sa-40 - cc0 ]; maintainers = with maintainers; [ vlinkz ]; platforms = platforms.linux; diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/branding.desc b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/branding.desc new file mode 100644 index 000000000000..60ae1d18ef67 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/branding.desc @@ -0,0 +1,233 @@ +# SPDX-FileCopyrightText: no +# SPDX-License-Identifier: CC0-1.0 +# +--- +componentName: nixos + + +### WELCOME / OVERALL WORDING +# +# These settings affect some overall phrasing and looks, +# which are most visible in the welcome page. + +# This selects between different welcome texts. When false, uses +# the traditional "Welcome to the %1 installer.", and when true, +# uses "Welcome to the Calamares installer for %1." This allows +# to distinguish this installer from other installers for the +# same distribution. +welcomeStyleCalamares: false + +# Should the welcome image (productWelcome, below) be scaled +# up beyond its natural size? If false, the image does not grow +# with the window but remains the same size throughout (this +# may have surprising effects on HiDPI monitors). +welcomeExpandingLogo: true + +### WINDOW CONFIGURATION +# +# The settings here affect the placement of the Calamares +# window through hints to the window manager and initial +# sizing of the Calamares window. + +# Size and expansion policy for Calamares. +# - "normal" or unset, expand as needed, use *windowSize* +# - "fullscreen", start as large as possible, ignore *windowSize* +# - "noexpand", don't expand automatically, use *windowSize* +windowExpanding: normal + +# Size of Calamares window, expressed as w,h. Both w and h +# may be either pixels (suffix px) or font-units (suffix em). +# e.g. "800px,600px" +# "60em,480px" +# This setting is ignored if "fullscreen" is selected for +# *windowExpanding*, above. If not set, use constants defined +# in CalamaresUtilsGui, 800x520. +windowSize: 800px,520px + +# Placement of Calamares window. Either "center" or "free". +# Whether "center" actually works does depend on the window +# manager in use (and only makes sense if you're not using +# *windowExpanding* set to "fullscreen"). +windowPlacement: center + +### PANELS CONFIGURATION +# +# Calamares has a main content area, and two panels (navigation +# and progress / sidebar). The panels can be controlled individually, +# or switched off. If both panels are switched off, the layout of +# the main content area loses its margins, on the assumption that +# you're doing something special. + +# Kind of sidebar (panel on the left, showing progress). +# - "widget" or unset, use traditional sidebar (logo, items) +# - "none", hide it entirely +# - "qml", use calamares-sidebar.qml from branding folder +# In addition, you **may** specify a side, separated by a comma, +# from the kind. Valid sides are: +# - "left" (if not specified, uses this) +# - "right" +# - "top" +# - "bottom" +# For instance, "widget,right" is valid; so is "qml", which defaults +# to putting the sidebar on the left. Also valid is "qml,top". +# While "widget,top" is valid, the widgets code is **not** flexible +# and results will be terrible. +sidebar: widget + +# Kind of navigation (button panel on the bottom). +# - "widget" or unset, use traditional navigation +# - "none", hide it entirely +# - "qml", use calamares-navigation.qml from branding folder +# In addition, you **may** specify a side, separated by a comma, +# from the kind. The same sides are valid as for *sidebar*, +# except the default is *bottom*. +navigation: widget + + +### STRINGS, IMAGES AND COLORS +# +# This section contains the "branding proper" of names +# and images, rather than global-look settings. + +# These are strings shown to the user in the user interface. +# There is no provision for translating them -- since they +# are names, the string is included as-is. +# +# The four Url strings are the Urls used by the buttons in +# the welcome screen, and are not shown to the user. Clicking +# on the "Support" button, for instance, opens the link supportUrl. +# If a Url is empty, the corresponding button is not shown. +# +# bootloaderEntryName is how this installation / distro is named +# in the boot loader (e.g. in the GRUB menu). +# +# These strings support substitution from /etc/os-release +# if KDE Frameworks 5.58 are available at build-time. When +# enabled, ${varname} is replaced by the equivalent value +# from os-release. All the supported var-names are in all-caps, +# and are listed on the FreeDesktop.org site, +# https://www.freedesktop.org/software/systemd/man/os-release.html +# Note that ANSI_COLOR and CPE_NAME don't make sense here, and +# are not supported (the rest are). Remember to quote the string +# if it contains substitutions, or you'll get YAML exceptions. +# +# The *Url* entries are used on the welcome page, and they +# are visible as buttons there if the corresponding *show* keys +# are set to "true" (they can also be overridden). +strings: + productName: "${NAME}" + shortProductName: NixOS + version: + shortVersion: + versionedName: NixOS + shortVersionedName: NixOS + bootloaderEntryName: NixOS + productUrl: https://nixos.org/ + supportUrl: https://nixos.org/manual/nixos + knownIssuesUrl: https://github.com/NixOS/nixpkgs/issues + releaseNotesUrl: https://nixos.org/manual/nixos/stable/release-notes.html + donateUrl: https://nixos.org/donate.html + +# These images are loaded from the branding module directory. +# +# productBanner is an optional image, which if present, will be shown +# on the welcome page of the application, above the welcome text. +# It is intended to have a width much greater than height. +# It is displayed at 64px height (also on HiDPI). +# Recommended size is 64px tall, and up to 460px wide. +# productIcon is used as the window icon, and will (usually) be used +# by the window manager to represent the application. This image +# should be square, and may be displayed by the window manager +# as small as 16x16 (but possibly larger). +# productLogo is used as the logo at the top of the left-hand column +# which shows the steps to be taken. The image should be square, +# and is displayed at 80x80 pixels (also on HiDPI). +# productWallpaper is an optional image, which if present, will replace +# the normal solid background on every page of the application. +# It can be any size and proportion, +# and will be tiled to fit the entire window. +# For a non-tiled wallpaper, the size should be the same as +# the overall window, see *windowSize* above (800x520). +# productWelcome is shown on the welcome page of the application in +# the middle of the window, below the welcome text. It can be +# any size and proportion, and will be scaled to fit inside +# the window. Use `welcomeExpandingLogo` to make it non-scaled. +# Recommended size is 320x150. +# +# These filenames can also use substitutions from os-release (see above). +images: + # productBanner: "banner.png" + productIcon: "nix-snowflake.svg" + productLogo: "white.png" + # productWallpaper: "wallpaper.png" + productWelcome: "nix-snowflake.svg" + +# Colors for text and background components. +# +# - SidebarBackground is the background of the sidebar +# - SidebarText is the (foreground) text color +# - SidebarBackgroundCurrent sets the background of the current step. +# Optional, and defaults to the application palette. +# - SidebarTextCurrent is the text color of the current step. +# +# These colors can **also** be set through the stylesheet, if the +# branding component also ships a stylesheet.qss. Then they are +# the corresponding CSS attributes of #sidebarApp. +style: + SidebarBackground: "#5277C3" + SidebarText: "#FFFFFF" + SidebarTextCurrent: "#292F34" + SidebarBackgroundCurrent: "#7EBAE4" + +### SLIDESHOW +# +# The slideshow is displayed during execution steps (e.g. when the +# installer is actually writing to disk and doing other slow things). + +# The slideshow can be a QML file (recommended) which can display +# arbitrary things -- text, images, animations, or even play a game -- +# during the execution step. The QML **is** abruptly stopped when the +# execution step is done, though, so maybe a game isn't a great idea. +# +# The slideshow can also be a sequence of images (not recommended unless +# you don't want QML at all in your Calamares). The images are displayed +# at a rate of 1 every 2 seconds during the execution step. +# +# To configure a QML file, list a single filename: +# slideshow: "show.qml" +# To configure images, like the filenames (here, as an inline list): +# slideshow: [ "/etc/calamares/slideshow/0.png", "/etc/logo.png" ] +slideshow: "show.qml" + +# There are two available APIs for a QML slideshow: +# - 1 (the default) loads the entire slideshow when the installation- +# slideshow page is shown and starts the QML then. The QML +# is never stopped (after installation is done, times etc. +# continue to fire). +# - 2 loads the slideshow on startup and calls onActivate() and +# onLeave() in the root object. After the installation is done, +# the show is stopped (first by calling onLeave(), then destroying +# the QML components). +# +# An image slideshow does not need to have the API defined. +slideshowAPI: 2 + + +# These options are to customize online uploading of logs to pastebins: +# - type : Defines the kind of pastebin service to be used. Currently +# it accepts two values: +# - none : disables the pastebin functionality +# - fiche : use fiche pastebin server +# - url : Defines the address of pastebin service to be used. +# Takes string as input. Important bits are the host and port, +# the scheme is not used. +# - sizeLimit : Defines maximum size limit (in KiB) of log file to be pasted. +# The option must be set, to have the log option work. +# Takes integer as input. If < 0, no limit will be forced, +# else only last (approximately) 'n' KiB of log file will be pasted. +# Please note that upload size may be slightly over the limit (due +# to last minute logging), so provide a suitable value. +uploadServer : + type : "fiche" + url : "http://termbin.com:9999" + sizeLimit : -1 diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/gfx-landing-declarative.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/gfx-landing-declarative.png new file mode 100644 index 000000000000..02c4d4e3fb62 Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/gfx-landing-declarative.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/gfx-landing-reliable.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/gfx-landing-reliable.png new file mode 100644 index 000000000000..6b733954532c Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/gfx-landing-reliable.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/gfx-landing-reproducible.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/gfx-landing-reproducible.png new file mode 100644 index 000000000000..c4c36c81be2d Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/gfx-landing-reproducible.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/budgie.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/budgie.png new file mode 100644 index 000000000000..8812907cb110 Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/budgie.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/cinnamon.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/cinnamon.png new file mode 100644 index 000000000000..f85074dc65c5 Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/cinnamon.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/deepin.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/deepin.png new file mode 100644 index 000000000000..2ebb07d5ea31 Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/deepin.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/enlightenment.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/enlightenment.png new file mode 100644 index 000000000000..7fabdd25c5cb Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/enlightenment.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/gnome.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/gnome.png new file mode 100644 index 000000000000..6e0478c2292b Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/gnome.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/lumina.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/lumina.png new file mode 100644 index 000000000000..09c8579c86b1 Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/lumina.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/lxqt.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/lxqt.png new file mode 100644 index 000000000000..0e86e02e0a94 Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/lxqt.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/mate.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/mate.png new file mode 100644 index 000000000000..0f3a2bb58262 Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/mate.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/nodesktop.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/nodesktop.png new file mode 100644 index 000000000000..28dfaf2b82b5 Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/nodesktop.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/pantheon.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/pantheon.png new file mode 100644 index 000000000000..5e17ee436360 Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/pantheon.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/plasma6.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/plasma6.png new file mode 100644 index 000000000000..627f8763e56e Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/plasma6.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/xfce.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/xfce.png new file mode 100644 index 000000000000..32720d4d982a Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/images/xfce.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/nix-snowflake.svg b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/nix-snowflake.svg new file mode 100644 index 000000000000..9a70a1473953 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/nix-snowflake.svg @@ -0,0 +1,513 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/notesqml@unfree.qml b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/notesqml@unfree.qml new file mode 100644 index 000000000000..4407d167c3bc --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/notesqml@unfree.qml @@ -0,0 +1,34 @@ +import io.calamares.core + +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts +import org.kde.kirigami as Kirigami + +Page { + width: parent.width + height: parent.height + + ColumnLayout { + width: parent.width + spacing: Kirigami.Units.smallSpacing + + Column { + Layout.fillWidth: true + + Text { + text: qsTr("NixOS is fully open source, but it also provides optional software packages that do not respect users' freedom to run, copy, distribute, study, change and improve the software, and are commonly not open source. By default such \"unfree\" packages are not allowed, but you can enable it here. If you check this box, you agree that unfree software may be installed which might have additional End User License Agreements (EULAs) that you need to agree to. If not enabled, some hardware (notably Nvidia GPUs and some WiFi chips) might not work or not work optimally.
") + width: parent.width + wrapMode: Text.WordWrap + } + + CheckBox { + text: qsTr("Allow unfree software") + + onCheckedChanged: { + Global.insert("nixos_allow_unfree", checked) + } + } + } + } +} diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/show.qml b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/show.qml new file mode 100644 index 000000000000..70d87e8542a3 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/show.qml @@ -0,0 +1,122 @@ +import QtQuick 2.0; +import calamares.slideshow 1.0; + +Presentation +{ + id: presentation + + function nextSlide() { + presentation.goToNextSlide(); + } + + Timer { + id: advanceTimer + interval: 20000 + running: presentation.activatedInCalamares + repeat: true + onTriggered: nextSlide() + } + + Slide { + Text { + id: text1 + anchors.centerIn: parent + text: "Reproducible" + font.pixelSize: 30 + wrapMode: Text.WordWrap + width: presentation.width + horizontalAlignment: Text.Center + color: "#6586C8" + } + Image { + id: background1 + source: "gfx-landing-reproducible.png" + width: 200; height: 200 + fillMode: Image.PreserveAspectFit + anchors.bottom: text1.top + anchors.horizontalCenter: parent.horizontalCenter + } + Text { + anchors.horizontalCenter: background1.horizontalCenter + anchors.top: text1.bottom + text: "Nix builds packages in isolation from each other.
"+ + "This ensures that they are reproducible and don't
"+ + "have undeclared dependencies, so if a package
"+ + "works on one machine, it will also work on another.
" + wrapMode: Text.WordWrap + width: presentation.width + horizontalAlignment: Text.Center + } + } + + Slide { + Text { + id: text2 + anchors.centerIn: parent + text: "Declarative" + font.pixelSize: 30 + wrapMode: Text.WordWrap + width: presentation.width + horizontalAlignment: Text.Center + color: "#6586C8" + } + Image { + id: background2 + source: "gfx-landing-declarative.png" + width: 200; height: 200 + fillMode: Image.PreserveAspectFit + anchors.bottom: text2.top + anchors.horizontalCenter: parent.horizontalCenter + } + Text { + anchors.horizontalCenter: background2.horizontalCenter + anchors.top: text2.bottom + text: "Nix makes it trivial to share development and build
"+ + "environments
for your projects, regardless of what
"+ + "programming languages and tools you’re using." + wrapMode: Text.WordWrap + width: presentation.width + horizontalAlignment: Text.Center + } + } + + Slide { + Text { + id: text3 + anchors.centerIn: parent + text: "Reliable" + font.pixelSize: 30 + wrapMode: Text.WordWrap + width: presentation.width + horizontalAlignment: Text.Center + color: "#6586C8" + } + Image { + id: background3 + source: "gfx-landing-reliable.png" + width: 200; height: 200 + fillMode: Image.PreserveAspectFit + anchors.bottom: text3.top + anchors.horizontalCenter: parent.horizontalCenter + } + Text { + anchors.horizontalCenter: background3.horizontalCenter + anchors.top: text3.bottom + text: "Nix ensures that installing or upgrading one package
"+ + "cannot break other packages. It allows you to roll
"+ + "back to previous versions,
and ensures that no
"+ + "package is in an inconsistent state during an
"+ + "upgrade." + wrapMode: Text.WordWrap + width: presentation.width + horizontalAlignment: Text.Center + } + } + + function onActivate() { + presentation.currentSlide = 0; + } + + function onLeave() { + } +} diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/white.png b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/white.png new file mode 100644 index 000000000000..086544a06c3c Binary files /dev/null and b/pkgs/by-name/ca/calamares-nixos-extensions/src/branding/nixos/white.png differ diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/finished.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/finished.conf new file mode 100644 index 000000000000..f8cb2febd2b7 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/finished.conf @@ -0,0 +1,4 @@ +# https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/finished/finished.conf +restartNowMode: user-unchecked +restartNowCommand: "systemctl -i reboot" +notifyOnFinished: true diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/keyboard.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/keyboard.conf new file mode 100644 index 000000000000..964a5cb93443 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/keyboard.conf @@ -0,0 +1,7 @@ +# https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/keyboard/keyboard.conf +xOrgConfFileName: "/etc/X11/xorg.conf.d/00-keyboard.conf" +writeEtcDefaultKeyboard: false + +# Use special code path to configure GNOME keyboard settings +configure: + gnome: true diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/locale.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/locale.conf new file mode 100644 index 000000000000..aaa68181bd6e --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/locale.conf @@ -0,0 +1,11 @@ +# https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/locale/locale.conf +useSystemTimezone: true + +# Isn't supported on NixOS +adjustLiveTimezone: false + +localeGenPath: @glibcLocales@/share/i18n/SUPPORTED + +geoip: + style: "json" + url: "https://geoip.kde.org/v1/calamares" diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/mount.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/mount.conf new file mode 100644 index 000000000000..dad6c229df2b --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/mount.conf @@ -0,0 +1,27 @@ +# https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/mount/mount.conf +extraMounts: + - device: proc + fs: proc + mountPoint: /proc + - device: sys + fs: sysfs + mountPoint: /sys + - device: /dev + mountPoint: /dev + options: [ bind ] + - device: tmpfs + fs: tmpfs + mountPoint: /run + - device: /run/udev + mountPoint: /run/udev + options: [ bind ] + - device: efivarfs + fs: efivarfs + mountPoint: /sys/firmware/efi/efivars + efi: true + +# Ensure the right fmask/dmask is set on the ESP, as it will be +# picked up by nixos-generate-config later +mountOptions: + - filesystem: efi + options: [ fmask=0077, dmask=0077 ] diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/packagechooser.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/packagechooser.conf new file mode 100644 index 000000000000..343023a9af54 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/packagechooser.conf @@ -0,0 +1,105 @@ +# https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/packagechooser/packagechooser.conf +mode: required + +# FIXME: what's the correct way of doing this now? +method: legacy + +labels: + step: "Desktop" + +default: gnome + +items: + - id: gnome + packages: [ gnome ] + name: GNOME + description: "Every part of GNOME has been designed to make it simple and easy to use. It provides a focused working environment that helps you get things done. GNOME is a popular choice and well tested on NixOS.
+
+ Learn more at gnome.org" + screenshot: "images/gnome.png" + + - id: plasma6 + packages: [ plasma6 ] + name: Plasma + description: "Plasma is made to stay out of the way as it helps you get things done. But under its light and intuitive surface, it's a highly customizable. So you're free to choose ways of usage right as you need them and when you need them. Plasma is a popular choice and well tested on NixOS.
+
+ Learn more at kde.org/plasma-desktop" + screenshot: "images/plasma6.png" + + - id: xfce + packages: [ xfce ] + name: Xfce + description: "Xfce is a lightweight desktop environment. It aims to be fast and low on system resources, while still being visually appealing and user friendly.
+
+ Learn more at xfce.org" + screenshot: "images/xfce.png" + + - id: pantheon + packages: [ pantheon ] + name: Pantheon + description: "Pantheon is the default desktop of Elementary OS. It provides a productive and intuitive user experience while also being visually appealing.
+
+ Learn more at elementary.io/docs/learning-the-basics" + screenshot: "images/pantheon.png" + + - id: cinnamon + packages: [ cinnamon ] + name: Cinnamon + description: "Cinnamon is a desktop which provides advanced innovative features and a traditional user experience. The emphasis is put on making users feel at home and providing them with an easy to use and comfortable desktop experience.
+
+ Learn more at projects.linuxmint.com/cinnamon" + screenshot: "images/cinnamon.png" + + - id: mate + packages: [ mate ] + name: MATE + description: "The MATE Desktop Environment is the continuation of GNOME 2. It provides an intuitive and attractive desktop environment.
+
+ Learn more at mate-desktop.org" + screenshot: "images/mate.png" + + - id: enlightenment + packages: [ enlightenment ] + name: Enlightenment + description: "Enlightenment is a Window Manager, Compositor and Minimal Desktop. Enlightenment is classed as a desktop shell as it provides everything you need to operate your desktop or laptop, but it is not a full application suite.
+
+ Learn more at enlightenment.org" + screenshot: "images/enlightenment.png" + + - id: lxqt + packages: [ lxqt ] + name: LXQt + description: "LXQt is a lightweight Qt desktop environment. It will not get in your way. It will not hang or slow down your system. It is focused on being a classic desktop with a modern look and feel.
+
+ Learn more at lxqt-project.org" + screenshot: "images/lxqt.png" + + # Lumina is not yet stable enough, once it is, simply uncommenting the lines below is all that's needed to enable it as an option + #- id: lumina + # packages: [ lumina ] + # name: Lumina + # description: "Lumina is designed to have a small footprint, giving your system the best performance possible. It is built to flow seamlessly between computer tasks and offers several integrated utilities in one convenient package.
+ # - Learn more at lumina-desktop.org" + # screenshot: "images/lumina.png" + + - id: budgie + packages: [ budgie ] + name: Budgie + description: "The Budgie Desktop is a feature-rich, modern desktop designed to keep out the way of the user.
+
+ Learn more at buddiesofbudgie.org" + screenshot: "images/budgie.png" + + - id: deepin + packages: [ deepin ] + name: Deepin + description: "The Deepin Desktop Environment is an elegant, easy to use and reliable desktop environment.
+
+ Learn more at deepin.org" + screenshot: "images/deepin.png" + + - id: "" + packages: [] + name: "No desktop" + screenshot: "images/nodesktop.png" + description: "A minimal system without a graphical user interface will be installed. This is great for servers or custom setups with window managers. The configuration can be changed after installation." diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/partition.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/partition.conf new file mode 100644 index 000000000000..3e067e8d2343 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/partition.conf @@ -0,0 +1,22 @@ +# https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/partition/partition.conf +efi: + mountPoint: "/boot" + recommendedSize: 1GiB + minimumSize: 32MiB + label: "EFI" + +userSwapChoices: + - none + - small + - suspend + +luksGeneration: luks2 + +showNotEncryptedBootMessage: false + +partitionLayout: + - name: "root" + filesystem: "ext4" + noEncrypt: false + mountPoint: "/" + size: 100% diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/unfree.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/unfree.conf new file mode 100644 index 000000000000..7229116dc8d0 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/unfree.conf @@ -0,0 +1,5 @@ +--- +qmlSearch: branding + +qmlLabel: + notes: "Unfree software" diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/users.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/users.conf new file mode 100644 index 000000000000..8145a0f749b9 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/users.conf @@ -0,0 +1,32 @@ +# https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/users/users.conf +defaultGroups: + - users + - networkmanager + - wheel + +setRootPassword: true +doReusePassword: false +doAutologin: false + +# Recommended libpwquality settings from upstream +passwordRequirements: + minLength: 8 + maxLength: 64 + libpwquality: + - minlen=8 + - maxrepeat=3 + - maxsequence=3 + - usersubstr=4 + - badwords=linux + +allowWeakPasswords: true +allowWeakPasswordsDefault: false + +user: + shell: /run/current-system/sw/bin/bash + forbidden_names: [ root ] + +hostname: + location: None + writeHostsFile: false + forbidden_names: [ localhost ] diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/welcome.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/welcome.conf new file mode 100644 index 000000000000..024e3041e6eb --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/modules/welcome.conf @@ -0,0 +1,20 @@ +# https://codeberg.org/Calamares/calamares/src/branch/calamares/src/modules/welcome/welcome.conf +showReleaseNotesUrl: true + +requirements: + requiredStorage: 10 + requiredRam: 3.0 + + internetCheckUrl: [ https://geoip.kde.org/v1/calamares, https://cache.nixos.org/ ] + + check: + - storage + - ram + - power + - internet + - screen + + required: + - storage + - ram + - internet diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/config/settings.conf b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/settings.conf new file mode 100644 index 000000000000..6a16f17a5754 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/config/settings.conf @@ -0,0 +1,208 @@ +# Configuration file for Calamares +# +# This is the top-level configuration file for Calamares. +# It specifies what modules will be used, as well as some +# overall characteristics -- is this a setup program, or +# an installer. More specific configuration is devolved +# to the branding file (for the UI) and the individual +# module configuration files (for functionality). +--- +# Modules can be job modules (with different interfaces) and QtWidgets view +# modules. They could all be placed in a number of different paths. +# "modules-search" is a list of strings, each of these can either be a full +# path to a directory or the keyword "local". +# +# "local" means: +# - modules in $LIBDIR/calamares/modules, with +# - settings in SHARE/calamares/modules or /etc/calamares/modules. +# In debug-mode (e.g. calamares -d) "local" also adds some paths +# that make sense from inside the build-directory, so that you +# can build-and-run with the latest modules immediately. +# +# Strings other than "local" are taken as paths and interpreted +# relative to wherever Calamares is started. It is therefore **strongly** +# recommended to use only absolute paths here. This is mostly useful +# if your distro has forks of standard Calamares modules, but also +# uses some form of upstream packaging which might overwrite those +# forked modules -- then you can keep modules somewhere outside of +# the "regular" module tree. +# +# +# YAML: list of strings. +modules-search: [ local, @out@/lib/calamares/modules ] + +# Instances section. This section is optional, and it defines custom instances +# for modules of any kind. An instance entry has these keys: +# - *module* name, which matches the module name from the module descriptor +# (usually the name of the directory under `src/modules/`, but third- +# party modules may diverge. +# - *id* (optional) an identifier to distinguish this instance from +# all the others. If none is given, the name of the module is used. +# Together, the module and id form an instance key (see below). +# - *config* (optional) a filename for the configuration. If none is +# given, *module*`.conf` is used (e.g. `welcome.conf` for the welcome +# module) +# - *weight* (optional) In the *exec* phase of the sequence, progress +# is reported as jobs are completed. The jobs from a single module +# together contribute the full weight of that module. The overall +# progress (0 .. 100%) is divided up according to the weight of each +# module. Give modules that take a lot of time to complete, a larger +# weight to keep the overall progress moving along steadily. This +# weight overrides a weight given in the module descriptor. If no weight +# is given, uses the value from the module descriptor, or 1 if there +# isn't one there either. +# +# The primary goal of this mechanism is to allow loading multiple instances +# of the same module, with different configuration. If you don't need this, +# the instances section can safely be left empty. +# +# Module name plus instance name makes an instance key, e.g. +# "webview@owncloud", where "webview" is the module name (for the webview +# viewmodule) and "owncloud" is the instance name. In the *sequence* +# section below, use instance-keys to name instances (instead of just +# a module name, for modules which have only a single instance). +# +# Every module implicitly has an instance with the instance name equal +# to its module name, e.g. "welcome@welcome". In the *sequence* section, +# mentioning a module without a full instance key (e.g. "welcome") +# means that implicit module. +# +# An instance may specify its configuration file (e.g. `webview-home.conf`). +# The implicit instances all have configuration files named `.conf`. +# This (implict) way matches the source examples, where the welcome +# module contains an example `welcome.conf`. Specify a *config* for +# any module (also implicit instances) to change which file is used. +# +# For more information on running module instances, run Calamares in debug +# mode and check the Modules page in the Debug information interface. +# +# A module that is often used with instances is shellprocess, which will +# run shell commands specified in the configuration file. By configuring +# more than one instance of the module, multiple shell sessions can be run +# during install. +# +# YAML: list of maps of string:string key-value pairs. +instances: +- id: unfree + module: notesqml + config: unfree.conf + +# Sequence section. This section describes the sequence of modules, both +# viewmodules and jobmodules, as they should appear and/or run. +# +# A jobmodule instance key (or name) can only appear in an exec phase, whereas +# a viewmodule instance key (or name) can appear in both exec and show phases. +# There is no limit to the number of show or exec phases. However, the same +# module instance key should not appear more than once per phase, and +# deployers should take notice that the global storage structure is persistent +# throughout the application lifetime, possibly influencing behavior across +# phases. A show phase defines a sequence of viewmodules (and therefore +# pages). These viewmodules can offer up jobs for the execution queue. +# +# An exec phase displays a progress page (with brandable slideshow). This +# progress page iterates over the modules listed in the *immediately +# preceding* show phase, and enqueues their jobs, as well as any other jobs +# from jobmodules, in the order defined in the current exec phase. +# +# It then executes the job queue and clears it. If a viewmodule offers up a +# job for execution, but the module name (or instance key) isn't listed in the +# immediately following exec phase, this job will not be executed. +# +# YAML: list of lists of strings. +sequence: +- show: + - welcome + - locale + - keyboard + - users + - packagechooser + - notesqml@unfree + - partition + - summary +- exec: + - partition + - mount + - nixos + - users + - umount +- show: + - finished + +# A branding component is a directory, either in SHARE/calamares/branding or +# in /etc/calamares/branding (the latter takes precedence). The directory must +# contain a YAML file branding.desc which may reference additional resources +# (such as images) as paths relative to the current directory. +# +# A branding component can also ship a QML slideshow for execution pages, +# along with translation files. +# +# Only the name of the branding component (directory) should be specified +# here, Calamares then takes care of finding it and loading the contents. +# +# YAML: string. +branding: nixos + +# If this is set to true, Calamares will show an "Are you sure?" prompt right +# before each execution phase, i.e. at points of no return. If this is set to +# false, no prompt is shown. Default is false, but Calamares will complain if +# this is not explicitly set. +# +# YAML: boolean. +prompt-install: false + +# If this is set to true, Calamares will execute all target environment +# commands in the current environment, without chroot. This setting should +# only be used when setting up Calamares as a post-install configuration tool, +# as opposed to a full operating system installer. +# +# Some official Calamares modules are not expected to function with this +# setting. (e.g. partitioning seems like a bad idea, since that is expected to +# have been done already) +# +# Default is false (for a normal installer), but Calamares will complain if +# this is not explicitly set. +# +# YAML: boolean. +dont-chroot: false + +# If this is set to true, Calamares refers to itself as a "setup program" +# rather than an "installer". Defaults to the value of dont-chroot, but +# Calamares will complain if this is not explicitly set. +oem-setup: false + +# If this is set to true, the "Cancel" button will be disabled entirely. +# The button is also hidden from view. +# +# This can be useful if when e.g. Calamares is used as a post-install +# configuration tool and you require the user to go through all the +# configuration steps. +# +# Default is false, but Calamares will complain if this is not explicitly set. +# +# YAML: boolean. +disable-cancel: false + +# If this is set to true, the "Cancel" button will be disabled once +# you start the 'Installation', meaning there won't be a way to cancel +# the Installation until it has finished or installation has failed. +# +# Default is false, but Calamares will complain if this is not explicitly set. +# +# YAML: boolean. +disable-cancel-during-exec: false + +# If this is set to true, the "Next" and "Back" button will be hidden once +# you start the 'Installation'. +# +# Default is false, but Calamares will complain if this is not explicitly set. +# +# YAML: boolean. +hide-back-and-next-during-exec: false + +# If this is set to true, then once the end of the sequence has +# been reached, the quit (done) button is clicked automatically +# and Calamares will close. Default is false: the user will see +# that the end of installation has been reached, and that things are ok. +# +# +quit-at-end: false diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/modules/nixos/main.py b/pkgs/by-name/ca/calamares-nixos-extensions/src/modules/nixos/main.py new file mode 100644 index 000000000000..017fb01b737d --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/modules/nixos/main.py @@ -0,0 +1,835 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- +import configparser +import libcalamares +import os +import subprocess +import re + +import gettext + +_ = gettext.translation( + "calamares-python", + localedir=libcalamares.utils.gettext_path(), + languages=libcalamares.utils.gettext_languages(), + fallback=True, +).gettext + + +# The following strings contain pieces of a nix-configuration file. +# They are adapted from the default config generated from the nixos-generate-config command. + +cfghead = """# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page +# and in the NixOS manual (accessible by running ‘nixos-help’). + +{ config, pkgs, ... }: + +{ + imports = + [ # Include the results of the hardware scan. + ./hardware-configuration.nix + ]; + +""" +cfgbootefi = """ # Bootloader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + +""" + +cfgbootbios = """ # Bootloader. + boot.loader.grub.enable = true; + boot.loader.grub.device = "@@bootdev@@"; + boot.loader.grub.useOSProber = true; + +""" + +cfgbootnone = """ # Disable bootloader. + boot.loader.grub.enable = false; + +""" + +cfgbootgrubcrypt = """ # Setup keyfile + boot.initrd.secrets = { + "/boot/crypto_keyfile.bin" = null; + }; + + boot.loader.grub.enableCryptodisk = true; + +""" + +cfgnetwork = """ networking.hostName = "@@hostname@@"; # Define your hostname. + # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + + # Configure network proxy if necessary + # networking.proxy.default = "http://user:password@proxy:port/"; + # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + +""" + +cfgnetworkmanager = """ # Enable networking + networking.networkmanager.enable = true; + +""" + +cfgconnman = """ # Enable networking + services.connman.enable = true; + +""" + +cfgnmapplet = """ # Enable network manager applet + programs.nm-applet.enable = true; + +""" + +cfgtime = """ # Set your time zone. + time.timeZone = "@@timezone@@"; + +""" + +cfglocale = """ # Select internationalisation properties. + i18n.defaultLocale = "@@LANG@@"; + +""" + +cfglocaleextra = """ i18n.extraLocaleSettings = { + LC_ADDRESS = "@@LC_ADDRESS@@"; + LC_IDENTIFICATION = "@@LC_IDENTIFICATION@@"; + LC_MEASUREMENT = "@@LC_MEASUREMENT@@"; + LC_MONETARY = "@@LC_MONETARY@@"; + LC_NAME = "@@LC_NAME@@"; + LC_NUMERIC = "@@LC_NUMERIC@@"; + LC_PAPER = "@@LC_PAPER@@"; + LC_TELEPHONE = "@@LC_TELEPHONE@@"; + LC_TIME = "@@LC_TIME@@"; + }; + +""" + +cfggnome = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the GNOME Desktop Environment. + services.xserver.displayManager.gdm.enable = true; + services.xserver.desktopManager.gnome.enable = true; + +""" + +cfgplasma6 = """ # Enable the X11 windowing system. + # You can disable this if you're only using the Wayland session. + services.xserver.enable = true; + + # Enable the KDE Plasma Desktop Environment. + services.displayManager.sddm.enable = true; + services.desktopManager.plasma6.enable = true; + +""" + +cfgxfce = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the XFCE Desktop Environment. + services.xserver.displayManager.lightdm.enable = true; + services.xserver.desktopManager.xfce.enable = true; + +""" + +cfgpantheon = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the Pantheon Desktop Environment. + services.xserver.displayManager.lightdm.enable = true; + services.xserver.desktopManager.pantheon.enable = true; + +""" + +cfgcinnamon = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the Cinnamon Desktop Environment. + services.xserver.displayManager.lightdm.enable = true; + services.xserver.desktopManager.cinnamon.enable = true; + +""" + +cfgmate = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the MATE Desktop Environment. + services.xserver.displayManager.lightdm.enable = true; + services.xserver.desktopManager.mate.enable = true; + +""" + +cfgenlightenment = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the Enlightenment Desktop Environment. + services.xserver.displayManager.lightdm.enable = true; + services.xserver.desktopManager.enlightenment.enable = true; + + # Enable acpid + services.acpid.enable = true; + +""" + +cfglxqt = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the LXQT Desktop Environment. + services.xserver.displayManager.lightdm.enable = true; + services.xserver.desktopManager.lxqt.enable = true; + +""" + +cfglumina = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the Lumina Desktop Environment. + services.xserver.displayManager.lightdm.enable = true; + services.xserver.desktopManager.lumina.enable = true; + +""" + +cfgbudgie = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the Budgie Desktop environment. + services.xserver.displayManager.lightdm.enable = true; + services.xserver.desktopManager.budgie.enable = true; + +""" + +cfgdeepin = """ # Enable the X11 windowing system. + services.xserver.enable = true; + + # Enable the Deepin Desktop Environment. + services.xserver.displayManager.lightdm.enable = true; + services.xserver.desktopManager.deepin.enable = true; + +""" + +cfgkeymap = """ # Configure keymap in X11 + services.xserver.xkb = { + layout = "@@kblayout@@"; + variant = "@@kbvariant@@"; + }; + +""" +cfgconsole = """ # Configure console keymap + console.keyMap = "@@vconsole@@"; + +""" + +cfgmisc = """ # Enable CUPS to print documents. + services.printing.enable = true; + + # Enable sound with pipewire. + services.pulseaudio.enable = false; + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + # If you want to use JACK applications, uncomment this + #jack.enable = true; + + # use the example session manager (no others are packaged yet so this is enabled by default, + # no need to redefine it in your config for now) + #media-session.enable = true; + }; + + # Enable touchpad support (enabled default in most desktopManager). + # services.xserver.libinput.enable = true; + +""" +cfgusers = """ # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.@@username@@ = { + isNormalUser = true; + description = "@@fullname@@"; + extraGroups = [ @@groups@@ ]; + packages = with pkgs; [@@pkgs@@]; + }; + +""" + +cfgfirefox = """ # Install firefox. + programs.firefox.enable = true; + +""" + +cfgautologin = """ # Enable automatic login for the user. + services.displayManager.autoLogin.enable = true; + services.displayManager.autoLogin.user = "@@username@@"; + +""" + +cfgautologingdm = """ # Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229 + systemd.services."getty@tty1".enable = false; + systemd.services."autovt@tty1".enable = false; + +""" + +cfgautologintty = """ # Enable automatic login for the user. + services.getty.autologinUser = "@@username@@"; + +""" + +cfgunfree = """ # Allow unfree packages + nixpkgs.config.allowUnfree = true; + +""" + +cfgpkgs = """ # List packages installed in system profile. To search, run: + # $ nix search wget + environment.systemPackages = with pkgs; [ + # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. + # wget + ]; + +""" + +cfgtail = """ # Some programs need SUID wrappers, can be configured further or are + # started in user sessions. + # programs.mtr.enable = true; + # programs.gnupg.agent = { + # enable = true; + # enableSSHSupport = true; + # }; + + # List services that you want to enable: + + # Enable the OpenSSH daemon. + # services.openssh.enable = true; + + # Open ports in the firewall. + # networking.firewall.allowedTCPPorts = [ ... ]; + # networking.firewall.allowedUDPPorts = [ ... ]; + # Or disable the firewall altogether. + # networking.firewall.enable = false; + + # This value determines the NixOS release from which the default + # settings for stateful data, like file locations and database versions + # on your system were taken. It‘s perfectly fine and recommended to leave + # this value at the release version of the first install of this system. + # Before changing this value read the documentation for this option + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). + system.stateVersion = "@@nixosversion@@"; # Did you read the comment? + +} +""" + +cfglatestkernel = """ # Use latest kernel. + boot.kernelPackages = pkgs.linuxPackages_latest; + +""" +def env_is_set(name): + envValue = os.environ.get(name) + return not (envValue is None or envValue == "") + +def generateProxyStrings(): + proxyEnv = [] + if env_is_set('http_proxy'): + proxyEnv.append('http_proxy={}'.format(os.environ.get('http_proxy'))) + if env_is_set('https_proxy'): + proxyEnv.append('https_proxy={}'.format(os.environ.get('https_proxy'))) + if env_is_set('HTTP_PROXY'): + proxyEnv.append('HTTP_PROXY={}'.format(os.environ.get('HTTP_PROXY'))) + if env_is_set('HTTPS_PROXY'): + proxyEnv.append('HTTPS_PROXY={}'.format(os.environ.get('HTTPS_PROXY'))) + + if len(proxyEnv) > 0: + proxyEnv.insert(0, "env") + + return proxyEnv + +def pretty_name(): + return _("Installing NixOS.") + + +status = pretty_name() + + +def pretty_status_message(): + return status + + +def catenate(d, key, *values): + """ + Sets @p d[key] to the string-concatenation of @p values + if none of the values are None. + This can be used to set keys conditionally based on + the values being found. + """ + if [v for v in values if v is None]: + return + + d[key] = "".join(values) + + +def run(): + """NixOS Configuration.""" + + global status + status = _("Configuring NixOS") + libcalamares.job.setprogress(0.1) + + ngc_cfg = configparser.ConfigParser() + ngc_cfg["Defaults"] = { "Kernel": "lts" } + ngc_cfg.read("/etc/nixos-generate-config.conf") + + # Create initial config file + cfg = cfghead + gs = libcalamares.globalstorage + variables = dict() + + # Setup variables + root_mount_point = gs.value("rootMountPoint") + config = os.path.join(root_mount_point, "etc/nixos/configuration.nix") + fw_type = gs.value("firmwareType") + bootdev = ( + "nodev" + if gs.value("bootLoader") is None + else gs.value("bootLoader")["installPath"] + ) + + # Pick config parts and prepare substitution + + # Check bootloader + if fw_type == "efi": + cfg += cfgbootefi + elif bootdev != "nodev": + cfg += cfgbootbios + catenate(variables, "bootdev", bootdev) + else: + cfg += cfgbootnone + + if ngc_cfg["Defaults"]["Kernel"] == "latest": + cfg += cfglatestkernel + + # Setup encrypted swap devices. nixos-generate-config doesn't seem to notice them. + for part in gs.value("partitions"): + if ( + part["claimed"] is True + and (part["fsName"] == "luks" or part["fsName"] == "luks2") + and part["device"] is not None + and part["fs"] == "linuxswap" + ): + cfg += """ boot.initrd.luks.devices."{}".device = "/dev/disk/by-uuid/{}";\n""".format( + part["luksMapperName"], part["uuid"] + ) + + # Check partitions + root_is_encrypted = False + boot_is_encrypted = False + boot_is_partition = False + + for part in gs.value("partitions"): + if part["mountPoint"] == "/": + root_is_encrypted = part["fsName"] in ["luks", "luks2"] + elif part["mountPoint"] == "/boot": + boot_is_partition = True + boot_is_encrypted = part["fsName"] in ["luks", "luks2"] + + # Setup keys in /boot/crypto_keyfile if using BIOS and Grub cryptodisk + if fw_type != "efi" and ( + (boot_is_partition and boot_is_encrypted) + or (root_is_encrypted and not boot_is_partition) + ): + cfg += cfgbootgrubcrypt + status = _("Setting up LUKS") + libcalamares.job.setprogress(0.15) + try: + libcalamares.utils.host_env_process_output( + ["mkdir", "-p", root_mount_point + "/boot"], None + ) + libcalamares.utils.host_env_process_output( + ["chmod", "0700", root_mount_point + "/boot"], None + ) + # Create /boot/crypto_keyfile.bin + libcalamares.utils.host_env_process_output( + [ + "dd", + "bs=512", + "count=4", + "if=/dev/random", + "of=" + root_mount_point + "/boot/crypto_keyfile.bin", + "iflag=fullblock", + ], + None, + ) + libcalamares.utils.host_env_process_output( + ["chmod", "600", root_mount_point + "/boot/crypto_keyfile.bin"], None + ) + except subprocess.CalledProcessError: + libcalamares.utils.error("Failed to create /boot/crypto_keyfile.bin") + return ( + _("Failed to create /boot/crypto_keyfile.bin"), + _("Check if you have enough free space on your partition."), + ) + + for part in gs.value("partitions"): + if ( + part["claimed"] is True + and (part["fsName"] == "luks" or part["fsName"] == "luks2") + and part["device"] is not None + ): + cfg += """ boot.initrd.luks.devices."{}".keyFile = "/boot/crypto_keyfile.bin";\n""".format( + part["luksMapperName"] + ) + try: + # Grub currently only supports pbkdf2 for luks2 + libcalamares.utils.host_env_process_output( + [ + "cryptsetup", + "luksConvertKey", + "--hash", + "sha256", + "--pbkdf", + "pbkdf2", + part["device"], + ], + None, + part["luksPassphrase"], + ) + # Add luks drives to /boot/crypto_keyfile.bin + libcalamares.utils.host_env_process_output( + [ + "cryptsetup", + "luksAddKey", + "--hash", + "sha256", + "--pbkdf", + "pbkdf2", + part["device"], + root_mount_point + "/boot/crypto_keyfile.bin", + ], + None, + part["luksPassphrase"], + ) + except subprocess.CalledProcessError: + libcalamares.utils.error( + "Failed to add {} to /boot/crypto_keyfile.bin".format( + part["luksMapperName"] + ) + ) + return ( + _("cryptsetup failed"), + _( + "Failed to add {} to /boot/crypto_keyfile.bin".format( + part["luksMapperName"] + ) + ), + ) + + status = _("Configuring NixOS") + libcalamares.job.setprogress(0.18) + + cfg += cfgnetwork + if gs.value("packagechooser_packagechooser") == "enlightenment": + cfg += cfgconnman + else: + cfg += cfgnetworkmanager + + if ( + (gs.value("packagechooser_packagechooser") == "mate") + | (gs.value("packagechooser_packagechooser") == "lxqt") + | (gs.value("packagechooser_packagechooser") == "lumina") + ): + cfg += cfgnmapplet + + if gs.value("hostname") is None: + catenate(variables, "hostname", "nixos") + else: + catenate(variables, "hostname", gs.value("hostname")) + + if gs.value("locationRegion") is not None and gs.value("locationZone") is not None: + cfg += cfgtime + catenate( + variables, + "timezone", + gs.value("locationRegion"), + "/", + gs.value("locationZone"), + ) + + if gs.value("localeConf") is not None: + localeconf = gs.value("localeConf") + locale = localeconf.pop("LANG").split("/")[0] + cfg += cfglocale + catenate(variables, "LANG", locale) + if ( + len(set(localeconf.values())) != 1 + or list(set(localeconf.values()))[0] != locale + ): + cfg += cfglocaleextra + for conf in localeconf: + catenate(variables, conf, localeconf.get(conf).split("/")[0]) + + # Choose desktop environment + if gs.value("packagechooser_packagechooser") == "gnome": + cfg += cfggnome + elif gs.value("packagechooser_packagechooser") == "plasma6": + cfg += cfgplasma6 + elif gs.value("packagechooser_packagechooser") == "xfce": + cfg += cfgxfce + elif gs.value("packagechooser_packagechooser") == "pantheon": + cfg += cfgpantheon + elif gs.value("packagechooser_packagechooser") == "cinnamon": + cfg += cfgcinnamon + elif gs.value("packagechooser_packagechooser") == "mate": + cfg += cfgmate + elif gs.value("packagechooser_packagechooser") == "enlightenment": + cfg += cfgenlightenment + elif gs.value("packagechooser_packagechooser") == "lxqt": + cfg += cfglxqt + elif gs.value("packagechooser_packagechooser") == "lumina": + cfg += cfglumina + elif gs.value("packagechooser_packagechooser") == "budgie": + cfg += cfgbudgie + elif gs.value("packagechooser_packagechooser") == "deepin": + cfg += cfgdeepin + + if ( + gs.value("keyboardLayout") is not None + and gs.value("keyboardVariant") is not None + ): + cfg += cfgkeymap + catenate(variables, "kblayout", gs.value("keyboardLayout")) + catenate(variables, "kbvariant", gs.value("keyboardVariant")) + + if gs.value("keyboardVConsoleKeymap") is not None: + try: + subprocess.check_output( + ["pkexec", "loadkeys", gs.value("keyboardVConsoleKeymap").strip()], + stderr=subprocess.STDOUT, + ) + cfg += cfgconsole + catenate( + variables, "vconsole", gs.value("keyboardVConsoleKeymap").strip() + ) + except subprocess.CalledProcessError as e: + libcalamares.utils.error("loadkeys: {}".format(e.output)) + libcalamares.utils.error( + "Setting vconsole keymap to {} will fail, using default".format( + gs.value("keyboardVConsoleKeymap").strip() + ) + ) + else: + kbdmodelmap = open( + "/run/current-system/sw/share/systemd/kbd-model-map", "r" + ) + kbd = kbdmodelmap.readlines() + out = [] + for line in kbd: + if line.startswith("#"): + continue + out.append(line.split()) + # Find rows with same layout + find = [] + for row in out: + if gs.value("keyboardLayout") == row[1]: + find.append(row) + if find != []: + vconsole = find[0][0] + else: + vconsole = "" + if gs.value("keyboardVariant") is not None: + variant = gs.value("keyboardVariant") + else: + variant = "-" + # Find rows with same variant + for row in find: + if variant in row[3]: + vconsole = row[0] + break + # If none found set to "us" + if vconsole != "" and vconsole != "us" and vconsole is not None: + try: + subprocess.check_output( + ["pkexec", "loadkeys", vconsole], stderr=subprocess.STDOUT + ) + cfg += cfgconsole + catenate(variables, "vconsole", vconsole) + except subprocess.CalledProcessError as e: + libcalamares.utils.error("loadkeys: {}".format(e.output)) + libcalamares.utils.error("vconsole value: {}".format(vconsole)) + libcalamares.utils.error( + "Setting vconsole keymap to {} will fail, using default".format( + gs.value("keyboardVConsoleKeymap") + ) + ) + + if ( + gs.value("packagechooser_packagechooser") is not None + and gs.value("packagechooser_packagechooser") != "" + ): + cfg += cfgmisc + + if gs.value("username") is not None: + fullname = gs.value("fullname") + groups = ["networkmanager", "wheel"] + + cfg += cfgusers + catenate(variables, "username", gs.value("username")) + catenate(variables, "fullname", fullname) + catenate(variables, "groups", (" ").join(['"' + s + '"' for s in groups])) + if ( + gs.value("autoLoginUser") is not None + and gs.value("packagechooser_packagechooser") is not None + and gs.value("packagechooser_packagechooser") != "" + ): + cfg += cfgautologin + if gs.value("packagechooser_packagechooser") == "gnome": + cfg += cfgautologingdm + elif gs.value("autoLoginUser") is not None: + cfg += cfgautologintty + + if gs.value("packagechooser_packagechooser") != "": + cfg += cfgfirefox + + # Check if unfree packages are allowed + free = True + if gs.value("nixos_allow_unfree"): + free = False + cfg += cfgunfree + + cfg += cfgpkgs + # Use firefox as default as a graphical web browser, and add kate to plasma desktop + if gs.value("packagechooser_packagechooser") == "plasma6": + catenate( + variables, "pkgs", "\n kdePackages.kate\n # thunderbird\n " + ) + elif gs.value("packagechooser_packagechooser") != "": + catenate(variables, "pkgs", "\n # thunderbird\n ") + else: + catenate(variables, "pkgs", "") + + cfg += cfgtail + version = ".".join(subprocess.getoutput(["nixos-version"]).split(".")[:2])[:5] + catenate(variables, "nixosversion", version) + + # Check that all variables are used + for key in variables.keys(): + pattern = "@@{key}@@".format(key=key) + if pattern not in cfg: + libcalamares.utils.warning("Variable '{key}' is not used.".format(key=key)) + + # Check that all patterns exist + variable_pattern = re.compile(r"@@\w+@@") + for match in variable_pattern.finditer(cfg): + variable_name = cfg[match.start() + 2 : match.end() - 2] + if variable_name not in variables: + libcalamares.utils.warning( + "Variable '{key}' is used but not defined.".format(key=variable_name) + ) + + # Do the substitutions + for key in variables.keys(): + pattern = "@@{key}@@".format(key=key) + cfg = cfg.replace(pattern, str(variables[key])) + + status = _("Generating NixOS configuration") + libcalamares.job.setprogress(0.25) + + try: + # Generate hardware.nix with mounted swap device + subprocess.check_output( + ["pkexec", "nixos-generate-config", "--root", root_mount_point], + stderr=subprocess.STDOUT, + ) + except subprocess.CalledProcessError as e: + if e.output is not None: + libcalamares.utils.error(e.output.decode("utf8")) + return (_("nixos-generate-config failed"), _(e.output.decode("utf8"))) + + # Check for unfree stuff in hardware-configuration.nix + hf = open(root_mount_point + "/etc/nixos/hardware-configuration.nix", "r") + htxt = hf.read() + search = re.search(r"boot\.extraModulePackages = \[ (.*) \];", htxt) + + # Check if any extraModulePackages are defined, and remove if only free packages are allowed + if search is not None and free: + expkgs = search.group(1).split(" ") + for pkg in expkgs: + p = ".".join(pkg.split(".")[3:]) + # Check package p is unfree + isunfree = subprocess.check_output( + [ + "nix-instantiate", + "--eval", + "--strict", + "-E", + "with import {{}}; pkgs.linuxKernel.packageAliases.linux_default.{}.meta.unfree".format( + p + ), + "--json", + ], + stderr=subprocess.STDOUT, + ) + if isunfree == b"true": + libcalamares.utils.warning( + "{} is marked as unfree, removing from hardware-configuration.nix".format( + p + ) + ) + expkgs.remove(pkg) + hardwareout = re.sub( + r"boot\.extraModulePackages = \[ (.*) \];", + "boot.extraModulePackages = [ {}];".format( + "".join(map(lambda x: x + " ", expkgs)) + ), + htxt, + ) + # Write the hardware-configuration.nix file + libcalamares.utils.host_env_process_output( + [ + "cp", + "/dev/stdin", + root_mount_point + "/etc/nixos/hardware-configuration.nix", + ], + None, + hardwareout, + ) + + # Write the configuration.nix file + libcalamares.utils.host_env_process_output(["cp", "/dev/stdin", config], None, cfg) + + status = _("Installing NixOS") + libcalamares.job.setprogress(0.3) + + # build nixos-install command + nixosInstallCmd = [ "pkexec" ] + nixosInstallCmd.extend(generateProxyStrings()) + nixosInstallCmd.extend( + [ + "nixos-install", + "--no-root-passwd", + "--root", + root_mount_point + ] + ) + + # Install customizations + try: + output = "" + proc = subprocess.Popen( + nixosInstallCmd, + stdout=subprocess.PIPE, + stderr=subprocess.STDOUT + ) + while True: + line = proc.stdout.readline().decode("utf-8") + output += line + libcalamares.utils.debug("nixos-install: {}".format(line.strip())) + if not line: + break + exit = proc.wait() + if exit != 0: + return (_("nixos-install failed"), _(output)) + except: + return (_("nixos-install failed"), _("Installation failed to complete")) + + return None diff --git a/pkgs/by-name/ca/calamares-nixos-extensions/src/modules/nixos/module.desc b/pkgs/by-name/ca/calamares-nixos-extensions/src/modules/nixos/module.desc new file mode 100644 index 000000000000..3697c7224e6d --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos-extensions/src/modules/nixos/module.desc @@ -0,0 +1,5 @@ +--- +type: "job" +name: "nixos" +interface: "python" +script: "main.py" diff --git a/pkgs/by-name/ca/calamares-nixos/package.nix b/pkgs/by-name/ca/calamares-nixos/package.nix new file mode 100644 index 000000000000..fdf2363a7807 --- /dev/null +++ b/pkgs/by-name/ca/calamares-nixos/package.nix @@ -0,0 +1,30 @@ +{ + lib, + runCommand, + makeWrapper, + calamares, + calamares-nixos-extensions, +}: +runCommand "calamares-wrapped" + { + inherit (calamares) version meta; + + nativeBuildInputs = [ makeWrapper ]; + } + '' + mkdir -p $out/bin + + cd ${calamares} + + for i in *; do + if [ "$i" == "bin" ]; then + continue + fi + ln -s ${calamares}/$i $out/$i + done + + makeWrapper ${lib.getExe calamares} $out/bin/calamares \ + --prefix XDG_DATA_DIRS : ${calamares-nixos-extensions}/share \ + --prefix XDG_CONFIG_DIRS : ${calamares-nixos-extensions}/etc \ + --add-flag --xdg-config + '' diff --git a/pkgs/tools/misc/calamares/0006-Remove-options-for-unsupported-partition-types.patch b/pkgs/by-name/ca/calamares/dont-allow-manual-luks.patch similarity index 100% rename from pkgs/tools/misc/calamares/0006-Remove-options-for-unsupported-partition-types.patch rename to pkgs/by-name/ca/calamares/dont-allow-manual-luks.patch diff --git a/pkgs/tools/misc/calamares/0001-Modifies-the-users-module-to-only-set-passwords-of-u.patch b/pkgs/by-name/ca/calamares/dont-create-users.patch similarity index 64% rename from pkgs/tools/misc/calamares/0001-Modifies-the-users-module-to-only-set-passwords-of-u.patch rename to pkgs/by-name/ca/calamares/dont-create-users.patch index a03aa4180e08..4cebf072ab35 100644 --- a/pkgs/tools/misc/calamares/0001-Modifies-the-users-module-to-only-set-passwords-of-u.patch +++ b/pkgs/by-name/ca/calamares/dont-create-users.patch @@ -1,20 +1,8 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Victor Fuentes -Date: Thu, 1 Aug 2024 15:53:16 -0400 -Subject: [PATCH] Modifies the users module to only set passwords of user and - root - -as the users will have already been created in the configuration.nix -file ---- - src/modules/users/Config.cpp | 15 --------------- - 1 file changed, 15 deletions(-) - diff --git a/src/modules/users/Config.cpp b/src/modules/users/Config.cpp -index cd56bc3e2..9b09b36cd 100644 +index be754774b..4b0513df0 100644 --- a/src/modules/users/Config.cpp +++ b/src/modules/users/Config.cpp -@@ -1028,12 +1028,6 @@ Config::createJobs() const +@@ -1069,12 +1069,6 @@ Config::createJobs() const Calamares::Job* j; @@ -27,7 +15,7 @@ index cd56bc3e2..9b09b36cd 100644 if ( getActiveDirectoryUsed() ) { j = new ActiveDirectoryJob( m_activeDirectoryAdminUsername, -@@ -1043,20 +1037,11 @@ Config::createJobs() const +@@ -1084,20 +1078,11 @@ Config::createJobs() const jobs.append( Calamares::job_ptr( j ) ); } diff --git a/pkgs/by-name/ca/calamares/let-qml-write-to-global-storage.patch b/pkgs/by-name/ca/calamares/let-qml-write-to-global-storage.patch new file mode 100644 index 000000000000..9afbe4ef87ff --- /dev/null +++ b/pkgs/by-name/ca/calamares/let-qml-write-to-global-storage.patch @@ -0,0 +1,33 @@ +diff --git a/src/libcalamares/GlobalStorage.h b/src/libcalamares/GlobalStorage.h +index 37ea332d2..b9e629350 100644 +--- a/src/libcalamares/GlobalStorage.h ++++ b/src/libcalamares/GlobalStorage.h +@@ -56,13 +56,6 @@ public: + */ + explicit GlobalStorage( QObject* parent = nullptr ); + +- /** @brief Insert a key and value into the store +- * +- * The @p value is added to the store with key @p key. If @p key +- * already exists in the store, its existing value is overwritten. +- * The changed() signal is emitted regardless. +- */ +- void insert( const QString& key, const QVariant& value ); + /** @brief Removes a key and its value + * + * The @p key is removed from the store. If the @p key does not +@@ -123,6 +116,14 @@ public: + QVariantMap data() const { return m; } + + public Q_SLOTS: ++ /** @brief Insert a key and value into the store ++ * ++ * The @p value is added to the store with key @p key. If @p key ++ * already exists in the store, its existing value is overwritten. ++ * The changed() signal is emitted regardless. ++ */ ++ void insert( const QString& key, const QVariant& value ); ++ + /** @brief Does the store contain the given key? + * + * This can distinguish an explicitly-inserted QVariant() from diff --git a/pkgs/by-name/ca/calamares/package.nix b/pkgs/by-name/ca/calamares/package.nix new file mode 100644 index 000000000000..682e0cbec8a2 --- /dev/null +++ b/pkgs/by-name/ca/calamares/package.nix @@ -0,0 +1,135 @@ +{ + lib, + stdenv, + + writeShellScriptBin, + xdg-utils, + + fetchFromGitea, + + cmake, + ninja, + kdePackages, + qt6, + + libpwquality, + libxcrypt, + parted, + yaml-cpp, + + tzdata, + ckbcomp, + util-linux, + os-prober, + xkeyboard_config, + + # passthru.tests + calamares-nixos, +}: + +let + # drop privileges so we can launch browsers, etc; + # force going through the portal so we get the right environment + xdg-open-nixos = writeShellScriptBin "xdg-open" '' + sudo --user $(id -nu $PKEXEC_UID) env NIXOS_XDG_OPEN_USE_PORTAL=1 ${xdg-utils}/bin/xdg-open "$@" + ''; +in +stdenv.mkDerivation (finalAttrs: { + pname = "calamares"; + version = "3.4.0"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "Calamares"; + repo = "calamares"; + tag = "v${finalAttrs.version}"; + hash = "sha256-Qk+GnonuEWK3hXjmwxf9awgxr6dGunShJgwmkT78qKM="; + }; + + patches = [ + # Don't allow LUKS in manual partitioning + # FIXME: this really needs to be fixed on the module end + ./dont-allow-manual-luks.patch + + # Don't create users - they're already created by the installer + # FIXME: upstream this? + ./dont-create-users.patch + + # Allow QML to write to GlobalStorage + # FIXME: upstream this + ./let-qml-write-to-global-storage.patch + ]; + + nativeBuildInputs = [ + cmake + ninja + kdePackages.extra-cmake-modules + qt6.wrapQtAppsHook + ]; + + buildInputs = [ + kdePackages.kcoreaddons + kdePackages.kcrash + kdePackages.kpackage + kdePackages.kparts + kdePackages.kpmcore + kdePackages.kservice + kdePackages.libplasma + libpwquality + libxcrypt + parted + kdePackages.polkit-qt-1 + qt6.qtbase + qt6.qttools + yaml-cpp + ]; + + postPatch = '' + # this is called via pkexec, which does not resolve symlinks, so the policy + # needs to point at the symlinked path + substituteInPlace io.calamares.calamares.policy \ + --replace-fail /usr/bin/calamares /run/current-system/sw/bin/calamares + + substituteInPlace src/modules/locale/SetTimezoneJob.cpp src/libcalamares/locale/TimeZone.cpp \ + --replace-fail /usr/share/zoneinfo ${tzdata}/share/zoneinfo + + substituteInPlace src/modules/keyboard/keyboardwidget/keyboardglobal.cpp \ + --replace-fail /usr/share/X11/xkb/rules/base.lst ${xkeyboard_config}/share/X11/xkb/rules/base.lst + + substituteInPlace CMakeLists.txt \ + --replace-fail "\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}" "$out/share/polkit-1/actions" + ''; + + separateDebugInfo = true; + + qtWrapperArgs = [ + "--prefix PATH : ${ + lib.makeBinPath [ + ckbcomp + os-prober + util-linux + xdg-open-nixos + ] + }" + ]; + + passthru.tests = { + inherit calamares-nixos; + }; + + meta = with lib; { + description = "Distribution-independent installer framework"; + homepage = "https://calamares.io/"; + license = with licenses; [ + gpl3Plus + bsd2 + cc0 + ]; + maintainers = with maintainers; [ + manveru + vlinkz + ]; + platforms = platforms.linux; + mainProgram = "calamares"; + }; +}) diff --git a/pkgs/by-name/ca/cargo-mutants/package.nix b/pkgs/by-name/ca/cargo-mutants/package.nix index f9eedb7aff23..0356b2b16e52 100644 --- a/pkgs/by-name/ca/cargo-mutants/package.nix +++ b/pkgs/by-name/ca/cargo-mutants/package.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-mutants"; - version = "25.2.2"; + version = "25.3.1"; src = fetchFromGitHub { owner = "sourcefrog"; repo = "cargo-mutants"; rev = "v${version}"; - hash = "sha256-VDXI/pR7lmIMrsHx9E+oWp0PPUcl83Hc98z6Sh18Hsc="; + hash = "sha256-T+BMLjp74IO71u/ftNfz67FPSt1LYCgsRP65gL0wScg="; }; - cargoHash = "sha256-fTGIFD6V7L3erzi2RexR9XJNIV/UTu8vwFnrNpeFE4A="; + cargoHash = "sha256-Q9+p1MbjF2pyw254X+K6GQSLKNbqjmFXDyZjCI31b7s="; # too many tests require internet access doCheck = false; diff --git a/pkgs/by-name/ca/cargo-semver-checks/package.nix b/pkgs/by-name/ca/cargo-semver-checks/package.nix index 91ce001db0bb..e4d53bfac75c 100644 --- a/pkgs/by-name/ca/cargo-semver-checks/package.nix +++ b/pkgs/by-name/ca/cargo-semver-checks/package.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "cargo-semver-checks"; - version = "0.42.0"; + version = "0.43.0"; src = fetchFromGitHub { owner = "obi1kenobi"; repo = "cargo-semver-checks"; tag = "v${version}"; - hash = "sha256-NPxb2fS5EuymUP0h0HGZ++goOeGwATlpQeRzAPbnF94="; + hash = "sha256-SfmixBe7M0wnKEIBCpae2ypqgsTb5/AC0GwI42uMGlE="; }; - cargoHash = "sha256-ACTrtJ/iwCFZf8kH2Sdxx1B8ZKDIiu6elAGJOYbxqs0="; + cargoHash = "sha256-OD3N1rtgXQhWNfFjnLLrkBvC9Ra9EBNv6GqtX0ai4Gs="; nativeBuildInputs = [ cmake diff --git a/pkgs/by-name/ca/cargo-shear/package.nix b/pkgs/by-name/ca/cargo-shear/package.nix index 624c648a6cbd..b70867f1d155 100644 --- a/pkgs/by-name/ca/cargo-shear/package.nix +++ b/pkgs/by-name/ca/cargo-shear/package.nix @@ -6,7 +6,7 @@ cargo-shear, }: let - version = "1.4.1"; + version = "1.5.0"; in rustPlatform.buildRustPackage { pname = "cargo-shear"; @@ -16,10 +16,10 @@ rustPlatform.buildRustPackage { owner = "Boshen"; repo = "cargo-shear"; rev = "v${version}"; - hash = "sha256-Ast944OrFyC6jHsL+aLp9zUK0hX7Xv+0EV1bH/PjDGA="; + hash = "sha256-UZOSdCErZ7dT1KiuyupD2KMf8JgPfBOZn1GFWNJFtFU="; }; - cargoHash = "sha256-NSBe42AGujyh3CSdJ9ON14IA9U63qNly96VMNbU+I84="; + cargoHash = "sha256-qVkM2Zg2R3ZzCBEJFMXY7hfptiBvDaA+nVO1SVUuUNg="; # https://github.com/Boshen/cargo-shear/blob/a0535415a3ea94c86642f39f343f91af5cdc3829/src/lib.rs#L20-L23 SHEAR_VERSION = version; diff --git a/pkgs/by-name/ch/checkov/package.nix b/pkgs/by-name/ch/checkov/package.nix index 4eb22073b259..eb2466dfc8ef 100644 --- a/pkgs/by-name/ch/checkov/package.nix +++ b/pkgs/by-name/ch/checkov/package.nix @@ -25,14 +25,14 @@ with py.pkgs; python3.pkgs.buildPythonApplication rec { pname = "checkov"; - version = "3.2.460"; + version = "3.2.461"; pyproject = true; src = fetchFromGitHub { owner = "bridgecrewio"; repo = "checkov"; tag = version; - hash = "sha256-DThOzb6ja0kdJ9X99hFsn7FCdk86xJeDKVdqRC1KLHw="; + hash = "sha256-CKsQn5IAbfVR/j+wHs1rohFvwNO3f2FZ7UBps5ic5Rk="; }; pythonRelaxDeps = [ diff --git a/pkgs/by-name/cl/claude-code/package-lock.json b/pkgs/by-name/cl/claude-code/package-lock.json index cb8e32a0263f..8ee2e3234e67 100644 --- a/pkgs/by-name/cl/claude-code/package-lock.json +++ b/pkgs/by-name/cl/claude-code/package-lock.json @@ -6,13 +6,13 @@ "packages": { "": { "dependencies": { - "@anthropic-ai/claude-code": "^1.0.72" + "@anthropic-ai/claude-code": "^1.0.74" } }, "node_modules/@anthropic-ai/claude-code": { - "version": "1.0.72", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.72.tgz", - "integrity": "sha512-nA/l/xKX4sgOE0Y6P3o6czNGQqlyqJPjs9CHFxantsmyKvOot9VlRW4AiEAn42hQrZReCXeSnt8LOMx9ev7Erg==", + "version": "1.0.74", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-1.0.74.tgz", + "integrity": "sha512-Iahs887b3Zdk6xWkb+qDgz178nOWqfse35Ten2l+oOQqeS1A7Ct14BPZuQmLiWtkoSZxqFAsee3Gp+ITfPicrw==", "license": "SEE LICENSE IN README.md", "bin": { "claude": "cli.js" diff --git a/pkgs/by-name/cl/claude-code/package.nix b/pkgs/by-name/cl/claude-code/package.nix index b7685095154a..b78a3659b38d 100644 --- a/pkgs/by-name/cl/claude-code/package.nix +++ b/pkgs/by-name/cl/claude-code/package.nix @@ -7,16 +7,16 @@ buildNpmPackage rec { pname = "claude-code"; - version = "1.0.72"; + version = "1.0.74"; nodejs = nodejs_20; # required for sandboxed Nix builds on Darwin src = fetchzip { url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz"; - hash = "sha256-1vIElqZ5sk62o1amdfOqhmSG4B5wzKWDLcCgvQO4a5o="; + hash = "sha256-cjiW39n74BV+s1ZKf/kgZVAg02XGWsoVfdzwPxuwe3g="; }; - npmDepsHash = "sha256-LkQf2lW6TM1zRr10H7JgtnE+dy0CE7WCxF4GhTd4GT4="; + npmDepsHash = "sha256-z+ZU8rT0rKcWxG4fZut7rA2rChVdyOyCw62+CNNObZU="; postPatch = '' cp ${./package-lock.json} package-lock.json diff --git a/pkgs/by-name/cn/cnquery/package.nix b/pkgs/by-name/cn/cnquery/package.nix index 4df078c1b353..063f15791b7e 100644 --- a/pkgs/by-name/cn/cnquery/package.nix +++ b/pkgs/by-name/cn/cnquery/package.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "cnquery"; - version = "11.65.0"; + version = "11.66.1"; src = fetchFromGitHub { owner = "mondoohq"; repo = "cnquery"; tag = "v${version}"; - hash = "sha256-M2bx4wgVM79iXhtZDFvcOfifwbLCTQ0knTI3FAOzj3M="; + hash = "sha256-VgIjwHOs5JWWNP/ecGJxN65B1+1dAVzALkfljNExRTg="; }; subPackages = [ "apps/cnquery" ]; diff --git a/pkgs/by-name/cn/cnspec/package.nix b/pkgs/by-name/cn/cnspec/package.nix index 269fa3f42f11..55f620547b71 100644 --- a/pkgs/by-name/cn/cnspec/package.nix +++ b/pkgs/by-name/cn/cnspec/package.nix @@ -6,18 +6,18 @@ buildGoModule rec { pname = "cnspec"; - version = "11.66.1"; + version = "11.67.1"; src = fetchFromGitHub { owner = "mondoohq"; repo = "cnspec"; tag = "v${version}"; - hash = "sha256-9//tWDqblU8Ifq3Yx2x1sR0Ck46v/MIpW8I34msmx6A="; + hash = "sha256-COVhnyZYJSUN3AUcZoHD97wrAkWvHlIbZmoMvaZ46Gw="; }; proxyVendor = true; - vendorHash = "sha256-J6f9EUPVncOVdkMOi0TVfh4FMoSVfBmcGTAvCRm4BrM="; + vendorHash = "sha256-wVltxYhh+VepkpvJrORCG3TxDBnpgV6weJH90RJwA1U="; subPackages = [ "apps/cnspec" ]; diff --git a/pkgs/by-name/co/codex/package.nix b/pkgs/by-name/co/codex/package.nix index c69c970f678b..0cc4d7059169 100644 --- a/pkgs/by-name/co/codex/package.nix +++ b/pkgs/by-name/co/codex/package.nix @@ -14,18 +14,18 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "codex"; - version = "0.20.0"; + version = "0.21.0"; src = fetchFromGitHub { owner = "openai"; repo = "codex"; tag = "rust-v${finalAttrs.version}"; - hash = "sha256-v5PEj3T/eirAMpHHMR6LE9X8qDNhvCJP40Nleal3oOw="; + hash = "sha256-9hwDAkrMW0llcYJdkrUCSdh3guRcUCmx8MDkHLyY6v0="; }; sourceRoot = "${finalAttrs.src.name}/codex-rs"; - cargoHash = "sha256-zgmiWyWB08v1WQVFzxpC/LGwF+XXbs8iW1d7i9Iw0Q4="; + cargoHash = "sha256-ykG3howLyA4kA7cjP8Gx+usRcgQoVHW0ECQzTUigG8A="; nativeBuildInputs = [ installShellFiles @@ -58,6 +58,8 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=originator_config_override_is_used" # Fails with 'called `Result::unwrap()` on an `Err` value: NotPresent' "--skip=azure_overrides_assign_properties_used_for_responses_url" + # Fails with 'stream ended unexpectedly: InternalAgentDied' + "--skip=prefixes_context_and_instructions_once_and_consistently_across_requests" # Fails with 'called `Result::unwrap()` on an `Err` value: NotPresent' "--skip=env_var_overrides_loaded_auth" # Version 0.0.0 hardcoded @@ -66,6 +68,9 @@ rustPlatform.buildRustPackage (finalAttrs: { "--skip=test_send_message_session_not_found" # Version 0.0.0 hardcoded "--skip=test_send_message_success" + # Assertion fails + "--skip=diff_render::tests::ui_snapshot_add_details" + "--skip=diff_render::tests::ui_snapshot_update_details_with_rename" ]; postInstall = lib.optionalString installShellCompletions '' diff --git a/pkgs/by-name/co/coin3d/package.nix b/pkgs/by-name/co/coin3d/package.nix index 1d50662a8560..6550b8e3095c 100644 --- a/pkgs/by-name/co/coin3d/package.nix +++ b/pkgs/by-name/co/coin3d/package.nix @@ -11,13 +11,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "coin"; - version = "4.0.4"; + version = "4.0.5"; src = fetchFromGitHub { owner = "coin3d"; repo = "coin"; rev = "v${finalAttrs.version}"; - hash = "sha256-Zk9tlGMbNhfHKv+Z5VFWr1g3wNuPFzof+7vsLAlOBC4="; + hash = "sha256-2lfy33Qx0AjKDfwwRn7hjaz7mPQsr7MRB9v75qshGjM="; }; nativeBuildInputs = [ cmake ]; diff --git a/pkgs/by-name/cr/crowdsec-firewall-bouncer/package.nix b/pkgs/by-name/cr/crowdsec-firewall-bouncer/package.nix index 4f38cc4fbfda..1344faa9fd61 100644 --- a/pkgs/by-name/cr/crowdsec-firewall-bouncer/package.nix +++ b/pkgs/by-name/cr/crowdsec-firewall-bouncer/package.nix @@ -7,16 +7,16 @@ }: buildGoModule (finalAttrs: { pname = "crowdsec-firewall-bouncer"; - version = "0.0.33"; + version = "0.0.34"; src = fetchFromGitHub { owner = "crowdsecurity"; repo = "cs-firewall-bouncer"; tag = "v${finalAttrs.version}"; - hash = "sha256-4fxxAW2sXGNxjsc75fd499ciuN8tjGqlpRIaHYUXwQ0="; + hash = "sha256-lDO9pwPkbI+FDTdXBv03c0p8wbkRUiIDNl1ip3AZo2g="; }; - vendorHash = "sha256-Bhp6Z2UlCJ32vdc3uINCGleZFP2WeUn/XK+Q29szUzQ="; + vendorHash = "sha256-SbpclloBgd9vffC0lBduGRqPOqmzQ0J91/KeDHCh0jo="; ldflags = [ "-X github.com/crowdsecurity/go-cs-lib/version.Version=v${finalAttrs.version}" diff --git a/pkgs/by-name/cr/crush/package.nix b/pkgs/by-name/cr/crush/package.nix index 771261fa1c21..d7578f1aaffc 100644 --- a/pkgs/by-name/cr/crush/package.nix +++ b/pkgs/by-name/cr/crush/package.nix @@ -9,15 +9,17 @@ buildGoModule (finalAttrs: { pname = "crush"; - version = "0.2.1"; + version = "0.5.0"; src = fetchFromGitHub { owner = "charmbracelet"; repo = "crush"; tag = "v${finalAttrs.version}"; - hash = "sha256-SjrkQFSjJrPNynARE92uKA53hkstIUBSvQbqcYSsnaM="; + hash = "sha256-u2w19Xmcm3cx/B8QRNGaP2qeg+Cif/L92RNlJav6H3w="; }; + vendorHash = "sha256-H92TgZoWdYQ863AAb2116zJtmgkKXh2hRoEBRcn5zeA="; + # rename TestMain to prevent it from running, as it panics in the sandbox. postPatch = '' substituteInPlace internal/llm/provider/openai_test.go \ @@ -26,8 +28,6 @@ buildGoModule (finalAttrs: { "func DisabledTestMain" ''; - vendorHash = "sha256-aI3MSaQYUOLJxBxwCoVg13HpxK46q6ZITrw1osx5tiE="; - ldflags = [ "-s" "-X=github.com/charmbracelet/crush/internal/version.Version=${finalAttrs.version}" diff --git a/pkgs/by-name/cu/cue/package.nix b/pkgs/by-name/cu/cue/package.nix index f70b9f9ff864..fb0909a5d2ae 100644 --- a/pkgs/by-name/cu/cue/package.nix +++ b/pkgs/by-name/cu/cue/package.nix @@ -10,13 +10,13 @@ buildGoModule (finalAttrs: { pname = "cue"; - version = "0.14.0"; + version = "0.14.1"; src = fetchFromGitHub { owner = "cue-lang"; repo = "cue"; tag = "v${finalAttrs.version}"; - hash = "sha256-rQsFMBREmXnJP1vTr+mz1720nVI0oxvDYEuQtibL79g="; + hash = "sha256-U/Cptda+2UIDIxuStNYAwZABlNdkS723TnoixVlvS4k="; }; vendorHash = "sha256-hV5LO9R854YuazzS6VkxoY64h3+JboBgEDRWAoWats8="; diff --git a/pkgs/by-name/cu/cup-docker/package.nix b/pkgs/by-name/cu/cup-docker/package.nix index dda205798184..d142bd8e1500 100644 --- a/pkgs/by-name/cu/cup-docker/package.nix +++ b/pkgs/by-name/cu/cup-docker/package.nix @@ -10,12 +10,12 @@ }: let pname = "cup-docker"; - version = "3.4.0"; + version = "3.4.2"; src = fetchFromGitHub { owner = "sergi0g"; repo = "cup"; tag = "v${version}"; - hash = "sha256-ciH3t2L2eJhk1+JXTqEJSuHve8OuVod7AuQ3iFWmKRE="; + hash = "sha256-gKKSrd58F8pe/fy29gLY/4ugfhVXI0yyUnIarIMF/L8="; }; web = stdenvNoCC.mkDerivation (finalAttrs: { pname = "${pname}-web"; @@ -59,7 +59,7 @@ rustPlatform.buildRustPackage { pname ; - cargoHash = "sha256-L9zugOwlPwpdtjV87dT1PH7FAMJYHYFuvfyOfPe5b2k="; + cargoHash = "sha256-1VSbv6lDRRLZIu7hYrAqzQmvxcuhnPU0rcWfg7Upcm4="; buildNoDefaultFeatures = true; buildFeatures = [ diff --git a/pkgs/by-name/da/darklua/package.nix b/pkgs/by-name/da/darklua/package.nix index 2289c4330d3d..dc0f661facd2 100644 --- a/pkgs/by-name/da/darklua/package.nix +++ b/pkgs/by-name/da/darklua/package.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage rec { pname = "darklua"; - version = "0.16.0"; + version = "0.17.0"; src = fetchFromGitHub { owner = "seaofvoices"; repo = "darklua"; rev = "v${version}"; - hash = "sha256-D83cLJ6voLvgZ51qLoCUzBG83VFB3Y7HxuaZHpaiOn4="; + hash = "sha256-Ql3BHItFvfc2C3+/M7gxFJwValxNaBVVftm6+T5N4S8="; }; - cargoHash = "sha256-DQkj4t+l6FJnJQ+g96CXypssbRzHbS6X9AOG0LGDclg="; + cargoHash = "sha256-eJObrfhZMfgWUAqeTgOSic4u5fG5Eopqmvojiq+b54o="; # error: linker `aarch64-linux-gnu-gcc` not found postPatch = '' diff --git a/pkgs/by-name/da/dart-sass/package.nix b/pkgs/by-name/da/dart-sass/package.nix index 9f861c4ee4f3..5a24ba1e0ce3 100644 --- a/pkgs/by-name/da/dart-sass/package.nix +++ b/pkgs/by-name/da/dart-sass/package.nix @@ -23,13 +23,13 @@ let in buildDartApplication rec { pname = "dart-sass"; - version = "1.89.2"; + version = "1.90.0"; src = fetchFromGitHub { owner = "sass"; repo = "dart-sass"; tag = version; - hash = "sha256-IDR00pxEKQ5DQM+q0P/iRnsH80ZUbokZhbnBoomy2oQ="; + hash = "sha256-ChHaFjuEhDpx2MVbsNNrFIg7LQ6tY/9BsWSF3MFofN0="; }; pubspecLock = lib.importJSON ./pubspec.lock.json; diff --git a/pkgs/by-name/da/dart-sass/pubspec.lock.json b/pkgs/by-name/da/dart-sass/pubspec.lock.json index bb4aaea097e9..240f73712a1b 100644 --- a/pkgs/by-name/da/dart-sass/pubspec.lock.json +++ b/pkgs/by-name/da/dart-sass/pubspec.lock.json @@ -4,21 +4,21 @@ "dependency": "transitive", "description": { "name": "_fe_analyzer_shared", - "sha256": "e55636ed79578b9abca5fecf9437947798f5ef7456308b5cb85720b793eac92f", + "sha256": "da0d9209ca76bde579f2da330aeb9df62b6319c834fa7baae052021b0462401f", "url": "https://pub.dev" }, "source": "hosted", - "version": "82.0.0" + "version": "85.0.0" }, "analyzer": { "dependency": "direct dev", "description": { "name": "analyzer", - "sha256": "904ae5bb474d32c38fb9482e2d925d5454cda04ddd0e55d2e6826bc72f6ba8c0", + "sha256": "974859dc0ff5f37bc4313244b3218c791810d03ab3470a579580279ba971a48d", "url": "https://pub.dev" }, "source": "hosted", - "version": "7.4.5" + "version": "7.7.1" }, "archive": { "dependency": "direct dev", @@ -144,11 +144,11 @@ "dependency": "transitive", "description": { "name": "coverage", - "sha256": "aa07dbe5f2294c827b7edb9a87bba44a9c15a3cc81bc8da2ca19b37322d30080", + "sha256": "5da775aa218eaf2151c721b16c01c7676fbfdd99cebba2bf64e8b807a28ff94d", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.14.1" + "version": "1.15.0" }, "crypto": { "dependency": "direct dev", @@ -174,11 +174,21 @@ "dependency": "transitive", "description": { "name": "dart_mappable", - "sha256": "2255b2c00e328a65fef5a8df2dabfc0dc9c2e518c33a50051a4519b1c7a28c48", + "sha256": "15f41a35da8ee690bbfa0059fa241edeeaea73f89a2ba685b354ece07cd8ada6", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.5.0" + "version": "4.6.0" + }, + "dart_style": { + "dependency": "transitive", + "description": { + "name": "dart_style", + "sha256": "8a0e5fba27e8ee025d2ffb4ee820b4e6e2cf5e4246a6b1a477eb66866947e0bb", + "url": "https://pub.dev" + }, + "source": "hosted", + "version": "3.1.1" }, "dartdoc": { "dependency": "direct dev", @@ -264,11 +274,11 @@ "dependency": "direct main", "description": { "name": "http", - "sha256": "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b", + "sha256": "bb2ce4590bc2667c96f318d68cac1b5a7987ec819351d32b1c987239a815e007", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.4.0" + "version": "1.5.0" }, "http_multi_server": { "dependency": "transitive", @@ -474,21 +484,21 @@ "dependency": "direct main", "description": { "name": "protobuf", - "sha256": "579fe5557eae58e3adca2e999e38f02441d8aa908703854a9e0a0f47fa857731", + "sha256": "6153efcc92a06910918f3db8231fd2cf828ac81e50ebd87adc8f8a8cb3caff0e", "url": "https://pub.dev" }, "source": "hosted", - "version": "4.1.0" + "version": "4.1.1" }, "protoc_plugin": { "dependency": "direct dev", "description": { "name": "protoc_plugin", - "sha256": "32fbf4ac1b1a7263440898c9011209c3a13c9063f326ef78da83734e6f992ff3", + "sha256": "5bf4289e0fa9eec4b0ee4e77111fa47fa2e6b54b2a7b9c2e83ec87a971542f01", "url": "https://pub.dev" }, "source": "hosted", - "version": "22.3.0" + "version": "22.5.0" }, "pub_api_client": { "dependency": "direct dev", @@ -654,31 +664,31 @@ "dependency": "direct dev", "description": { "name": "test", - "sha256": "65e29d831719be0591f7b3b1a32a3cda258ec98c58c7b25f7b84241bc31215bb", + "sha256": "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7", "url": "https://pub.dev" }, "source": "hosted", - "version": "1.26.2" + "version": "1.26.3" }, "test_api": { "dependency": "transitive", "description": { "name": "test_api", - "sha256": "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00", + "sha256": "ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.7.6" + "version": "0.7.7" }, "test_core": { "dependency": "transitive", "description": { "name": "test_core", - "sha256": "80bf5a02b60af04b09e14f6fe68b921aad119493e26e490deaca5993fef1b05a", + "sha256": "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0", "url": "https://pub.dev" }, "source": "hosted", - "version": "0.6.11" + "version": "0.6.12" }, "test_descriptor": { "dependency": "direct dev", diff --git a/pkgs/by-name/de/deltachat-desktop/package.nix b/pkgs/by-name/de/deltachat-desktop/package.nix index 106319a9d8dd..096c1176dcdd 100644 --- a/pkgs/by-name/de/deltachat-desktop/package.nix +++ b/pkgs/by-name/de/deltachat-desktop/package.nix @@ -19,17 +19,17 @@ let deltachat-rpc-server' = deltachat-rpc-server.overrideAttrs rec { - version = "1.159.5"; + version = "2.10.0"; src = fetchFromGitHub { owner = "chatmail"; repo = "core"; tag = "v${version}"; - hash = "sha256-qooN7XRWFqR/bVPAQ8e7KOYNnBD9E70uAesaLUUeXXs="; + hash = "sha256-boS8Awxp9Z/4TrYfqRF77K01dAcEZOfr+oOqMOEeUig="; }; cargoDeps = rustPlatform.fetchCargoVendor { pname = "deltachat-core-rust"; inherit version src; - hash = "sha256-TmizhgXMYX0hn4GnsL1QiSyMdahebh0QFbk/cOA48jg="; + hash = "sha256-fSuVq0ODYvKLU2peQuutfuSerZl2cfRCu/w0E6eQRV8="; }; }; electron = electron_37; @@ -37,19 +37,19 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "deltachat-desktop"; - version = "1.60.1"; + version = "2.10.0"; src = fetchFromGitHub { owner = "deltachat"; repo = "deltachat-desktop"; tag = "v${finalAttrs.version}"; - hash = "sha256-WrP4C4zebbRdxy08oQzR3vkO2IBUfsRPnkU1aWqolB4="; + hash = "sha256-97a82xHoFWCdO6dB1nhTYqosWA2Cf6cRfg2eTaiZd8g="; }; pnpmDeps = pnpm.fetchDeps { inherit (finalAttrs) pname version src; fetcherVersion = 1; - hash = "sha256-PBCmyNmlH88y5s7+8WHcei8SP3Q0lIAAnAQn9uaFxLc="; + hash = "sha256-SJyLLsUH1tm/ADJ6yJo5yCTE/rjHVOhHw3plGQUgD3M="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/de/deputy/package.nix b/pkgs/by-name/de/deputy/package.nix index 9849319b4607..53d43df4c988 100644 --- a/pkgs/by-name/de/deputy/package.nix +++ b/pkgs/by-name/de/deputy/package.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "deputy"; - version = "0.6.0"; + version = "0.6.1"; src = fetchFromGitHub { owner = "filiptibell"; repo = "deputy"; tag = "v${finalAttrs.version}"; - hash = "sha256-dTCikfHqfSVb1F6LYrLqFAEufD6dPgAi6F65yPlCO18="; + hash = "sha256-w5//fdH+95x6fneysUxjF0q9bwHNYqtTSods5QID01Y="; }; - cargoHash = "sha256-nGheg/HnkYsvfrsd/dPNbFQEHXFtjB5so436nrbKRqo="; + cargoHash = "sha256-TezOv07Dl99jw8FIqJvx6F8X8Au/aMPC/CXDYLkQDnE="; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; diff --git a/pkgs/by-name/di/diylc/package.nix b/pkgs/by-name/di/diylc/package.nix index 903db3bdef2c..09d87a00cc9a 100644 --- a/pkgs/by-name/di/diylc/package.nix +++ b/pkgs/by-name/di/diylc/package.nix @@ -11,11 +11,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "diylc"; - version = "5.5.0"; + version = "5.6.0"; src = fetchurl { url = "https://github.com/bancika/diy-layout-creator/releases/download/v${finalAttrs.version}/diylc-${finalAttrs.version}-universal.zip"; - hash = "sha256-KjxyqQ5DJJo3cCPxl9isRroz9gi1D6AROMdtZEU25nM="; + hash = "sha256-y47md9kaiqpmx+ZNTm5PCHiNMMR9zjsvjc2xpVD6FAk="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/do/docstrfmt/package.nix b/pkgs/by-name/do/docstrfmt/package.nix new file mode 100644 index 000000000000..2fcfdbc28169 --- /dev/null +++ b/pkgs/by-name/do/docstrfmt/package.nix @@ -0,0 +1,56 @@ +{ + lib, + python3, + fetchFromGitHub, +}: + +python3.pkgs.buildPythonApplication rec { + pname = "docstrfmt"; + version = "1.10.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "LilSpazJoekp"; + repo = "docstrfmt"; + tag = "v${version}"; + hash = "sha256-L7zz9FJRSiBWthME0zsUWHxeA+zVuxQpkyEVbNSSEQs="; + }; + + build-system = [ + python3.pkgs.flit-core + ]; + + dependencies = with python3.pkgs; [ + black + click + docutils + libcst + platformdirs + sphinx + tabulate + toml + ]; + + pythonRelaxDeps = [ + "black" + "docutils" + ]; + + nativeCheckInputs = with python3.pkgs; [ + pytestCheckHook + pytest-aiohttp + ]; + + pythonImportsCheck = [ + "docstrfmt" + ]; + + meta = { + description = "Formatter for reStructuredText"; + homepage = "https://github.com/LilSpazJoekp/docstrfmt"; + changelog = "https://github.com/LilSpazJoekp/docstrfmt/blob/${src.tag}/CHANGES.rst"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ doronbehar ]; + mainProgram = "docstrfmt"; + }; +} diff --git a/pkgs/by-name/do/doge/package.nix b/pkgs/by-name/do/doge/package.nix index c12e8345abf8..5d3a446a1aea 100644 --- a/pkgs/by-name/do/doge/package.nix +++ b/pkgs/by-name/do/doge/package.nix @@ -5,27 +5,35 @@ }: python3Packages.buildPythonApplication rec { pname = "doge"; - version = "3.8.0"; + version = "3.9.0"; + pyproject = true; src = fetchFromGitHub { owner = "Olivia5k"; repo = "doge"; - rev = version; - hash = "sha256-CZw9Pz9YPVmDMOfDp5yIp/yStOvXEzAgb/HvKpxhQ8I="; + tag = version; + hash = "sha256-aJ1SFehjKiSc7osf5BOB1xjDnrkVXp37PQ5bNpbv1Mk="; }; - pyproject = true; - nativeBuildInputs = [ python3Packages.setuptools ]; - propagatedBuildInputs = [ python3Packages.python-dateutil ]; + build-system = [ python3Packages.hatchling ]; + + dependencies = with python3Packages; [ + python-dateutil + fullmoon + ]; meta = { - homepage = "https://github.com/Olivia5k/doge"; description = "Wow very terminal doge"; + longDescription = '' + Doge is a simple motd script based on the slightly stupid but very funny doge meme. + It prints random grammatically incorrect statements that are sometimes based on things from your computer. + ''; + homepage = "https://github.com/Olivia5k/doge"; license = lib.licenses.mit; + mainProgram = "doge"; maintainers = with lib.maintainers; [ Gonzih quantenzitrone ]; - mainProgram = "doge"; }; } diff --git a/pkgs/by-name/do/dogedns/package.nix b/pkgs/by-name/do/dogedns/package.nix index d08585ddfcd1..8fdaf9442191 100644 --- a/pkgs/by-name/do/dogedns/package.nix +++ b/pkgs/by-name/do/dogedns/package.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "dogedns"; - version = "0.2.8"; + version = "0.2.9"; src = fetchFromGitHub { owner = "Dj-Codeman"; repo = "doge"; rev = "v${version}"; - hash = "sha256-3wOka+MKSy2x3100eF0d9A5Jc0qFSNCiLsisHO1Uldc="; + hash = "sha256-SeC/GZ1AeEqRzxWc4oJ6JOvXfn3/LRcQz9uWXXqdTqU="; }; - cargoHash = "sha256-9Qm93Hmxutmg3oCXSVrCUAYA2W4gXR/LPC5zZ34x5jQ="; + cargoHash = "sha256-vLdfmaIOSxNqs1Hq6NJMA8HDZas4E9rc+VHnFSlX/wg="; patches = [ # remove date info to make the build reproducible diff --git a/pkgs/by-name/dr/draupnir/hashes.json b/pkgs/by-name/dr/draupnir/hashes.json index 65029021dbf3..25bf893bf38c 100644 --- a/pkgs/by-name/dr/draupnir/hashes.json +++ b/pkgs/by-name/dr/draupnir/hashes.json @@ -1,3 +1,3 @@ { - "yarn_offline_cache_hash": "sha256-sHvkDzOoRo9Lz4ynNX5vrejOwKBVIzJeVqJzs8M39vA=" + "yarn_offline_cache_hash": "sha256-xB9SKCM9m2LotwxIzGgT72mLgrDW2spqvR5VoyexIAA=" } diff --git a/pkgs/by-name/dr/draupnir/package.json b/pkgs/by-name/dr/draupnir/package.json index bcafd3977f54..5cbbdbf553c8 100644 --- a/pkgs/by-name/dr/draupnir/package.json +++ b/pkgs/by-name/dr/draupnir/package.json @@ -1,6 +1,6 @@ { "name": "draupnir", - "version": "2.5.1", + "version": "2.6.0", "description": "A moderation tool for Matrix", "main": "lib/index.js", "repository": "https://github.com/the-draupnir-project/Draupnir.git", @@ -51,7 +51,7 @@ "@gnuxie/typescript-result": "^1.0.0", "@sentry/node": "^7.17.2", "@sinclair/typebox": "0.34.13", - "@the-draupnir-project/interface-manager": "4.1.0", + "@the-draupnir-project/interface-manager": "4.2.5", "@the-draupnir-project/matrix-basic-types": "1.4.0", "@the-draupnir-project/mps-interface-adaptor": "^0.4.1", "better-sqlite3": "^9.4.3", @@ -63,7 +63,7 @@ "jsdom": "^24.0.0", "matrix-appservice-bridge": "^10.3.1", "matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.7.1-element.6", - "matrix-protection-suite": "npm:@gnuxie/matrix-protection-suite@3.8.0", + "matrix-protection-suite": "npm:@gnuxie/matrix-protection-suite@3.10.0", "matrix-protection-suite-for-matrix-bot-sdk": "npm:@gnuxie/matrix-protection-suite-for-matrix-bot-sdk@3.8.0", "pg": "^8.8.0", "yaml": "^2.3.2" @@ -72,6 +72,7 @@ "matrix-bot-sdk": "$@vector-im/matrix-bot-sdk", "@vector-im/matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.7.1-element.6", "@the-draupnir-project/matrix-basic-types": "$the-draupnir-project/matrix-basic-types", + "@the-draupnir-project/interface-manager": "$the-draupnir-project/interface-manager", "matrix-protection-suite": "$matrix-protection-suite" }, "engines": { diff --git a/pkgs/by-name/dr/draupnir/package.nix b/pkgs/by-name/dr/draupnir/package.nix index 53f6842a5477..ef61dcf66e02 100644 --- a/pkgs/by-name/dr/draupnir/package.nix +++ b/pkgs/by-name/dr/draupnir/package.nix @@ -22,13 +22,13 @@ let in mkYarnPackage rec { pname = "draupnir"; - version = "2.5.1"; + version = "2.6.0"; src = fetchFromGitHub { owner = "the-draupnir-project"; repo = "Draupnir"; tag = "v${version}"; - hash = "sha256-fk9V5ZOnu9gHL7GnZ2eTCon/dINTTkWffRdMRj9AjPk="; + hash = "sha256-v6dHexu9x60onBoHbdI+15p6r5m6mi7bRLgZ9jqF19s="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/dy/dyff/package.nix b/pkgs/by-name/dy/dyff/package.nix index 9c2e026bfa1d..46527a240db9 100644 --- a/pkgs/by-name/dy/dyff/package.nix +++ b/pkgs/by-name/dy/dyff/package.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "dyff"; - version = "1.10.1"; + version = "1.10.2"; src = fetchFromGitHub { owner = "homeport"; repo = "dyff"; rev = "v${version}"; - sha256 = "sha256-dioahL3dWK+rNAcThv2vYyoGaIIFhcd5li9gtwjtGzM="; + sha256 = "sha256-kmL1WzsfuV6O3mFryQKnUeImisMlLd3K43/00l6Trvs="; }; - vendorHash = "sha256-5uAe6bnYhncr2A+Y/HEjv9agvKp+1D2JH66zIDIeDro="; + vendorHash = "sha256-8xXw2ITHqw6dPtRuO4aesJzeobb/QGI+z1tn1ebNdzQ="; subPackages = [ "cmd/dyff" diff --git a/pkgs/by-name/ed/editorconfig-checker/package.nix b/pkgs/by-name/ed/editorconfig-checker/package.nix index cfc462d9a84d..ff48b5980269 100644 --- a/pkgs/by-name/ed/editorconfig-checker/package.nix +++ b/pkgs/by-name/ed/editorconfig-checker/package.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "editorconfig-checker"; - version = "3.3.0"; + version = "3.4.0"; src = fetchFromGitHub { owner = "editorconfig-checker"; repo = "editorconfig-checker"; rev = "v${version}"; - hash = "sha256-TRbUehdHzgjc87O8/kZyC9c9ouxJrs/nSN24E5BOrzU="; + hash = "sha256-9Z2Yu515e2R8NbGmsVD6mM9XHXalutcS++T9I0p1jbY="; }; - vendorHash = "sha256-g7SSy55IKxfM1cjyy1n7As278HU+GdNeq1vSSM4B8GM="; + vendorHash = "sha256-7UyEvKA+0ll205/P69YfAFswM6fp8zBjzTfCryxMCQU="; doCheck = false; diff --git a/pkgs/by-name/ei/eigenwallet/package.nix b/pkgs/by-name/ei/eigenwallet/package.nix index fb96c27c1cf1..1790a15d0807 100644 --- a/pkgs/by-name/ei/eigenwallet/package.nix +++ b/pkgs/by-name/ei/eigenwallet/package.nix @@ -12,11 +12,11 @@ stdenv.mkDerivation (finalAttrs: { name = "eigenwallet"; - version = "2.0.3"; + version = "3.0.0-beta.8"; src = fetchurl { - url = "https://github.com/eigenwallet/core/releases/download/${finalAttrs.version}/UnstoppableSwap_${finalAttrs.version}_amd64.deb"; - hash = "sha256-2uOsZ6IvaQes+FYGQ0cNYlySzjyNwf/3fqk3DJzN+WI="; + url = "https://github.com/eigenwallet/core/releases/download/${finalAttrs.version}/eigenwallet_${finalAttrs.version}_amd64.deb"; + hash = "sha256-9quyDsCQsGGTESdBg5BLbUaXCWhhxz3xmqkanCIdreE="; }; nativeBuildInputs = [ @@ -42,7 +42,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Protocol and desktop application for swapping Monero and Bitcoin"; - homepage = "https://unstoppableswap.net"; + homepage = "https://eigenwallet.org"; maintainers = with lib.maintainers; [ JacoMalan1 ]; license = lib.licenses.gpl3Only; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; diff --git a/pkgs/by-name/el/element-desktop/element-desktop-pin.nix b/pkgs/by-name/el/element-desktop/element-desktop-pin.nix index 862c871763c6..46a95689ea60 100644 --- a/pkgs/by-name/el/element-desktop/element-desktop-pin.nix +++ b/pkgs/by-name/el/element-desktop/element-desktop-pin.nix @@ -1,7 +1,7 @@ { - "version" = "1.11.108"; + "version" = "1.11.109"; "hashes" = { - "desktopSrcHash" = "sha256-7qG2QyOgq2ATyXsr5jLxngxXvVaw52GYOD1LiUCGNNo="; - "desktopYarnHash" = "sha256-QLsKY0tDeY5dp6VLiPZhawa54SI2/A0W6UE0NoJ5dng="; + "desktopSrcHash" = "sha256-4M+1wOwyMVRdzXpgdBi9Fi4WM7MMypDHAOcifk3iejI="; + "desktopYarnHash" = "sha256-uff/bOv3Gs/fNk9oPbE0X7EjftrIr7p/wSLgv8SDzkg="; }; } diff --git a/pkgs/by-name/el/element-desktop/package.nix b/pkgs/by-name/el/element-desktop/package.nix index 4a17b35338c6..b00e4dbc3dac 100644 --- a/pkgs/by-name/el/element-desktop/package.nix +++ b/pkgs/by-name/el/element-desktop/package.nix @@ -77,6 +77,11 @@ stdenv.mkDerivation ( runHook postConfigure ''; + # Workaround for darwin sandbox build failure: "Error: listen EPERM: operation not permitted ..tsx..." + preBuild = lib.optionalString stdenv.hostPlatform.isDarwin '' + export TMPDIR="$(mktemp -d)" + ''; + buildPhase = '' runHook preBuild diff --git a/pkgs/by-name/el/element-web-unwrapped/element-web-pin.nix b/pkgs/by-name/el/element-web-unwrapped/element-web-pin.nix index f57ddb856fa5..6df28701db00 100644 --- a/pkgs/by-name/el/element-web-unwrapped/element-web-pin.nix +++ b/pkgs/by-name/el/element-web-unwrapped/element-web-pin.nix @@ -1,7 +1,7 @@ { - "version" = "1.11.108"; + "version" = "1.11.109"; "hashes" = { - "webSrcHash" = "sha256-2QNRygyyXMvHHSfd9CCusOQ5v/udOwrOdmnrSsatylI="; - "webYarnHash" = "sha256-JkXbGRanW+rRgQCVv8sCTzogHR5NKgesw/l166U1h9k="; + "webSrcHash" = "sha256-TTpaRMSi5YX95ZwfQA0XVLO52oPCu9VU0+dVylEQwhU="; + "webYarnHash" = "sha256-9HU2k6EX8v3JfPt8HYlLuSnkt7Y12f6AiNXB2e0lDWM="; }; } diff --git a/pkgs/by-name/em/empire-compiler/deps.json b/pkgs/by-name/em/empire-compiler/deps.json new file mode 100644 index 000000000000..08a7b778e4ab --- /dev/null +++ b/pkgs/by-name/em/empire-compiler/deps.json @@ -0,0 +1,107 @@ +[ + { + "pname": "Microsoft.AspNetCore.App.Ref", + "version": "6.0.36", + "hash": "sha256-9jDkWbjw/nd8yqdzVTagCuqr6owJ/DUMi4BlUZT4hWU=" + }, + { + "pname": "Microsoft.AspNetCore.App.Runtime.linux-arm64", + "version": "6.0.36", + "hash": "sha256-JQULJyF0ivLoUU1JaFfK/HHg+/qzpN7V2RR2Cc+WlQ4=" + }, + { + "pname": "Microsoft.AspNetCore.App.Runtime.linux-x64", + "version": "6.0.36", + "hash": "sha256-zUsVIpV481vMLAXaLEEUpEMA9/f1HGOnvaQnaWdzlyY=" + }, + { + "pname": "Microsoft.CodeAnalysis.Analyzers", + "version": "3.0.0-beta2.20059.3", + "hash": "sha256-A62m36Ra9xx6qdU8t5ie7hIBcU+uCZUJUU4Smto90xM=" + }, + { + "pname": "Microsoft.CodeAnalysis.Common", + "version": "3.5.0", + "hash": "sha256-k6PiYI8QqWXWxUL4oSbvPHVBFRolS1ZApphnSQW+ITg=" + }, + { + "pname": "Microsoft.CodeAnalysis.CSharp", + "version": "3.5.0", + "hash": "sha256-D/1EQqFrTiwACdknW0fpodraz9JaA+ebIrQVLMw8pc8=" + }, + { + "pname": "Microsoft.NETCore.App.Host.linux-arm64", + "version": "6.0.36", + "hash": "sha256-9lC/LYnthYhjkWWz2kkFCvlA5LJOv11jdt59SDnpdy0=" + }, + { + "pname": "Microsoft.NETCore.App.Host.linux-x64", + "version": "6.0.36", + "hash": "sha256-VFRDzx7LJuvI5yzKdGmw/31NYVbwHWPKQvueQt5xc10=" + }, + { + "pname": "Microsoft.NETCore.App.Ref", + "version": "6.0.36", + "hash": "sha256-9LZgVoIFF8qNyUu8kdJrYGLutMF/cL2K82HN2ywwlx8=" + }, + { + "pname": "Microsoft.NETCore.App.Runtime.linux-arm64", + "version": "6.0.36", + "hash": "sha256-k3rxvUhCEU0pVH8KgEMtkPiSOibn+nBh+0zT2xIfId8=" + }, + { + "pname": "Microsoft.NETCore.App.Runtime.linux-x64", + "version": "6.0.36", + "hash": "sha256-U8wJ2snSDFqeAgDVLXjnniidC7Cr5aJ1/h/BMSlyu0c=" + }, + { + "pname": "Microsoft.NETCore.Platforms", + "version": "2.1.2", + "hash": "sha256-gYQQO7zsqG+OtN4ywYQyfsiggS2zmxw4+cPXlK+FB5Q=" + }, + { + "pname": "Newtonsoft.Json", + "version": "13.0.1", + "hash": "sha256-K2tSVW4n4beRPzPu3rlVaBEMdGvWSv/3Q1fxaDh4Mjo=" + }, + { + "pname": "System.Collections.Immutable", + "version": "1.5.0", + "hash": "sha256-BliqYlL9ntbMXo5d7NUrKXwYN+PqdyqDIS5bp4qVr7Q=" + }, + { + "pname": "System.CommandLine", + "version": "2.0.0-beta4.22272.1", + "hash": "sha256-zSO+CYnMH8deBHDI9DHhCPj79Ce3GOzHCyH1/TiHxcc=" + }, + { + "pname": "System.Memory", + "version": "4.5.3", + "hash": "sha256-Cvl7RbRbRu9qKzeRBWjavUkseT2jhZBUWV1SPipUWFk=" + }, + { + "pname": "System.Reflection.Metadata", + "version": "1.6.0", + "hash": "sha256-JJfgaPav7UfEh4yRAQdGhLZF1brr0tUWPl6qmfNWq/E=" + }, + { + "pname": "System.Runtime.CompilerServices.Unsafe", + "version": "4.6.0", + "hash": "sha256-FTjQeMuvqnKxpoVsVh/OlQ21NMaZiFtOdv7VdZ+Iv3Y=" + }, + { + "pname": "System.Text.Encoding.CodePages", + "version": "4.5.1", + "hash": "sha256-PIhkv59IXjyiuefdhKxS9hQfEwO9YWRuNudpo53HQfw=" + }, + { + "pname": "System.Threading.Tasks.Extensions", + "version": "4.5.3", + "hash": "sha256-8TglbC6KBHlDeSfgr6d5dGn7wu8td4XERl2JUyo0+Tw=" + }, + { + "pname": "YamlDotNet", + "version": "8.1.1", + "hash": "sha256-B6yNYjnIAGI31fTiTlfZ4eXU3l9qYFgm0Q0ALBNmPTw=" + } +] diff --git a/pkgs/by-name/em/empire-compiler/package.nix b/pkgs/by-name/em/empire-compiler/package.nix new file mode 100644 index 000000000000..4b720aeb0889 --- /dev/null +++ b/pkgs/by-name/em/empire-compiler/package.nix @@ -0,0 +1,51 @@ +{ + fetchFromGitHub, + buildDotnetModule, + dotnetCorePackages, + lib, + testers, + nix-update-script, +}: + +buildDotnetModule (finalAttrs: { + pname = "empire-compiler"; + version = "0.3.3"; + + src = fetchFromGitHub { + owner = "bc-security"; + repo = "empire-compiler"; + tag = "v${finalAttrs.version}"; + hash = "sha256-1SzP3oopmYy2Xv0CFxID4lSVZ65/MARd1O0w2zpdeyc="; + }; + + postPatch = '' + substituteInPlace EmpireCompiler/EmpireCompiler.csproj \ + --replace-fail 'net6.0' 'net9.0' + ''; + + dotnet-sdk = dotnetCorePackages.sdk_9_0; + dotnet-runtime = dotnetCorePackages.aspnetcore_9_0; + nugetDeps = ./deps.json; + + projectFile = "EmpireCompiler/EmpireCompiler.csproj"; + + passthru = { + updateScript = nix-update-script { }; + tests.version = testers.testVersion { + package = finalAttrs.finalPackage; + command = "EmpireCompiler --version"; + version = "${finalAttrs.version}"; + }; + }; + + meta = { + homepage = "https://github.com/BC-SECURITY/Empire-Compiler"; + license = lib.licenses.mit; + platforms = lib.platforms.linux; + description = "C# Compiler for Empire"; + maintainers = with lib.maintainers; [ + fzakaria + vrose + ]; + }; +}) diff --git a/pkgs/by-name/ex/exploitdb/package.nix b/pkgs/by-name/ex/exploitdb/package.nix index e67dce490b20..fe286c4a24fe 100644 --- a/pkgs/by-name/ex/exploitdb/package.nix +++ b/pkgs/by-name/ex/exploitdb/package.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "exploitdb"; - version = "2025-08-05"; + version = "2025-08-12"; src = fetchFromGitLab { owner = "exploit-database"; repo = "exploitdb"; tag = finalAttrs.version; - hash = "sha256-a6TyxsYzA1YqRrCGhKRlnPrtGxdJ8HcvbJWCiNESuaw="; + hash = "sha256-5uHjvrYWMhcWKAt/Wda7Ud0uHw8oMv7acTlgZUC4r3Q="; }; nativeBuildInputs = [ makeWrapper ]; diff --git a/pkgs/by-name/ex/exportarr/package.nix b/pkgs/by-name/ex/exportarr/package.nix index 3f02b4ae9451..4f3d68934524 100644 --- a/pkgs/by-name/ex/exportarr/package.nix +++ b/pkgs/by-name/ex/exportarr/package.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "exportarr"; - version = "2.2.0"; + version = "2.3.0"; src = fetchFromGitHub { owner = "onedr0p"; repo = "exportarr"; rev = "v${version}"; - hash = "sha256-8EHFnqQ3h9/X2lR+9UuuJeSPMonuVQVDYiMDoroDajs="; + hash = "sha256-q1G0auXwmuJI0jecXcNg7PMF/+vZPGT00gLt/Qa86dE="; }; - vendorHash = "sha256-yzzhlhrfzj+qlG4wY+qGM0/sTUUlVQAgwiKNUEIVN0g="; + vendorHash = "sha256-XKIfOKgzJ41gQl/Jd8ZO3oNimZcoIY2d38ZojZAf53c="; subPackages = [ "cmd/exportarr" ]; diff --git a/pkgs/by-name/fi/filius/package.nix b/pkgs/by-name/fi/filius/package.nix new file mode 100644 index 000000000000..9353cacba7ee --- /dev/null +++ b/pkgs/by-name/fi/filius/package.nix @@ -0,0 +1,92 @@ +{ + lib, + maven, + fetchFromGitLab, + makeWrapper, + jre, + wrapGAppsHook3, + nix-update-script, +}: + +maven.buildMavenPackage rec { + pname = "filius"; + version = "2.9.4"; + + src = fetchFromGitLab { + owner = "filius1"; + repo = pname; + # they seem to have stopped using the "v" prefix since 2.9.3 + tag = version; + hash = "sha256-nQyDPLDQe5kFH3PhCmLqAt8kVnitPwX5K3xLnyntF5k="; + }; + + mvnHash = "sha256-6Qq/7vgA9bWQK+k66qORNwvLKMR1U5yb95DJMWaDq/k="; + mvnParameters = "-Plinux"; + + # tests want to create an X11 window which isn't often feasible + doCheck = false; + + postPatch = '' + substituteInPlace src/deb/filius.desktop \ + --replace 'Exec=/usr/share/filius/filius.sh' 'Exec=filius' + ''; + + nativeBuildInputs = [ + makeWrapper + wrapGAppsHook3 + ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin $out/share/${pname} + cp -r target/* $out/share/${pname} + + # GTK_THEME is not just set to adwaita, but to the *light* adwaita because otherwise the application is sort of unusable. the terminal still has unreadable text though (light on light). + # Without _JAVA_AWT_WM_NONREPARENTING, if you launch filius, it's just a white window, i.e. broken. + makeWrapper ${lib.getExe' jre "java"} $out/bin/${pname} \ + --set GTK_THEME 'Adwaita' \ + --set _JAVA_AWT_WM_NONREPARENTING '1' \ + --set _JAVA_OPTIONS '-Dawt.useSystemAAFontSettings=lcd' \ + --add-flags "-jar $out/share/${pname}/${pname}.jar" \ + + runHook postInstall + ''; + + postInstall = '' + install -Dm444 src/deb/application-filius-project.xml $out/share/mime/packages/application-filius-project.xml + + install -Dm444 src/deb/filius32.png $out/share/icons/hicolor/80x56/mimetypes/filius.png + install -Dm444 src/deb/filius32.png $out/share/icons/hicolor/80x56/apps/filius.png + + mkdir -p $out/share/man/man1/ + cp src/deb/filius.1 $out/share/man/man1/ + + mkdir -p $out/share/applications + cp src/deb/filius.desktop $out/share/applications/ + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + homepage = "https://www.lernsoftware-filius.de/"; + # note, the gitlab repo page is *not* the homepage and there is not meta attribute for their git forge page + downloadPage = "https://www.lernsoftware-filius.de/Herunterladen"; + description = "A computer network simulator for secondary schools"; + longDescription = '' + With the software tool Filius, you can design computer networks yourself, + simulate the exchange of messages in them and thus explore their structure + and functionality experimentally. The target group are pupils at secondary + schools (general education). Filius enables learning activities that + are designed to support discovery-based learning in particular. + ''; + license = with lib.licenses; [ + gpl2Only + gpl3Only + ]; + maintainers = with lib.maintainers; [ annaaurora ]; + platforms = lib.platforms.all; + mainProgram = "filius"; + sourceProvenance = [ lib.sourceTypes.fromSource ]; + }; +} diff --git a/pkgs/by-name/fl/flow-control/build.zig.zon.nix b/pkgs/by-name/fl/flow-control/build.zig.zon.nix index e55f3aa306f0..332789df064a 100644 --- a/pkgs/by-name/fl/flow-control/build.zig.zon.nix +++ b/pkgs/by-name/fl/flow-control/build.zig.zon.nix @@ -121,19 +121,21 @@ linkFarm name [ }; } { - name = "thespian-0.0.1-owFOjlgaBgCqc3FCnB4Xyg8-9jyIDWgHSJMGx_nt5Kcc"; + name = "thespian-0.0.1-owFOjk0aBgC8w9ibeiVdhftyEIaVIHCnubsJWfkktE8v"; path = fetchZigArtifact { name = "thespian"; - url = "https://github.com/neurocyte/thespian/archive/ccdcbbff09f945eec063ebf889581db3e1312107.tar.gz"; - hash = "sha256-qY/9CVgD6btprY4alo5/21EBJ9ORIivlcKY8wPPHa4k="; + url = "git+https://github.com/neurocyte/thespian#f2980d3a747abdf0d18a01596dd8b953dd3e6243"; + hash = "sha256-b9tDjLa1uyaeQ0HSkCkuiIPVFI2e6AmMk2zwuFNxN/U="; + rev = "f2980d3a747abdf0d18a01596dd8b953dd3e6243"; }; } { - name = "cbor-1.0.0-RcQE_GDyAABovyRXoYFX8zD_NVOLGDc9l5g09-W-svMR"; + name = "cbor-1.0.0-RcQE_JEoAQA8hP-nnKcQjGZa-5T3JO4cLhnNhrAdzPGf"; path = fetchZigArtifact { name = "cbor"; - url = "https://github.com/neurocyte/cbor/archive/5ea4b7319146f29bb1aa9acf65982feaba9edc3d.tar.gz"; - hash = "sha256-0QN34UG28U3lnlb9sVWV6otrpHBN2Kv2GZwZ3BYz2GQ="; + url = "git+https://github.com/neurocyte/cbor#3bdf25183ec3644445ef6a8457c4a3f5f73b622b"; + hash = "sha256-WH0vq6GPiqh+lax2q2eg5AlSQKwPnjy97OyvCScuDMk="; + rev = "3bdf25183ec3644445ef6a8457c4a3f5f73b622b"; }; } { @@ -177,20 +179,21 @@ linkFarm name [ }; } { - name = "vaxis-0.1.0-BWNV_HwOCQCw5wTV63hQGSc1QJzsNcytH6sGf1GBc0hP"; + name = "vaxis-0.5.1-BWNV_AsQCQDvfb-li1CZEOBG_YsteinP9qI-PpV47-jf"; path = fetchZigArtifact { name = "vaxis"; - url = "https://github.com/neurocyte/libvaxis/archive/6137cb4c44a7350996f0946a069739e5075d1f23.tar.gz"; - hash = "sha256-EVvjwYTIw6SKeqqGHNMm9zRVgpo+TRjtrUl1Mg8tJ8M="; + url = "git+https://github.com/neurocyte/libvaxis?ref=main#846ddb8bf483e8a7eb25628d6c34ba7e781155b6"; + hash = "sha256-RFZ8XXYoaIQMJkIgmo1YY+3HYSlArHWNSEYPv8fSGpU="; + rev = "846ddb8bf483e8a7eb25628d6c34ba7e781155b6"; }; } { - name = "zigimg-0.1.0-lly-O6N2EABOxke8dqyzCwhtUCAafqP35zC7wsZ4Ddxj"; + name = "zigimg-0.1.0-8_eo2nWlEgCddu8EGLOM_RkYshx3sC8tWv-yYA4-htS6"; path = fetchZigArtifact { name = "zigimg"; - url = "git+https://github.com/TUSF/zigimg#31268548fe3276c0e95f318a6c0d2ab10565b58d"; - hash = "sha256-oblfr2FIzuqq0FLo/RrzCwUX1NJJuT53EwD3nP3KwN0="; - rev = "31268548fe3276c0e95f318a6c0d2ab10565b58d"; + url = "git+https://github.com/zigimg/zigimg#74caab5edd7c5f1d2f7d87e5717435ce0f0affa1"; + hash = "sha256-/07Aq+f4SU1PgZaOXyDc32xjJ2ufMTseGXpFsx8llFY="; + rev = "74caab5edd7c5f1d2f7d87e5717435ce0f0affa1"; }; } { diff --git a/pkgs/by-name/fl/flow-control/package.nix b/pkgs/by-name/fl/flow-control/package.nix index f892c94efdcd..65380f920b53 100644 --- a/pkgs/by-name/fl/flow-control/package.nix +++ b/pkgs/by-name/fl/flow-control/package.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "flow-control"; - version = "0.4.0"; + version = "0.5.0"; src = fetchFromGitHub { owner = "neurocyte"; repo = "flow"; tag = "v${finalAttrs.version}"; - hash = "sha256-I7wty82zyuwZjzhfUBPd+7sx20cmRpQt1V6eCK7o0oQ="; + hash = "sha256-jt7KJEg5300IuO7m7FiC8zejmymqMqdT7FtoVhTR05M="; }; postPatch = '' ln -s ${ diff --git a/pkgs/by-name/fl/flyctl/package.nix b/pkgs/by-name/fl/flyctl/package.nix index f6d2950af349..0b4acad8a12e 100644 --- a/pkgs/by-name/fl/flyctl/package.nix +++ b/pkgs/by-name/fl/flyctl/package.nix @@ -9,16 +9,16 @@ buildGoModule rec { pname = "flyctl"; - version = "0.3.164"; + version = "0.3.169"; src = fetchFromGitHub { owner = "superfly"; repo = "flyctl"; rev = "v${version}"; - hash = "sha256-pAWdyKBiDr1opIO9P0+4Fm2wwZXaL5Nt0YJiuB+mWHo="; + hash = "sha256-F2QMQ24+wSKH8zmTFSWsSl9O9+Hc4e7Rmn2K9YXJi4k="; }; - vendorHash = "sha256-l4EAOQeDLU+J7suKLzg+UAxrKGxoCpoPvQtj62u5VHE="; + vendorHash = "sha256-boaz0fR97NtU/wzIE2uPbDmP89ovkzNy8bpe0nrItMw="; subPackages = [ "." ]; diff --git a/pkgs/by-name/fr/fractal/package.nix b/pkgs/by-name/fr/fractal/package.nix index 7c9121570d42..cfa580c253c1 100644 --- a/pkgs/by-name/fr/fractal/package.nix +++ b/pkgs/by-name/fr/fractal/package.nix @@ -30,19 +30,19 @@ stdenv.mkDerivation (finalAttrs: { pname = "fractal"; - version = "11.2"; + version = "12"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "World"; repo = "fractal"; tag = finalAttrs.version; - hash = "sha256-UE0TRC9DeP+fl85fzuQ8/3ioIPdeSqsJWnW1olB1gmo="; + hash = "sha256-galaFpHcWrN+jQ6uOS78EB6wjfR8KIBLZvKmH7Rb1Xs="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src; - hash = "sha256-I+1pGZWxn9Q/CL8D6VxsaO3H4EdBek4wyykvNgCNRZI="; + hash = "sha256-DuEuCvhwulDHVCmUPXcM6PZ34nueRmKYHYffSsFCbLE="; }; patches = [ diff --git a/pkgs/by-name/fr/frp/package.nix b/pkgs/by-name/fr/frp/package.nix index af7b3213b1ec..14212b58d701 100644 --- a/pkgs/by-name/fr/frp/package.nix +++ b/pkgs/by-name/fr/frp/package.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "frp"; - version = "0.63.0"; + version = "0.64.0"; src = fetchFromGitHub { owner = "fatedier"; repo = "frp"; rev = "v${version}"; - hash = "sha256-xTR273szc1UWTaZ+kT6+Vur/EE2YxfF8gnUQwNz/dxY="; + hash = "sha256-DnuywtyBBIvyB29HYFSRiBcY+jNY8rK54roJMQdQNZA="; }; - vendorHash = "sha256-MNGn/ES+gfSFPTz/EeefmFlICg0e5fAMOBPB/jt4CDM="; + vendorHash = "sha256-bSYwMevCTusvkcBFdWvYw+3E1H4GshoaiX8ilEWKmQk="; doCheck = false; diff --git a/pkgs/by-name/ga/garnet/package.nix b/pkgs/by-name/ga/garnet/package.nix index af25400a3657..4fce3bced6fb 100644 --- a/pkgs/by-name/ga/garnet/package.nix +++ b/pkgs/by-name/ga/garnet/package.nix @@ -8,13 +8,13 @@ buildDotnetModule rec { pname = "garnet"; - version = "1.0.80"; + version = "1.0.81"; src = fetchFromGitHub { owner = "microsoft"; repo = "garnet"; tag = "v${version}"; - hash = "sha256-9B2Ai+W6+rZ8xLrrO7d8jd6LYWaMGIq3a+lz8rY32uA="; + hash = "sha256-CEpxV6BoTfkC3Lka1Xuci3uyUYoWxoyYKTQTco5NVY4="; }; projectFile = "main/GarnetServer/GarnetServer.csproj"; diff --git a/pkgs/by-name/ge/geesefs/package.nix b/pkgs/by-name/ge/geesefs/package.nix index 7f8e42fffa2f..fc583b89dbb4 100644 --- a/pkgs/by-name/ge/geesefs/package.nix +++ b/pkgs/by-name/ge/geesefs/package.nix @@ -5,7 +5,7 @@ }: let - version = "0.43.1"; + version = "0.43.2"; in buildGoModule { pname = "geesefs"; @@ -15,7 +15,7 @@ buildGoModule { owner = "yandex-cloud"; repo = "geesefs"; rev = "v${version}"; - hash = "sha256-BJOhQRIvURz0UL/InSZwU/kdq/Ha0Idsqa0UZGf9aTU="; + hash = "sha256-Ry0IEbjojMFyY37HL+ZIhV6XHGv1iZf9SoV/U/2JdRI="; }; # hashes differ per architecture otherwise. diff --git a/pkgs/by-name/ge/geomyidae/package.nix b/pkgs/by-name/ge/geomyidae/package.nix index 14edcd922a06..a64bfc0e8291 100644 --- a/pkgs/by-name/ge/geomyidae/package.nix +++ b/pkgs/by-name/ge/geomyidae/package.nix @@ -7,11 +7,11 @@ stdenv.mkDerivation rec { pname = "geomyidae"; - version = "0.96"; + version = "0.99"; src = fetchurl { url = "gopher://bitreich.org/9/scm/geomyidae/tag/geomyidae-v${version}.tar.gz"; - hash = "sha256-O6zccrz5qrtvafNQvM50U2JfG42LAWJJ/DXfiDKh4dc="; + hash = "sha256-QnAUqvyi+b14kIjqnreY6adFl62glRiuX9QiVamR6zw="; }; buildInputs = [ libressl ]; diff --git a/pkgs/by-name/gi/github-runner/package.nix b/pkgs/by-name/gi/github-runner/package.nix index 429846da642a..2f41b1ce826d 100644 --- a/pkgs/by-name/gi/github-runner/package.nix +++ b/pkgs/by-name/gi/github-runner/package.nix @@ -208,6 +208,7 @@ buildDotnetModule (finalAttrs: { # "JavaScript Actions in Alpine containers are only supported on x64 Linux runners. Detected Linux Arm64" "GitHub.Runner.Common.Tests.Worker.StepHostL0.DetermineNodeRuntimeVersionInAlpineContainerAsync" "GitHub.Runner.Common.Tests.Worker.StepHostL0.DetermineNode20RuntimeVersionInAlpineContainerAsync" + "GitHub.Runner.Common.Tests.Worker.StepHostL0.DetermineNode24RuntimeVersionInAlpineContainerAsync" ] ++ lib.optionals finalAttrs.DOTNET_SYSTEM_GLOBALIZATION_INVARIANT [ "GitHub.Runner.Common.Tests.Util.StringUtilL0.FormatUsesInvariantCulture" diff --git a/pkgs/by-name/go/go-camo/package.nix b/pkgs/by-name/go/go-camo/package.nix index 6ae59c258fa1..22103521ed83 100644 --- a/pkgs/by-name/go/go-camo/package.nix +++ b/pkgs/by-name/go/go-camo/package.nix @@ -9,16 +9,16 @@ buildGo124Module rec { pname = "go-camo"; - version = "2.6.3"; + version = "2.6.4"; src = fetchFromGitHub { owner = "cactus"; repo = "go-camo"; - rev = "v${version}"; - hash = "sha256-uf/r+QDukuFbbsFQal0mfZaGHZYk1fGn8Kt1ipFD/vI="; + tag = "v${version}"; + hash = "sha256-BdKIfDDN6GXc53SFDkJ8Dui5rrm27blA+EEOS/oAanE="; }; - vendorHash = "sha256-PQ9Q+xaziTASH361qeBW0mVDtcXwU3/Sm/V/O4T2AP8="; + vendorHash = "sha256-0DkIbD+9gIbARqvmudRavwcWVLADGKwEYMMX6a5Qoq4="; nativeBuildInputs = [ installShellFiles diff --git a/pkgs/by-name/go/gotty/package.nix b/pkgs/by-name/go/gotty/package.nix index 80e9238a4f52..be48033f92ef 100644 --- a/pkgs/by-name/go/gotty/package.nix +++ b/pkgs/by-name/go/gotty/package.nix @@ -6,13 +6,13 @@ buildGoModule rec { pname = "gotty"; - version = "1.5.1"; + version = "1.6.0"; src = fetchFromGitHub { owner = "sorenisanerd"; repo = "gotty"; rev = "v${version}"; - sha256 = "sha256-6TFfBS/uZ5I/h1S22O5x8VaCBfjDtXDfk0stMZad7B4="; + sha256 = "sha256-9J+8NZmdYg4mE8Jgs2bxcwcPyh4sVcOBYPnulVENdy0="; }; vendorHash = "sha256-OcBwkA28k54rSZP66L+wdkiWPvUv7Z9pTlEK7/LXjBM="; diff --git a/pkgs/by-name/gr/gradia/package.nix b/pkgs/by-name/gr/gradia/package.nix index 9f0a9a1e8298..06e265dd873e 100644 --- a/pkgs/by-name/gr/gradia/package.nix +++ b/pkgs/by-name/gr/gradia/package.nix @@ -18,17 +18,18 @@ webp-pixbuf-loader, libsoup_3, bash, + nix-update-script, }: python3Packages.buildPythonApplication rec { pname = "gradia"; - version = "1.7.1"; + version = "1.9.0"; pyproject = false; src = fetchFromGitHub { owner = "AlexanderVanhee"; repo = "Gradia"; tag = "v${version}"; - hash = "sha256-EyO09tKv0SjqMyYM5J8wdeIH6/vJgF7p7FLaTfJDqXY="; + hash = "sha256-iDldzS7LLJ/+CfKBpD50LW/YrZ2xb8aqZI9Bs1AOcCM="; }; nativeBuildInputs = [ @@ -56,7 +57,6 @@ python3Packages.buildPythonApplication rec { ]; postInstall = '' - substituteInPlace $out/share/gradia/gradia/ui/image_exporters.py --replace-fail "/bin/bash" "${lib.getExe bash}" export GDK_PIXBUF_MODULE_FILE="${ gnome._gdkPixbufCacheBuilder_DO_NOT_USE { extraLoaders = [ @@ -71,6 +71,8 @@ python3Packages.buildPythonApplication rec { makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ]; + passthru.updateScript = nix-update-script { }; + meta = { description = "Make your screenshots ready for the world"; homepage = "https://github.com/AlexanderVanhee/Gradia"; diff --git a/pkgs/by-name/gr/gren/update.sh b/pkgs/by-name/gr/gren/update.sh index 5c79129f4058..9ebc456179cc 100755 --- a/pkgs/by-name/gr/gren/update.sh +++ b/pkgs/by-name/gr/gren/update.sh @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i bash -p cabal2nix curl jq nix-update nixfmt-rfc-style +#!nix-shell -i bash -p cabal2nix curl jq nix-update nixfmt set -euo pipefail diff --git a/pkgs/by-name/gr/grpc_cli/package.nix b/pkgs/by-name/gr/grpc_cli/package.nix index 1973885e3887..af8128c2c774 100644 --- a/pkgs/by-name/gr/grpc_cli/package.nix +++ b/pkgs/by-name/gr/grpc_cli/package.nix @@ -11,12 +11,12 @@ stdenv.mkDerivation rec { pname = "grpc_cli"; - version = "1.74.0"; + version = "1.74.1"; src = fetchFromGitHub { owner = "grpc"; repo = "grpc"; rev = "v${version}"; - hash = "sha256-97+llHIubNYwULSD0KxEcGN+T8bQWufaEH6QT9oTgwg="; + hash = "sha256-QEIFv5zv1b0uggImklm4BSbnAbhN4xQ/K9OFLYMKbv0="; fetchSubmodules = true; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/ha/hail/package.nix b/pkgs/by-name/ha/hail/package.nix new file mode 100644 index 000000000000..a85c1a97cce5 --- /dev/null +++ b/pkgs/by-name/ha/hail/package.nix @@ -0,0 +1,53 @@ +{ + lib, + rustPlatform, + fetchFromGitea, + pkg-config, + fontconfig, + freetype, + libxkbcommon, + wayland, + SDL2, + SDL2_image, + SDL2_gfx, + nix-update-script, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "hail"; + version = "0.2.2"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "periwinkle"; + repo = "hail"; + tag = finalAttrs.version; + hash = "sha256-LJodAS24x/dBNyrUxT9F0FHnu4s+Cb+CCtoe7nPM66w="; + }; + + cargoHash = "sha256-kEPnfRY2McSVNBuBC9VSKK5p8JIUeZh/LeFZQa1Hn5U="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ + fontconfig + freetype + libxkbcommon + wayland + SDL2 + SDL2_image + SDL2_gfx + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Minimal speedrun timer"; + homepage = "https://codeberg.org/periwinkle/hail"; + changelog = "https://codeberg.org/periwinkle/hail/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.mpl20; + maintainers = with lib.maintainers; [ yiyu ]; + mainProgram = "hail"; + platforms = lib.platforms.linux; + }; +}) diff --git a/pkgs/by-name/ha/havn/package.nix b/pkgs/by-name/ha/havn/package.nix index 4e37a31b2d94..f26a2d6c59dc 100644 --- a/pkgs/by-name/ha/havn/package.nix +++ b/pkgs/by-name/ha/havn/package.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "havn"; - version = "0.2.1"; + version = "0.3.0"; src = fetchFromGitHub { owner = "mrjackwills"; repo = "havn"; tag = "v${finalAttrs.version}"; - hash = "sha256-SXsCJzKfm77/IH3H7L5STylusmlN9DN4xd12Vt6L3TM="; + hash = "sha256-8eufAIiUT4ahlXwlkIg9C2KN/2hJZYO4kX5ulETZriY="; }; - cargoHash = "sha256-SwqajiyYrN0VTGtQo9+Tux8sBvEmWzOQQknQ9zTQ0hY="; + cargoHash = "sha256-JnPgExfdlk8SDjcnVSMvG9S2oVbBGhhLlQEmeYcbVxI="; checkFlags = [ # Skip tests that require network access diff --git a/pkgs/by-name/ho/houdini/runtime.nix b/pkgs/by-name/ho/houdini/runtime.nix index ddc9f4a834f9..b462ccf5bb1b 100644 --- a/pkgs/by-name/ho/houdini/runtime.nix +++ b/pkgs/by-name/ho/houdini/runtime.nix @@ -1,12 +1,12 @@ { requireFile, callPackage }: callPackage ./runtime-build.nix rec { - version = "20.5.445"; + version = "20.5.684"; eulaDate = "2021-10-13"; src = requireFile { name = "houdini-${version}-linux_x86_64_gcc11.2.tar.gz"; - hash = "sha256-rk8HKX1Aq7ACbAWKFxfjSzfa3PA/iXQZsYOkr/kSbkM="; + hash = "sha256-cyFeeKBCV1EGdgruQ71EnEJOVndn1SKSiCtD6WRc878="; url = "https://www.sidefx.com/download/daily-builds/?production=true"; }; - outputHash = "sha256-bdL+Ha5LWkty4r+rgPAKr50pxV+j7CLspD4KOsSxyMo="; + outputHash = "sha256-mAX4jSdV0/DC+48O7d1hgmKjC1leKm1QgSBMbyAxyFs="; } diff --git a/pkgs/by-name/hy/hypercore/package.nix b/pkgs/by-name/hy/hypercore/package.nix index b7f32a3137fa..d82f77b601ed 100644 --- a/pkgs/by-name/hy/hypercore/package.nix +++ b/pkgs/by-name/hy/hypercore/package.nix @@ -7,13 +7,13 @@ buildNpmPackage (finalAttrs: { pname = "hypercore"; - version = "11.11.2"; + version = "11.12.1"; src = fetchFromGitHub { owner = "holepunchto"; repo = "hypercore"; tag = "v${finalAttrs.version}"; - hash = "sha256-vDI1j5seR6OBp64wq9oy4eVrtlJF7OCiQb+2EEdOGXw="; + hash = "sha256-AhmOT+ehyfut8QkwbcdHITOrWKfLPsjDx9zjBv9xeB4="; }; npmDepsHash = "sha256-ZJxVmQWKgHyKkuYfGIlANXFcROjI7fibg6mxIhDZowM="; diff --git a/pkgs/by-name/hy/hyprland-per-window-layout/package.nix b/pkgs/by-name/hy/hyprland-per-window-layout/package.nix index 93decdde6640..125fa25458c4 100644 --- a/pkgs/by-name/hy/hyprland-per-window-layout/package.nix +++ b/pkgs/by-name/hy/hyprland-per-window-layout/package.nix @@ -6,16 +6,16 @@ rustPlatform.buildRustPackage rec { pname = "hyprland-per-window-layout"; - version = "2.14"; + version = "2.15"; src = fetchFromGitHub { owner = "coffebar"; repo = "hyprland-per-window-layout"; rev = version; - hash = "sha256-dYoHa4b7BZc/LGVLsNs/LTj4sSMaFel+QE0TUv5kGAk="; + hash = "sha256-SOT2nrk2JKTzKE1QNhjAY9zjyG5z5nYFz7RJRrS3Tsk="; }; - cargoHash = "sha256-wXPc3jAY8E0k8cn4Z2OIhCyrfszzlzFmhQZIZay16Ec="; + cargoHash = "sha256-VzxO5xn864gnMR62iszTNwz1tU7A59dhQspsla90aRs="; meta = with lib; { description = "Per window keyboard layout (language) for Hyprland wayland compositor"; diff --git a/pkgs/by-name/ic/icloudpd/package.nix b/pkgs/by-name/ic/icloudpd/package.nix index 1ad08d2ca142..118caa293582 100644 --- a/pkgs/by-name/ic/icloudpd/package.nix +++ b/pkgs/by-name/ic/icloudpd/package.nix @@ -9,14 +9,14 @@ python3Packages.buildPythonApplication rec { pname = "icloudpd"; - version = "1.29.2"; + version = "1.29.3"; pyproject = true; src = fetchFromGitHub { owner = "icloud-photos-downloader"; repo = "icloud_photos_downloader"; tag = "v${version}"; - hash = "sha256-V6y/JRRfvxfQE5+ZuM8N/jciWxRr9HI6PGjnzyJ2aP8="; + hash = "sha256-ySo+qAeNhMwOdCe5jrKtMsEWofYQ8mqTMEl9059vpns="; }; pythonRelaxDeps = true; diff --git a/pkgs/by-name/im/immich/sources.json b/pkgs/by-name/im/immich/sources.json index 36bcb1de67df..458ad0570bc3 100644 --- a/pkgs/by-name/im/immich/sources.json +++ b/pkgs/by-name/im/immich/sources.json @@ -1,26 +1,26 @@ { - "version": "1.136.0", - "hash": "sha256-IMog1lvitT1fNKlT4pv/5Qlg/2JNkBNZrBu65NRAgJ0=", + "version": "1.137.3", + "hash": "sha256-oKDIx63LayDWhd4uE16rqFWmmwwSWUsUvgZKsgE3KWg=", "components": { "cli": { - "npmDepsHash": "sha256-+cMBzlvnSAwlutVm1F0Sa2LEAP6ppOvI9XjDb40xWW4=", - "version": "2.2.73" + "npmDepsHash": "sha256-Cjk95tsQM89LkMq6H3B5WYdYrMi3hB6d1XpN2xhHv2U=", + "version": "2.2.77" }, "server": { - "npmDepsHash": "sha256-kVmoxOd7ErLmLKBkanb8IOUJ3ccpzUHBkaLgnvli0Uw=", - "version": "1.136.0" + "npmDepsHash": "sha256-CvczIXE3Z3LwZezG7kbfJqg2fak2BRXTr0op1Jo1LIg=", + "version": "1.137.3" }, "web": { - "npmDepsHash": "sha256-CxQQbqIhqhWqtlV4BWQDPkg0tm3wPXC6BcCFb/6mM+o=", - "version": "1.136.0" + "npmDepsHash": "sha256-PcNgD/JFt3221Qgi54XzQZNa53iw3BUe31DM8k+nz/4=", + "version": "1.137.3" }, "open-api/typescript-sdk": { - "npmDepsHash": "sha256-z9W3YGqoUV90TXoyEnR069pLvirzDAisgQZdaJEOlSg=", - "version": "1.136.0" + "npmDepsHash": "sha256-M4ahH6ZP0E3wEgK4VLqSsNjhMFNVTMeRFdzU9EO53vE=", + "version": "1.137.3" }, "geonames": { - "timestamp": "20250725064853", - "hash": "sha256-UzP8JapHTCpk5/6X5usLLXQUfqEOUgkq76CTIBZoz08=" + "timestamp": "20250812073904", + "hash": "sha256-02ADfg5wHT1R3vu6imPP22BbT5Y5315eRGmI0mEryGc=" } } } diff --git a/pkgs/by-name/im/impression/package.nix b/pkgs/by-name/im/impression/package.nix index 9d234d8b66d0..2d946de2f5a7 100644 --- a/pkgs/by-name/im/impression/package.nix +++ b/pkgs/by-name/im/impression/package.nix @@ -24,18 +24,18 @@ stdenv.mkDerivation (finalAttrs: { pname = "impression"; - version = "3.4.0"; + version = "3.5.0"; src = fetchFromGitLab { owner = "adhami3310"; repo = "Impression"; tag = "v${finalAttrs.version}"; - hash = "sha256-YNRj44bgZfJYMBPI3q9OnWFaG6x1xez8LZM1sIti5mQ="; + hash = "sha256-LtCfqBtgtayjCuBukfjDtZfaGM7I2rOImxD2yvRITVk="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; - hash = "sha256-uK5kPPBBa5hI4RHj1RRohur0jzkjwePafY6E9U9vEFk="; + hash = "sha256-chRsKBnl6QOJ4b1UZak5lnp4lQmXCyZXI/8iJs5lM/E="; }; nativeBuildInputs = [ @@ -68,6 +68,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Straight-forward and modern application to create bootable drives"; homepage = "https://gitlab.com/adhami3310/Impression"; + changelog = "https://gitlab.com/adhami3310/Impression/-/releases/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; mainProgram = "impression"; maintainers = with lib.maintainers; [ dotlambda ]; diff --git a/pkgs/by-name/in/intercept-build/package.nix b/pkgs/by-name/in/intercept-build/package.nix new file mode 100644 index 000000000000..0188b28aecc4 --- /dev/null +++ b/pkgs/by-name/in/intercept-build/package.nix @@ -0,0 +1,38 @@ +{ + lib, + llvmPackages, + python3, +}: +let + inherit (llvmPackages) clang-unwrapped; +in +python3.pkgs.buildPythonApplication rec { + pname = "intercept-build"; + inherit (clang-unwrapped) version; + + format = "other"; + + src = clang-unwrapped + "/bin"; + + dontUnpack = true; + + dependencies = with python3.pkgs; [ + libscanbuild + ]; + + installPhase = '' + mkdir -p "$out/bin" + install "$src/intercept-build" "$out/bin" + ''; + + meta = { + description = "intercepts the build process to generate a compilation database"; + homepage = "https://github.com/llvm/llvm-project/tree/llvmorg-${version}/clang/tools/scan-build-py/"; + mainProgram = "intercept-build"; + license = with lib.licenses; [ + asl20 + llvm-exception + ]; + maintainers = with lib.maintainers; [ RossSmyth ]; + }; +} diff --git a/pkgs/by-name/ip/ipxe/package.nix b/pkgs/by-name/ip/ipxe/package.nix index 0e17b4112041..fde3b9dbefdf 100644 --- a/pkgs/by-name/ip/ipxe/package.nix +++ b/pkgs/by-name/ip/ipxe/package.nix @@ -48,7 +48,7 @@ in stdenv.mkDerivation (finalAttrs: { pname = "ipxe"; - version = "1.21.1-unstable-2025-07-30"; + version = "1.21.1-unstable-2025-08-07"; nativeBuildInputs = [ mtools @@ -66,8 +66,8 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromGitHub { owner = "ipxe"; repo = "ipxe"; - rev = "f7a1e9ef8e1dc22ebded786507b872a45e3fb05d"; - hash = "sha256-dNnZH6ENxx3K2lAIE0B8mLjOo05D/TBguarrGrxXozc="; + rev = "8460dc4e8ffc98db62377d1c5502d6aac40f5a64"; + hash = "sha256-Xk1lbExR4dyiba4tF0Dm9/KtTVxc78Fs8gjmZU7pdpI="; }; # Calling syslinux on a FAT image isn't going to work on Aarch64. diff --git a/pkgs/by-name/is/istioctl/package.nix b/pkgs/by-name/is/istioctl/package.nix index ac25f85c07c1..b494dae61a2e 100644 --- a/pkgs/by-name/is/istioctl/package.nix +++ b/pkgs/by-name/is/istioctl/package.nix @@ -7,15 +7,15 @@ buildGoModule rec { pname = "istioctl"; - version = "1.26.3"; + version = "1.27.0"; src = fetchFromGitHub { owner = "istio"; repo = "istio"; rev = version; - hash = "sha256-GWhG3FV9CLhy+IBJSKjf6FOzvex0xI62+7dmZz/lASg="; + hash = "sha256-Rehzwr/6S1c3kzqyJIIvLO3jDTSSrkyb2HHcUn9Tco8="; }; - vendorHash = "sha256-P6h/cIJ3mCHJZEceEB2CDutftwh5Saie9oxmF3TXbdo="; + vendorHash = "sha256-AAWGfNRAgR/Vr3VDMphOPah8a02czsf8fpWi2aeG1Jo="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/applications/networking/instant-messengers/jami/default.nix b/pkgs/by-name/ja/jami/package.nix similarity index 91% rename from pkgs/applications/networking/instant-messengers/jami/default.nix rename to pkgs/by-name/ja/jami/package.nix index 9dbc67d77a4f..e520810a67bc 100644 --- a/pkgs/applications/networking/instant-messengers/jami/default.nix +++ b/pkgs/by-name/ja/jami/package.nix @@ -17,10 +17,10 @@ gmp, gnutls, llhttp, - jack, jsoncpp, libarchive, libgit2, + libjack2, libnatpmp, libpulseaudio, libupnp, @@ -42,20 +42,14 @@ git, networkmanager, # for libnm python3, - qttools, # for translations - wrapQtAppsHook, libnotify, - qt5compat, - qtbase, - qtdeclarative, + md4c, + html-tidy, + hunspell, qrencode, - qtmultimedia, - qtnetworkauth, - qtpositioning, - qtsvg, - qtwebengine, - qtwebchannel, + qt6Packages, wrapGAppsHook3, + zxing-cpp, withWebengine ? true, # for pjsip @@ -206,7 +200,7 @@ stdenv.mkDerivation rec { gmp gnutls llhttp - jack + libjack2 jsoncpp libarchive libgit2 @@ -241,6 +235,8 @@ stdenv.mkDerivation rec { sed -i -e '/GIT_REPOSITORY/,+1c SOURCE_DIR ''${CMAKE_CURRENT_SOURCE_DIR}/qwindowkit' extras/build/cmake/contrib_tools.cmake sed -i -e 's/if(DISTRO_NEEDS_QMSETUP_PATCH)/if(TRUE)/' CMakeLists.txt cp -R --no-preserve=mode,ownership ${qwindowkit-src} qwindowkit + substituteInPlace CMakeLists.txt \ + --replace-fail 'add_subdirectory(3rdparty/zxing-cpp EXCLUDE_FROM_ALL)' 'find_package(ZXing)' ''; preConfigure = '' @@ -255,29 +251,38 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ wrapGAppsHook3 - wrapQtAppsHook + qt6Packages.wrapQtAppsHook pkg-config cmake git python3 - qttools + qt6Packages.qttools # for translations ]; buildInputs = [ ffmpeg_6 + html-tidy + hunspell libnotify + md4c networkmanager - qtbase - qt5compat qrencode - qtnetworkauth - qtdeclarative - qtmultimedia - qtpositioning - qtsvg - qtwebchannel + zxing-cpp ] - ++ lib.optionals withWebengine [ qtwebengine ]; + ++ ( + with qt6Packages; + [ + qtbase + qt5compat + qtnetworkauth + qtdeclarative + qtmultimedia + qtpositioning + qtsvg + qtwebchannel + ] + ++ lib.optionals withWebengine [ qtwebengine ] + ); cmakeFlags = lib.optionals (!withWebengine) [ "-DWITH_WEBENGINE=false" ]; diff --git a/pkgs/by-name/ka/kardolus-chatgpt-cli/package.nix b/pkgs/by-name/ka/kardolus-chatgpt-cli/package.nix index b8688eb625bb..e19b7bac83b0 100644 --- a/pkgs/by-name/ka/kardolus-chatgpt-cli/package.nix +++ b/pkgs/by-name/ka/kardolus-chatgpt-cli/package.nix @@ -9,18 +9,18 @@ buildGoModule (finalAttrs: { # "chatgpt-cli" is taken by another package with the same upsteam name. # To keep "pname" and "package attribute name" identical, the owners name (kardolus) gets prefixed as identifier. pname = "kardolus-chatgpt-cli"; - version = "1.8.5"; + version = "1.8.6"; src = fetchFromGitHub { owner = "kardolus"; repo = "chatgpt-cli"; rev = "v${finalAttrs.version}"; - hash = "sha256-TXdxqPoyt3VUeHVkbB0UjNcCqaf+5Xve95RMQOEagTM="; + hash = "sha256-ggakrfeV6guGhBbA45A78oMFQSMqh9+yvJK+cic1JdY="; }; vendorHash = null; # The tests of kardolus/chatgpt-cli require an OpenAI API Key to be present in the environment, - # (e.g. https://github.com/kardolus/chatgpt-cli/blob/v1.8.5/test/contract/contract_test.go#L35) + # (e.g. https://github.com/kardolus/chatgpt-cli/blob/v1.8.6/test/contract/contract_test.go#L35) # which will not be the case in the pipeline. # Therefore, tests must be skipped. doCheck = false; diff --git a/pkgs/by-name/kc/kcc/package.nix b/pkgs/by-name/kc/kcc/package.nix index 9d3eac75c343..60260fc52e40 100644 --- a/pkgs/by-name/kc/kcc/package.nix +++ b/pkgs/by-name/kc/kcc/package.nix @@ -1,44 +1,58 @@ { - stdenv, lib, - qt6, + python3, fetchFromGitHub, + + qt6, + archiveSupport ? true, p7zip, + versionCheckHook, nix-update-script, - python3, - archiveSupport ? true, }: + python3.pkgs.buildPythonApplication rec { pname = "kcc"; - version = "7.5.1"; - format = "setuptools"; + version = "9.0.0"; + pyproject = true; src = fetchFromGitHub { owner = "ciromattia"; repo = "kcc"; tag = "v${version}"; - hash = "sha256-XB+xss/QiZuo6gWphyjFh9DO74O5tNqfX5LUzsa4gqo="; + hash = "sha256-J4nuVY5eOmHziteLvoBf/+CAY0X/7wBbRtPoIgdd5MA="; }; nativeBuildInputs = [ qt6.wrapQtAppsHook ]; - buildInputs = [ qt6.qtbase ] ++ lib.optionals stdenv.hostPlatform.isLinux [ qt6.qtwayland ]; - propagatedBuildInputs = with python3.pkgs; [ - packaging + buildInputs = [ qt6.qtbase ]; + + build-system = with python3.pkgs; [ setuptools ]; + + dependencies = with python3.pkgs; [ + packaging # undeclared dependency + pymupdf + pyside6 pillow psutil python-slugify raven requests - natsort mozjpeg_lossless_optimization + natsort distro - pyside6 numpy ]; - qtWrapperArgs = lib.optionals archiveSupport [ ''--prefix PATH : ${lib.makeBinPath [ p7zip ]}'' ]; + # Note: python scripts wouldn't get wrapped anyway, but let's be explicit about it + dontWrapQtApps = true; + + makeWrapperArgs = [ + "\${qtWrapperArgs[@]}" + ] + ++ lib.optionals archiveSupport [ + ''--prefix PATH : ${lib.makeBinPath [ p7zip ]}'' + ]; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgram = "${placeholder "out"}/bin/kcc-c2e"; diff --git a/pkgs/by-name/ki/kirsch/package.nix b/pkgs/by-name/ki/kirsch/package.nix new file mode 100644 index 000000000000..294e575ddc40 --- /dev/null +++ b/pkgs/by-name/ki/kirsch/package.nix @@ -0,0 +1,42 @@ +{ + lib, + stdenvNoCC, + fetchzip, + xorg, +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "kirsch"; + version = "0.6.1"; + + src = fetchzip { + url = "https://github.com/molarmanful/kirsch/releases/download/v${finalAttrs.version}/kirsch-release_v${finalAttrs.version}.zip"; + hash = "sha256-6POi3N1JX6FFWHwqOlB3mrkHMYG+TJXz9URarbSPrZw="; + }; + + nativeBuildInputs = [ xorg.mkfontscale ]; + + installPhase = '' + runHook preInstall + + misc="$out/share/fonts/misc" + install -D -m 644 *.{bdf,otb,pcf} -t "$misc" + install -D -m 644 *.ttf -t "$out/share/fonts/truetype" + + # create fonts.dir so NixOS xorg module adds to fp + mkfontdir "$misc" + + runHook postInstall + ''; + + meta = { + description = "Versatile bitmap font with an organic flair"; + homepage = "https://github.com/molarmanful/kirsch"; + changelog = "https://github.com/molarmanful/kirsch/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.ofl; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ + ejiektpobehuk + ]; + }; +}) diff --git a/pkgs/by-name/ko/koboldcpp/package.nix b/pkgs/by-name/ko/koboldcpp/package.nix index 02111ec70a3f..5764c04814ee 100644 --- a/pkgs/by-name/ko/koboldcpp/package.nix +++ b/pkgs/by-name/ko/koboldcpp/package.nix @@ -41,13 +41,13 @@ let in effectiveStdenv.mkDerivation (finalAttrs: { pname = "koboldcpp"; - version = "1.96.2"; + version = "1.97.4"; src = fetchFromGitHub { owner = "LostRuins"; repo = "koboldcpp"; tag = "v${finalAttrs.version}"; - hash = "sha256-OSAFJ2z6vSTTOovgcF/TZvug51uydmZmkjamN/xv2dc="; + hash = "sha256-z9F3q+1iq6HQV37yRjBOlJRChhnQ/cPP5sAZl5rFDUs="; }; enableParallelBuilding = true; diff --git a/pkgs/by-name/ko/kompose/package.nix b/pkgs/by-name/ko/kompose/package.nix index 6ced90ad3eef..f3873a5fd794 100644 --- a/pkgs/by-name/ko/kompose/package.nix +++ b/pkgs/by-name/ko/kompose/package.nix @@ -10,16 +10,16 @@ buildGoModule rec { pname = "kompose"; - version = "1.36.0"; + version = "1.37.0"; src = fetchFromGitHub { owner = "kubernetes"; repo = "kompose"; rev = "v${version}"; - hash = "sha256-OnVJkAZqN0/V0tHtDpsZDN2gIvEpI5z2Pv0lspr6ZTg="; + hash = "sha256-wS9YoYEsCALIJMxoVTS6EH6NiBfF+qkFIv7JALnVPgs="; }; - vendorHash = "sha256-UQnhakHAyldESYhQlHe5mHVv5jFB7DUp+mNo0Q0iDkc="; + vendorHash = "sha256-dBVrkTpeYtTVdA/BEcBGyBdSk3po7TQQwo0ux6qPK2Q="; nativeBuildInputs = [ installShellFiles diff --git a/pkgs/by-name/ko/koodo-reader/package.nix b/pkgs/by-name/ko/koodo-reader/package.nix index 460156e84c7b..f3bfb0b35107 100644 --- a/pkgs/by-name/ko/koodo-reader/package.nix +++ b/pkgs/by-name/ko/koodo-reader/package.nix @@ -54,9 +54,6 @@ stdenv.mkDerivation (finalAttrs: { env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; - # disable code signing on Darwin - env.CSC_IDENTITY_AUTO_DISCOVERY = "false"; - postBuild = '' cp -r ${electron.dist} electron-dist chmod -R u+w electron-dist @@ -68,7 +65,9 @@ stdenv.mkDerivation (finalAttrs: { export npm_config_nodedir=${electron.headers} npm run postinstall + # Explicitly set identity to null to avoid signing on darwin yarn --offline run electron-builder --dir \ + -c.mac.identity=null \ -c.electronDist=electron-dist \ -c.electronVersion=${electron.version} ''; diff --git a/pkgs/by-name/ks/kstars/package.nix b/pkgs/by-name/ks/kstars/package.nix index 8c617b0f1e34..70eb1b865a68 100644 --- a/pkgs/by-name/ks/kstars/package.nix +++ b/pkgs/by-name/ks/kstars/package.nix @@ -22,11 +22,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "kstars"; - version = "3.7.7"; + version = "3.7.8"; src = fetchurl { url = "mirror://kde/stable/kstars/${finalAttrs.version}/kstars-${finalAttrs.version}.tar.xz"; - hash = "sha256-8tvWwmxFUSqnw5JPC/Bgao75eORoxUUF3MDLL+EgAkU="; + hash = "sha256-VbOu8p7Bq6UJBr05PVZein4LWzpdLo4838G1jXGNLAw="; }; nativeBuildInputs = with kdePackages; [ diff --git a/pkgs/by-name/ku/kubernetes-polaris/package.nix b/pkgs/by-name/ku/kubernetes-polaris/package.nix index 2587ad0b9a4c..6d8af6913857 100644 --- a/pkgs/by-name/ku/kubernetes-polaris/package.nix +++ b/pkgs/by-name/ku/kubernetes-polaris/package.nix @@ -7,16 +7,16 @@ buildGoModule rec { pname = "kubernetes-polaris"; - version = "10.0.0"; + version = "10.1.0"; src = fetchFromGitHub { owner = "FairwindsOps"; repo = "polaris"; rev = version; - sha256 = "sha256-yJPtTIj6vfzWwjozwcsIJjZGfy3QS6h8uOcoL4OXrnQ="; + sha256 = "sha256-/YK9Xz/zYksFCde9uoTXrVbaOQ3V7EoSaoWnrSR9Oq8="; }; - vendorHash = "sha256-4H1NHeYGd3ujtOo+UDkjIQaH+rkODS41C865OE1S9YA="; + vendorHash = "sha256-4eznwhNf3anhs+GlZGrHJWAproej0dO2NbzfhJeReNY="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/by-name/ku/kubevirt/package.nix b/pkgs/by-name/ku/kubevirt/package.nix index fb54bf98751e..57ed0ef11c40 100644 --- a/pkgs/by-name/ku/kubevirt/package.nix +++ b/pkgs/by-name/ku/kubevirt/package.nix @@ -9,13 +9,13 @@ buildGoModule rec { pname = "kubevirt"; - version = "1.5.2"; + version = "1.6.0"; src = fetchFromGitHub { owner = "kubevirt"; repo = "kubevirt"; rev = "v${version}"; - hash = "sha256-R01kW6mS1Ce3oi3p6RFVXif/BybM9HlbL2WT9b5wJuE="; + hash = "sha256-vPlQ03AR44UVlRkZe34ZhdhBInZloOeEgjHXq7RC5Lw="; }; vendorHash = null; diff --git a/pkgs/by-name/ku/kubevpn/package.nix b/pkgs/by-name/ku/kubevpn/package.nix index c1f0e8c95ce2..45630f2d810f 100644 --- a/pkgs/by-name/ku/kubevpn/package.nix +++ b/pkgs/by-name/ku/kubevpn/package.nix @@ -9,13 +9,13 @@ buildGoModule (finalAttrs: { pname = "kubevpn"; - version = "2.9.0"; + version = "2.9.5"; src = fetchFromGitHub { owner = "KubeNetworks"; repo = "kubevpn"; tag = "v${finalAttrs.version}"; - hash = "sha256-vPmN1g3LNTYoFZNaUJWJbP+N+RG0973GLekQOsr+4bU="; + hash = "sha256-wKZCv8gikEIXYvhovgN+WrEt2dFf+nHeBLO2UKfi55Q="; }; vendorHash = null; diff --git a/pkgs/by-name/la/lazygit/package.nix b/pkgs/by-name/la/lazygit/package.nix index 3f92d88e65ce..875c28575f46 100644 --- a/pkgs/by-name/la/lazygit/package.nix +++ b/pkgs/by-name/la/lazygit/package.nix @@ -8,13 +8,13 @@ }: buildGoModule rec { pname = "lazygit"; - version = "0.54.1"; + version = "0.54.2"; src = fetchFromGitHub { owner = "jesseduffield"; repo = "lazygit"; tag = "v${version}"; - hash = "sha256-MTuVeKlytI7jp3pi2nuJqebG7DcEprfNQo9jf+c7Obg="; + hash = "sha256-LfSTbnSyRT1vdrEOs9Ur+0cGAz/pUUEVm8HhfE9VaYo="; }; vendorHash = null; diff --git a/pkgs/by-name/li/libdeltachat/package.nix b/pkgs/by-name/li/libdeltachat/package.nix index 5139844f4352..1791c73d77c5 100644 --- a/pkgs/by-name/li/libdeltachat/package.nix +++ b/pkgs/by-name/li/libdeltachat/package.nix @@ -20,13 +20,13 @@ stdenv.mkDerivation rec { pname = "libdeltachat"; - version = "2.4.0"; + version = "2.10.0"; src = fetchFromGitHub { owner = "chatmail"; repo = "core"; tag = "v${version}"; - hash = "sha256-r4QWP7KokTgOimMfJoJ4sIeLrg20IYjJge0o/fVUF5Y="; + hash = "sha256-boS8Awxp9Z/4TrYfqRF77K01dAcEZOfr+oOqMOEeUig="; }; patches = [ @@ -36,7 +36,7 @@ stdenv.mkDerivation rec { cargoDeps = rustPlatform.fetchCargoVendor { pname = "chatmail-core"; inherit version src; - hash = "sha256-PToZYRnAIcvbRBOzUHaFdtS6t0xCULcsSp4ydohCQi8="; + hash = "sha256-fSuVq0ODYvKLU2peQuutfuSerZl2cfRCu/w0E6eQRV8="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/li/libmediainfo/package.nix b/pkgs/by-name/li/libmediainfo/package.nix index dd380cad4b51..7ab7510f5069 100644 --- a/pkgs/by-name/li/libmediainfo/package.nix +++ b/pkgs/by-name/li/libmediainfo/package.nix @@ -14,11 +14,11 @@ stdenv.mkDerivation rec { pname = "libmediainfo"; - version = "25.04"; + version = "25.07.1"; src = fetchurl { url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz"; - hash = "sha256-rUXtfJ23gHqoA4RcqIutlSaqjaiDpYEn5TkKqi2Bu7E="; + hash = "sha256-jm6S8gzyynzoq6U60LWJqJovp9/T55cdOFAQms1JvtU="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/li/libretrack/package.nix b/pkgs/by-name/li/libretrack/package.nix index a2e37af40362..ceda0fb98977 100644 --- a/pkgs/by-name/li/libretrack/package.nix +++ b/pkgs/by-name/li/libretrack/package.nix @@ -1,11 +1,11 @@ { lib, fetchFromGitHub, - flutterPackages-source, + flutter329, libappindicator, }: -flutterPackages-source.v3_29.buildFlutterApplication rec { +flutter329.buildFlutterApplication rec { pname = "libretrack"; version = "1.7.0"; diff --git a/pkgs/by-name/li/libretro-shaders-slang/package.nix b/pkgs/by-name/li/libretro-shaders-slang/package.nix index 310d51035d00..ede5549a0ad8 100644 --- a/pkgs/by-name/li/libretro-shaders-slang/package.nix +++ b/pkgs/by-name/li/libretro-shaders-slang/package.nix @@ -7,13 +7,13 @@ stdenvNoCC.mkDerivation { pname = "libretro-shaders-slang"; - version = "0-unstable-2025-08-01"; + version = "0-unstable-2025-08-07"; src = fetchFromGitHub { owner = "libretro"; repo = "slang-shaders"; - rev = "8fce5bb3cccc532f2a57aff46716cdfc55799e75"; - hash = "sha256-x8Lrq+ECZZzJq9MYHNsJjNPx4Frj/ZzSdN/IM2Tg72g="; + rev = "a2ccf619c2df565ac8f3e66c91170faa5ba06aa4"; + hash = "sha256-0OjqfYgxJGtFCuPFqlSorqOEOqCf0gdyDUzG15Z/FlA="; }; dontConfigure = true; diff --git a/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix b/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix index a72a5fad89d4..1f9c238d409e 100644 --- a/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix +++ b/pkgs/by-name/li/librewolf-bin-unwrapped/package.nix @@ -37,7 +37,7 @@ let pname = "librewolf-bin-unwrapped"; - version = "141.0-1"; + version = "141.0.3-1"; in stdenv.mkDerivation { @@ -47,9 +47,9 @@ stdenv.mkDerivation { url = "https://gitlab.com/api/v4/projects/44042130/packages/generic/librewolf/${version}/librewolf-${version}-${arch}-package.tar.xz"; hash = { - i686-linux = "sha256-nF9sGMMzLmVJapTyiU8y0ICIl26i+eloAHKJSVvSeuY="; - x86_64-linux = "sha256-mlvZ0faAXra6oZ4nsq6hiIgk/byoa0EmThvAkGpqQiU="; - aarch64-linux = "sha256-AfMmwQtfjWY0ImwQ/M+1liU3IzaxBVkIVLxSEQ7YTCw="; + i686-linux = "sha256-B3fTYNV6kHDo+Ae5r02oXIvcrzlnaZuOO/bAevjU3mk="; + x86_64-linux = "sha256-bIKqHQS4daqAQcbXHxLjWdK5MFrSg5ctzfhKe2OrO5c="; + aarch64-linux = "sha256-JPidpVXQ8DOwpmBUQn/aBJfydrUSfl6ekgnxCjL7Vgg="; } .${stdenv.hostPlatform.system} or throwSystem; }; diff --git a/pkgs/by-name/ll/llama-cpp/package.nix b/pkgs/by-name/ll/llama-cpp/package.nix index 8d04c1afd41c..9a76c27bbadf 100644 --- a/pkgs/by-name/ll/llama-cpp/package.nix +++ b/pkgs/by-name/ll/llama-cpp/package.nix @@ -72,13 +72,13 @@ let in effectiveStdenv.mkDerivation (finalAttrs: { pname = "llama-cpp"; - version = "6123"; + version = "6134"; src = fetchFromGitHub { owner = "ggml-org"; repo = "llama.cpp"; tag = "b${finalAttrs.version}"; - hash = "sha256-4kqbKGPPOkOkHXA4IeLuj/0P5jpqtGlGuVKeUD4UhZY="; + hash = "sha256-J/Z6xrCfdSkf504AGiOmgRqgrOUXXTpqq5BpXwgOI4g="; leaveDotGit = true; postFetch = '' git -C "$out" rev-parse --short HEAD > $out/COMMIT @@ -99,10 +99,6 @@ effectiveStdenv.mkDerivation (finalAttrs: { substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \ --replace-fail '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";" fi - - substituteInPlace ./scripts/build-info.sh \ - --replace-fail 'build_number="0"' 'build_number="${finalAttrs.version}"' \ - --replace-fail 'build_commit="unknown"' "build_commit=\"$(cat COMMIT)\"" ''; nativeBuildInputs = [ @@ -124,10 +120,16 @@ effectiveStdenv.mkDerivation (finalAttrs: { ++ optionals vulkanSupport vulkanBuildInputs ++ [ curl ]; + preConfigure = '' + prependToVar cmakeFlags "-DLLAMA_BUILD_COMMIT:STRING=$(cat COMMIT)" + ''; + cmakeFlags = [ # -march=native is non-deterministic; override with platform-specific flags if needed (cmakeBool "GGML_NATIVE" false) + (cmakeBool "LLAMA_BUILD_EXAMPLES" false) (cmakeBool "LLAMA_BUILD_SERVER" true) + (cmakeBool "LLAMA_BUILD_TESTS" (finalAttrs.finalPackage.doCheck or false)) (cmakeBool "LLAMA_CURL" true) (cmakeBool "BUILD_SHARED_LIBS" true) (cmakeBool "GGML_BLAS" blasSupport) @@ -137,6 +139,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { (cmakeBool "GGML_METAL" metalSupport) (cmakeBool "GGML_RPC" rpcSupport) (cmakeBool "GGML_VULKAN" vulkanSupport) + (cmakeFeature "LLAMA_BUILD_NUMBER" finalAttrs.version) ] ++ optionals cudaSupport [ (cmakeFeature "CMAKE_CUDA_ARCHITECTURES" cudaPackages.flags.cmakeCudaArchitecturesString) @@ -153,7 +156,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { ++ optionals rpcSupport [ # This is done so we can move rpc-server out of bin because llama.cpp doesn't # install rpc-server in their install target. - "-DCMAKE_SKIP_BUILD_RPATH=ON" + (cmakeBool "CMAKE_SKIP_BUILD_RPATH" true) ]; # upstream plans on adding targets at the cmakelevel, remove those @@ -167,6 +170,9 @@ effectiveStdenv.mkDerivation (finalAttrs: { '' + optionalString rpcSupport "cp bin/rpc-server $out/bin/llama-rpc-server"; + # the tests are failing as of 2025-08 + doCheck = false; + passthru.updateScript = nix-update-script { attrPath = "llama-cpp"; extraArgs = [ diff --git a/pkgs/by-name/lo/lockbook-desktop/package.nix b/pkgs/by-name/lo/lockbook-desktop/package.nix index f844f66448be..c6d2ba134d86 100644 --- a/pkgs/by-name/lo/lockbook-desktop/package.nix +++ b/pkgs/by-name/lo/lockbook-desktop/package.nix @@ -18,16 +18,16 @@ let in rustPlatform.buildRustPackage rec { pname = "lockbook-desktop"; - version = "0.9.25"; + version = "0.9.26"; src = fetchFromGitHub { owner = "lockbook"; repo = "lockbook"; tag = version; - hash = "sha256-8zkEVdvoM0PDqGyqY16ZRgyY8G0LplmhAb0THwqTVig="; + hash = "sha256-tiw8FtPtXtBZsKxgZ7T+6VUoBO93IkuKfEHNol2fJ18="; }; - cargoHash = "sha256-2NGb4a/Ak8DlaxHVElJg8Vhrt4W4XPZdDE283TH19C4="; + cargoHash = "sha256-XVvSVaUn4N7lsgBEAbRfCD6qR4I/n/NHBw2qISWrzI0="; nativeBuildInputs = [ pkg-config diff --git a/pkgs/by-name/lo/lockbook/package.nix b/pkgs/by-name/lo/lockbook/package.nix index d16119851ef7..40ec0d1681ab 100644 --- a/pkgs/by-name/lo/lockbook/package.nix +++ b/pkgs/by-name/lo/lockbook/package.nix @@ -7,16 +7,16 @@ }: rustPlatform.buildRustPackage rec { pname = "lockbook"; - version = "0.9.25"; + version = "0.9.26"; src = fetchFromGitHub { owner = "lockbook"; repo = "lockbook"; tag = version; - hash = "sha256-8zkEVdvoM0PDqGyqY16ZRgyY8G0LplmhAb0THwqTVig="; + hash = "sha256-tiw8FtPtXtBZsKxgZ7T+6VUoBO93IkuKfEHNol2fJ18="; }; - cargoHash = "sha256-2NGb4a/Ak8DlaxHVElJg8Vhrt4W4XPZdDE283TH19C4="; + cargoHash = "sha256-XVvSVaUn4N7lsgBEAbRfCD6qR4I/n/NHBw2qISWrzI0="; doCheck = false; # there are no cli tests cargoBuildFlags = [ diff --git a/pkgs/by-name/ly/LycheeSlicer/package.nix b/pkgs/by-name/ly/LycheeSlicer/package.nix index 07137f72633a..1c859fd9767c 100644 --- a/pkgs/by-name/ly/LycheeSlicer/package.nix +++ b/pkgs/by-name/ly/LycheeSlicer/package.nix @@ -4,6 +4,8 @@ makeDesktopItem, lib, xorg, + wayland, + wayland-protocols, }: let pname = "LycheeSlicer"; @@ -18,7 +20,7 @@ let name = "Lychee Slicer"; genericName = "Resin Slicer"; comment = "All-in-one 3D slicer for Resin and Filament"; - desktopName = "Lychee"; + desktopName = "LycheeSlicer"; noDisplay = false; exec = "lychee"; terminal = false; @@ -39,16 +41,21 @@ appimageTools.wrapType2 { install -Dm444 -t $out/share/applications ${desktopItem}/share/applications/* ''; - extraLibraries = [ + extraPkgs = _: [ xorg.libxshmfence + wayland + wayland-protocols ]; meta = { description = "All-in-one 3D slicer for resin and FDM printers"; homepage = "https://lychee.mango3d.io/"; license = lib.licenses.unfree; - maintainers = with lib.maintainers; [ tarinaky ]; + maintainers = with lib.maintainers; [ + tarinaky + ZachDavies + ]; platforms = [ "x86_64-linux" ]; - mainProgram = "lychee"; + mainProgram = "LycheeSlicer"; }; } diff --git a/pkgs/by-name/ma/mailspring/darwin.nix b/pkgs/by-name/ma/mailspring/darwin.nix index 24eb8bf7a5db..8f332893ac7c 100644 --- a/pkgs/by-name/ma/mailspring/darwin.nix +++ b/pkgs/by-name/ma/mailspring/darwin.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://github.com/Foundry376/Mailspring/releases/download/${finalAttrs.version}/Mailspring-AppleSilicon.zip"; - hash = "sha256-MMJ26p3Kp/rBMtyuOFDyvmAz5J0Fcw5tiFnMiPZ34vA="; + hash = "sha256-jbsU8pSvhPFKFjIr+2ZHETOihKKoqQiZmKQ6eGtAIKk="; }; dontUnpack = true; diff --git a/pkgs/by-name/ma/mailspring/linux.nix b/pkgs/by-name/ma/mailspring/linux.nix index 452c86178b62..db2be8ddefcf 100644 --- a/pkgs/by-name/ma/mailspring/linux.nix +++ b/pkgs/by-name/ma/mailspring/linux.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchurl { url = "https://github.com/Foundry376/Mailspring/releases/download/${finalAttrs.version}/mailspring-${finalAttrs.version}-amd64.deb"; - hash = "sha256-+glQaz36mKMtnNeyHH4brZmzYe9SHCtccO6CIJpTH2k="; + hash = "sha256-iJ6VzwvNTIRqUq9OWNOWOSuLbqhx+Lqx584kuyIslyA="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/ma/mailspring/package.nix b/pkgs/by-name/ma/mailspring/package.nix index 98f49438b4b3..7d3f796e52a9 100644 --- a/pkgs/by-name/ma/mailspring/package.nix +++ b/pkgs/by-name/ma/mailspring/package.nix @@ -5,7 +5,7 @@ }: let pname = "mailspring"; - version = "1.15.1"; + version = "1.16.0"; meta = { description = "Beautiful, fast and maintained fork of Nylas Mail by one of the original authors"; diff --git a/pkgs/by-name/ma/markdown-oxide/package.nix b/pkgs/by-name/ma/markdown-oxide/package.nix index 9bef874b7789..16df2f0083e5 100644 --- a/pkgs/by-name/ma/markdown-oxide/package.nix +++ b/pkgs/by-name/ma/markdown-oxide/package.nix @@ -5,16 +5,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "markdown-oxide"; - version = "0.25.5"; + version = "0.25.6"; src = fetchFromGitHub { owner = "Feel-ix-343"; repo = "markdown-oxide"; tag = "v${finalAttrs.version}"; - hash = "sha256-4K69eBHp1RGv0b7BUwGTErDc2M+XOh5ZIly+XvR1Aa4="; + hash = "sha256-GIwvypvfHwOmT5Y01Xho9ClD9PcY+K2PJAd5VPEIr/8="; }; - cargoHash = "sha256-7peel81Yf//MLIoXXCY3lklkykY9XxY/dfIxuNQyQ64="; + cargoHash = "sha256-c6m/sbCbXIYQ5FMm7cdiuMJrX2iz64ZHFiiRuvSGu+Y="; meta = { description = "Markdown LSP server inspired by Obsidian"; diff --git a/pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix b/pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix index f54cdb85827e..d7feeccf0058 100644 --- a/pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix +++ b/pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix @@ -18,25 +18,16 @@ let in python3.pkgs.buildPythonApplication rec { pname = "matrix-synapse"; - version = "1.135.0"; + version = "1.135.2"; format = "pyproject"; src = fetchFromGitHub { owner = "element-hq"; repo = "synapse"; rev = "v${version}"; - hash = "sha256-ygLWjI6HzBMTPDhEmf1rT18UhoRekzpG8DkeZXo2dts="; + hash = "sha256-4HAA9Xq4C3DHxz0BgqBitfM4wZwPSEu+IO/OPfHzLVw="; }; - patches = [ - # Skip broken HTML preview test case with libxml >= 2.14 - # https://github.com/element-hq/synapse/pull/18413 - (fetchpatch { - url = "https://github.com/element-hq/synapse/commit/8aad32965888476b4660bf8228d2d2aa9ccc848b.patch"; - hash = "sha256-EUEbF442nOAybMI8EL6Ee0ib3JqSlQQ04f5Az3quKko="; - }) - ]; - cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; hash = "sha256-4J92s6cSgsEIYQpbU6OOLI/USIJX2Gc7UdEHgWQgmXc="; diff --git a/pkgs/by-name/me/melonDS/package.nix b/pkgs/by-name/me/melonDS/package.nix index 6390b5473418..dd612f49c779 100644 --- a/pkgs/by-name/me/melonDS/package.nix +++ b/pkgs/by-name/me/melonDS/package.nix @@ -28,13 +28,13 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "melonDS"; - version = "1.0-unstable-2025-07-13"; + version = "1.0-unstable-2025-08-10"; src = fetchFromGitHub { owner = "melonDS-emu"; repo = "melonDS"; - rev = "13a9825c9a84fdbf42d0d4b922f9c2e0920ed19e"; - hash = "sha256-16QcMsYARA5tXeEtCyV2jsWSRwrcBJBYSxG5YtYMPa4="; + rev = "f9e46fdc29f8e55aca6bc121c424890faee2e51d"; + hash = "sha256-g5TVvnCoWQej9v2aii5klx7gRzUrokiwy0By0G3LkiI="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/mf/mfaktc/package.nix b/pkgs/by-name/mf/mfaktc/package.nix new file mode 100644 index 000000000000..857bc9a0ef32 --- /dev/null +++ b/pkgs/by-name/mf/mfaktc/package.nix @@ -0,0 +1,63 @@ +{ + lib, + stdenv, + autoAddDriverRunpath, + cudaPackages, + fetchFromGitHub, + versionCheckHook, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "mfaktc"; + version = "0.23.5"; + + src = fetchFromGitHub { + owner = "primesearch"; + repo = "mfaktc"; + tag = "${finalAttrs.version}"; + fetchSubmodules = true; + hash = "sha256-NUcRd+WvmRjXC7rfOKFw4mue7V9oobsy/OTHHEoaiHo="; + }; + + enableParallelBuilding = true; + buildInputs = [ + cudaPackages.cuda_nvcc + cudaPackages.cuda_cudart + autoAddDriverRunpath + ]; + + makeFlags = [ + "-C" + "src" + ]; + + installPhase = '' + runHook preInstall + + install -Dm755 mfaktc -t $out/bin + install -Dm755 mfaktc.ini -t $out/share + + runHook postInstall + ''; + + doInstallCheck = true; + nativeInstallCheckInputs = [ + versionCheckHook + ]; + + versionCheckProgramArg = "-h"; + + meta = { + description = "Trial Factoring program using CUDA for GIMPS"; + longDescription = '' + CUDA Program for trial factoring Mersenne primes. Intented for use with GIMPS through autoprimenet.py. + Note that the mfaktc.ini file, which is in $out/share, must be symlinked to your working directory. + ''; + homepage = "https://github.com/primesearch/mfaktc"; + downloadPage = "https://github.com/primesearch/mfaktc/releases/tag/${finalAttrs.version}"; + maintainers = with lib.maintainers; [ dstremur ]; + license = lib.licenses.gpl3Plus; + platforms = [ "x86_64-linux" ]; + mainProgram = "mfaktc"; + }; +}) diff --git a/pkgs/by-name/mi/microcode-intel/package.nix b/pkgs/by-name/mi/microcode-intel/package.nix index 52be059dfe29..9d2135645bea 100644 --- a/pkgs/by-name/mi/microcode-intel/package.nix +++ b/pkgs/by-name/mi/microcode-intel/package.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "microcode-intel"; - version = "20250512"; + version = "20250812"; src = fetchFromGitHub { owner = "intel"; repo = "Intel-Linux-Processor-Microcode-Data-Files"; rev = "microcode-${finalAttrs.version}"; - hash = "sha256-xasV1w6+8qnD+RLWsReMo+xm7a9nguV2st3IC4FURDU="; + hash = "sha256-FfHSAMu4cvJKOjufr5ZwYHHn8dYa77jR5Br65vGP5Y8="; }; nativeBuildInputs = [ libarchive ]; diff --git a/pkgs/by-name/mk/mkbrr/package.nix b/pkgs/by-name/mk/mkbrr/package.nix index fab4a3f1d894..0d0437ee932b 100644 --- a/pkgs/by-name/mk/mkbrr/package.nix +++ b/pkgs/by-name/mk/mkbrr/package.nix @@ -7,13 +7,13 @@ buildGoModule (finalAttrs: { pname = "mkbrr"; - version = "1.14.0"; + version = "1.15.0"; src = fetchFromGitHub { owner = "autobrr"; repo = "mkbrr"; tag = "v${finalAttrs.version}"; - hash = "sha256-k8//hfqDwiF5NkpvflkGaSybYVb9lWwj91hH/KrofOU="; + hash = "sha256-7p/p5WAJpaIhvJRTXYWoTOyuqN41X187tAnkVY1XCMY="; }; vendorHash = "sha256-MEDzZd67iXPY/MioMd1FcTLY+8CdJN7+oC7qus63yJ8="; diff --git a/pkgs/by-name/mt/mtail/package.nix b/pkgs/by-name/mt/mtail/package.nix index 60bbc577e4a3..fc96db05fc39 100644 --- a/pkgs/by-name/mt/mtail/package.nix +++ b/pkgs/by-name/mt/mtail/package.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "mtail"; - version = "3.2.8"; + version = "3.2.11"; src = fetchFromGitHub { owner = "jaqx0r"; repo = "mtail"; rev = "v${version}"; - hash = "sha256-jRaIDYEzpSFOTPFks6lWMidxmcmHfym4kG71+byJ9vI="; + hash = "sha256-ScR07AHQBSXgVEHVQDyz/SJPMti+5TNAXlRjfTr7ZMU="; }; - vendorHash = "sha256-KZOcmZGv1kI9eDhQdtQeQ3ITyEw9vEDPz4RAz30pP9s="; + vendorHash = "sha256-+Ym+vn7yHUSS7So7m53cCUNSmznwgyvg+Xj4nKUbD7U="; nativeBuildInputs = [ gotools # goyacc diff --git a/pkgs/by-name/mt/mtxclient/package.nix b/pkgs/by-name/mt/mtxclient/package.nix index 2d47a07b2645..1ce611fc08ca 100644 --- a/pkgs/by-name/mt/mtxclient/package.nix +++ b/pkgs/by-name/mt/mtxclient/package.nix @@ -16,13 +16,13 @@ stdenv.mkDerivation rec { pname = "mtxclient"; - version = "0.10.0"; + version = "0.10.1"; src = fetchFromGitHub { owner = "Nheko-Reborn"; repo = "mtxclient"; rev = "v${version}"; - hash = "sha256-luWcbYCv5OM3aidxiO7glqD+VYnCZMElZYaPKbtvMYI="; + hash = "sha256-Y0FMCq4crSbm0tJtYq04ZFwWw+vlfxXKXBo0XUgf7hw="; }; postPatch = '' diff --git a/pkgs/by-name/mu/multiqc/package.nix b/pkgs/by-name/mu/multiqc/package.nix index ad401e888e09..54e6dd7c8301 100644 --- a/pkgs/by-name/mu/multiqc/package.nix +++ b/pkgs/by-name/mu/multiqc/package.nix @@ -8,28 +8,27 @@ addBinToPathHook, }: +let + test-data = fetchFromGitHub { + name = "test-data"; + owner = "MultiQC"; + repo = "test-data"; + rev = "d775b73c106d48726653f2fd02e473b7acbd93d8"; + hash = "sha256-uxBpMx22gWJmnbF9tVuVIdYdiqUh7n51swzu5hnfZQ0="; + }; +in python3Packages.buildPythonApplication rec { pname = "multiqc"; version = "1.29"; - format = "setuptools"; + pyproject = true; - # Two data sources. One for the code, another for the test data - srcs = [ - (fetchFromGitHub { - name = "multiqc"; - owner = "MultiQC"; - repo = "MultiQC"; - tag = "v${version}"; - hash = "sha256-KKLdDNf889lEbCyNpJFZoE8rNO50CRzNP4hKpKHRAcE="; - }) - (fetchFromGitHub { - owner = "MultiQC"; - repo = "test-data"; - rev = "d775b73c106d48726653f2fd02e473b7acbd93d8"; - hash = "sha256-uxBpMx22gWJmnbF9tVuVIdYdiqUh7n51swzu5hnfZQ0="; - name = "test-data"; - }) - ]; + src = fetchFromGitHub { + name = "multiqc"; + owner = "MultiQC"; + repo = "MultiQC"; + tag = "v${version}"; + hash = "sha256-KKLdDNf889lEbCyNpJFZoE8rNO50CRzNP4hKpKHRAcE="; + }; # Multiqc cannot remove temporary directories in some case. # Default is 10 retries, lower it to 2 @@ -40,20 +39,19 @@ python3Packages.buildPythonApplication rec { "max_retries: int = 2," ''; - sourceRoot = "multiqc"; + build-system = with python3Packages; [ setuptools ]; dependencies = with python3Packages; [ + boto3 click humanize importlib-metadata jinja2 kaleido markdown - natsort numpy packaging requests - polars pillow plotly pyyaml @@ -65,7 +63,11 @@ python3Packages.buildPythonApplication rec { typeguard tqdm python-dotenv + natsort + tiktoken jsonschema + polars + pyarrow ]; optional-dependencies = { @@ -73,7 +75,7 @@ python3Packages.buildPythonApplication rec { pre-commit-hooks pdoc3 pytest - pytest-cov-stub + pytest-cov pytest-xdist syrupy pygithub @@ -87,26 +89,19 @@ python3Packages.buildPythonApplication rec { ]; }; - # Some tests run subprocess.run() with "multiqc" preCheck = '' - chmod -R u+w ../test-data - ln -s ../test-data . + ln -s ${test-data} ./test-data ''; - # Some tests run subprocess.run() with "ps" nativeCheckInputs = - with python3Packages; - [ - procps - pytest-cov + (with python3Packages; [ pytest-xdist pytestCheckHook - syrupy - pygithub - versionCheckHook - ] + ]) ++ [ - addBinToPathHook + addBinToPathHook # Some tests run subprocess.run() with "multiqc" + procps # Some tests run subprocess.run() with "ps" + versionCheckHook ]; versionCheckProgramArg = "--version"; diff --git a/pkgs/by-name/n8/n8n/package.nix b/pkgs/by-name/n8/n8n/package.nix index 5cd58bfd7751..a59c7fe2b94a 100644 --- a/pkgs/by-name/n8/n8n/package.nix +++ b/pkgs/by-name/n8/n8n/package.nix @@ -17,19 +17,19 @@ stdenv.mkDerivation (finalAttrs: { pname = "n8n"; - version = "1.104.1"; + version = "1.105.3"; src = fetchFromGitHub { owner = "n8n-io"; repo = "n8n"; tag = "n8n@${finalAttrs.version}"; - hash = "sha256-/GrpcJU94NqeTAcXVGWG+NamS28cLxKDSr6M4sF6Els="; + hash = "sha256-IsAazA4DCkcOE5lNbxNMYgWAZycwjLYneSFBLAhltac="; }; pnpmDeps = pnpm_10.fetchDeps { inherit (finalAttrs) pname version src; fetcherVersion = 1; - hash = "sha256-UhCwZPthRZSF5ZLFLc5SgG5EZeFySnCRLqGRbc+3F/U="; + hash = "sha256-maKD03Gr1gGUQwvTk35kv89a9TvzsIeKqI9NjjTO1TQ="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/ne/netbird-management/package.nix b/pkgs/by-name/ne/netbird-management/package.nix new file mode 100644 index 000000000000..e56743ab82fe --- /dev/null +++ b/pkgs/by-name/ne/netbird-management/package.nix @@ -0,0 +1,5 @@ +{ netbird }: + +netbird.override { + componentName = "management"; +} diff --git a/pkgs/by-name/ne/netbird-relay/package.nix b/pkgs/by-name/ne/netbird-relay/package.nix new file mode 100644 index 000000000000..7eb4459c9dd1 --- /dev/null +++ b/pkgs/by-name/ne/netbird-relay/package.nix @@ -0,0 +1,5 @@ +{ netbird }: + +netbird.override { + componentName = "relay"; +} diff --git a/pkgs/by-name/ne/netbird-signal/package.nix b/pkgs/by-name/ne/netbird-signal/package.nix new file mode 100644 index 000000000000..6e994d7cbd72 --- /dev/null +++ b/pkgs/by-name/ne/netbird-signal/package.nix @@ -0,0 +1,5 @@ +{ netbird }: + +netbird.override { + componentName = "signal"; +} diff --git a/pkgs/by-name/ne/netbird-ui/package.nix b/pkgs/by-name/ne/netbird-ui/package.nix index 8a5ad19846b0..297e40c870d0 100644 --- a/pkgs/by-name/ne/netbird-ui/package.nix +++ b/pkgs/by-name/ne/netbird-ui/package.nix @@ -1,5 +1,5 @@ { netbird }: netbird.override { - ui = true; + componentName = "ui"; } diff --git a/pkgs/by-name/ne/netbird-upload/package.nix b/pkgs/by-name/ne/netbird-upload/package.nix new file mode 100644 index 000000000000..5ca47f5a59f6 --- /dev/null +++ b/pkgs/by-name/ne/netbird-upload/package.nix @@ -0,0 +1,5 @@ +{ netbird }: + +netbird.override { + componentName = "upload"; +} diff --git a/pkgs/by-name/ne/netbird/package.nix b/pkgs/by-name/ne/netbird/package.nix index 2ae8e43b8ac2..2f894ee8b180 100644 --- a/pkgs/by-name/ne/netbird/package.nix +++ b/pkgs/by-name/ne/netbird/package.nix @@ -12,39 +12,72 @@ libX11, libXcursor, libXxf86vm, - ui ? false, netbird-ui, versionCheckHook, + componentName ? "client", }: let - modules = - if ui then - { - "client/ui" = "netbird-ui"; - } - else - { - client = "netbird"; - management = "netbird-mgmt"; - signal = "netbird-signal"; - }; + /* + License tagging is based off: + - https://github.com/netbirdio/netbird/blob/9e95841252c62b50ae93805c8dfd2b749ac95ea7/LICENSES/REUSE.toml + - https://github.com/netbirdio/netbird/blob/9e95841252c62b50ae93805c8dfd2b749ac95ea7/LICENSE#L1-L2 + */ + availableComponents = { + client = { + module = "client"; + binaryName = "netbird"; + license = lib.licenses.bsd3; + versionCheckProgramArg = "version"; + hasCompletion = true; + }; + ui = { + module = "client/ui"; + binaryName = "netbird-ui"; + license = lib.licenses.bsd3; + }; + upload = { + module = "upload-server"; + binaryName = "netbird-upload"; + license = lib.licenses.bsd3; + }; + management = { + module = "management"; + binaryName = "netbird-mgmt"; + license = lib.licenses.agpl3Only; + versionCheckProgramArg = "--version"; + hasCompletion = true; + }; + signal = { + module = "signal"; + binaryName = "netbird-signal"; + license = lib.licenses.agpl3Only; + hasCompletion = true; + }; + relay = { + module = "relay"; + binaryName = "netbird-relay"; + license = lib.licenses.agpl3Only; + }; + }; + isUI = componentName == "ui"; + component = availableComponents.${componentName}; in buildGoModule (finalAttrs: { - pname = "netbird"; - version = "0.49.0"; + pname = "netbird-${componentName}"; + version = "0.54.0"; src = fetchFromGitHub { owner = "netbirdio"; repo = "netbird"; tag = "v${finalAttrs.version}"; - hash = "sha256-Hv0A9/NTMzRAf9YvYGvRLyy2gdigF9y2NfylE8bLcTw="; + hash = "sha256-qKYJa7q7scEbbxLHaosaurrjXR5ABxCAnuUcy80yKEc="; }; - vendorHash = "sha256-t/X/muMwHVwg8Or+pFTSEQEsnkKLuApoVUmMhyCImWI="; + vendorHash = "sha256-uVVm+iDGP2eZ5GVXWJrWZQ7LpHdZccRIiHPIFs6oAPo="; - nativeBuildInputs = [ installShellFiles ] ++ lib.optional ui pkg-config; + nativeBuildInputs = [ installShellFiles ] ++ lib.optional isUI pkg-config; - buildInputs = lib.optionals (stdenv.hostPlatform.isLinux && ui) [ + buildInputs = lib.optionals (stdenv.hostPlatform.isLinux && isUI) [ gtk3 libayatana-appindicator libX11 @@ -52,7 +85,7 @@ buildGoModule (finalAttrs: { libXxf86vm ]; - subPackages = lib.attrNames modules; + subPackages = [ component.module ]; ldflags = [ "-s" @@ -73,35 +106,36 @@ buildGoModule (finalAttrs: { ''; postInstall = - lib.concatStringsSep "\n" ( - lib.mapAttrsToList ( - module: binary: + let + builtBinaryName = lib.last (lib.splitString "/" component.module); + in + '' + mv $out/bin/${builtBinaryName} $out/bin/${component.binaryName} + '' + + + lib.optionalString + (stdenv.buildPlatform.canExecute stdenv.hostPlatform && (component.hasCompletion or false)) '' - mv $out/bin/${lib.last (lib.splitString "/" module)} $out/bin/${binary} + installShellCompletion --cmd ${component.binaryName} \ + --bash <($out/bin/${component.binaryName} completion bash) \ + --fish <($out/bin/${component.binaryName} completion fish) \ + --zsh <($out/bin/${component.binaryName} completion zsh) '' - + lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform && !ui) '' - installShellCompletion --cmd ${binary} \ - --bash <($out/bin/${binary} completion bash) \ - --fish <($out/bin/${binary} completion fish) \ - --zsh <($out/bin/${binary} completion zsh) - '' - ) modules - ) - + lib.optionalString (stdenv.hostPlatform.isLinux && ui) '' + # assemble & adjust netbird.desktop files for the GUI + + lib.optionalString (stdenv.hostPlatform.isLinux && isUI) '' install -Dm644 "$src/client/ui/assets/netbird-systemtray-connected.png" "$out/share/pixmaps/netbird.png" install -Dm644 "$src/client/ui/build/netbird.desktop" "$out/share/applications/netbird.desktop" substituteInPlace $out/share/applications/netbird.desktop \ - --replace-fail "Exec=/usr/bin/netbird-ui" "Exec=$out/bin/netbird-ui" + --replace-fail "Exec=/usr/bin/netbird-ui" "Exec=$out/bin/${component.binaryName}" ''; nativeInstallCheckInputs = [ versionCheckHook ]; - versionCheckProgram = "${placeholder "out"}/bin/${finalAttrs.meta.mainProgram}"; - versionCheckProgramArg = "version"; - # Disabled for the `netbird-ui` version because it does a network request. - doInstallCheck = !ui; + versionCheckProgram = "${placeholder "out"}/bin/${component.binaryName}"; + versionCheckProgramArg = component.versionCheckProgramArg or "version"; + doInstallCheck = component ? versionCheckProgramArg; passthru = { tests = { @@ -115,11 +149,12 @@ buildGoModule (finalAttrs: { homepage = "https://netbird.io"; changelog = "https://github.com/netbirdio/netbird/releases/tag/v${finalAttrs.version}"; description = "Connect your devices into a single secure private WireGuard®-based mesh network with SSO/MFA and simple access controls"; - license = lib.licenses.bsd3; + license = component.license; maintainers = with lib.maintainers; [ + nazarewk saturn745 loc ]; - mainProgram = if ui then "netbird-ui" else "netbird"; + mainProgram = component.binaryName; }; }) diff --git a/pkgs/by-name/nh/nheko/package.nix b/pkgs/by-name/nh/nheko/package.nix index da6de4c45f93..ddf73924c487 100644 --- a/pkgs/by-name/nh/nheko/package.nix +++ b/pkgs/by-name/nh/nheko/package.nix @@ -26,13 +26,13 @@ stdenv.mkDerivation rec { pname = "nheko"; - version = "0.12.0"; + version = "0.12.1"; src = fetchFromGitHub { owner = "Nheko-Reborn"; repo = "nheko"; rev = "v${version}"; - hash = "sha256-hQb+K8ogNj/s6ZO2kgS/sZZ35y4CwMeS3lVeMYNucYQ="; + hash = "sha256-WlWxe4utRSc9Tt2FsnhBwxzQsoDML2hvm3g5zRnDEiU="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/ni/nixfmt-tree/package.nix b/pkgs/by-name/ni/nixfmt-tree/package.nix index d66d23ef3d2e..2d5c3a7f1422 100644 --- a/pkgs/by-name/ni/nixfmt-tree/package.nix +++ b/pkgs/by-name/ni/nixfmt-tree/package.nix @@ -95,7 +95,7 @@ treefmtWithConfig.overrideAttrs { You can achieve similar results by manually configuring `treefmt`: ```nix pkgs.treefmt.withConfig { - runtimeInputs = [ pkgs.nixfmt-rfc-style ]; + runtimeInputs = [ pkgs.nixfmt ]; settings = { # Log level for files treefmt won't format diff --git a/pkgs/by-name/ni/nixos-install/nixos-install.sh b/pkgs/by-name/ni/nixos-install/nixos-install.sh index b15103c5ce14..2a592223a921 100755 --- a/pkgs/by-name/ni/nixos-install/nixos-install.sh +++ b/pkgs/by-name/ni/nixos-install/nixos-install.sh @@ -122,14 +122,6 @@ while [[ "$checkPath" != "/" ]]; do checkPath="$(dirname "$checkPath")" done -# Check if the mount point root directory is owned by root -if [[ "$(stat -c '%u:%g' "$mountPoint")" != "0:0" ]]; then - echo "$0: $mountPoint is not owned by root:root (owned by $(stat -c '%U:%G' "$mountPoint"))" - echo "$0: installation root directory must be owned by root to avoid system issues" - echo "$0: run 'sudo chown root:root $mountPoint' to fix this" - exit 1 -fi - # Verify that user is not trying to use attribute building and flake # at the same time if [[ -z $buildingAttribute && -n $flake ]]; then diff --git a/pkgs/by-name/ni/nixos-rebuild-ng/README.md b/pkgs/by-name/ni/nixos-rebuild-ng/README.md index bcbadeee301b..3192c044e262 100644 --- a/pkgs/by-name/ni/nixos-rebuild-ng/README.md +++ b/pkgs/by-name/ni/nixos-rebuild-ng/README.md @@ -89,9 +89,8 @@ not possible to fix, please open an issue and we can discuss a solution. your password wrong, it will fail during activation (this can be improved though) - When `--build-host` and `--target-host` are used together, we will use `nix - copy` (or 2 `nix-copy-closure` if you're using Nix <2.18) instead of SSH'ing - to build host and using `nix-copy-closure --to target-host`. The reason for - this is documented in PR + copy` instead of SSH'ing to build host and using + `nix-copy-closure --to target-host`. The reason for this is documented in PR [#364698](https://github.com/NixOS/nixpkgs/pull/364698). If you do need the previous behavior, you can simulate it using `ssh build-host -- nixos-rebuild-ng switch --target-host target-host`. If that is not the case, @@ -119,7 +118,7 @@ not possible to fix, please open an issue and we can discuss a solution. and there was a need to bootstrap a new version of Nix before evaluating the configuration (otherwise the new Nixpkgs version may have code that is only compatible with a newer version of Nix). Nixpkgs now has a policy to be - compatible with Nix 2.3, and even if this is bumped as long we don't do + compatible with Nix 2.18, and even if this is bumped as long we don't do drastic minimum version changes this should not be an issue. Also, the daemon itself always run with the previous version since even we can replace Nix in `PATH` (so Nix client), but we can't replace the daemon without switching to diff --git a/pkgs/by-name/ni/nixos-rebuild-ng/nixos-rebuild.8.scd b/pkgs/by-name/ni/nixos-rebuild-ng/nixos-rebuild.8.scd index 43d1f3033419..fdb3b1382d99 100644 --- a/pkgs/by-name/ni/nixos-rebuild-ng/nixos-rebuild.8.scd +++ b/pkgs/by-name/ni/nixos-rebuild-ng/nixos-rebuild.8.scd @@ -251,10 +251,10 @@ It must be one of the following: *--use-substitutes* When set, nixos-rebuild will add *--use-substitutes* to each invocation - of _nix-copy-closure_/_nix copy_. This will only affect the behavior of - nixos-rebuild if *--target-host* or *--build-host* is also set. This is - useful when the target-host connection to cache.nixos.org is faster than - the connection between hosts. + of _nix copy_. This will only affect the behavior of nixos-rebuild if + *--target-host* or *--build-host* is also set. This is useful when the + target-host connection to cache.nixos.org is faster than the connection + between hosts. *--sudo* When set, *nixos-rebuild* prefixes activation commands with sudo. diff --git a/pkgs/by-name/ni/nixos-rebuild-ng/package.nix b/pkgs/by-name/ni/nixos-rebuild-ng/package.nix index e7aa5f3d3ff4..371d32af592f 100644 --- a/pkgs/by-name/ni/nixos-rebuild-ng/package.nix +++ b/pkgs/by-name/ni/nixos-rebuild-ng/package.nix @@ -15,13 +15,6 @@ # Very long tmp dirs lead to "too long for Unix domain socket" # SSH ControlPath errors. Especially macOS sets long TMPDIR paths. withTmpdir ? if stdenv.hostPlatform.isDarwin then "/tmp" else null, - # This version is kind of arbitrary, we use some features that were - # implemented in newer versions of Nix, but not necessary 2.18. - # However, Lix is a fork of Nix 2.18, so this looks like a good version - # to cut specific functionality. - # ATTN: This currently doesn't disambiguate between Nix and Lix, so using this - # in a conditional needs careful checking against both Nix implementations. - withNix218 ? lib.versionAtLeast nix.version "2.18", # passthru.tests nixosTests, nixVersions, @@ -62,7 +55,6 @@ python3Packages.buildPythonApplication rec { postPatch = '' substituteInPlace nixos_rebuild/constants.py \ --subst-var-by executable ${executable} \ - --subst-var-by withNix218 ${lib.boolToString withNix218} \ --subst-var-by withReexec ${lib.boolToString withReexec} \ --subst-var-by withShellFiles ${lib.boolToString withShellFiles} @@ -121,9 +113,9 @@ python3Packages.buildPythonApplication rec { with_nix_stable = nixos-rebuild-ng.override { nix = nixVersions.stable; }; - with_nix_2_3 = nixos-rebuild-ng.override { - # oldest / minimum supported version in nixpkgs - nix = nixVersions.nix_2_3; + with_nix_2_24 = nixos-rebuild-ng.override { + # oldest supported version in nixpkgs + nix = nixVersions.nix_2_24; }; with_lix_latest = nixos-rebuild-ng.override { nix = lixPackageSets.latest.lix; diff --git a/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/__init__.py b/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/__init__.py index 59ba3fd340da..78f30989ba02 100644 --- a/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/__init__.py +++ b/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/__init__.py @@ -6,7 +6,7 @@ from subprocess import CalledProcessError, run from typing import Final, assert_never from . import nix, services -from .constants import EXECUTABLE, WITH_NIX_2_18, WITH_REEXEC, WITH_SHELL_FILES +from .constants import EXECUTABLE, WITH_REEXEC, WITH_SHELL_FILES from .models import Action, BuildAttr, Flake, Profile from .process import Remote from .utils import LogFormatter @@ -270,9 +270,6 @@ def parse_args( def execute(argv: list[str]) -> None: args, args_groups = parse_args(argv) - if not WITH_NIX_2_18: - logger.warning("you're using Nix <2.18, some features will not work correctly") - common_flags = vars(args_groups["common_flags"]) common_build_flags = common_flags | vars(args_groups["common_build_flags"]) build_flags = common_build_flags | vars(args_groups["classic_build_flags"]) diff --git a/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/constants.py b/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/constants.py index ef706af7b342..a00327060765 100644 --- a/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/constants.py +++ b/pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/constants.py @@ -6,6 +6,5 @@ from typing import Final EXECUTABLE: Final[str] = "@executable@" # Use either `== "true"` if the default (e.g.: `python -m nixos_rebuild`) is # `False` or `!= "false"` if the default is `True` -WITH_NIX_2_18: Final[bool] = "@withNix218@" != "false" WITH_REEXEC: Final[bool] = "@withReexec@" == "true" WITH_SHELL_FILES: Final[bool] = "@withShellFiles@" == "true" 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 9a2d6a131580..8580ddffd83a 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 @@ -13,7 +13,6 @@ from textwrap import dedent from typing import Final, Literal from . import tmpdir -from .constants import WITH_NIX_2_18 from .models import ( Action, BuildAttr, @@ -228,18 +227,7 @@ def copy_closure( case (Remote(_) as host, None) | (None, Remote(_) as host): nix_copy_closure(host, to=bool(to_host)) case (Remote(_), Remote(_)): - if WITH_NIX_2_18: - # With newer Nix, use `nix copy` instead of `nix-copy-closure` - # since it supports `--to` and `--from` at the same time - # TODO: once we drop Nix 2.3 from nixpkgs, remove support for - # `nix-copy-closure` - nix_copy(to_host, from_host) - else: - # With older Nix, we need to copy from to local and local to - # host. This means it is slower and need additional disk space - # in local - nix_copy_closure(from_host, to=False) - nix_copy_closure(to_host, to=True) + nix_copy(to_host, from_host) def edit() -> None: diff --git a/pkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py b/pkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py index c49bb43d3445..f20f35308e10 100644 --- a/pkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py +++ b/pkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_main.py @@ -10,7 +10,6 @@ from unittest.mock import ANY, Mock, call, patch import pytest import nixos_rebuild as nr -from nixos_rebuild.constants import WITH_NIX_2_18 from .helpers import get_qualified_name @@ -450,10 +449,6 @@ def test_execute_nix_switch_flake(mock_run: Mock, tmp_path: Path) -> None: @patch("subprocess.run", autospec=True) @patch("uuid.uuid4", autospec=True) @patch(get_qualified_name(nr.services.cleanup_ssh), autospec=True) -@pytest.mark.skipif( - not WITH_NIX_2_18, - reason="Tests internal logic based on the assumption that Nix >= 2.18", -) def test_execute_nix_switch_build_target_host( mock_cleanup_ssh: Mock, mock_uuid4: Mock, diff --git a/pkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_nix.py b/pkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_nix.py index 9833aade3b99..639910e6620d 100644 --- a/pkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_nix.py +++ b/pkgs/by-name/ni/nixos-rebuild-ng/src/tests/test_nix.py @@ -254,7 +254,6 @@ def test_copy_closure(monkeypatch: MonkeyPatch) -> None: ) monkeypatch.setenv("NIX_SSHOPTS", "--ssh build-target-opt") - monkeypatch.setattr(n, "WITH_NIX_2_18", True) extra_env = { "NIX_SSHOPTS": " ".join([*p.SSH_DEFAULT_OPTS, "--ssh build-target-opt"]) } @@ -276,22 +275,6 @@ def test_copy_closure(monkeypatch: MonkeyPatch) -> None: extra_env=extra_env, ) - monkeypatch.setattr(n, "WITH_NIX_2_18", False) - with patch(get_qualified_name(n.run_wrapper, n), autospec=True) as mock_run: - n.copy_closure(closure, target_host, build_host) - mock_run.assert_has_calls( - [ - call( - ["nix-copy-closure", "--from", "user@build.host", closure], - extra_env=extra_env, - ), - call( - ["nix-copy-closure", "--to", "user@target.host", closure], - extra_env=extra_env, - ), - ] - ) - @patch(get_qualified_name(n.run_wrapper, n), autospec=True) def test_edit(mock_run: Mock, monkeypatch: MonkeyPatch, tmpdir: Path) -> None: diff --git a/pkgs/by-name/no/node-core-utils/package.nix b/pkgs/by-name/no/node-core-utils/package.nix index 4a4978de2084..21667d6417ae 100644 --- a/pkgs/by-name/no/node-core-utils/package.nix +++ b/pkgs/by-name/no/node-core-utils/package.nix @@ -9,16 +9,16 @@ buildNpmPackage (finalAttrs: { pname = "node-core-utils"; - version = "5.14.1"; + version = "5.15.0"; src = fetchFromGitHub { owner = "nodejs"; repo = "node-core-utils"; tag = "v${finalAttrs.version}"; - hash = "sha256-F+WMwyMw4cgGevcgi7vUkboXjZmBpPKsTUDvM6NHr0o="; + hash = "sha256-yY3EGSBdMpvUIq8UgeEcAm1RIaaNtZxCVp6TlycYjoY="; }; - npmDepsHash = "sha256-fMWb17t+ARJYsA7DgEBDY3vfbLrrCQiECRy947I90uI="; + npmDepsHash = "sha256-VIkJHEGlJqweNVkx3WfLMiDOQRSPtwpJBfJ3vKHv4YM="; dontNpmBuild = true; dontNpmPrune = true; diff --git a/pkgs/by-name/no/node-gyp/package-lock.json b/pkgs/by-name/no/node-gyp/package-lock.json index 18c4c6678063..d9f28f693a00 100644 --- a/pkgs/by-name/no/node-gyp/package-lock.json +++ b/pkgs/by-name/no/node-gyp/package-lock.json @@ -1,12 +1,12 @@ { "name": "node-gyp", - "version": "11.2.0", + "version": "11.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "node-gyp", - "version": "11.2.0", + "version": "11.3.0", "license": "MIT", "dependencies": { "env-paths": "^2.2.0", @@ -37,9 +37,9 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.5.1.tgz", - "integrity": "sha512-soEIOALTfTK6EjmKMMoLugwaP0rzkad90iIWd1hMO9ARkSAyjfMfkRRhLvD5qH7vvM0Cg72pieUfR6yh6XxC4w==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", "dev": true, "license": "MIT", "dependencies": { @@ -79,9 +79,9 @@ } }, "node_modules/@eslint/config-array": { - "version": "0.19.2", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.2.tgz", - "integrity": "sha512-GNKqxfHG2ySmJOBSHg7LxeUx4xpuCoFjacmlCoYWEbaPXLwvfIjixRI12xCQZeULksQb23uiA8F40w5TojpV7w==", + "version": "0.21.0", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.0.tgz", + "integrity": "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -94,9 +94,9 @@ } }, "node_modules/@eslint/config-helpers": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.1.tgz", - "integrity": "sha512-RI17tsD2frtDu/3dmI7QRrD4bedNKPM08ziRYaC5AhkGrzIAJelm9kJU1TznK+apx6V+cqRz8tfpEeG3oIyjxw==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.0.tgz", + "integrity": "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw==", "dev": true, "license": "Apache-2.0", "engines": { @@ -104,9 +104,9 @@ } }, "node_modules/@eslint/core": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.12.0.tgz", - "integrity": "sha512-cmrR6pytBuSMTaBweKoGMwu3EiHiEC+DoyupPmlZ0HxBJBtIxwe+j/E4XPIKNx+Q74c8lXKPwYawBf5glsTkHg==", + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz", + "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -141,13 +141,16 @@ } }, "node_modules/@eslint/js": { - "version": "9.23.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.23.0.tgz", - "integrity": "sha512-35MJ8vCPU0ZMxo7zfev2pypqTwWTofFZO6m4KAtdoFhRpLJUpHTZZ+KB3C7Hb1d7bULYwO4lJXGCi5Se+8OMbw==", + "version": "9.32.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.32.0.tgz", + "integrity": "sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg==", "dev": true, "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" } }, "node_modules/@eslint/object-schema": { @@ -161,32 +164,19 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.8.tgz", - "integrity": "sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==", + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz", + "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@eslint/core": "^0.13.0", + "@eslint/core": "^0.15.1", "levn": "^0.4.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.13.0.tgz", - "integrity": "sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@types/json-schema": "^7.0.15" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/@humanfs/core": { "version": "0.19.1", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", @@ -251,9 +241,9 @@ } }, "node_modules/@humanwhocodes/retry": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.2.tgz", - "integrity": "sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", "dev": true, "license": "Apache-2.0", "engines": { @@ -389,23 +379,10 @@ "eslint": ">=8.40.0" } }, - "node_modules/@stylistic/eslint-plugin/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/@types/estree": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz", - "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", "dev": true, "license": "MIT" }, @@ -417,21 +394,21 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.29.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.29.0.tgz", - "integrity": "sha512-PAIpk/U7NIS6H7TEtN45SPGLQaHNgB7wSjsQV/8+KYokAb2T/gloOA/Bee2yd4/yKVhPKe5LlaUGhAZk5zmSaQ==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.38.0.tgz", + "integrity": "sha512-CPoznzpuAnIOl4nhj4tRr4gIPj5AfKgkiJmGQDaq+fQnRJTYlcBjbX3wbciGmpoPf8DREufuPRe1tNMZnGdanA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.29.0", - "@typescript-eslint/type-utils": "8.29.0", - "@typescript-eslint/utils": "8.29.0", - "@typescript-eslint/visitor-keys": "8.29.0", + "@typescript-eslint/scope-manager": "8.38.0", + "@typescript-eslint/type-utils": "8.38.0", + "@typescript-eslint/utils": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0", "graphemer": "^1.4.0", - "ignore": "^5.3.1", + "ignore": "^7.0.0", "natural-compare": "^1.4.0", - "ts-api-utils": "^2.0.1" + "ts-api-utils": "^2.1.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -441,22 +418,32 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "@typescript-eslint/parser": "^8.38.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/@typescript-eslint/parser": { - "version": "8.29.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.29.0.tgz", - "integrity": "sha512-8C0+jlNJOwQso2GapCVWWfW/rzaq7Lbme+vGUFKE31djwNncIpgXD7Cd4weEsDdkoZDjH0lwwr3QDQFuyrMg9g==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.38.0.tgz", + "integrity": "sha512-Zhy8HCvBUEfBECzIl1PKqF4p11+d0aUJS1GeUiuqK9WmOug8YCmC4h4bjyBvMyAMI9sbRczmrYL5lKg/YMbrcQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.29.0", - "@typescript-eslint/types": "8.29.0", - "@typescript-eslint/typescript-estree": "8.29.0", - "@typescript-eslint/visitor-keys": "8.29.0", + "@typescript-eslint/scope-manager": "8.38.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0", "debug": "^4.3.4" }, "engines": { @@ -471,15 +458,37 @@ "typescript": ">=4.8.4 <5.9.0" } }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "8.29.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.29.0.tgz", - "integrity": "sha512-aO1PVsq7Gm+tcghabUpzEnVSFMCU4/nYIgC2GOatJcllvWfnhrgW0ZEbnTxm36QsikmCN1K/6ZgM7fok2I7xNw==", + "node_modules/@typescript-eslint/project-service": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.38.0.tgz", + "integrity": "sha512-dbK7Jvqcb8c9QfH01YB6pORpqX1mn5gDZc9n63Ak/+jD67oWXn3Gs0M6vddAN+eDXBCS5EmNWzbSxsn9SzFWWg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.29.0", - "@typescript-eslint/visitor-keys": "8.29.0" + "@typescript-eslint/tsconfig-utils": "^8.38.0", + "@typescript-eslint/types": "^8.38.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.9.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.38.0.tgz", + "integrity": "sha512-WJw3AVlFFcdT9Ri1xs/lg8LwDqgekWXWhH3iAF+1ZM+QPd7oxQ6jvtW/JPwzAScxitILUIFs0/AnQ/UWHzbATQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -489,17 +498,35 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.38.0.tgz", + "integrity": "sha512-Lum9RtSE3EroKk/bYns+sPOodqb2Fv50XOl/gMviMKNvanETUuUcC9ObRbzrJ4VSd2JalPqgSAavwrPiPvnAiQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.9.0" + } + }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.29.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.29.0.tgz", - "integrity": "sha512-ahaWQ42JAOx+NKEf5++WC/ua17q5l+j1GFrbbpVKzFL/tKVc0aYY8rVSYUpUvt2hUP1YBr7mwXzx+E/DfUWI9Q==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.38.0.tgz", + "integrity": "sha512-c7jAvGEZVf0ao2z+nnz8BUaHZD09Agbh+DY7qvBQqLiz8uJzRgVPj5YvOh8I8uEiH8oIUGIfHzMwUcGVco/SJg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.29.0", - "@typescript-eslint/utils": "8.29.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0", + "@typescript-eslint/utils": "8.38.0", "debug": "^4.3.4", - "ts-api-utils": "^2.0.1" + "ts-api-utils": "^2.1.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -514,9 +541,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.29.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.29.0.tgz", - "integrity": "sha512-wcJL/+cOXV+RE3gjCyl/V2G877+2faqvlgtso/ZRbTCnZazh0gXhe+7gbAnfubzN2bNsBtZjDvlh7ero8uIbzg==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.38.0.tgz", + "integrity": "sha512-wzkUfX3plUqij4YwWaJyqhiPE5UCRVlFpKn1oCRn2O1bJ592XxWJj8ROQ3JD5MYXLORW84063z3tZTb/cs4Tyw==", "dev": true, "license": "MIT", "engines": { @@ -528,20 +555,22 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.29.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.29.0.tgz", - "integrity": "sha512-yOfen3jE9ISZR/hHpU/bmNvTtBW1NjRbkSFdZOksL1N+ybPEE7UVGMwqvS6CP022Rp00Sb0tdiIkhSCe6NI8ow==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.38.0.tgz", + "integrity": "sha512-fooELKcAKzxux6fA6pxOflpNS0jc+nOQEEOipXFNjSlBS6fqrJOVY/whSn70SScHrcJ2LDsxWrneFoWYSVfqhQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.29.0", - "@typescript-eslint/visitor-keys": "8.29.0", + "@typescript-eslint/project-service": "8.38.0", + "@typescript-eslint/tsconfig-utils": "8.38.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/visitor-keys": "8.38.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^2.0.1" + "ts-api-utils": "^2.1.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -555,9 +584,9 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, "license": "MIT", "dependencies": { @@ -581,16 +610,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.29.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.29.0.tgz", - "integrity": "sha512-gX/A0Mz9Bskm8avSWFcK0gP7cZpbY4AIo6B0hWYFCaIsz750oaiWR4Jr2CI+PQhfW1CpcQr9OlfPS+kMFegjXA==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.38.0.tgz", + "integrity": "sha512-hHcMA86Hgt+ijJlrD8fX0j1j8w4C92zue/8LOPAFioIno+W0+L7KqE8QZKCcPGc/92Vs9x36w/4MPTJhqXdyvg==", "dev": true, "license": "MIT", "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.29.0", - "@typescript-eslint/types": "8.29.0", - "@typescript-eslint/typescript-estree": "8.29.0" + "@eslint-community/eslint-utils": "^4.7.0", + "@typescript-eslint/scope-manager": "8.38.0", + "@typescript-eslint/types": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -605,14 +634,14 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.29.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.29.0.tgz", - "integrity": "sha512-Sne/pVz8ryR03NFK21VpN88dZ2FdQXOlq3VIklbrTYEt8yXtRFr9tvUhqvCeKjqYk5FSim37sHbooT6vzBTZcg==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.38.0.tgz", + "integrity": "sha512-pWrTcoFNWuwHlA9CvlfSsGWs14JxfN1TH25zM5L7o0pRLhsoZkDnTsXfQRJBEWJoV5DL0jf+Z+sxiud+K0mq1g==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.29.0", - "eslint-visitor-keys": "^4.2.0" + "@typescript-eslint/types": "8.38.0", + "eslint-visitor-keys": "^4.2.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -623,18 +652,18 @@ } }, "node_modules/abbrev": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.0.tgz", - "integrity": "sha512-+/kfrslGQ7TNV2ecmQwMJj/B65g5KVq1/L3SGVZ3tCYGqlzFuFCGBZJtMP99wH3NpEUyAjn0zPdPUg0D+DwrOA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz", + "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==", "license": "ISC", "engines": { "node": "^18.17.0 || >=20.5.0" } }, "node_modules/acorn": { - "version": "8.14.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz", - "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==", + "version": "8.15.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", + "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", "bin": { @@ -655,9 +684,9 @@ } }, "node_modules/agent-base": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz", - "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==", + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", "license": "MIT", "engines": { "node": ">= 14" @@ -680,16 +709,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/ansi-regex": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", @@ -717,20 +736,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "license": "ISC", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -756,18 +761,20 @@ } }, "node_modules/array-includes": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz", - "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==", + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.9.tgz", + "integrity": "sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.4", "define-properties": "^1.2.1", - "es-abstract": "^1.23.2", - "es-object-atoms": "^1.0.0", - "get-intrinsic": "^1.2.4", - "is-string": "^1.0.7" + "es-abstract": "^1.24.0", + "es-object-atoms": "^1.1.1", + "get-intrinsic": "^1.3.0", + "is-string": "^1.1.1", + "math-intrinsics": "^1.1.0" }, "engines": { "node": ">= 0.4" @@ -906,19 +913,6 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "license": "MIT" }, - "node_modules/binary-extensions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/bindings": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", @@ -930,9 +924,9 @@ } }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "license": "MIT", "dependencies": { @@ -1081,41 +1075,19 @@ } }, "node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "dev": true, "license": "MIT", "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" + "readdirp": "^4.0.1" }, "engines": { - "node": ">= 8.10.0" + "node": ">= 14.16.0" }, "funding": { "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/chokidar/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" } }, "node_modules/chownr": { @@ -1339,9 +1311,9 @@ } }, "node_modules/debug": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", - "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", "license": "MIT", "dependencies": { "ms": "^2.1.3" @@ -1412,9 +1384,9 @@ } }, "node_modules/diff": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", - "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", + "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -1472,9 +1444,9 @@ } }, "node_modules/enhanced-resolve": { - "version": "5.18.1", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.1.tgz", - "integrity": "sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==", + "version": "5.18.2", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.2.tgz", + "integrity": "sha512-6Jw4sE1maoRJo3q8MsSIn2onJFbLTOjY9hlx4DZXmOKvLRd1Ok2kXmAGXaafL2+ijsJZ1ClYbl/pmqr9+k4iUQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1501,9 +1473,9 @@ "license": "MIT" }, "node_modules/es-abstract": { - "version": "1.23.9", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.9.tgz", - "integrity": "sha512-py07lI0wjxAC/DcfK1S6G7iANonniZwTISvdPzk9hzeH0IZIshbuuFxLIU96OyF89Yb9hiqWn8M/bY83KY5vzA==", + "version": "1.24.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.0.tgz", + "integrity": "sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg==", "dev": true, "license": "MIT", "dependencies": { @@ -1511,18 +1483,18 @@ "arraybuffer.prototype.slice": "^1.0.4", "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.8", - "call-bound": "^1.0.3", + "call-bound": "^1.0.4", "data-view-buffer": "^1.0.2", "data-view-byte-length": "^1.0.2", "data-view-byte-offset": "^1.0.1", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", - "es-object-atoms": "^1.0.0", + "es-object-atoms": "^1.1.1", "es-set-tostringtag": "^2.1.0", "es-to-primitive": "^1.3.0", "function.prototype.name": "^1.1.8", - "get-intrinsic": "^1.2.7", - "get-proto": "^1.0.0", + "get-intrinsic": "^1.3.0", + "get-proto": "^1.0.1", "get-symbol-description": "^1.1.0", "globalthis": "^1.0.4", "gopd": "^1.2.0", @@ -1534,21 +1506,24 @@ "is-array-buffer": "^3.0.5", "is-callable": "^1.2.7", "is-data-view": "^1.0.2", + "is-negative-zero": "^2.0.3", "is-regex": "^1.2.1", + "is-set": "^2.0.3", "is-shared-array-buffer": "^1.0.4", "is-string": "^1.1.1", "is-typed-array": "^1.1.15", - "is-weakref": "^1.1.0", + "is-weakref": "^1.1.1", "math-intrinsics": "^1.1.0", - "object-inspect": "^1.13.3", + "object-inspect": "^1.13.4", "object-keys": "^1.1.1", "object.assign": "^4.1.7", "own-keys": "^1.0.1", - "regexp.prototype.flags": "^1.5.3", + "regexp.prototype.flags": "^1.5.4", "safe-array-concat": "^1.1.3", "safe-push-apply": "^1.0.0", "safe-regex-test": "^1.1.0", "set-proto": "^1.0.0", + "stop-iteration-iterator": "^1.1.0", "string.prototype.trim": "^1.2.10", "string.prototype.trimend": "^1.0.9", "string.prototype.trimstart": "^1.0.8", @@ -1557,7 +1532,7 @@ "typed-array-byte-offset": "^1.0.4", "typed-array-length": "^1.0.7", "unbox-primitive": "^1.1.0", - "which-typed-array": "^1.1.18" + "which-typed-array": "^1.1.19" }, "engines": { "node": ">= 0.4" @@ -1698,20 +1673,20 @@ } }, "node_modules/eslint": { - "version": "9.23.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.23.0.tgz", - "integrity": "sha512-jV7AbNoFPAY1EkFYpLq5bslU9NLNO8xnEeQXwErNibVryjk67wHVmddTBilc5srIttJDBrB0eMHKZBFbSIABCw==", + "version": "9.32.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.32.0.tgz", + "integrity": "sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", - "@eslint/config-array": "^0.19.2", - "@eslint/config-helpers": "^0.2.0", - "@eslint/core": "^0.12.0", + "@eslint/config-array": "^0.21.0", + "@eslint/config-helpers": "^0.3.0", + "@eslint/core": "^0.15.0", "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "9.23.0", - "@eslint/plugin-kit": "^0.2.7", + "@eslint/js": "9.32.0", + "@eslint/plugin-kit": "^0.3.4", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", @@ -1722,9 +1697,9 @@ "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^8.3.0", - "eslint-visitor-keys": "^4.2.0", - "espree": "^10.3.0", + "eslint-scope": "^8.4.0", + "eslint-visitor-keys": "^4.2.1", + "espree": "^10.4.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -1797,9 +1772,9 @@ } }, "node_modules/eslint-plugin-n": { - "version": "17.17.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-17.17.0.tgz", - "integrity": "sha512-2VvPK7Mo73z1rDFb6pTvkH6kFibAmnTubFq5l83vePxu0WiY1s0LOtj2WHb6Sa40R3w4mnh8GFYbHBQyMlotKw==", + "version": "17.21.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-17.21.3.tgz", + "integrity": "sha512-MtxYjDZhMQgsWRm/4xYLL0i2EhusWT7itDxlJ80l1NND2AL2Vi5Mvneqv/ikG9+zpran0VsVRXTEHrpLmUZRNw==", "dev": true, "license": "MIT", "dependencies": { @@ -1808,9 +1783,10 @@ "eslint-plugin-es-x": "^7.8.0", "get-tsconfig": "^4.8.1", "globals": "^15.11.0", + "globrex": "^0.1.2", "ignore": "^5.3.2", - "minimatch": "^9.0.5", - "semver": "^7.6.3" + "semver": "^7.6.3", + "ts-declaration-location": "^1.0.6" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1822,16 +1798,6 @@ "eslint": ">=8.23.0" } }, - "node_modules/eslint-plugin-n/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, "node_modules/eslint-plugin-n/node_modules/globals": { "version": "15.15.0", "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", @@ -1845,22 +1811,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint-plugin-n/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/eslint-plugin-promise": { "version": "7.2.1", "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-7.2.1.tgz", @@ -1881,9 +1831,9 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.37.4", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.4.tgz", - "integrity": "sha512-BGP0jRmfYyvOyvMoRX/uoUeW+GqNj9y16bPQzqAHf3AYII/tDs+jMN0dBVkl88/OZwNGwrVFxE7riHsXVfy/LQ==", + "version": "7.37.5", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz", + "integrity": "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==", "dev": true, "license": "MIT", "dependencies": { @@ -1897,7 +1847,7 @@ "hasown": "^2.0.2", "jsx-ast-utils": "^2.4.1 || ^3.0.0", "minimatch": "^3.1.2", - "object.entries": "^1.1.8", + "object.entries": "^1.1.9", "object.fromentries": "^2.0.8", "object.values": "^1.2.1", "prop-types": "^15.8.1", @@ -1924,9 +1874,9 @@ } }, "node_modules/eslint-scope": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.3.0.tgz", - "integrity": "sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==", + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz", + "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -1941,9 +1891,9 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", - "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", "dev": true, "license": "Apache-2.0", "engines": { @@ -1954,15 +1904,15 @@ } }, "node_modules/espree": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", - "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz", + "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "acorn": "^8.14.0", + "acorn": "^8.15.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^4.2.0" + "eslint-visitor-keys": "^4.2.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2084,6 +2034,20 @@ "reusify": "^1.0.4" } }, + "node_modules/fdir": { + "version": "6.4.6", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.6.tgz", + "integrity": "sha512-hiFoqpyZcfNm1yc4u8oWCf9A2c4D3QjCrks3zmoVKVxpQRzmPNar1hUJcBG2RQHvEVGDN+Jm81ZheVLAQMK6+w==", + "license": "MIT", + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, "node_modules/file-entry-cache": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", @@ -2209,21 +2173,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -2333,9 +2282,9 @@ } }, "node_modules/get-tsconfig": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.0.tgz", - "integrity": "sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A==", + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.1.tgz", + "integrity": "sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==", "dev": true, "license": "MIT", "dependencies": { @@ -2379,9 +2328,9 @@ } }, "node_modules/glob/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" @@ -2432,6 +2381,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/globrex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", + "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==", + "dev": true, + "license": "MIT" + }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -2563,9 +2519,9 @@ } }, "node_modules/http-cache-semantics": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz", + "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==", "license": "BSD-2-Clause" }, "node_modules/http-proxy-agent": { @@ -2725,19 +2681,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/is-boolean-object": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz", @@ -2899,6 +2842,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-negative-zero": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -3345,6 +3301,19 @@ "node": ">=8.6" } }, + "node_modules/micromatch/node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -3514,29 +3483,29 @@ } }, "node_modules/mocha": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.1.0.tgz", - "integrity": "sha512-8uJR5RTC2NgpY3GrYcgpZrsEd9zKbPDpob1RezyR2upGHRQtHWofmzTMzTMSV6dru3tj5Ukt0+Vnq1qhFEEwAg==", + "version": "11.7.1", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.7.1.tgz", + "integrity": "sha512-5EK+Cty6KheMS/YLPPMJC64g5V61gIR25KsRItHw6x4hEKT6Njp1n9LOlH4gpevuwMVS66SXaBBpg+RWZkza4A==", "dev": true, "license": "MIT", "dependencies": { - "ansi-colors": "^4.1.3", "browser-stdout": "^1.3.1", - "chokidar": "^3.5.3", + "chokidar": "^4.0.1", "debug": "^4.3.5", - "diff": "^5.2.0", + "diff": "^7.0.0", "escape-string-regexp": "^4.0.0", "find-up": "^5.0.0", "glob": "^10.4.5", "he": "^1.2.0", "js-yaml": "^4.1.0", "log-symbols": "^4.1.0", - "minimatch": "^5.1.6", + "minimatch": "^9.0.5", "ms": "^2.1.3", + "picocolors": "^1.1.1", "serialize-javascript": "^6.0.2", "strip-json-comments": "^3.1.1", "supports-color": "^8.1.1", - "workerpool": "^6.5.1", + "workerpool": "^9.2.0", "yargs": "^17.7.2", "yargs-parser": "^21.1.1", "yargs-unparser": "^2.0.0" @@ -3550,9 +3519,9 @@ } }, "node_modules/mocha/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3560,16 +3529,19 @@ } }, "node_modules/mocha/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=10" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/mocha/node_modules/supports-color": { @@ -3595,9 +3567,9 @@ "license": "MIT" }, "node_modules/nan": { - "version": "2.22.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.2.tgz", - "integrity": "sha512-DANghxFkS1plDdRsX0X9pm0Z6SJNN6gBdtXfanwoZ8hooC5gosGFSBGRYHUVPz1asKA/kMRqDRdHrluZ61SpBQ==", + "version": "2.23.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.23.0.tgz", + "integrity": "sha512-1UxuyYGdoQHcGg87Lkqm3FzefucTa0NAiOcuRsDmysep3c1LVCRK2krrUDafMWtjSG04htvAmvg96+SDknOmgQ==", "dev": true, "license": "MIT" }, @@ -3672,16 +3644,6 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -3941,14 +3903,20 @@ "node": ">=18.6.0" } }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", + "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" @@ -4057,16 +4025,17 @@ "license": "MIT" }, "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", "dev": true, "license": "MIT", - "dependencies": { - "picomatch": "^2.2.1" - }, "engines": { - "node": ">=8.10.0" + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" } }, "node_modules/reflect.getprototypeof": { @@ -4299,9 +4268,9 @@ "optional": true }, "node_modules/semver": { - "version": "7.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", - "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -4489,9 +4458,9 @@ } }, "node_modules/socks": { - "version": "2.8.4", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz", - "integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==", + "version": "2.8.6", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.6.tgz", + "integrity": "sha512-pe4Y2yzru68lXCb38aAqRf5gvN8YdjP1lok5o0J7BOHljkyCGKVz7H3vpVIXKD27rj2giOJ7DwVyk/GWrPHDWA==", "license": "MIT", "dependencies": { "ip-address": "^9.0.5", @@ -4534,6 +4503,20 @@ "node": "^18.17.0 || >=20.5.0" } }, + "node_modules/stop-iteration-iterator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz", + "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "internal-slot": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/string-width": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", @@ -4768,9 +4751,9 @@ } }, "node_modules/tapable": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", - "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.2.tgz", + "integrity": "sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg==", "dev": true, "license": "MIT", "engines": { @@ -4795,12 +4778,12 @@ } }, "node_modules/tinyglobby": { - "version": "0.2.12", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.12.tgz", - "integrity": "sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==", + "version": "0.2.14", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz", + "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==", "license": "MIT", "dependencies": { - "fdir": "^6.4.3", + "fdir": "^6.4.4", "picomatch": "^4.0.2" }, "engines": { @@ -4810,32 +4793,6 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.4.3", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz", - "integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==", - "license": "MIT", - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -4862,6 +4819,29 @@ "typescript": ">=4.8.4" } }, + "node_modules/ts-declaration-location": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/ts-declaration-location/-/ts-declaration-location-1.0.7.tgz", + "integrity": "sha512-EDyGAwH1gO0Ausm9gV6T2nUvBgXT5kGoCMJPllOaooZ+4VvJiKBdZE7wK18N1deEowhcUptS+5GXZK8U/fvpwA==", + "dev": true, + "funding": [ + { + "type": "ko-fi", + "url": "https://ko-fi.com/rebeccastevens" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/ts-declaration-location" + } + ], + "license": "BSD-3-Clause", + "dependencies": { + "picomatch": "^4.0.2" + }, + "peerDependencies": { + "typescript": ">=4.0.0" + } + }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -4954,9 +4934,9 @@ } }, "node_modules/typescript": { - "version": "5.8.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", - "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==", + "version": "5.8.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz", + "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true, "license": "Apache-2.0", "peer": true, @@ -4969,15 +4949,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.29.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.29.0.tgz", - "integrity": "sha512-ep9rVd9B4kQsZ7ZnWCVxUE/xDLUUUsRzE0poAeNu+4CkFErLfuvPt/qtm2EpnSyfvsR0S6QzDFSrPCFBwf64fg==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.38.0.tgz", + "integrity": "sha512-FsZlrYK6bPDGoLeZRuvx2v6qrM03I0U0SnfCLPs/XCCPCFD80xU9Pg09H/K+XFa68uJuZo7l/Xhs+eDRg2l3hg==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.29.0", - "@typescript-eslint/parser": "8.29.0", - "@typescript-eslint/utils": "8.29.0" + "@typescript-eslint/eslint-plugin": "8.38.0", + "@typescript-eslint/parser": "8.38.0", + "@typescript-eslint/typescript-estree": "8.38.0", + "@typescript-eslint/utils": "8.38.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -5159,9 +5140,9 @@ } }, "node_modules/workerpool": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz", - "integrity": "sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==", + "version": "9.3.3", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-9.3.3.tgz", + "integrity": "sha512-slxCaKbYjEdFT/o2rH9xS1hf4uRDch1w7Uo+apxhZ+sf/1d9e0ZVkn42kPNGP2dgjIx6YFvSevj0zHvbWe2jdw==", "dev": true, "license": "Apache-2.0" }, diff --git a/pkgs/by-name/no/node-gyp/package.nix b/pkgs/by-name/no/node-gyp/package.nix index 65de35eac04c..658c0518e982 100644 --- a/pkgs/by-name/no/node-gyp/package.nix +++ b/pkgs/by-name/no/node-gyp/package.nix @@ -8,16 +8,16 @@ (buildNpmPackage.override { inherit nodejs; }) rec { pname = "node-gyp"; - version = "11.2.0"; + version = "11.3.0"; src = fetchFromGitHub { owner = "nodejs"; repo = "node-gyp"; tag = "v${version}"; - hash = "sha256-NOVswjTByrQ+2z4H9wYd4YIWKhWIdgxpz2pE0dOK6qc="; + hash = "sha256-gWLoicQKbuk8fDsXwXOcqqz46XBiQYV/t42PgNnN/ek="; }; - npmDepsHash = "sha256-emCYKqe6Bn1hmUq9jPDo5Nu9n43s4kb0E8lQndVtmlQ="; + npmDepsHash = "sha256-nQOhjYzTY7wV9yR/Ej2aeixi4pEC2k94i7ANixO+KVk="; postPatch = '' ln -s ${./package-lock.json} package-lock.json diff --git a/pkgs/by-name/nu/nu_scripts/package.nix b/pkgs/by-name/nu/nu_scripts/package.nix index e5de63121864..2f4c5361af39 100644 --- a/pkgs/by-name/nu/nu_scripts/package.nix +++ b/pkgs/by-name/nu/nu_scripts/package.nix @@ -7,13 +7,13 @@ stdenvNoCC.mkDerivation { pname = "nu_scripts"; - version = "0-unstable-2025-07-29"; + version = "0-unstable-2025-08-04"; src = fetchFromGitHub { owner = "nushell"; repo = "nu_scripts"; - rev = "365b8839bad8c7d77c2361f2fc0d8b27bf14df92"; - hash = "sha256-YasyvTR9DCZpHFNNrBxBR1MshLvJO8DUDXmYptVzzXk="; + rev = "ec945380be3981522f9bb55e764a5254a908e652"; + hash = "sha256-0fw0fJSlUnT5vbBHDubqLrk3F+OU7CE15vIeU295C4w="; }; installPhase = '' diff --git a/pkgs/by-name/nv/nvidia-modprobe/package.nix b/pkgs/by-name/nv/nvidia-modprobe/package.nix index 5a5b207905f7..2d2949f161cd 100644 --- a/pkgs/by-name/nv/nvidia-modprobe/package.nix +++ b/pkgs/by-name/nv/nvidia-modprobe/package.nix @@ -6,13 +6,13 @@ }: stdenv.mkDerivation rec { pname = "nvidia-modprobe"; - version = "575.64.05"; + version = "580.65.06"; src = fetchFromGitHub { owner = "NVIDIA"; repo = "nvidia-modprobe"; rev = version; - hash = "sha256-nphye7WC6zrg78je1GMfYAhpb8FMZnoWrYoodj+nNgo="; + hash = "sha256-peEklk7lSnwz/RC6UlUEQf47clbTRL8M1xz8z4MgdHE="; }; nativeBuildInputs = [ gnum4 ]; diff --git a/pkgs/by-name/ob/obs-do/package.nix b/pkgs/by-name/ob/obs-do/package.nix index 7a6e3b86ff64..339e33d74f3f 100644 --- a/pkgs/by-name/ob/obs-do/package.nix +++ b/pkgs/by-name/ob/obs-do/package.nix @@ -7,16 +7,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "obs-do"; - version = "0.1.9"; + version = "0.1.10"; src = fetchFromGitHub { owner = "jonhoo"; repo = "obs-do"; tag = "v${finalAttrs.version}"; - hash = "sha256-Lx2938VCqNsyKSAUie8MMOSsFYfvvEZ4dCHJ03y6+TY="; + hash = "sha256-eTcDczrneif2ITeZ0ihx2VRFcsqL0LupvA+neOyHQLU="; }; - cargoHash = "sha256-U/E+gWzJgpF2iZN0jYgAXC58AH64HI8AvvTfD9YaerI="; + cargoHash = "sha256-CyzlPfkjoaveRX8kNCVfZY9O50zoXtjgc23ytuHu8Qg="; nativeInstallCheckInputs = [ versionCheckHook ]; versionCheckProgramArg = "--version"; diff --git a/pkgs/by-name/oc/ockam/package.nix b/pkgs/by-name/oc/ockam/package.nix index a3c42b9ddf93..adca52d1536a 100644 --- a/pkgs/by-name/oc/ockam/package.nix +++ b/pkgs/by-name/oc/ockam/package.nix @@ -38,6 +38,8 @@ rustPlatform.buildRustPackage { # too many tests fail for now doCheck = false; + cargoBuildFlags = [ "-p ockam" ]; + meta = with lib; { description = "Orchestrate end-to-end encryption, cryptographic identities, mutual authentication, and authorization policies between distributed applications – at massive scale"; homepage = "https://github.com/build-trust/ockam"; diff --git a/pkgs/by-name/op/open-policy-agent/package.nix b/pkgs/by-name/op/open-policy-agent/package.nix index f06daaa968a3..5d64c5f081af 100644 --- a/pkgs/by-name/op/open-policy-agent/package.nix +++ b/pkgs/by-name/op/open-policy-agent/package.nix @@ -14,13 +14,13 @@ assert buildGoModule (finalAttrs: { pname = "open-policy-agent"; - version = "1.6.0"; + version = "1.7.1"; src = fetchFromGitHub { owner = "open-policy-agent"; repo = "opa"; tag = "v${finalAttrs.version}"; - hash = "sha256-p03yjLPphS4jp0dK3hlREKzAzCKRPOpvUnmGaGzrwww="; + hash = "sha256-FFJiw2OE5mTFyjOdMoau8Ix8Q+id5hIpCeQaUua1IKg="; }; vendorHash = null; diff --git a/pkgs/by-name/op/open-webui/package.nix b/pkgs/by-name/op/open-webui/package.nix index 231eb2c3e709..7b669979aa97 100644 --- a/pkgs/by-name/op/open-webui/package.nix +++ b/pkgs/by-name/op/open-webui/package.nix @@ -9,13 +9,13 @@ }: let pname = "open-webui"; - version = "0.6.18"; + version = "0.6.22"; src = fetchFromGitHub { owner = "open-webui"; repo = "open-webui"; tag = "v${version}"; - hash = "sha256-1V9mOhO8jpr0HU0djLjKw6xDQMBmqie6Gte4xfg9PfQ="; + hash = "sha256-SX2uLmDZu1TW45A6F5mSXVtSqv5rbNKuVw8sWj8tEb4="; }; frontend = buildNpmPackage rec { @@ -32,7 +32,7 @@ let url = "https://github.com/pyodide/pyodide/releases/download/${pyodideVersion}/pyodide-${pyodideVersion}.tar.bz2"; }; - npmDepsHash = "sha256-bMqK9NvuTwqnhflGDfZTEkaFG8y34Qf94SgR0HMClrQ="; + npmDepsHash = "sha256-mMnDYMy1/7gW6XVaWVct9BuxDP78XX5u46lGBWjUvOQ="; # See https://github.com/open-webui/open-webui/issues/15880 npmFlags = [ @@ -161,6 +161,7 @@ python3Packages.buildPythonApplication rec { opentelemetry-instrumentation-logging opentelemetry-instrumentation-httpx opentelemetry-instrumentation-aiohttp-client + oracledb pandas passlib peewee @@ -172,6 +173,7 @@ python3Packages.buildPythonApplication rec { posthog psutil psycopg2-binary + pyarrow pycrdt pydub pyjwt diff --git a/pkgs/by-name/op/open-webui/update.sh b/pkgs/by-name/op/open-webui/update.sh index 540c368119c4..0665c85fc8f4 100755 --- a/pkgs/by-name/op/open-webui/update.sh +++ b/pkgs/by-name/op/open-webui/update.sh @@ -11,12 +11,22 @@ update-source-version open-webui "${version:1}" --file="$path" # Fetch npm deps and pyodide tmpdir=$(mktemp -d) +trap 'rm -rf "$tmpdir"' EXIT + curl -O --output-dir $tmpdir "https://raw.githubusercontent.com/open-webui/open-webui/refs/tags/${version}/package-lock.json" curl -O --output-dir $tmpdir "https://raw.githubusercontent.com/open-webui/open-webui/refs/tags/${version}/package.json" pushd $tmpdir + +# Prefetch the npm dependencies hash npm_hash=$(prefetch-npm-deps package-lock.json) sed -i 's#npmDepsHash = "[^"]*"#npmDepsHash = "'"$npm_hash"'"#' "$path" + +# Extract pyodide version pyodide_version=$(sed -rn 's/^.*pyodide.*\^([0-9.]*)\".*$/\1/p' package.json) popd -update-source-version open-webui.frontend "${pyodide_version}" --file="$path" --version-key=pyodideVersion --source-key=pyodide -rm -rf $tmpdir + +# Update the pyodide version if necessary +current_pyodide_version=$(nix eval --raw -f . open-webui.frontend.pyodideVersion) +if [ "$current_pyodide_version" < "$pyodide_version" ]; then + update-source-version open-webui.frontend "${pyodide_version}" --file="$path" --version-key=pyodideVersion --source-key=pyodide +fi diff --git a/pkgs/by-name/op/opencode/package.nix b/pkgs/by-name/op/opencode/package.nix index 90868aea81f1..deec46072b9a 100644 --- a/pkgs/by-name/op/opencode/package.nix +++ b/pkgs/by-name/op/opencode/package.nix @@ -1,9 +1,11 @@ { lib, + stdenv, stdenvNoCC, buildGoModule, bun, fetchFromGitHub, + makeBinaryWrapper, models-dev, nix-update-script, testers, @@ -12,10 +14,10 @@ let opencode-node-modules-hash = { - "aarch64-darwin" = "sha256-LNp9sLhNUUC4ujLYPvfPx423GlXuIS0Z2H512H5oY8s="; - "aarch64-linux" = "sha256-xeKZwNV4ScF9p1vAcVR+vk4BiEpUH+AOGb7DQ2vLl1I="; - "x86_64-darwin" = "sha256-4NaHXeWf57dGVV+KP3mBSIUkbIApT19BuADT0E4X+rg="; - "x86_64-linux" = "sha256-7Hc3FJcg2dA8AvGQlS082fO1ehGBMPXWPF8N+sAHh2I="; + "aarch64-darwin" = "sha256-/s6eAI1VJ0kXrxP5yTi+jwNqHBCRcoltJC86AT7nVdI="; + "aarch64-linux" = "sha256-aG5e5HMcxO9P7ciZ9cg8uY1rxDpTOKdR31z0L2d9dxY="; + "x86_64-darwin" = "sha256-jkAFmTb+cTO/B7a7MgaKqOzZI3QPkM3uW2RULnBcxSI="; + "x86_64-linux" = "sha256-ql4qcMtuaRwSVVma3OeKkc9tXhe21PWMMko3W3JgpB0="; }; bun-target = { "aarch64-darwin" = "bun-darwin-arm64"; @@ -26,12 +28,12 @@ let in stdenvNoCC.mkDerivation (finalAttrs: { pname = "opencode"; - version = "0.4.1"; + version = "0.4.26"; src = fetchFromGitHub { owner = "sst"; repo = "opencode"; tag = "v${finalAttrs.version}"; - hash = "sha256-LEFmfsqhCuGcRK7CEPZb6EZfjOHAyYpUHptXu04fjpQ="; + hash = "sha256-sQ1le6/OJb22Kehjj4glUsavHE08u0e2I7h8lW9MO9E="; }; tui = buildGoModule { @@ -40,7 +42,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { modRoot = "packages/tui"; - vendorHash = "sha256-jGaTgKyAvBMt8Js5JrPFUayhVt3QhgyclFoNatoHac4="; + vendorHash = "sha256-jINbGug/SPGBjsXNsC9X2r5TwvrOl5PJDL+lrOQP69Q="; subPackages = [ "cmd/opencode" ]; @@ -109,6 +111,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { nativeBuildInputs = [ bun + makeBinaryWrapper models-dev ]; @@ -152,6 +155,15 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; + # Execution of commands using bash-tool fail on linux with + # Error [ERR_DLOPEN_FAILED]: libstdc++.so.6: cannot open shared object file: No such + # file or directory + # Thus, we add libstdc++.so.6 manually to LD_LIBRARY_PATH + postFixup = '' + wrapProgram $out/bin/opencode \ + --set LD_LIBRARY_PATH "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" + ''; + passthru = { tests.version = testers.testVersion { package = finalAttrs.finalPackage; diff --git a/pkgs/by-name/op/opengamepadui/package.nix b/pkgs/by-name/op/opengamepadui/package.nix index 81a17828e417..b19115d94702 100644 --- a/pkgs/by-name/op/opengamepadui/package.nix +++ b/pkgs/by-name/op/opengamepadui/package.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "opengamepadui"; - version = "0.40.4"; + version = "0.41.0"; buildType = if withDebug then "debug" else "release"; @@ -31,12 +31,12 @@ stdenv.mkDerivation (finalAttrs: { owner = "ShadowBlip"; repo = "OpenGamepadUI"; tag = "v${finalAttrs.version}"; - hash = "sha256-o6n3b4dh3IHaRk2Zi7rt3gzKTZWt6s9L9WcG0WoCQ3U="; + hash = "sha256-8xYLPKCmpWENzG1D8q2yJeIZ5MdBLTio3LZ1BsY1HGg="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) src cargoRoot; - hash = "sha256-vgaa7Pe0lksiGEpQbn2he5CzhVWoHUSPuXqCwSkoDco="; + hash = "sha256-rs8L6dh1Ppmrez3aG9XwQAdfGnoXTlpNMXJvdAUyM6M="; }; cargoRoot = "extensions"; diff --git a/pkgs/by-name/op/openlinkhub/package.nix b/pkgs/by-name/op/openlinkhub/package.nix index 0bb65c6d3cf0..50b82019effe 100644 --- a/pkgs/by-name/op/openlinkhub/package.nix +++ b/pkgs/by-name/op/openlinkhub/package.nix @@ -9,13 +9,13 @@ buildGoModule rec { pname = "openlinkhub"; - version = "0.6.0"; + version = "0.6.1"; src = fetchFromGitHub { owner = "jurkovic-nikola"; repo = "OpenLinkHub"; tag = version; - hash = "sha256-pCMdljBgqxfI9mVperzjAiuq5UUsqmmR+xvuywudv9o="; + hash = "sha256-kEbJwCAs2gTNs0z8A3kOl1O4HQ4L5+urTo+hLh6vOPM="; }; proxyVendor = true; diff --git a/pkgs/by-name/op/open-timeline-io/package.nix b/pkgs/by-name/op/opentimelineio/package.nix similarity index 96% rename from pkgs/by-name/op/open-timeline-io/package.nix rename to pkgs/by-name/op/opentimelineio/package.nix index a944810fd890..d309537ed0ce 100644 --- a/pkgs/by-name/op/open-timeline-io/package.nix +++ b/pkgs/by-name/op/opentimelineio/package.nix @@ -8,7 +8,7 @@ }: stdenv.mkDerivation rec { - pname = "open-timeline-io"; + pname = "opentimelineio"; version = "0.17.0"; src = fetchFromGitHub { diff --git a/pkgs/by-name/ox/oxidized/package.nix b/pkgs/by-name/ox/oxidized/package.nix index bfe2e7fa8cf3..9dbfd3502fa9 100644 --- a/pkgs/by-name/ox/oxidized/package.nix +++ b/pkgs/by-name/ox/oxidized/package.nix @@ -3,6 +3,7 @@ ruby, bundlerApp, bundlerUpdateScript, + nixosTests, }: bundlerApp { @@ -16,7 +17,10 @@ bundlerApp { "oxs" ]; - passthru.updateScript = bundlerUpdateScript "oxidized"; + passthru = { + tests = nixosTests.oxidized; + updateScript = bundlerUpdateScript "oxidized"; + }; meta = with lib; { description = "Network device configuration backup tool. It's a RANCID replacement"; diff --git a/pkgs/by-name/pa/parallel-launcher/package.nix b/pkgs/by-name/pa/parallel-launcher/package.nix index 15cfbc3bbab7..babe4a9c08d5 100644 --- a/pkgs/by-name/pa/parallel-launcher/package.nix +++ b/pkgs/by-name/pa/parallel-launcher/package.nix @@ -52,13 +52,13 @@ stdenv.mkDerivation ( in { pname = "parallel-launcher"; - version = "8.2.1"; # Check ./parallel-n64-next.nix for updates when updating, too + version = "8.3.0"; # Check ./parallel-n64-next.nix for updates when updating, too src = fetchFromGitLab { owner = "parallel-launcher"; repo = "parallel-launcher"; tag = reformatVersion finalAttrs.version; - hash = "sha256-1fPbgpTTfXkhVRBFnNzeNGUzEkLvurBcJQlAhL7Fp6c="; + hash = "sha256-Zp/QTPREfpOG0zgnP1Lg5FgT9u+OEhoqBgnxWMu451A="; }; patches = diff --git a/pkgs/by-name/pc/pcloud/package.nix b/pkgs/by-name/pc/pcloud/package.nix index 17d8a4f3789e..125bb76afcda 100644 --- a/pkgs/by-name/pc/pcloud/package.nix +++ b/pkgs/by-name/pc/pcloud/package.nix @@ -39,13 +39,13 @@ let pname = "pcloud"; - version = "1.14.13"; - code = "XZevXB5ZOmw7nYNHSdpci0bD848nbhyClpf7"; + version = "1.14.14"; + code = "XZwGnW5ZrhkOy46busjMNcycWKNcbV5sKHb7"; # Archive link's codes: https://www.pcloud.com/release-notes/linux.html src = fetchzip { url = "https://api.pcloud.com/getpubzip?code=${code}&filename=pcloud-${version}.zip"; - hash = "sha256-luyFMLNdbogaNF/4y9fZbZ1eBFPmyF2q/Xb1EfsSPz0="; + hash = "sha256-dWdv3Tvv34oFoolEVk1BHIymQOgHDEeum4fRELjyE/s="; }; appimageContents = appimageTools.extractType2 { diff --git a/pkgs/servers/web-apps/plausible/default.nix b/pkgs/by-name/pl/plausible/package.nix similarity index 89% rename from pkgs/servers/web-apps/plausible/default.nix rename to pkgs/by-name/pl/plausible/package.nix index 3b4a01bfabc3..33ed6a68dd9b 100644 --- a/pkgs/servers/web-apps/plausible/default.nix +++ b/pkgs/by-name/pl/plausible/package.nix @@ -17,14 +17,14 @@ let pname = "plausible"; - version = "2.1.5"; + version = "3.0.1"; mixEnv = "ce"; src = fetchFromGitHub { owner = "plausible"; repo = "analytics"; rev = "v${version}"; - hash = "sha256-4gwK/AxzhsU0vgvKgIXrOyQLCgZMeZyKjj7PWbUmJ+8="; + hash = "sha256-DQIRsqkH2zgIkb3yezuJEKJ99PS031GJ+bDAeHMLNUY="; postFetch = '' ${lib.getExe npm-lockfile-fix} $out/assets/package-lock.json sed -ie ' @@ -46,7 +46,7 @@ let pname = "${pname}-assets"; inherit version; src = "${src}/assets"; - npmDepsHash = "sha256-Rf1+G9F/CMK09KEh022vHe02FADJtARKX4QEVbmvSqk="; + npmDepsHash = "sha256-hPbKEC8DE/gb483COG/ZbTuEP8Y44Fs7ppHMpXphCjg="; dontNpmBuild = true; installPhase = '' runHook preInstall @@ -59,7 +59,7 @@ let pname = "${pname}-tracker"; inherit version; src = "${src}/tracker"; - npmDepsHash = "sha256-ng0YpBZc0vcg5Bsr1LmgXtzNCtNV6hJIgLt3m3yRdh4="; + npmDepsHash = "sha256-kfqJVUw3xnMT0sOkc5O42CwBxPQXiYnOQ5WpdZwzxfE"; dontNpmBuild = true; installPhase = '' runHook preInstall @@ -75,7 +75,7 @@ let src mixEnv ; - hash = "sha256-edQ8byeV0WUaYDYMnmrstC6L2jztidR/JikGZLpX3WE="; + hash = "sha256-caCbuMEDsLcxm8xehWEJiaTfgl435crBfnQFQpzGsLY"; }; mjmlNif = rustPlatform.buildRustPackage { @@ -174,13 +174,13 @@ beamPackages.mixRelease rec { mix do deps.loadpaths --no-deps-check, phx.digest priv/static ''; - meta = with lib; { - license = licenses.agpl3Plus; + meta = { + license = lib.licenses.agpl3Plus; homepage = "https://plausible.io/"; changelog = "https://github.com/plausible/analytics/blob/${src.rev}/CHANGELOG.md"; description = "Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics"; mainProgram = "plausible"; - teams = [ teams.cyberus ]; - platforms = platforms.unix; + teams = with lib.teams; [ cyberus ]; + platforms = lib.platforms.unix; }; } diff --git a/pkgs/by-name/po/poetry/unwrapped.nix b/pkgs/by-name/po/poetry/unwrapped.nix index 803fecb30c9c..f9ef63ee0313 100644 --- a/pkgs/by-name/po/poetry/unwrapped.nix +++ b/pkgs/by-name/po/poetry/unwrapped.nix @@ -37,7 +37,7 @@ buildPythonPackage rec { pname = "poetry"; - version = "2.1.3"; + version = "2.1.4"; pyproject = true; disabled = pythonOlder "3.9"; @@ -46,7 +46,7 @@ buildPythonPackage rec { owner = "python-poetry"; repo = "poetry"; tag = version; - hash = "sha256-aMmYgFdQhgMd99atAtr5MD0yniaIi+QTPJ0rMI2jMxk="; + hash = "sha256-6QYg+QRZ60hgcAvKiUqC3gW7P0oK0vaFps9NYIPhBb8="; }; build-system = [ diff --git a/pkgs/by-name/po/polarity/package.nix b/pkgs/by-name/po/polarity/package.nix index 3908f4e5a551..040bfd1a581f 100644 --- a/pkgs/by-name/po/polarity/package.nix +++ b/pkgs/by-name/po/polarity/package.nix @@ -7,13 +7,13 @@ rustPlatform.buildRustPackage rec { pname = "polarity"; - version = "latest-unstable-2025-07-30"; + version = "latest-unstable-2025-08-05"; src = fetchFromGitHub { owner = "polarity-lang"; repo = "polarity"; - rev = "2f7056d3c201680c9a7f267b4f39e82518bc5660"; - hash = "sha256-9H6ICxrZICjfR+URnVVFGdk4lVUp89EIbaHrToDRUNQ="; + rev = "5adc14a5d3151ed124d89768c382e085caf612ac"; + hash = "sha256-ByTUzruKM0u8SfRM88ogvsGw0JijWAVv8oidVdAGNUs="; }; cargoHash = "sha256-SXGuf/JaBfPZgbCAfRmC2Gd82kOn54VQrc7FdmVJRuA="; diff --git a/pkgs/by-name/po/posting/package.nix b/pkgs/by-name/po/posting/package.nix index 1d4bc876145d..0c46b8704924 100644 --- a/pkgs/by-name/po/posting/package.nix +++ b/pkgs/by-name/po/posting/package.nix @@ -6,14 +6,14 @@ }: python3Packages.buildPythonApplication rec { pname = "posting"; - version = "2.7.0"; + version = "2.7.1"; pyproject = true; src = fetchFromGitHub { owner = "darrenburns"; repo = "posting"; tag = version; - hash = "sha256-FkeQSU/gktCsCFoKAk0igfHj16WpxQG01WyAmBYLwX4="; + hash = "sha256-2mRLkZ4rr5awc8X3thllUlB/XpFGs6uaPsYreSPB/nw="; }; pythonRelaxDeps = true; diff --git a/pkgs/by-name/pr/precice/package.nix b/pkgs/by-name/pr/precice/package.nix index d730c40e4af1..d60bc8bac569 100644 --- a/pkgs/by-name/pr/precice/package.nix +++ b/pkgs/by-name/pr/precice/package.nix @@ -2,48 +2,35 @@ lib, stdenv, fetchFromGitHub, - fetchpatch, cmake, boost, eigen, libxml2, mpi, - python3, + python3Packages, petsc, pkg-config, }: stdenv.mkDerivation rec { pname = "precice"; - version = "3.1.2"; + version = "3.2.0-unstable-2025-05-23"; src = fetchFromGitHub { owner = "precice"; repo = "precice"; - rev = "v${version}"; - hash = "sha256-KpmcQj8cv5V5OXCMhe2KLTsqUzKWtTeQyP+zg+Y+yd0="; + rev = "6ee3e347843d4d3c416a32917f6505d35b822445"; + hash = "sha256-BxNAbpeLqJPzQ9dvvgC9jJQQFBdVMunSqIekz7SIHv4="; }; - patches = lib.optionals (!lib.versionOlder "3.1.2" version) [ - (fetchpatch { - name = "boost-187-fixes.patch"; - url = "https://github.com/precice/precice/commit/23788e9eeac49a2069e129a0cb1ac846e8cbeb9f.patch"; - hash = "sha256-Z8qOGOkXoCui8Wy0H/OeE+NaTDvyRuPm2A+VJKtjH4s="; - }) - ]; - cmakeFlags = [ (lib.cmakeBool "PRECICE_PETScMapping" false) (lib.cmakeBool "BUILD_SHARED_LIBS" true) - (lib.cmakeFeature "PYTHON_LIBRARIES" python3.libPrefix) - (lib.cmakeFeature "PYTHON_INCLUDE_DIR" "${python3}/include/${python3.libPrefix}") ]; nativeBuildInputs = [ cmake pkg-config - python3 - python3.pkgs.numpy ]; buildInputs = [ @@ -52,6 +39,8 @@ stdenv.mkDerivation rec { libxml2 mpi petsc + python3Packages.python + python3Packages.numpy ]; meta = { diff --git a/pkgs/by-name/pr/proton-ge-bin/package.nix b/pkgs/by-name/pr/proton-ge-bin/package.nix index 70fe74750f22..1e62be6dfb21 100644 --- a/pkgs/by-name/pr/proton-ge-bin/package.nix +++ b/pkgs/by-name/pr/proton-ge-bin/package.nix @@ -9,11 +9,11 @@ }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "proton-ge-bin"; - version = "GE-Proton10-10"; + version = "GE-Proton10-11"; src = fetchzip { url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/${finalAttrs.version}/${finalAttrs.version}.tar.gz"; - hash = "sha256-TJbeyJA9feyaBIYt5hwVUAAdev0SnoIqvhV7groxcu4="; + hash = "sha256-gTf8k0fx0KGCHVTQLkZli/CvZMkVVNpgBDpI/eiuynE="; }; dontUnpack = true; diff --git a/pkgs/by-name/pr/proxmox-backup-client/0001-cargo-re-route-dependencies-not-available-on-crates..patch b/pkgs/by-name/pr/proxmox-backup-client/0001-cargo-re-route-dependencies-not-available-on-crates..patch index 37d230f52c57..ea0a49387dec 100644 --- a/pkgs/by-name/pr/proxmox-backup-client/0001-cargo-re-route-dependencies-not-available-on-crates..patch +++ b/pkgs/by-name/pr/proxmox-backup-client/0001-cargo-re-route-dependencies-not-available-on-crates..patch @@ -1,185 +1,101 @@ -From fe701cc514b479ca01d18d7f1ab1da6acbc93273 Mon Sep 17 00:00:00 2001 -From: Christoph Heiss -Date: Thu, 5 Jun 2025 11:26:24 +0200 -Subject: [PATCH 1/5] cargo: re-route dependencies not available on crates.io - to git repos +From 552fcf4c45deadbf6b51128d32dd23536af31e9c Mon Sep 17 00:00:00 2001 +From: Christoph Heiss +Date: Tue, 12 Aug 2025 13:48:48 +0200 +Subject: [PATCH proxmox-backup 1/2] cargo: re-route dependencies not available + on crates.io Signed-off-by: Christoph Heiss --- - Cargo.toml | 146 ++++++++++------------------------------------------- - 1 file changed, 27 insertions(+), 119 deletions(-) + Cargo.toml | 83 ++++++++++++++++++++++++++++-------------------------- + 1 file changed, 43 insertions(+), 40 deletions(-) diff --git a/Cargo.toml b/Cargo.toml -index d38321e3..99d712da 100644 +index 337bb081..0aed1103 100644 --- a/Cargo.toml +++ b/Cargo.toml -@@ -41,8 +41,6 @@ members = [ - - "proxmox-backup-banner", - "proxmox-backup-client", -- "proxmox-file-restore", -- "proxmox-restore-daemon", - - "pxar-bin", - ] -@@ -160,138 +158,48 @@ xdg = "2.2" - zstd = { version = "0.12", features = [ "bindgen" ] } - zstd-safe = "6.0" - --[dependencies] --anyhow.workspace = true --async-trait.workspace = true --base64.workspace = true --bytes.workspace = true --cidr.workspace = true --const_format.workspace = true --crc32fast.workspace = true --crossbeam-channel.workspace = true --endian_trait.workspace = true --futures.workspace = true --h2.workspace = true --hex.workspace = true --hyper.workspace = true --libc.workspace = true --log.workspace = true --nix.workspace = true --nom.workspace = true --num-traits.workspace = true --once_cell.workspace = true --openssl.workspace = true --percent-encoding.workspace = true --regex.workspace = true --rustyline.workspace = true --serde.workspace = true --serde_json.workspace = true --syslog.workspace = true --termcolor.workspace = true --thiserror.workspace = true --tokio = { workspace = true, features = [ "fs", "io-util", "io-std", "macros", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "time" ] } --tokio-openssl.workspace = true --tokio-stream.workspace = true --tokio-util = { workspace = true, features = [ "codec" ] } --tracing.workspace = true --udev.workspace = true --url.workspace = true --walkdir.workspace = true --zstd.workspace = true -- --#valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true } -- --# proxmox workspace --proxmox-apt.workspace = true --proxmox-apt-api-types.workspace = true --proxmox-async.workspace = true --proxmox-auth-api = { workspace = true, features = [ "api", "pam-authenticator" ] } --proxmox-compression.workspace = true --proxmox-config-digest.workspace = true --proxmox-daemon.workspace = true --proxmox-http = { workspace = true, features = [ "client-trait", "proxmox-async", "rate-limited-stream" ] } # pbs-client doesn't use these --proxmox-human-byte.workspace = true --proxmox-io.workspace = true --proxmox-lang.workspace = true --proxmox-log.workspace = true --proxmox-ldap.workspace = true --proxmox-metrics.workspace = true --proxmox-notify = { workspace = true, features = [ "pbs-context" ] } --proxmox-openid.workspace = true --proxmox-rest-server = { workspace = true, features = [ "rate-limited-stream" ] } --proxmox-router = { workspace = true, features = [ "cli", "server"] } --proxmox-schema = { workspace = true, features = [ "api-macro" ] } --proxmox-section-config.workspace = true --proxmox-serde = { workspace = true, features = [ "serde_json" ] } --proxmox-shared-cache.workspace = true --proxmox-shared-memory.workspace = true --proxmox-sortable-macro.workspace = true --proxmox-subscription.workspace = true --proxmox-sys = { workspace = true, features = [ "timer" ] } --proxmox-systemd.workspace = true --proxmox-tfa.workspace = true --proxmox-time.workspace = true --proxmox-uuid.workspace = true --proxmox-worker-task.workspace = true --pbs-api-types.workspace = true -- --# in their respective repo --proxmox-acme.workspace = true --pxar.workspace = true -- --# proxmox-backup workspace/internal crates --pbs-buildcfg.workspace = true --pbs-client.workspace = true --pbs-config.workspace = true --pbs-datastore.workspace = true --pbs-key-config.workspace = true --pbs-tape.workspace = true --pbs-tools.workspace = true --proxmox-rrd.workspace = true --proxmox-rrd-api-types.workspace = true -- +@@ -263,47 +263,50 @@ proxmox-rrd-api-types.workspace = true # Local path overrides # NOTE: You must run `cargo update` after changing this for it to take effect! [patch.crates-io] -#pbs-api-types = { path = "../proxmox/pbs-api-types" } -+pbs-api-types = { path = "../proxmox/pbs-api-types" } - #proxmox-acme = { path = "../proxmox/proxmox-acme" } - #proxmox-apt = { path = "../proxmox/proxmox-apt" } +-#proxmox-acme = { path = "../proxmox/proxmox-acme" } +-#proxmox-apt = { path = "../proxmox/proxmox-apt" } -#proxmox-apt-api-types = { path = "../proxmox/proxmox-apt-api-types" } -#proxmox-async = { path = "../proxmox/proxmox-async" } -#proxmox-auth-api = { path = "../proxmox/proxmox-auth-api" } +-#proxmox-base64 = { path = "../proxmox/proxmox-base64" } -#proxmox-borrow = { path = "../proxmox/proxmox-borrow" } -#proxmox-compression = { path = "../proxmox/proxmox-compression" } -#proxmox-config-digest = { path = "../proxmox/proxmox-config-digest" } -+proxmox-apt-api-types = { path = "../proxmox/proxmox-apt-api-types" } -+proxmox-async = { path = "../proxmox/proxmox-async" } -+proxmox-auth-api = { path = "../proxmox/proxmox-auth-api" } -+proxmox-borrow = { path = "../proxmox/proxmox-borrow" } -+proxmox-compression = { path = "../proxmox/proxmox-compression" } -+proxmox-config-digest = { path = "../proxmox/proxmox-config-digest" } - #proxmox-daemon = { path = "../proxmox/proxmox-daemon" } +-#proxmox-daemon = { path = "../proxmox/proxmox-daemon" } -#proxmox-fuse = { path = "../proxmox-fuse" } -#proxmox-http = { path = "../proxmox/proxmox-http" } -#proxmox-human-byte = { path = "../proxmox/proxmox-human-byte" } -#proxmox-io = { path = "../proxmox/proxmox-io" } -#proxmox-lang = { path = "../proxmox/proxmox-lang" } -#proxmox-log = { path = "../proxmox/proxmox-log" } +-#proxmox-ldap = { path = "../proxmox/proxmox-ldap" } +-#proxmox-metrics = { path = "../proxmox/proxmox-metrics" } +-#proxmox-network-api = { path = "../proxmox/proxmox-network-api" } +-#proxmox-notify = { path = "../proxmox/proxmox-notify" } +-#proxmox-openid = { path = "../proxmox/proxmox-openid" } +-#proxmox-rest-server = { path = "../proxmox/proxmox-rest-server" } +-#proxmox-router = { path = "../proxmox/proxmox-router" } +-#proxmox-rrd = { path = "../proxmox/proxmox-rrd" } +-#proxmox-rrd-api-types = { path = "../proxmox/proxmox-rrd-api-types" } +-#proxmox-schema = { path = "../proxmox/proxmox-schema" } +-#proxmox-section-config = { path = "../proxmox/proxmox-section-config" } +-#proxmox-serde = { path = "../proxmox/proxmox-serde" } +-#proxmox-shared-memory = { path = "../proxmox/proxmox-shared-memory" } +-#proxmox-sortable-macro = { path = "../proxmox/proxmox-sortable-macro" } +-#proxmox-subscription = { path = "../proxmox/proxmox-subscription" } +-#proxmox-sys = { path = "../proxmox/proxmox-sys" } +-#proxmox-systemd = { path = "../proxmox/proxmox-systemd" } +-#proxmox-tfa = { path = "../proxmox/proxmox-tfa" } +-#proxmox-time = { path = "../proxmox/proxmox-time" } +-#proxmox-uuid = { path = "../proxmox/proxmox-uuid" } +-#proxmox-worker-task = { path = "../proxmox/proxmox-worker-task" } ++pbs-api-types = { path = "../proxmox/pbs-api-types" } ++proxmox-acme = { path = "../proxmox/proxmox-acme" } ++proxmox-apt = { path = "../proxmox/proxmox-apt" } ++proxmox-apt-api-types = { path = "../proxmox/proxmox-apt-api-types" } ++proxmox-async = { path = "../proxmox/proxmox-async" } ++proxmox-auth-api = { path = "../proxmox/proxmox-auth-api" } ++proxmox-base64 = { path = "../proxmox/proxmox-base64" } ++proxmox-borrow = { path = "../proxmox/proxmox-borrow" } ++proxmox-compression = { path = "../proxmox/proxmox-compression" } ++proxmox-config-digest = { path = "../proxmox/proxmox-config-digest" } ++proxmox-daemon = { path = "../proxmox/proxmox-daemon" } +proxmox-fuse = { path = "../proxmox-fuse" } +proxmox-http = { path = "../proxmox/proxmox-http" } +proxmox-human-byte = { path = "../proxmox/proxmox-human-byte" } +proxmox-io = { path = "../proxmox/proxmox-io" } +proxmox-lang = { path = "../proxmox/proxmox-lang" } +proxmox-log = { path = "../proxmox/proxmox-log" } - #proxmox-ldap = { path = "../proxmox/proxmox-ldap" } - #proxmox-metrics = { path = "../proxmox/proxmox-metrics" } --#proxmox-notify = { path = "../proxmox/proxmox-notify" } ++proxmox-ldap = { path = "../proxmox/proxmox-ldap" } ++proxmox-metrics = { path = "../proxmox/proxmox-metrics" } ++proxmox-network-api = { path = "../proxmox/proxmox-network-api" } +proxmox-notify = { path = "../proxmox/proxmox-notify" } - #proxmox-openid = { path = "../proxmox/proxmox-openid" } - #proxmox-rest-server = { path = "../proxmox/proxmox-rest-server" } --#proxmox-router = { path = "../proxmox/proxmox-router" } ++proxmox-openid = { path = "../proxmox/proxmox-openid" } ++proxmox-rest-server = { path = "../proxmox/proxmox-rest-server" } +proxmox-router = { path = "../proxmox/proxmox-router" } - #proxmox-rrd = { path = "../proxmox/proxmox-rrd" } - #proxmox-rrd-api-types = { path = "../proxmox/proxmox-rrd-api-types" } --#proxmox-schema = { path = "../proxmox/proxmox-schema" } --#proxmox-section-config = { path = "../proxmox/proxmox-section-config" } --#proxmox-serde = { path = "../proxmox/proxmox-serde" } --#proxmox-shared-memory = { path = "../proxmox/proxmox-shared-memory" } --#proxmox-sortable-macro = { path = "../proxmox/proxmox-sortable-macro" } ++proxmox-rrd = { path = "../proxmox/proxmox-rrd" } ++proxmox-rrd-api-types = { path = "../proxmox/proxmox-rrd-api-types" } +proxmox-schema = { path = "../proxmox/proxmox-schema" } +proxmox-section-config = { path = "../proxmox/proxmox-section-config" } +proxmox-serde = { path = "../proxmox/proxmox-serde" } +proxmox-shared-memory = { path = "../proxmox/proxmox-shared-memory" } +proxmox-sortable-macro = { path = "../proxmox/proxmox-sortable-macro" } - #proxmox-subscription = { path = "../proxmox/proxmox-subscription" } --#proxmox-sys = { path = "../proxmox/proxmox-sys" } --#proxmox-systemd = { path = "../proxmox/proxmox-systemd" } ++proxmox-subscription = { path = "../proxmox/proxmox-subscription" } +proxmox-sys = { path = "../proxmox/proxmox-sys" } +proxmox-systemd = { path = "../proxmox/proxmox-systemd" } - #proxmox-tfa = { path = "../proxmox/proxmox-tfa" } --#proxmox-time = { path = "../proxmox/proxmox-time" } --#proxmox-uuid = { path = "../proxmox/proxmox-uuid" } --#proxmox-worker-task = { path = "../proxmox/proxmox-worker-task" } ++proxmox-tfa = { path = "../proxmox/proxmox-tfa" } +proxmox-time = { path = "../proxmox/proxmox-time" } +proxmox-uuid = { path = "../proxmox/proxmox-uuid" } +proxmox-worker-task = { path = "../proxmox/proxmox-worker-task" } ++proxmox-s3-client = { path = "../proxmox/proxmox-s3-client" } ++proxmox-product-config = { path = "../proxmox/proxmox-product-config" } ++proxmox-shared-cache = { path = "../proxmox/proxmox-shared-cache" } -#pathpatterns = {path = "../pathpatterns" } -#pxar = { path = "../pxar" } @@ -189,5 +105,5 @@ index d38321e3..99d712da 100644 [features] default = [] -- -2.49.0 +2.50.1 diff --git a/pkgs/by-name/pr/proxmox-backup-client/0002-docs-add-target-path-fixup-variable.patch b/pkgs/by-name/pr/proxmox-backup-client/0002-docs-add-target-path-fixup-variable.patch deleted file mode 100644 index 5f09aa9c95a1..000000000000 --- a/pkgs/by-name/pr/proxmox-backup-client/0002-docs-add-target-path-fixup-variable.patch +++ /dev/null @@ -1,25 +0,0 @@ -From b71b5bab3fadc663d322e3ef2faa8f098423fb03 Mon Sep 17 00:00:00 2001 -From: Christoph Heiss -Date: Tue, 24 Dec 2024 17:22:35 +0100 -Subject: [PATCH 2/5] docs: add target path fixup variable - -Signed-off-by: Christoph Heiss ---- - docs/Makefile | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/docs/Makefile b/docs/Makefile -index c57cbbc2..fa00729e 100644 ---- a/docs/Makefile -+++ b/docs/Makefile -@@ -94,6 +94,7 @@ API_VIEWER_FILES := \ - SPHINXOPTS = -E - SPHINXBUILD = sphinx-build - BUILDDIR = output -+DEB_HOST_RUST_TYPE ?= $(RUSTC_TARGET) - - ifeq ($(BUILD_MODE), release) - COMPILEDIR := ../target/$(DEB_HOST_RUST_TYPE)/release --- -2.49.0 - diff --git a/pkgs/by-name/pr/proxmox-backup-client/0004-docs-drop-all-but-client-man-pages.patch b/pkgs/by-name/pr/proxmox-backup-client/0002-docs-drop-all-but-client-man-pages.patch similarity index 92% rename from pkgs/by-name/pr/proxmox-backup-client/0004-docs-drop-all-but-client-man-pages.patch rename to pkgs/by-name/pr/proxmox-backup-client/0002-docs-drop-all-but-client-man-pages.patch index 4db8088010d2..e744ce3c030c 100644 --- a/pkgs/by-name/pr/proxmox-backup-client/0004-docs-drop-all-but-client-man-pages.patch +++ b/pkgs/by-name/pr/proxmox-backup-client/0002-docs-drop-all-but-client-man-pages.patch @@ -1,7 +1,7 @@ -From 846d0b9c8f62340cb0703c59d16414b05a15382a Mon Sep 17 00:00:00 2001 +From 732dc6b91299bda441f52c6d7decddfbfd6e5517 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 29 Nov 2022 17:20:28 +0100 -Subject: [PATCH 4/5] docs: drop all but client man pages +Subject: [PATCH proxmox-backup 2/2] docs: drop all but client man pages Signed-off-by: Thomas Lamprecht Signed-off-by: Christoph Heiss @@ -11,7 +11,7 @@ Signed-off-by: Christoph Heiss 2 files changed, 43 deletions(-) diff --git a/docs/Makefile b/docs/Makefile -index fa00729e..53a420b5 100644 +index 5cf5fc17..85ff3b91 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,27 +1,8 @@ @@ -43,7 +43,7 @@ index fa00729e..53a420b5 100644 MAN1_PAGES := \ diff --git a/docs/conf.py b/docs/conf.py -index a7fa1079..345a0170 100644 +index 64c4f9d4..345a0170 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -93,31 +93,7 @@ rst_epilog += f"\n.. |pbs-copyright| replace:: Copyright (C) {copyright}" @@ -59,7 +59,7 @@ index a7fa1079..345a0170 100644 ('pxar/man1', 'pxar', 'Proxmox File Archive CLI Tool', [author], 1), - ('pmt/man1', 'pmt', 'Control Linux Tape Devices', [author], 1), - ('pmtx/man1', 'pmtx', 'Control SCSI media changer devices (tape autoloaders)', [author], 1), -- ('pbs2to3/man1', 'pbs2to3', 'Proxmox Backup Server upgrade checker script for 2.4+ to current 3.x major upgrades', [author], 1), +- ('pbs3to4/man1', 'pbs3to4', 'Proxmox Backup Server upgrade checker script for 3.4+ to current 4.x major upgrades', [author], 1), - # configs - ('config/acl/man5', 'acl.cfg', 'Access Control Configuration', [author], 5), - ('config/datastore/man5', 'datastore.cfg', 'Datastore Configuration', [author], 5), @@ -79,5 +79,5 @@ index a7fa1079..345a0170 100644 -- -2.49.0 +2.50.1 diff --git a/pkgs/by-name/pr/proxmox-backup-client/0003-cargo-use-local-patched-h2-dependency.patch b/pkgs/by-name/pr/proxmox-backup-client/0003-cargo-use-local-patched-h2-dependency.patch deleted file mode 100644 index fdac6856b983..000000000000 --- a/pkgs/by-name/pr/proxmox-backup-client/0003-cargo-use-local-patched-h2-dependency.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 88f8ac1e5d158ad0a46177b813fd7557cc5e3fbe Mon Sep 17 00:00:00 2001 -From: Christoph Heiss -Date: Tue, 24 Dec 2024 17:35:40 +0100 -Subject: [PATCH 3/5] cargo: use local patched h2 dependency - -Signed-off-by: Christoph Heiss ---- - Cargo.toml | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Cargo.toml b/Cargo.toml -index 99d712da..091696f1 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -201,6 +201,8 @@ proxmox-worker-task = { path = "../proxmox/proxmox-worker-task" } - pathpatterns = {path = "../pathpatterns" } - pxar = { path = "../pxar" } - -+h2 = { path = "./h2" } -+ - [features] - default = [] - #valgrind = ["valgrind_request"] --- -2.49.0 - diff --git a/pkgs/by-name/pr/proxmox-backup-client/0005-Revert-h2-switch-to-legacy-feature.patch b/pkgs/by-name/pr/proxmox-backup-client/0005-Revert-h2-switch-to-legacy-feature.patch deleted file mode 100644 index 535191c61d0e..000000000000 --- a/pkgs/by-name/pr/proxmox-backup-client/0005-Revert-h2-switch-to-legacy-feature.patch +++ /dev/null @@ -1,198 +0,0 @@ -From b1a06f6a63a63410f89bd0d2968a6fdb7ce2352d Mon Sep 17 00:00:00 2001 -From: Christoph Heiss -Date: Thu, 5 Jun 2025 12:01:10 +0200 -Subject: [PATCH 5/5] Revert "h2: switch to legacy feature" - -This reverts commit 168ed370263e84a6235968c615b856b9280debe1. - -It's a Proxmox-specific workaround (see also the commit description -itself) and does not apply here. - -Signed-off-by: Christoph Heiss ---- - Cargo.toml | 2 +- - examples/h2client.rs | 6 +++--- - examples/h2s-client.rs | 6 +++--- - pbs-client/src/backup_writer.rs | 8 ++++---- - pbs-client/src/http_client.rs | 12 +++++------- - pbs-client/src/pipe_to_stream.rs | 2 +- - 6 files changed, 17 insertions(+), 19 deletions(-) - -diff --git a/Cargo.toml b/Cargo.toml -index 091696f1..063f62f8 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -122,7 +122,7 @@ env_logger = "0.11" - flate2 = "1.0" - foreign-types = "0.3" - futures = "0.3" --h2 = { version = "0.4", features = [ "legacy", "stream" ] } -+h2 = { version = "0.4", features = [ "stream" ] } - handlebars = "3.0" - hex = "0.4.3" - hickory-resolver = { version = "0.24.1", default-features = false, features = [ "system-config", "tokio-runtime" ] } -diff --git a/examples/h2client.rs b/examples/h2client.rs -index e44c43fa..1dcb4498 100644 ---- a/examples/h2client.rs -+++ b/examples/h2client.rs -@@ -10,7 +10,7 @@ use tokio::net::TcpStream; - // Simple H2 client to test H2 download speed using h2server.rs - - struct Process { -- body: h2::legacy::RecvStream, -+ body: h2::RecvStream, - trailers: bool, - bytes: usize, - } -@@ -50,7 +50,7 @@ impl Future for Process { - } - - fn send_request( -- mut client: h2::legacy::client::SendRequest, -+ mut client: h2::client::SendRequest, - ) -> impl Future> { - println!("sending request"); - -@@ -78,7 +78,7 @@ async fn run() -> Result<(), Error> { - let conn = TcpStream::connect(std::net::SocketAddr::from(([127, 0, 0, 1], 8008))).await?; - conn.set_nodelay(true).unwrap(); - -- let (client, h2) = h2::legacy::client::Builder::new() -+ let (client, h2) = h2::client::Builder::new() - .initial_connection_window_size(1024 * 1024 * 1024) - .initial_window_size(1024 * 1024 * 1024) - .max_frame_size(4 * 1024 * 1024) -diff --git a/examples/h2s-client.rs b/examples/h2s-client.rs -index 86b3a931..a12b5a48 100644 ---- a/examples/h2s-client.rs -+++ b/examples/h2s-client.rs -@@ -10,7 +10,7 @@ use tokio::net::TcpStream; - // Simple H2 client to test H2 download speed using h2s-server.rs - - struct Process { -- body: h2::legacy::RecvStream, -+ body: h2::RecvStream, - trailers: bool, - bytes: usize, - } -@@ -50,7 +50,7 @@ impl Future for Process { - } - - fn send_request( -- mut client: h2::legacy::client::SendRequest, -+ mut client: h2::client::SendRequest, - ) -> impl Future> { - println!("sending request"); - -@@ -94,7 +94,7 @@ async fn run() -> Result<(), Error> { - .await - .map_err(|err| format_err!("connect failed - {}", err))?; - -- let (client, h2) = h2::legacy::client::Builder::new() -+ let (client, h2) = h2::client::Builder::new() - .initial_connection_window_size(1024 * 1024 * 1024) - .initial_window_size(1024 * 1024 * 1024) - .max_frame_size(4 * 1024 * 1024) -diff --git a/pbs-client/src/backup_writer.rs b/pbs-client/src/backup_writer.rs -index 32542506..1253ef56 100644 ---- a/pbs-client/src/backup_writer.rs -+++ b/pbs-client/src/backup_writer.rs -@@ -56,7 +56,7 @@ pub struct UploadOptions { - } - - struct ChunkUploadResponse { -- future: h2::legacy::client::ResponseFuture, -+ future: h2::client::ResponseFuture, - size: usize, - } - -@@ -143,7 +143,7 @@ impl BackupWriter { - param: Option, - content_type: &str, - data: Vec, -- ) -> Result { -+ ) -> Result { - let request = - H2Client::request_builder("localhost", method, path, param, Some(content_type)) - .unwrap(); -@@ -514,7 +514,7 @@ impl BackupWriter { - } - - fn response_queue() -> ( -- mpsc::Sender, -+ mpsc::Sender, - oneshot::Receiver>, - ) { - let (verify_queue_tx, verify_queue_rx) = mpsc::channel(100); -@@ -537,7 +537,7 @@ impl BackupWriter { - tokio::spawn( - ReceiverStream::new(verify_queue_rx) - .map(Ok::<_, Error>) -- .try_for_each(move |response: h2::legacy::client::ResponseFuture| { -+ .try_for_each(move |response: h2::client::ResponseFuture| { - response - .map_err(Error::from) - .and_then(H2Client::h2api_response) -diff --git a/pbs-client/src/http_client.rs b/pbs-client/src/http_client.rs -index c95def07..8f6f8b41 100644 ---- a/pbs-client/src/http_client.rs -+++ b/pbs-client/src/http_client.rs -@@ -863,7 +863,7 @@ impl HttpClient { - - let max_window_size = (1 << 31) - 2; - -- let (h2, connection) = h2::legacy::client::Builder::new() -+ let (h2, connection) = h2::client::Builder::new() - .initial_connection_window_size(max_window_size) - .initial_window_size(max_window_size) - .max_frame_size(4 * 1024 * 1024) -@@ -1008,11 +1008,11 @@ impl Drop for HttpClient { - - #[derive(Clone)] - pub struct H2Client { -- h2: h2::legacy::client::SendRequest, -+ h2: h2::client::SendRequest, - } - - impl H2Client { -- pub fn new(h2: h2::legacy::client::SendRequest) -> Self { -+ pub fn new(h2: h2::client::SendRequest) -> Self { - Self { h2 } - } - -@@ -1092,7 +1092,7 @@ impl H2Client { - &self, - request: Request<()>, - data: Option, -- ) -> impl Future> { -+ ) -> impl Future> { - self.h2 - .clone() - .ready() -@@ -1109,9 +1109,7 @@ impl H2Client { - }) - } - -- pub async fn h2api_response( -- response: Response, -- ) -> Result { -+ pub async fn h2api_response(response: Response) -> Result { - let status = response.status(); - - let (_head, mut body) = response.into_parts(); -diff --git a/pbs-client/src/pipe_to_stream.rs b/pbs-client/src/pipe_to_stream.rs -index 3fc942d3..ae689851 100644 ---- a/pbs-client/src/pipe_to_stream.rs -+++ b/pbs-client/src/pipe_to_stream.rs -@@ -8,7 +8,7 @@ use std::task::{Context, Poll}; - use anyhow::{format_err, Error}; - use bytes::Bytes; - use futures::{ready, Future}; --use h2::legacy::SendStream; -+use h2::SendStream; - - pub struct PipeToSendStream { - body_tx: SendStream, --- -2.49.0 - diff --git a/pkgs/by-name/pr/proxmox-backup-client/Cargo.lock b/pkgs/by-name/pr/proxmox-backup-client/Cargo.lock index 9c10cf28e635..ed84bf66b86a 100644 --- a/pkgs/by-name/pr/proxmox-backup-client/Cargo.lock +++ b/pkgs/by-name/pr/proxmox-backup-client/Cargo.lock @@ -13,9 +13,9 @@ dependencies = [ [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "ahash" @@ -45,10 +45,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] -name = "anstream" -version = "0.6.19" +name = "android-tzdata" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "0.6.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192" dependencies = [ "anstyle", "anstyle-parse", @@ -76,29 +91,79 @@ dependencies = [ [[package]] name = "anstyle-query" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9" +checksum = "9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.9" +version = "3.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882" +checksum = "3e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "anyhow" -version = "1.0.98" +version = "1.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" +checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" + +[[package]] +name = "apt-pkg-native" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27561515e1a5c565ef86a1414c644c1884c521cf8a98a781081c76b5a75471c2" +dependencies = [ + "cc", + "lazy_static", + "libc", +] + +[[package]] +name = "asn1-rs" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom 7.1.3", + "num-traits", + "rusticata-macros", + "thiserror 1.0.69", + "time", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", + "synstructure", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] [[package]] name = "async-trait" @@ -106,9 +171,9 @@ version = "0.1.88" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -119,9 +184,9 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "backtrace" @@ -139,10 +204,22 @@ dependencies = [ ] [[package]] -name = "base64" -version = "0.13.1" +name = "base16ct" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[package]] +name = "base32" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23ce669cd6c8588f79e15cf450314f9638f967fc5770ff1c7c1deb0925ea7cfa" + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64" @@ -151,28 +228,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] -name = "bindgen" -version = "0.71.1" +name = "base64ct" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3" -dependencies = [ - "bitflags 2.9.1", - "cexpr", - "clang-sys", - "itertools", - "proc-macro2 1.0.95", - "quote 1.0.40", - "regex", - "rustc-hash", - "shlex", - "syn 2.0.101", -] +checksum = "55248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba" [[package]] -name = "bitflags" -version = "1.3.2" +name = "base64urlsafedata" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +checksum = "e5913e643e4dfb43d5908e9e6f1386f8e0dfde086ecef124a6450c6195d89160" +dependencies = [ + "base64 0.21.7", + "pastey", + "serde", +] [[package]] name = "bitflags" @@ -191,9 +261,15 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.17.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" @@ -203,9 +279,9 @@ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" [[package]] name = "cc" -version = "1.2.25" +version = "1.2.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0fc897dc1e865cc67c0e05a836d9d3f1df3cbe442aa4a9473b18e12624a4951" +checksum = "2352e5597e9c544d5e6d9c95190d5d27738ade584fa8db0a16e130e5c2b5296e" dependencies = [ "jobserver", "libc", @@ -213,19 +289,37 @@ dependencies = [ ] [[package]] -name = "cexpr" -version = "0.6.0" +name = "cfg-if" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom 7.1.3", -] +checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268" [[package]] -name = "cfg-if" -version = "1.0.0" +name = "cfg_aliases" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" + +[[package]] +name = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + +[[package]] +name = "chrono" +version = "0.4.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" +dependencies = [ + "android-tzdata", + "iana-time-zone", + "js-sys", + "num-traits", + "serde", + "wasm-bindgen", + "windows-link", +] [[package]] name = "chumsky" @@ -238,25 +332,18 @@ dependencies = [ ] [[package]] -name = "clang-sys" -version = "1.8.1" +name = "cidr" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" -dependencies = [ - "glob", - "libc", - "libloading", -] +checksum = "bd1b64030216239a2e7c364b13cd96a2097ebf0dfe5025f2dedee14a23f2ab60" [[package]] name = "clipboard-win" -version = "4.5.0" +version = "5.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7191c27c2357d9b7ef96baac1773290d4ca63b24205b82a3fd8a0637afcf0362" +checksum = "bde03770d3df201d4fb868f2c9c59e66a3e4e2bd06692a0fe701e7103c7e84d4" dependencies = [ "error-code", - "str-buf", - "winapi", ] [[package]] @@ -265,6 +352,12 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + [[package]] name = "const_format" version = "0.2.34" @@ -280,7 +373,7 @@ version = "0.2.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", "unicode-xid 0.2.6", ] @@ -312,13 +405,40 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam-channel" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array", + "rand_core", + "subtle", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" @@ -329,12 +449,109 @@ dependencies = [ "typenum", ] +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] + +[[package]] +name = "darling" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2 1.0.97", + "quote 1.0.40", + "strsim", + "syn 2.0.104", +] + +[[package]] +name = "darling_macro" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" +dependencies = [ + "darling_core", + "quote 1.0.40", + "syn 2.0.104", +] + [[package]] name = "data-encoding" version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "der-parser" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" +dependencies = [ + "asn1-rs", + "displaydoc", + "nom 7.1.3", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "deranged" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" +dependencies = [ + "powerfmt", + "serde", +] + [[package]] name = "digest" version = "0.10.7" @@ -342,28 +559,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer", + "const-oid", "crypto-common", -] - -[[package]] -name = "dirs-next" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" -dependencies = [ - "cfg-if", - "dirs-sys-next", -] - -[[package]] -name = "dirs-sys-next" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" -dependencies = [ - "libc", - "redox_users", - "winapi", + "subtle", ] [[package]] @@ -372,9 +570,53 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", +] + +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der", + "digest", + "elliptic-curve", + "rfc6979", + "signature", + "spki", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "serde", + "sha2", + "subtle", + "zeroize", ] [[package]] @@ -383,6 +625,27 @@ version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct", + "crypto-bigint", + "digest", + "ff", + "generic-array", + "group", + "hkdf", + "pem-rfc7468", + "pkcs8", + "rand_core", + "sec1", + "subtle", + "zeroize", +] + [[package]] name = "email-encoding" version = "0.4.1" @@ -431,9 +694,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc" dependencies = [ "heck", - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -467,23 +730,28 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" +checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.60.2", +] + +[[package]] +name = "error-chain" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc" +dependencies = [ + "version_check", ] [[package]] name = "error-code" -version = "2.3.1" +version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64f18991e7bf11e7ffee451b5318b5c1a73c52d0d0ada6e5a3017c8c1ced6a21" -dependencies = [ - "libc", - "str-buf", -] +checksum = "dea2df4cf52843e0452895c455a1a2cfbb842a1e7329671acf418fdc53ed4c59" [[package]] name = "fastrand" @@ -493,15 +761,31 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "fd-lock" -version = "3.0.13" +version = "4.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef033ed5e9bad94e55838ca0ca906db0e043f517adda0c8b79c7a8c66c93c1b5" +checksum = "0ce92ff622d6dadf7349484f42c93271a0d49b7cc4d466a936405bacbe10aa78" dependencies = [ "cfg-if", - "rustix 0.38.44", - "windows-sys 0.48.0", + "rustix", + "windows-sys 0.59.0", ] +[[package]] +name = "ff" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +dependencies = [ + "rand_core", + "subtle", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + [[package]] name = "filetime" version = "0.2.25" @@ -516,14 +800,20 @@ dependencies = [ [[package]] name = "flate2" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" +checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d" dependencies = [ "crc32fast", "miniz_oxide", ] +[[package]] +name = "fmt2io" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b6129284da9f7e5296cc22183a63f24300e945e297705dcc0672f7df01d62c8" + [[package]] name = "fnv" version = "1.0.7" @@ -608,9 +898,9 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -651,6 +941,7 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -660,8 +951,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ "cfg-if", + "js-sys", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi 0.11.1+wasi-snapshot-preview1", + "wasm-bindgen", ] [[package]] @@ -683,33 +976,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] -name = "glob" -version = "0.3.2" +name = "group" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" - -[[package]] -name = "h2" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", + "ff", + "rand_core", + "subtle", ] [[package]] name = "h2" -version = "0.4.10" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386" dependencies = [ "atomic-waker", "bytes", @@ -717,7 +998,7 @@ dependencies = [ "futures-core", "futures-sink", "http", - "indexmap", + "indexmap 2.10.0", "slab", "tokio", "tokio-util", @@ -725,19 +1006,31 @@ dependencies = [ ] [[package]] -name = "handlebars" -version = "3.5.5" +name = "half" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4498fc115fa7d34de968184e473529abb40eeb6be8bc5f7faba3d08c316cb3e3" +checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" + +[[package]] +name = "handlebars" +version = "5.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" dependencies = [ "log", "pest", "pest_derive", - "quick-error", "serde", "serde_json", + "thiserror 1.0.69", ] +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + [[package]] name = "hashbrown" version = "0.14.5" @@ -750,9 +1043,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.3" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" [[package]] name = "heck" @@ -760,6 +1053,12 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +[[package]] +name = "hermit-abi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + [[package]] name = "hex" version = "0.4.3" @@ -814,6 +1113,44 @@ dependencies = [ "tracing", ] +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac", +] + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest", +] + +[[package]] +name = "home" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" +dependencies = [ + "windows-sys 0.59.0", +] + +[[package]] +name = "hostname" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +dependencies = [ + "libc", + "match_cfg", + "winapi", +] + [[package]] name = "hostname" version = "0.4.1" @@ -827,9 +1164,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.12" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -838,12 +1175,24 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.6" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", "pin-project-lite", ] @@ -861,26 +1210,68 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" -version = "0.14.32" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" +checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" dependencies = [ "bytes", "futures-channel", - "futures-core", "futures-util", - "h2 0.3.26", + "h2", "http", "http-body", "httparse", "httpdate", "itoa", "pin-project-lite", - "socket2", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-util" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "http", + "http-body", + "hyper", + "libc", + "pin-project-lite", + "socket2 0.6.0", "tokio", "tower-service", "tracing", - "want", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.63" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", ] [[package]] @@ -969,6 +1360,12 @@ dependencies = [ "zerovec", ] +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + [[package]] name = "idna" version = "1.0.3" @@ -992,12 +1389,46 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.9.0" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661" dependencies = [ "equivalent", - "hashbrown 0.15.3", + "hashbrown 0.15.5", + "serde", +] + +[[package]] +name = "io-lifetimes" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" +dependencies = [ + "hermit-abi", + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "io-uring" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4" +dependencies = [ + "bitflags", + "cfg-if", + "libc", ] [[package]] @@ -1006,7 +1437,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2", + "socket2 0.5.10", "widestring", "windows-sys 0.48.0", "winreg", @@ -1025,10 +1456,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] -name = "itertools" -version = "0.13.0" +name = "iso8601" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +checksum = "e1082f0c48f143442a1ac6122f67e360ceee130b967af4d50996e5154a45df46" +dependencies = [ + "nom 8.0.0", +] + +[[package]] +name = "itertools" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" dependencies = [ "either", ] @@ -1041,9 +1481,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "jiff" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a194df1107f33c79f4f93d02c80798520551949d59dfad22b6157048a88cca93" +checksum = "be1f93b8b1eb69c77f24bbb0afdf66f54b632ee39af40ca21c4365a1d7347e49" dependencies = [ "jiff-static", "log", @@ -1054,13 +1494,13 @@ dependencies = [ [[package]] name = "jiff-static" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c6e1db7ed32c6c71b759497fae34bf7933636f75a251b9e736555da426f6442" +checksum = "03343451ff899767262ec32146f6d559dd759fdadf42ff0e227c7c48f72594b4" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -1088,12 +1528,49 @@ name = "lazy_static" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +dependencies = [ + "spin", +] + +[[package]] +name = "lber" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2df7f9fd9f64cf8f59e1a4a0753fe7d575a5b38d3d7ac5758dcee9357d83ef0a" +dependencies = [ + "bytes", + "nom 7.1.3", +] + +[[package]] +name = "ldap3" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "166199a8207874a275144c8a94ff6eed5fcbf5c52303e4d9b4d53a0c7ac76554" +dependencies = [ + "async-trait", + "bytes", + "futures", + "futures-util", + "lazy_static", + "lber", + "log", + "native-tls", + "nom 7.1.3", + "percent-encoding", + "thiserror 1.0.69", + "tokio", + "tokio-native-tls", + "tokio-stream", + "tokio-util", + "url", +] [[package]] name = "lettre" -version = "0.11.16" +version = "0.11.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ffd14fa289730e3ad68edefdc31f603d56fe716ec38f2076bb7410e09147c2" +checksum = "5cb54db6ff7a89efac87dba5baeac57bb9ccd726b49a9b6f21fb92b3966aaf56" dependencies = [ "base64 0.22.1", "chumsky", @@ -1101,7 +1578,7 @@ dependencies = [ "email_address", "fastrand", "futures-util", - "hostname", + "hostname 0.4.1", "httpdate", "idna", "mime", @@ -1109,34 +1586,30 @@ dependencies = [ "nom 8.0.0", "percent-encoding", "quoted_printable", - "socket2", + "socket2 0.6.0", "tokio", "url", ] [[package]] name = "libc" -version = "0.2.172" +version = "0.2.175" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" +checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" [[package]] -name = "libloading" -version = "0.8.8" +name = "libm" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667" -dependencies = [ - "cfg-if", - "windows-targets 0.53.0", -] +checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "391290121bad3d37fbddad76d8f5d1c1c314cfc646d143d7e07a3086ddff0ce3" dependencies = [ - "bitflags 2.9.1", + "bitflags", "libc", "redox_syscall", ] @@ -1157,12 +1630,6 @@ version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" -[[package]] -name = "linux-raw-sys" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" - [[package]] name = "linux-raw-sys" version = "0.9.4" @@ -1200,26 +1667,29 @@ dependencies = [ "linked-hash-map", ] +[[package]] +name = "match_cfg" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" + +[[package]] +name = "md5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" + [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" [[package]] name = "memoffset" -version = "0.6.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" dependencies = [ "autocfg", ] @@ -1238,9 +1708,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.8" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", ] @@ -1252,7 +1722,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c" dependencies = [ "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi 0.11.1+wasi-snapshot-preview1", "windows-sys 0.59.0", ] @@ -1284,28 +1754,27 @@ dependencies = [ [[package]] name = "nix" -version = "0.23.2" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c" +checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ - "bitflags 1.3.2", - "cc", + "bitflags", "cfg-if", + "cfg_aliases 0.1.1", "libc", - "memoffset 0.6.5", ] [[package]] name = "nix" -version = "0.26.4" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 1.3.2", + "bitflags", "cfg-if", + "cfg_aliases 0.2.1", "libc", - "memoffset 0.7.1", - "pin-utils", + "memoffset", ] [[package]] @@ -1337,6 +1806,97 @@ dependencies = [ "winapi", ] +[[package]] +name = "num-bigint" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-bigint-dig" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" +dependencies = [ + "byteorder", + "lazy_static", + "libm", + "num-integer", + "num-iter", + "num-traits", + "rand", + "smallvec", + "zeroize", +] + +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_threads" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +dependencies = [ + "libc", +] + +[[package]] +name = "oauth2" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51e219e79014df21a225b1860a479e2dcd7cbd9130f4defd4bd0e191ea31d67d" +dependencies = [ + "base64 0.22.1", + "chrono", + "getrandom 0.2.16", + "http", + "rand", + "serde", + "serde_json", + "serde_path_to_error", + "sha2", + "thiserror 1.0.69", + "url", +] + [[package]] name = "object" version = "0.36.7" @@ -1346,6 +1906,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "oid-registry" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" +dependencies = [ + "asn1-rs", +] + [[package]] name = "once_cell" version = "1.21.3" @@ -1358,13 +1927,44 @@ version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" +[[package]] +name = "openidconnect" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8c6709ba2ea764bbed26bce1adf3c10517113ddea6f2d4196e4851757ef2b2" +dependencies = [ + "base64 0.21.7", + "chrono", + "dyn-clone", + "ed25519-dalek", + "hmac", + "http", + "itertools", + "log", + "oauth2", + "p256", + "p384", + "rand", + "rsa", + "serde", + "serde-value", + "serde_json", + "serde_path_to_error", + "serde_plain", + "serde_with", + "sha2", + "subtle", + "thiserror 1.0.69", + "url", +] + [[package]] name = "openssl" version = "0.10.73" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" dependencies = [ - "bitflags 2.9.1", + "bitflags", "cfg-if", "foreign-types", "libc", @@ -1379,9 +1979,9 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -1402,12 +2002,54 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "ordered-float" +version = "2.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" +dependencies = [ + "num-traits", +] + [[package]] name = "overload" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" +[[package]] +name = "p256" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" +dependencies = [ + "ecdsa", + "elliptic-curve", + "primeorder", + "sha2", +] + +[[package]] +name = "p384" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6" +dependencies = [ + "ecdsa", + "elliptic-curve", + "primeorder", + "sha2", +] + +[[package]] +name = "pam-sys" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd4858311a097f01a0006ef7d0cd50bca81ec430c949d7bf95cbefd202282434" +dependencies = [ + "libc", +] + [[package]] name = "parking_lot" version = "0.12.4" @@ -1431,17 +2073,23 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "pastey" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35fb2e5f958ec131621fdd531e9fc186ed768cbe395337403ae56c17a74c68ec" + [[package]] name = "pathpatterns" -version = "0.3.0" +version = "1.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags", "libc", ] [[package]] name = "pbs-api-types" -version = "0.2.2" +version = "1.0.3" dependencies = [ "anyhow", "const_format", @@ -1451,6 +2099,7 @@ dependencies = [ "proxmox-auth-api", "proxmox-human-byte", "proxmox-lang", + "proxmox-s3-client", "proxmox-schema", "proxmox-serde", "proxmox-time", @@ -1462,22 +2111,24 @@ dependencies = [ [[package]] name = "pbs-buildcfg" -version = "3.4.2" +version = "4.0.13" [[package]] name = "pbs-client" version = "0.1.0" dependencies = [ "anyhow", - "bitflags 2.9.1", + "bitflags", "bytes", "futures", - "h2 0.4.10", + "h2", "hex", "hickory-resolver", + "http-body-util", "hyper", + "hyper-util", "libc", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pathpatterns", "pbs-api-types", @@ -1515,13 +2166,14 @@ dependencies = [ "anyhow", "const_format", "libc", - "nix 0.26.4", + "nix 0.29.0", "once_cell", "openssl", "pbs-api-types", "pbs-buildcfg", "proxmox-notify", "proxmox-router", + "proxmox-s3-client", "proxmox-schema", "proxmox-section-config", "proxmox-shared-memory", @@ -1538,15 +2190,16 @@ name = "pbs-datastore" version = "0.1.0" dependencies = [ "anyhow", - "base64 0.13.1", "const_format", "crc32fast", "endian_trait", "futures", "hex", + "http-body-util", + "hyper", "libc", "log", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pathpatterns", "pbs-api-types", @@ -1554,10 +2207,14 @@ dependencies = [ "pbs-config", "pbs-key-config", "pbs-tools", + "proxmox-async", + "proxmox-base64", "proxmox-borrow", + "proxmox-http", "proxmox-human-byte", "proxmox-io", "proxmox-lang", + "proxmox-s3-client", "proxmox-schema", "proxmox-serde", "proxmox-sys", @@ -1584,7 +2241,7 @@ dependencies = [ "futures", "libc", "log", - "nix 0.26.4", + "nix 0.29.0", "proxmox-fuse", "proxmox-sys", "proxmox-time", @@ -1597,7 +2254,7 @@ name = "pbs-key-config" version = "0.1.0" dependencies = [ "anyhow", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pbs-api-types", "pbs-tools", @@ -1630,12 +2287,12 @@ name = "pbs-tape" version = "0.1.0" dependencies = [ "anyhow", - "bitflags 2.9.1", + "bitflags", "endian_trait", "hex", "libc", "log", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pbs-api-types", "pbs-buildcfg", @@ -1651,7 +2308,7 @@ dependencies = [ "regex", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.14", "udev", ] @@ -1675,6 +2332,15 @@ dependencies = [ "tokio", ] +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + [[package]] name = "percent-encoding" version = "2.3.1" @@ -1683,20 +2349,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "198db74531d58c70a361c42201efde7e2591e976d518caf7662a47dc5720e7b6" +checksum = "1db05f56d34358a8b1066f67cbb203ee3e7ed2ba674a6263a1d5ec6db2204323" dependencies = [ "memchr", - "thiserror 2.0.12", + "thiserror 2.0.14", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d725d9cfd79e87dccc9341a2ef39d1b6f6353d68c4b33c177febbe1a402c97c5" +checksum = "bb056d9e8ea77922845ec74a1c4e8fb17e7c218cc4fc11a15c5d25e189aa40bc" dependencies = [ "pest", "pest_generator", @@ -1704,24 +2370,23 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db7d01726be8ab66ab32f9df467ae8b1148906685bbe75c82d1e65d7f5b3f841" +checksum = "87e404e638f781eb3202dc82db6760c8ae8a1eeef7fb3fa8264b2ef280504966" dependencies = [ "pest", "pest_meta", - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "pest_meta" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9f832470494906d1fca5329f8ab5791cc60beb230c74815dff541cbd2b5ca0" +checksum = "edd1101f170f5903fde0914f899bb503d9ff5271d7ba76bbb70bea63690cc0d5" dependencies = [ - "once_cell", "pest", "sha2", ] @@ -1738,6 +2403,27 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "pkcs1" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" +dependencies = [ + "der", + "pkcs8", + "spki", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + [[package]] name = "pkg-config" version = "0.3.32" @@ -1746,9 +2432,9 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "portable-atomic" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" [[package]] name = "portable-atomic-util" @@ -1768,6 +2454,12 @@ dependencies = [ "zerovec", ] +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.21" @@ -1777,6 +2469,15 @@ dependencies = [ "zerocopy", ] +[[package]] +name = "primeorder" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" +dependencies = [ + "elliptic-curve", +] + [[package]] name = "proc-macro2" version = "0.2.3" @@ -1788,26 +2489,57 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.95" +version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" +checksum = "d61789d7719defeb74ea5fe81f2fdfdbd28a803847077cecce2ff14e1472f6f1" dependencies = [ "unicode-ident", ] +[[package]] +name = "proxmox-acme" +version = "1.0.2" +dependencies = [ + "openssl", + "proxmox-base64", + "proxmox-schema", + "serde", + "serde_json", +] + [[package]] name = "proxmox-api-macro" -version = "1.3.3" +version = "1.4.1" dependencies = [ "anyhow", - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", +] + +[[package]] +name = "proxmox-apt" +version = "0.99.2" +dependencies = [ + "anyhow", + "apt-pkg-native", + "hex", + "log", + "nix 0.29.0", + "openssl", + "proxmox-apt-api-types", + "proxmox-config-digest", + "proxmox-schema", + "proxmox-sys", + "regex", + "rfc822-like", + "serde", + "serde_json", ] [[package]] name = "proxmox-apt-api-types" -version = "1.0.3" +version = "2.0.0" dependencies = [ "proxmox-config-digest", "proxmox-schema", @@ -1817,7 +2549,7 @@ dependencies = [ [[package]] name = "proxmox-async" -version = "0.4.3" +version = "0.5.0" dependencies = [ "anyhow", "futures", @@ -1829,26 +2561,127 @@ dependencies = [ [[package]] name = "proxmox-auth-api" -version = "0.4.8" +version = "1.0.3" dependencies = [ "anyhow", "const_format", + "http", + "hyper", + "libc", + "log", + "openssl", + "pam-sys", + "percent-encoding", + "proxmox-base64", + "proxmox-http", + "proxmox-rest-server", + "proxmox-router", "proxmox-schema", + "proxmox-tfa", + "proxmox-time", "regex", "serde", + "serde_json", "serde_plain", ] [[package]] name = "proxmox-backup" -version = "3.4.2" +version = "4.0.13" +dependencies = [ + "anyhow", + "async-trait", + "bytes", + "cidr", + "const_format", + "crc32fast", + "crossbeam-channel", + "endian_trait", + "futures", + "h2", + "hex", + "http-body-util", + "hyper", + "hyper-util", + "libc", + "log", + "nix 0.29.0", + "nom 7.1.3", + "num-traits", + "once_cell", + "openssl", + "pbs-api-types", + "pbs-buildcfg", + "pbs-client", + "pbs-config", + "pbs-datastore", + "pbs-key-config", + "pbs-tape", + "pbs-tools", + "percent-encoding", + "proxmox-acme", + "proxmox-apt", + "proxmox-apt-api-types", + "proxmox-async", + "proxmox-auth-api", + "proxmox-base64", + "proxmox-compression", + "proxmox-config-digest", + "proxmox-daemon", + "proxmox-http", + "proxmox-human-byte", + "proxmox-io", + "proxmox-lang", + "proxmox-ldap", + "proxmox-log", + "proxmox-metrics", + "proxmox-network-api", + "proxmox-notify", + "proxmox-openid", + "proxmox-product-config", + "proxmox-rest-server", + "proxmox-router", + "proxmox-rrd", + "proxmox-rrd-api-types", + "proxmox-s3-client", + "proxmox-schema", + "proxmox-section-config", + "proxmox-serde", + "proxmox-shared-cache", + "proxmox-shared-memory", + "proxmox-sortable-macro", + "proxmox-subscription", + "proxmox-sys", + "proxmox-systemd", + "proxmox-tfa", + "proxmox-time", + "proxmox-uuid", + "proxmox-worker-task", + "pxar", + "regex", + "rustyline", + "serde", + "serde_json", + "syslog", + "termcolor", + "thiserror 2.0.14", + "tokio", + "tokio-openssl", + "tokio-stream", + "tokio-util", + "tracing", + "udev", + "url", + "walkdir", + "zstd", +] [[package]] name = "proxmox-backup-banner" version = "0.1.0" dependencies = [ "anyhow", - "nix 0.26.4", + "nix 0.29.0", ] [[package]] @@ -1859,7 +2692,7 @@ dependencies = [ "futures", "hyper", "log", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pathpatterns", "pbs-api-types", @@ -1871,6 +2704,7 @@ dependencies = [ "pbs-pxar-fuse", "pbs-tools", "proxmox-async", + "proxmox-http", "proxmox-human-byte", "proxmox-io", "proxmox-log", @@ -1891,12 +2725,20 @@ dependencies = [ ] [[package]] -name = "proxmox-borrow" +name = "proxmox-base64" version = "1.0.1" +dependencies = [ + "base64 0.22.1", + "serde", +] + +[[package]] +name = "proxmox-borrow" +version = "1.1.0" [[package]] name = "proxmox-compression" -version = "0.2.4" +version = "1.0.0" dependencies = [ "anyhow", "bytes", @@ -1916,18 +2758,68 @@ dependencies = [ [[package]] name = "proxmox-config-digest" -version = "0.1.1" +version = "1.0.0" dependencies = [ "anyhow", "hex", + "openssl", "proxmox-schema", "serde", "serde_plain", ] +[[package]] +name = "proxmox-daemon" +version = "1.0.0" +dependencies = [ + "anyhow", + "futures", + "libc", + "log", + "nix 0.29.0", + "proxmox-sys", + "proxmox-systemd", + "serde", + "serde_json", + "tokio", +] + +[[package]] +name = "proxmox-file-restore" +version = "0.1.0" +dependencies = [ + "anyhow", + "futures", + "libc", + "log", + "nix 0.29.0", + "pbs-api-types", + "pbs-buildcfg", + "pbs-client", + "pbs-datastore", + "pbs-key-config", + "pbs-tools", + "proxmox-async", + "proxmox-base64", + "proxmox-compression", + "proxmox-lang", + "proxmox-log", + "proxmox-router", + "proxmox-schema", + "proxmox-sys", + "proxmox-systemd", + "proxmox-time", + "proxmox-uuid", + "pxar", + "serde", + "serde_json", + "tokio", + "tokio-util", +] + [[package]] name = "proxmox-fuse" -version = "0.1.7" +version = "1.0.0" dependencies = [ "anyhow", "cc", @@ -1939,20 +2831,26 @@ dependencies = [ [[package]] name = "proxmox-http" -version = "0.9.5" +version = "1.0.2" dependencies = [ "anyhow", - "base64 0.13.1", + "bytes", "futures", "http", + "http-body", + "http-body-util", "hyper", + "hyper-util", "native-tls", "openssl", + "proxmox-async", + "proxmox-base64", "proxmox-compression", "proxmox-io", "proxmox-lang", "proxmox-sys", "serde_json", + "sync_wrapper", "tokio", "tokio-openssl", "tower-service", @@ -1962,7 +2860,7 @@ dependencies = [ [[package]] name = "proxmox-http-error" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "http", @@ -1971,7 +2869,7 @@ dependencies = [ [[package]] name = "proxmox-human-byte" -version = "0.1.4" +version = "1.0.0" dependencies = [ "anyhow", "proxmox-schema", @@ -1981,7 +2879,7 @@ dependencies = [ [[package]] name = "proxmox-io" -version = "1.1.0" +version = "1.2.0" dependencies = [ "endian_trait", "tokio", @@ -1989,14 +2887,24 @@ dependencies = [ [[package]] name = "proxmox-lang" -version = "1.4.0" +version = "1.5.0" + +[[package]] +name = "proxmox-ldap" +version = "1.0.0" +dependencies = [ + "anyhow", + "ldap3", + "native-tls", + "serde", +] [[package]] name = "proxmox-log" -version = "0.2.9" +version = "1.0.0" dependencies = [ "anyhow", - "nix 0.26.4", + "nix 0.29.0", "proxmox-sys", "proxmox-time", "tokio", @@ -2007,17 +2915,61 @@ dependencies = [ ] [[package]] -name = "proxmox-notify" -version = "0.5.5" +name = "proxmox-metrics" +version = "1.0.0" +dependencies = [ + "anyhow", + "form_urlencoded", + "futures", + "http", + "hyper", + "openssl", + "proxmox-async", + "proxmox-http", + "serde", + "serde_json", + "tokio", +] + +[[package]] +name = "proxmox-network-api" +version = "1.0.3" +dependencies = [ + "anyhow", + "const_format", + "libc", + "nix 0.29.0", + "proxmox-config-digest", + "proxmox-network-types", + "proxmox-product-config", + "proxmox-schema", + "proxmox-sys", + "regex", + "serde", + "serde_json", +] + +[[package]] +name = "proxmox-network-types" +version = "0.1.1" +dependencies = [ + "serde", + "serde_with", + "thiserror 2.0.14", +] + +[[package]] +name = "proxmox-notify" +version = "1.0.2" dependencies = [ "anyhow", - "base64 0.13.1", "const_format", "handlebars", "http", "lettre", "openssl", "percent-encoding", + "proxmox-base64", "proxmox-http", "proxmox-http-error", "proxmox-human-byte", @@ -2035,18 +2987,119 @@ dependencies = [ ] [[package]] -name = "proxmox-router" -version = "3.1.1" +name = "proxmox-openid" +version = "1.0.2" dependencies = [ "anyhow", + "http", + "native-tls", + "nix 0.29.0", + "openidconnect", + "proxmox-sys", + "proxmox-time", + "serde", + "serde_json", + "thiserror 1.0.69", + "ureq", +] + +[[package]] +name = "proxmox-product-config" +version = "1.0.0" +dependencies = [ + "anyhow", + "nix 0.29.0", + "proxmox-sys", +] + +[[package]] +name = "proxmox-rest-server" +version = "1.0.1" +dependencies = [ + "anyhow", + "futures", + "handlebars", + "http", + "http-body-util", + "hyper", + "hyper-util", + "libc", + "log", + "nix 0.29.0", + "openssl", + "percent-encoding", + "proxmox-async", + "proxmox-compression", + "proxmox-daemon", + "proxmox-http", + "proxmox-lang", + "proxmox-log", + "proxmox-router", + "proxmox-schema", + "proxmox-sys", + "proxmox-time", + "proxmox-worker-task", + "regex", + "serde", + "serde_json", + "tokio", + "tokio-openssl", + "tokio-stream", + "tower-service", + "tracing", + "url", +] + +[[package]] +name = "proxmox-restore-daemon" +version = "0.1.0" +dependencies = [ + "anyhow", + "env_logger", + "futures", + "hyper", + "hyper-util", + "libc", + "log", + "nix 0.29.0", + "pathpatterns", + "pbs-api-types", + "pbs-client", + "pbs-datastore", + "pbs-tools", + "proxmox-async", + "proxmox-base64", + "proxmox-compression", + "proxmox-http", + "proxmox-rest-server", + "proxmox-router", + "proxmox-schema", + "proxmox-sortable-macro", + "proxmox-sys", + "proxmox-time", + "pxar", + "regex", + "serde_json", + "tokio", + "tokio-stream", + "tokio-util", +] + +[[package]] +name = "proxmox-router" +version = "3.2.2" +dependencies = [ + "anyhow", + "bytes", "env_logger", "futures", "http", "hyper", "libc", - "nix 0.26.4", + "nix 0.29.0", "percent-encoding", "proxmox-async", + "proxmox-http", "proxmox-http-error", "proxmox-schema", "rustyline", @@ -2056,12 +3109,72 @@ dependencies = [ "unicode-width 0.1.14", ] +[[package]] +name = "proxmox-rrd" +version = "1.0.0" +dependencies = [ + "anyhow", + "bitflags", + "crossbeam-channel", + "log", + "nix 0.29.0", + "proxmox-schema", + "proxmox-sys", + "proxmox-time", + "serde", + "serde_cbor", + "serde_json", + "serde_plain", +] + +[[package]] +name = "proxmox-rrd-api-types" +version = "1.1.0" +dependencies = [ + "proxmox-schema", + "serde", + "serde_plain", +] + +[[package]] +name = "proxmox-s3-client" +version = "1.1.1" +dependencies = [ + "anyhow", + "bytes", + "const_format", + "futures", + "hex", + "http-body-util", + "hyper", + "hyper-util", + "iso8601", + "md5", + "openssl", + "proxmox-base64", + "proxmox-http", + "proxmox-schema", + "proxmox-serde", + "proxmox-time", + "quick-xml", + "regex", + "serde", + "serde-xml-rs", + "serde_plain", + "tokio", + "tokio-util", + "tracing", + "url", +] + [[package]] name = "proxmox-schema" -version = "4.0.0" +version = "4.1.1" dependencies = [ "anyhow", "const_format", + "libc", + "nix 0.29.0", "proxmox-api-macro", "regex", "serde", @@ -2071,7 +3184,7 @@ dependencies = [ [[package]] name = "proxmox-section-config" -version = "3.0.0" +version = "3.1.0" dependencies = [ "anyhow", "hex", @@ -2083,73 +3196,126 @@ dependencies = [ [[package]] name = "proxmox-sendmail" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", - "base64 0.13.1", "percent-encoding", + "proxmox-base64", "proxmox-time", ] [[package]] name = "proxmox-serde" -version = "0.1.2" +version = "1.0.0" dependencies = [ "anyhow", - "base64 0.13.1", + "proxmox-base64", "proxmox-time", "serde", "serde_json", ] +[[package]] +name = "proxmox-shared-cache" +version = "1.0.0" +dependencies = [ + "anyhow", + "nix 0.29.0", + "proxmox-sys", + "serde", + "serde_json", +] + [[package]] name = "proxmox-shared-memory" -version = "0.3.1" +version = "1.0.0" dependencies = [ "anyhow", "libc", - "nix 0.26.4", + "nix 0.29.0", "proxmox-sys", ] [[package]] name = "proxmox-sortable-macro" -version = "0.1.3" +version = "1.0.0" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] -name = "proxmox-sys" -version = "0.6.7" +name = "proxmox-subscription" +version = "1.0.0" dependencies = [ "anyhow", - "libc", - "log", - "nix 0.26.4", + "hex", "openssl", - "proxmox-io", - "proxmox-lang", + "proxmox-base64", + "proxmox-http", + "proxmox-schema", + "proxmox-serde", + "proxmox-sys", + "proxmox-time", "regex", "serde", "serde_json", ] +[[package]] +name = "proxmox-sys" +version = "1.0.0" +dependencies = [ + "anyhow", + "libc", + "log", + "nix 0.29.0", + "openssl", + "proxmox-io", + "proxmox-lang", + "regex", + "serde", + "serde_json", + "zstd", +] + [[package]] name = "proxmox-systemd" -version = "0.1.0" +version = "1.0.0" dependencies = [ "libc", ] [[package]] -name = "proxmox-time" -version = "2.0.4" +name = "proxmox-tfa" +version = "6.0.3" dependencies = [ "anyhow", - "bitflags 2.9.1", + "base32", + "hex", + "libc", + "log", + "openssl", + "percent-encoding", + "proxmox-base64", + "proxmox-schema", + "proxmox-time", + "proxmox-uuid", + "serde", + "serde_json", + "serde_plain", + "url", + "webauthn-rs", + "webauthn-rs-core", +] + +[[package]] +name = "proxmox-time" +version = "2.1.0" +dependencies = [ + "anyhow", + "bitflags", "js-sys", "libc", "nom 7.1.3", @@ -2157,7 +3323,7 @@ dependencies = [ [[package]] name = "proxmox-uuid" -version = "1.0.3" +version = "1.1.0" dependencies = [ "js-sys", "serde", @@ -2165,7 +3331,7 @@ dependencies = [ [[package]] name = "proxmox-worker-task" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", ] @@ -2181,7 +3347,7 @@ dependencies = [ [[package]] name = "pxar" -version = "0.12.1" +version = "1.0.0" dependencies = [ "endian_trait", "libc", @@ -2195,7 +3361,7 @@ version = "0.1.0" dependencies = [ "anyhow", "futures", - "nix 0.26.4", + "nix 0.29.0", "pathpatterns", "pbs-api-types", "pbs-client", @@ -2212,10 +3378,14 @@ dependencies = [ ] [[package]] -name = "quick-error" -version = "2.0.1" +name = "quick-xml" +version = "0.36.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" +checksum = "f7649a7b4df05aed9ea7ec6f628c67c9953a43869b8bc50929569b2999d443fe" +dependencies = [ + "memchr", + "tokio", +] [[package]] name = "quote" @@ -2232,7 +3402,7 @@ version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", ] [[package]] @@ -2243,9 +3413,9 @@ checksum = "640c9bd8497b02465aeef5375144c26062e0dcd5939dfcbb0f5db76cb8c17c73" [[package]] name = "r-efi" -version = "5.2.0" +version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] name = "radix_trie" @@ -2289,22 +3459,31 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.12" +version = "0.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af" +checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" dependencies = [ - "bitflags 2.9.1", + "bitflags", ] [[package]] -name = "redox_users" -version = "0.4.6" +name = "ref-cast" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" dependencies = [ - "getrandom 0.2.16", - "libredox", - "thiserror 1.0.69", + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", ] [[package]] @@ -2342,55 +3521,83 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95325155c684b1c89f7765e30bc1c42e4a6da51ca513615660cb8a62ef9a88e3" +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac", + "subtle", +] + +[[package]] +name = "rfc822-like" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7264615e2eab444f9acd5ee00e4401f0025bdde75ab9c1dab3062a040e07c2ff" +dependencies = [ + "fmt2io", + "serde", + "thiserror 1.0.69", + "unicode-segmentation", +] + +[[package]] +name = "rsa" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b" +dependencies = [ + "const-oid", + "digest", + "num-bigint-dig", + "num-integer", + "num-traits", + "pkcs1", + "pkcs8", + "rand_core", + "signature", + "spki", + "subtle", + "zeroize", +] + [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] -name = "rustc-hash" -version = "2.1.1" +name = "rustc_version" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" - -[[package]] -name = "rustix" -version = "0.38.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "bitflags 2.9.1", - "errno", - "libc", - "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", + "semver", +] + +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom 7.1.3", ] [[package]] name = "rustix" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" +checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8" dependencies = [ - "bitflags 2.9.1", + "bitflags", "errno", "libc", - "linux-raw-sys 0.9.4", - "windows-sys 0.59.0", -] - -[[package]] -name = "rustls-native-certs" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" -dependencies = [ - "openssl-probe", - "rustls-pemfile", - "rustls-pki-types", - "schannel", - "security-framework", + "linux-raw-sys", + "windows-sys 0.60.2", ] [[package]] @@ -2412,27 +3619,31 @@ dependencies = [ ] [[package]] -name = "rustyline" -version = "9.1.2" +name = "rustversion" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db7826789c0e25614b03e5a54a0717a86f9ff6e6e5247f92b369472869320039" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" + +[[package]] +name = "rustyline" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7803e8936da37efd9b6d4478277f4b2b9bb5cdb37a113e8d63222e58da647e63" dependencies = [ - "bitflags 1.3.2", + "bitflags", "cfg-if", "clipboard-win", - "dirs-next", "fd-lock", + "home", "libc", "log", "memchr", - "nix 0.23.2", + "nix 0.28.0", "radix_trie", - "scopeguard", - "smallvec", "unicode-segmentation", "unicode-width 0.1.14", "utf8parse", - "winapi", + "windows-sys 0.52.0", ] [[package]] @@ -2459,19 +3670,57 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "schemars" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + [[package]] name = "scopeguard" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct", + "der", + "generic-array", + "pkcs8", + "subtle", + "zeroize", +] + [[package]] name = "security-framework" version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.9.1", + "bitflags", "core-foundation", "core-foundation-sys", "libc", @@ -2488,6 +3737,12 @@ dependencies = [ "libc", ] +[[package]] +name = "semver" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" + [[package]] name = "serde" version = "1.0.219" @@ -2497,22 +3752,64 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "serde-value" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" +dependencies = [ + "ordered-float", + "serde", +] + +[[package]] +name = "serde-xml-rs" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65162e9059be2f6a3421ebbb4fef3e74b7d9e7c60c50a0e292c6239f19f1edfa" +dependencies = [ + "log", + "serde", + "thiserror 1.0.69", + "xml-rs", +] + +[[package]] +name = "serde_cbor" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" +dependencies = [ + "half", + "serde", +] + +[[package]] +name = "serde_cbor_2" +version = "0.12.0-dev" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b46d75f449e01f1eddbe9b00f432d616fbbd899b809c837d0fbc380496a0dd55" +dependencies = [ + "half", + "serde", +] + [[package]] name = "serde_derive" version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "serde_json" -version = "1.0.140" +version = "1.0.142" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7" dependencies = [ "itoa", "memchr", @@ -2520,6 +3817,16 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_path_to_error" +version = "0.1.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59fab13f937fa393d08645bf3a84bdfe86e296747b506ada67bb15f10f218b2a" +dependencies = [ + "itoa", + "serde", +] + [[package]] name = "serde_plain" version = "1.0.2" @@ -2529,6 +3836,38 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_with" +version = "3.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2c45cd61fefa9db6f254525d46e392b852e0e61d9a1fd36e5bd183450a556d5" +dependencies = [ + "base64 0.22.1", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.10.0", + "schemars 0.9.0", + "schemars 1.0.4", + "serde", + "serde_derive", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de90945e6565ce0d9a25098082ed4ee4002e047cb59892c318d66821e14bb30f" +dependencies = [ + "darling", + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] + [[package]] name = "sha2" version = "0.10.9" @@ -2557,33 +3896,40 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.5" +version = "1.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" +checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" dependencies = [ "libc", ] [[package]] -name = "siphasher" -version = "0.3.11" +name = "signature" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ - "autocfg", + "digest", + "rand_core", ] [[package]] -name = "smallvec" -version = "1.15.0" +name = "siphasher" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" +checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" + +[[package]] +name = "slab" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "smawk" @@ -2601,6 +3947,32 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "socket2" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" +dependencies = [ + "libc", + "windows-sys 0.59.0", +] + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -2621,10 +3993,16 @@ dependencies = [ ] [[package]] -name = "str-buf" -version = "1.0.6" +name = "strsim" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e08d8363704e6c71fc928674353e6b7c23dcea9d82d7012c8faf2a3a025f8d0" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" @@ -2639,24 +4017,46 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.101" +version = "2.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" +checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", "unicode-ident", ] +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + [[package]] name = "synstructure" version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", +] + +[[package]] +name = "syslog" +version = "6.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc7e95b5b795122fafe6519e27629b5ab4232c73ebb2428f568e82b1a457ad3" +dependencies = [ + "error-chain", + "hostname 0.3.1", + "libc", + "log", + "time", ] [[package]] @@ -2679,10 +4079,19 @@ dependencies = [ "fastrand", "getrandom 0.3.3", "once_cell", - "rustix 1.0.7", + "rustix", "windows-sys 0.59.0", ] +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + [[package]] name = "textwrap" version = "0.16.2" @@ -2691,7 +4100,7 @@ checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057" dependencies = [ "smawk", "unicode-linebreak", - "unicode-width 0.2.0", + "unicode-width 0.2.1", ] [[package]] @@ -2705,11 +4114,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.12" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "0b0949c3a6c842cbde3f1686d6eea5a010516deb7085f79db747562d4102f41e" dependencies = [ - "thiserror-impl 2.0.12", + "thiserror-impl 2.0.14", ] [[package]] @@ -2718,30 +4127,62 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "thiserror-impl" -version = "2.0.12" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +checksum = "cc5b44b4ab9c2fdd0e0512e6bece8388e214c0749f5862b114cc5b7a25daf227" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ "cfg-if", - "once_cell", +] + +[[package]] +name = "time" +version = "0.3.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" +dependencies = [ + "deranged", + "itoa", + "libc", + "num-conv", + "num_threads", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" + +[[package]] +name = "time-macros" +version = "0.2.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" +dependencies = [ + "num-conv", + "time-core", ] [[package]] @@ -2771,19 +4212,22 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.45.1" +version = "1.47.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779" +checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", "bytes", + "io-uring", "libc", "mio", + "parking_lot", "pin-project-lite", "signal-hook-registry", - "socket2", + "slab", + "socket2 0.6.0", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -2792,9 +4236,19 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", +] + +[[package]] +name = "tokio-native-tls" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" +dependencies = [ + "native-tls", + "tokio", ] [[package]] @@ -2821,12 +4275,13 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.15" +version = "0.7.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" +checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5" dependencies = [ "bytes", "futures-core", + "futures-io", "futures-sink", "pin-project-lite", "tokio", @@ -2851,20 +4306,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" dependencies = [ "once_cell", "valuable", @@ -2926,12 +4381,14 @@ checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" [[package]] name = "udev" -version = "0.4.0" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24953d50a3bce0f5f5a9a2766567072dc9af8096f8c40ea81815da651066bc9f" +checksum = "af4e37e9ea4401fc841ff54b9ddfc9be1079b1e89434c1a6a865dd68980f7e9f" dependencies = [ + "io-lifetimes", "libc", "libudev-sys", + "pkg-config", ] [[package]] @@ -2960,9 +4417,9 @@ checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unicode-width" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" +checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c" [[package]] name = "unicode-xid" @@ -2978,16 +4435,33 @@ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "ureq" -version = "2.12.1" +version = "3.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d" +checksum = "9f0fde9bc91026e381155f8c67cb354bcd35260b2f4a29bcc84639f762760c39" dependencies = [ "base64 0.22.1", + "der", + "flate2", "log", "native-tls", - "once_cell", - "rustls-native-certs", - "url", + "percent-encoding", + "rustls-pemfile", + "rustls-pki-types", + "ureq-proto", + "utf-8", + "webpki-root-certs 0.26.11", +] + +[[package]] +name = "ureq-proto" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59db78ad1923f2b1be62b6da81fe80b173605ca0d57f85da2e005382adf693f7" +dependencies = [ + "base64 0.22.1", + "http", + "httparse", + "log", ] [[package]] @@ -2999,8 +4473,15 @@ dependencies = [ "form_urlencoded", "idna", "percent-encoding", + "serde", ] +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + [[package]] name = "utf8_iter" version = "1.0.4" @@ -3013,6 +4494,18 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +[[package]] +name = "uuid" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f33196643e165781c20a5ead5582283a7dacbb87855d867fbc2df3f81eddc1be" +dependencies = [ + "getrandom 0.3.3", + "js-sys", + "serde", + "wasm-bindgen", +] + [[package]] name = "valuable" version = "0.1.1" @@ -3052,9 +4545,9 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "wasi" @@ -3073,6 +4566,7 @@ checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" dependencies = [ "cfg-if", "once_cell", + "rustversion", "wasm-bindgen-macro", ] @@ -3084,9 +4578,9 @@ checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" dependencies = [ "bumpalo", "log", - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", "wasm-bindgen-shared", ] @@ -3106,9 +4600,9 @@ version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -3122,6 +4616,92 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "webauthn-attestation-ca" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384e43534efe4e8f56c4eb1615a27e24d2ff29281385c843cf9f16ac1077dbdc" +dependencies = [ + "base64urlsafedata", + "openssl", + "openssl-sys", + "serde", + "tracing", + "uuid", +] + +[[package]] +name = "webauthn-rs" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed1f861a94557baeb0cf711e3e55d623c46b68f4aab7aa932562f785b8b5f1ab" +dependencies = [ + "base64urlsafedata", + "serde", + "tracing", + "url", + "uuid", + "webauthn-rs-core", +] + +[[package]] +name = "webauthn-rs-core" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "269c210cd5f183aaca860bb5733187d1dd110ebed54640f8fc1aca31a04aa4dc" +dependencies = [ + "base64 0.21.7", + "base64urlsafedata", + "der-parser", + "hex", + "nom 7.1.3", + "openssl", + "openssl-sys", + "rand", + "rand_chacha", + "serde", + "serde_cbor_2", + "serde_json", + "thiserror 1.0.69", + "tracing", + "url", + "uuid", + "webauthn-attestation-ca", + "webauthn-rs-proto", + "x509-parser", +] + +[[package]] +name = "webauthn-rs-proto" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "144dbee9abb4bfad78fd283a2613f0312a0ed5955051b7864cfc98679112ae60" +dependencies = [ + "base64 0.21.7", + "base64urlsafedata", + "serde", + "serde_json", + "url", +] + +[[package]] +name = "webpki-root-certs" +version = "0.26.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75c7f0ef91146ebfb530314f5f1d24528d7f0767efbfd31dce919275413e393e" +dependencies = [ + "webpki-root-certs 1.0.2", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e4ffd8df1c57e87c325000a3d6ef93db75279dc3a231125aac571650f22b12a" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "widestring" version = "1.2.0" @@ -3160,10 +4740,63 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows-link" -version = "0.1.1" +name = "windows-core" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-implement" +version = "0.60.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] + +[[package]] +name = "windows-interface" +version = "0.59.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] + +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-result" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +dependencies = [ + "windows-link", +] [[package]] name = "windows-sys" @@ -3192,6 +4825,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.3", +] + [[package]] name = "windows-targets" version = "0.48.5" @@ -3225,10 +4867,11 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.0" +version = "0.53.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" +checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91" dependencies = [ + "windows-link", "windows_aarch64_gnullvm 0.53.0", "windows_aarch64_msvc 0.53.0", "windows_i686_gnu 0.53.0", @@ -3393,7 +5036,7 @@ version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" dependencies = [ - "bitflags 2.9.1", + "bitflags", ] [[package]] @@ -3403,13 +5046,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" [[package]] -name = "xattr" -version = "1.5.0" +name = "x509-parser" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d65cbf2f12c15564212d48f4e3dfb87923d25d611f2aed18f4cb23f0413d89e" +checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" +dependencies = [ + "asn1-rs", + "data-encoding", + "der-parser", + "lazy_static", + "nom 7.1.3", + "oid-registry", + "rusticata-macros", + "thiserror 1.0.69", + "time", +] + +[[package]] +name = "xattr" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af3a19837351dc82ba89f8a125e22a3c475f05aba604acc023d62b2739ae2909" dependencies = [ "libc", - "rustix 1.0.7", + "rustix", ] [[package]] @@ -3418,6 +5078,12 @@ version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213b7324336b53d2414b2db8537e56544d981803139155afa84f76eeebb7a546" +[[package]] +name = "xml-rs" +version = "0.8.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fd8403733700263c6eb89f192880191f1b83e332f7a20371ddcf421c4a337c7" + [[package]] name = "yoke" version = "0.8.0" @@ -3436,30 +5102,30 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", "synstructure", ] [[package]] name = "zerocopy" -version = "0.8.25" +version = "0.8.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" +checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.25" +version = "0.8.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" +checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -3477,9 +5143,9 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", "synstructure", ] @@ -3502,9 +5168,9 @@ dependencies = [ [[package]] name = "zerovec" -version = "0.11.2" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" +checksum = "e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b" dependencies = [ "yoke", "zerofrom", @@ -3517,27 +5183,26 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "zstd" -version = "0.12.4" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" +checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "6.0.6" +version = "7.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" +checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" dependencies = [ - "libc", "zstd-sys", ] @@ -3547,7 +5212,6 @@ version = "2.0.15+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237" dependencies = [ - "bindgen", "cc", "pkg-config", ] diff --git a/pkgs/by-name/pr/proxmox-backup-client/package.nix b/pkgs/by-name/pr/proxmox-backup-client/package.nix index 6bd8a0e52de4..98c6b5539b0e 100644 --- a/pkgs/by-name/pr/proxmox-backup-client/package.nix +++ b/pkgs/by-name/pr/proxmox-backup-client/package.nix @@ -1,14 +1,11 @@ { lib, fetchgit, - fetchFromGitHub, rustPlatform, pkgconf, openssl, fuse3, - libuuid, acl, - libxcrypt, installShellFiles, sphinx, stdenv, @@ -17,50 +14,41 @@ let pname = "proxmox-backup-client"; - version = "3.4.2"; + version = "4.0.13"; proxmox-backup_src = fetchgit { url = "git://git.proxmox.com/git/proxmox-backup.git"; - rev = "37f1949335cad801f7cdaa0173cc114590a37e4e"; + rev = "de92e3f6a26bfbcc9f8b860e983a85a434a8e3c6"; name = "proxmox-backup"; - hash = "sha256-OW6GG/4IcEw8XOSSB5EoN+jyoOaL0ZtavJahnKOuAqI="; + hash = "sha256-09woNnl55zGIeHkX/UdBRg0mlKjD2HraPCjferNe81I="; }; proxmox_src = fetchgit { url = "git://git.proxmox.com/git/proxmox.git"; - rev = "e47fdf411be61b15382bc3baa3064f1e7cb03fa2"; + rev = "84a58afe23a35454a1abbeb6c436ee49d2888d18"; name = "proxmox"; - hash = "sha256-jSU00D75sx40VS8rgF+D6h120FMaD1Jfq4e8l+8D5BQ="; + hash = "sha256-p4o72RFuDBpgThJ39ZkIXriUQJZtYdrj9Biyl+XQ2hc="; }; proxmox-fuse_src = fetchgit { url = "git://git.proxmox.com/git/proxmox-fuse.git"; - rev = "6faec3a52fcdb0df3ca13fee2977683824d62d01"; # 0.1.7-1 + rev = "87dbf9bfef9169286263bccffaae3206635ca108"; # 1.0.0 name = "proxmox-fuse"; - hash = "sha256-FwkZ5L7gJr9xZTQkdVHmOP8vnzf+To5Wz2SbIEzGUOY="; + hash = "sha256-/8Xy6LTql3gHfHuxT0lK5mhLGc58YAb1W+eyusmEP8Y="; }; proxmox-pxar_src = fetchgit { url = "git://git.proxmox.com/git/pxar.git"; - rev = "410f326a08ef6c08141af5c7431beb2e16f0c666"; # 0.12.1 + rev = "993c66fcb8819770f279cb9fb4d13f58f367606c"; # 1.0.0 name = "pxar"; - hash = "sha256-USvtrWTbP3VUiy9MB9Ym6s4wXBNZ4Ooyg4MRDwRVOtU="; + hash = "sha256-V5DkTIyPuopSILQoJt04E5G9ZEylQF1x5oXgWQJuDq8="; }; proxmox-pathpatterns_src = fetchgit { url = "git://git.proxmox.com/git/pathpatterns.git"; - rev = "5f625aacbd6f81d97a1c6f5476fb38769d069f26"; # 0.3.0 + rev = "42e5e96e30297da878a4d4b3a7fa52b65c1be0ab"; # 1.0.0 name = "pathpatterns"; - hash = "sha256-717XSlvQdvP0Q516fEx04rsrLCk3QI8frTD5NMmkSr4="; - }; - - # needs a patched version - h2_src = fetchFromGitHub { - name = "h2"; - owner = "hyperium"; - repo = "h2"; - rev = "v0.4.10"; - hash = "sha256-PasHCbU466ByHIbDQpMMgzjg2dMRveOButHeVSknSEQ="; + hash = "sha256-U8EhTg/2iuArQvUNGNYrgVYn1T/jnxxqSKJxfsCMAjs="; }; in @@ -73,7 +61,6 @@ rustPlatform.buildRustPackage { proxmox-fuse_src proxmox-pxar_src proxmox-pathpatterns_src - h2_src ]; sourceRoot = proxmox-backup_src.name; @@ -85,28 +72,12 @@ rustPlatform.buildRustPackage { # Debian packages). This patch redirects all these dependencies to a local, relative path, which # works in combination with the other three repos being checked out. ./0001-cargo-re-route-dependencies-not-available-on-crates..patch - # `make docs` assumes that the binaries are located under `target/{debug,release}`, but due - # to how `buildRustPackage` works, they get put under `target/$RUSTC_TARGET/{debug,release}`. - # This patch simply fixes that up. - ./0002-docs-add-target-path-fixup-variable.patch - # Need to use a patched version of the `h2` crate (with a downgraded dependency, see also postPatch). - # This overrides it in the Cargo.toml as needed. - ./0003-cargo-use-local-patched-h2-dependency.patch # This patch prevents the generation of the man-pages for other components inside the repo, # which would require them too be built too. Thus avoid wasting resources and just skip them. - ./0004-docs-drop-all-but-client-man-pages.patch - # Upstream uses a patched version of the h2 crate (see [0]), which does not apply here. - # [0] https://git.proxmox.com/?p=debcargo-conf.git;a=blob;f=src/h2/debian/patches/add-legacy.patch;h=0913da317 - ./0005-Revert-h2-switch-to-legacy-feature.patch + ./0002-docs-drop-all-but-client-man-pages.patch ]; postPatch = '' - # need to downgrade the `http` crate for `h2` - # see https://aur.archlinux.org/cgit/aur.git/tree/0003-cargo-downgrade-http-to-0.2.12.patch?h=proxmox-backup-client - cp -r ../h2 . - chmod u+w ./h2 - (cd h2 && sed -i 's/^http = "1"$/http = "0.2.12"/' Cargo.toml) - cp ${./Cargo.lock} Cargo.lock rm .cargo/config.toml @@ -121,7 +92,7 @@ rustPlatform.buildRustPackage { postBuild = '' make -C docs \ DEB_VERSION=${version} DEB_VERSION_UPSTREAM=${version} \ - RUSTC_TARGET=${stdenv.targetPlatform.rust.rustcTarget} \ + DEB_HOST_RUST_TYPE=${stdenv.targetPlatform.rust.rustcTarget} \ BUILD_MODE=release \ proxmox-backup-client.1 pxar.1 ''; diff --git a/pkgs/by-name/qo/qownnotes/package.nix b/pkgs/by-name/qo/qownnotes/package.nix index f3cf89c0ef7c..008936eeb72c 100644 --- a/pkgs/by-name/qo/qownnotes/package.nix +++ b/pkgs/by-name/qo/qownnotes/package.nix @@ -18,11 +18,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "qownnotes"; appname = "QOwnNotes"; - version = "25.7.9"; + version = "25.8.2"; src = fetchurl { url = "https://github.com/pbek/QOwnNotes/releases/download/v${finalAttrs.version}/qownnotes-${finalAttrs.version}.tar.xz"; - hash = "sha256-rcBuGkoRel998i34e1kO8h/lqMZtgKnAipKGEF6xrhs="; + hash = "sha256-6N49s/TFV2xZJPC4nN60eovIAoEdMh0eF3ZtMRNVkLU="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/re/remmina/package.nix b/pkgs/by-name/re/remmina/package.nix index 6909a247529f..0f32735bf018 100644 --- a/pkgs/by-name/re/remmina/package.nix +++ b/pkgs/by-name/re/remmina/package.nix @@ -96,12 +96,12 @@ stdenv.mkDerivation (finalAttrs: { libsodium harfbuzz python3 - wayland ] ++ lib.optionals stdenv.hostPlatform.isLinux [ fuse3 libappindicator-gtk3 libdbusmenu-gtk3 + wayland ] ++ lib.optionals withLibsecret [ libsecret ] ++ lib.optionals withKf5Wallet [ libsForQt5.kwallet ] diff --git a/pkgs/by-name/re/renode-bin/package.nix b/pkgs/by-name/re/renode-bin/package.nix new file mode 100644 index 000000000000..edf34d337346 --- /dev/null +++ b/pkgs/by-name/re/renode-bin/package.nix @@ -0,0 +1,111 @@ +{ + stdenv, + lib, + fetchFromGitHub, + fetchurl, + fetchpatch, + autoPatchelfHook, + makeWrapper, + nix-update-script, + glibcLocales, + python3Packages, + dotnetCorePackages, + gtk-sharp-3_0, + gtk3-x11, + dconf, +}: + +let + pythonLibs = + with python3Packages; + makePythonPath [ + construct + psutil + pyyaml + requests + tkinter + + # from tools/csv2resd/requirements.txt + construct + + # from tools/execution_tracer/requirements.txt + pyelftools + + (robotframework.overrideDerivation (oldAttrs: { + src = fetchFromGitHub { + owner = "robotframework"; + repo = "robotframework"; + rev = "v6.1"; + hash = "sha256-l1VupBKi52UWqJMisT2CVnXph3fGxB63mBVvYdM1NWE="; + }; + patches = (oldAttrs.patches or [ ]) ++ [ + (fetchpatch { + # utest: Improve filtering of output sugar for Python 3.13+ + name = "python3.13-support.patch"; + url = "https://github.com/robotframework/robotframework/commit/921e352556dc8538b72de1e693e2a244d420a26d.patch"; + hash = "sha256-aSaror26x4kVkLVetPEbrJG4H1zstHsNWqmwqOys3zo="; + }) + ]; + })) + ]; +in +stdenv.mkDerivation (finalAttrs: { + pname = "renode"; + version = "1.16.0"; + + src = fetchurl { + url = "https://github.com/renode/renode/releases/download/v${finalAttrs.version}/renode-${finalAttrs.version}.linux-dotnet.tar.gz"; + hash = "sha256-oNlTz5LBggPkjKM4TJO2UDKQdt2Ga7rBTdgyGjN8/zA="; + }; + + nativeBuildInputs = [ + autoPatchelfHook + makeWrapper + ]; + + propagatedBuildInputs = [ + gtk-sharp-3_0 + ]; + + strictDeps = true; + + installPhase = '' + runHook preInstall + + mkdir -p $out/{bin,libexec/renode} + + mv * $out/libexec/renode + mv .renode-root $out/libexec/renode + + makeWrapper "$out/libexec/renode/renode" "$out/bin/renode" \ + --prefix PATH : "$out/libexec/renode:${lib.makeBinPath [ dotnetCorePackages.runtime_8_0 ]}" \ + --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \ + --suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk3-x11 ]}" \ + --prefix PYTHONPATH : "${pythonLibs}" \ + --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" + makeWrapper "$out/libexec/renode/renode-test" "$out/bin/renode-test" \ + --prefix PATH : "$out/libexec/renode:${lib.makeBinPath [ dotnetCorePackages.runtime_8_0 ]}" \ + --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \ + --suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk3-x11 ]}" \ + --prefix PYTHONPATH : "${pythonLibs}" \ + --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" + + substituteInPlace "$out/libexec/renode/renode-test" \ + --replace '$PYTHON_RUNNER' '${python3Packages.python}/bin/python3' + + runHook postInstall + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Virtual development framework for complex embedded systems"; + homepage = "https://renode.io"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ + otavio + znaniye + ]; + platforms = [ "x86_64-linux" ]; + }; +}) diff --git a/pkgs/by-name/re/renode-unstable-bin/package.nix b/pkgs/by-name/re/renode-unstable-bin/package.nix new file mode 100644 index 000000000000..ddfca5a5b4ce --- /dev/null +++ b/pkgs/by-name/re/renode-unstable-bin/package.nix @@ -0,0 +1,38 @@ +{ + fetchurl, + renode-bin, + writeScript, +}: + +renode-bin.overrideAttrs ( + finalAttrs: _: { + pname = "renode-unstable"; + version = "1.16.0+20250805git769469683"; + + src = fetchurl { + url = "https://builds.renode.io/renode-${finalAttrs.version}.linux-dotnet.tar.gz"; + hash = "sha256-UZSfdJ14igoqaFCwCZmy29MfKZcxr7j8RtI/epHs2WI="; + }; + + passthru.updateScript = + let + versionRegex = "[0-9\\.\\+]+[^\\+]*."; + in + writeScript "${finalAttrs.pname}-updater" '' + #!/usr/bin/env nix-shell + #!nix-shell -i bash -p common-updater-scripts curl gnugrep gnused pup + + latestVersion=$( + curl -sS https://builds.renode.io \ + | pup 'a text{}' \ + | egrep 'renode-${versionRegex}\.linux-dotnet\.tar\.gz' \ + | head -n1 \ + | sed -e 's,renode-\(.*\)\.linux-dotnet\.tar\.gz,\1,g' + ) + + update-source-version ${finalAttrs.pname} "$latestVersion" \ + --file=pkgs/by-name/re/${finalAttrs.pname}/package.nix \ + --system=x86_64-linux + ''; + } +) diff --git a/pkgs/by-name/re/renode-unstable/package.nix b/pkgs/by-name/re/renode-unstable/package.nix index af344a2e1608..d778a7c00fa8 100644 --- a/pkgs/by-name/re/renode-unstable/package.nix +++ b/pkgs/by-name/re/renode-unstable/package.nix @@ -1,38 +1,32 @@ { + fetchFromGitHub, + nix-update-script, renode, - fetchurl, - writeScript, + ... }: +renode.overrideAttrs (old: rec { + pname = "renode-unstable"; + version = "1.16.0-unstable-2025-08-08"; -renode.overrideAttrs ( - finalAttrs: _: { - pname = "renode-unstable"; - version = "1.16.0+20250805git769469683"; + src = fetchFromGitHub { + owner = "renode"; + repo = "renode"; + rev = "194d90650a9337a05cd81e8855474773d23d4396"; + hash = "sha256-oRtbjup5RKbVzKMTa0yiY1gGhDqUrQ4N3SgwQ7lm8Ho="; + fetchSubmodules = true; + }; - src = fetchurl { - url = "https://builds.renode.io/renode-${finalAttrs.version}.linux-dotnet.tar.gz"; - hash = "sha256-UZSfdJ14igoqaFCwCZmy29MfKZcxr7j8RtI/epHs2WI="; + prePatch = '' + substituteInPlace tools/building/createAssemblyInfo.sh \ + --replace CURRENT_INFORMATIONAL_VERSION="`git rev-parse --short=8 HEAD`" \ + CURRENT_INFORMATIONAL_VERSION="${builtins.substring 0 8 src.rev}" + ''; + + passthru = old.passthru // { + updateScript = nix-update-script { + extraArgs = [ + "--version=branch" + ]; }; - - passthru.updateScript = - let - versionRegex = "[0-9\\.\\+]+[^\\+]*."; - in - writeScript "${finalAttrs.pname}-updater" '' - #!/usr/bin/env nix-shell - #!nix-shell -i bash -p common-updater-scripts curl gnugrep gnused pup - - latestVersion=$( - curl -sS https://builds.renode.io \ - | pup 'a text{}' \ - | egrep 'renode-${versionRegex}\.linux-dotnet\.tar\.gz' \ - | head -n1 \ - | sed -e 's,renode-\(.*\)\.linux-dotnet\.tar\.gz,\1,g' - ) - - update-source-version ${finalAttrs.pname} "$latestVersion" \ - --file=pkgs/by-name/re/${finalAttrs.pname}/package.nix \ - --system=x86_64-linux - ''; - } -) + }; +}) diff --git a/pkgs/by-name/re/renode/deps.json b/pkgs/by-name/re/renode/deps.json new file mode 100644 index 000000000000..c50fb3ed5d39 --- /dev/null +++ b/pkgs/by-name/re/renode/deps.json @@ -0,0 +1,1192 @@ +[ + { + "pname": "AsyncIO", + "version": "0.1.69", + "hash": "sha256-JQKq/U71NQTfPuUqj7z5bALe+d7G1o3GcI8kvVDxy6o=" + }, + { + "pname": "AtkSharp", + "version": "3.24.24.95", + "hash": "sha256-NgdWbXToBHhEVbvPrFcwXeit5iaqbBmNPQiC0jPKlnQ=" + }, + { + "pname": "CairoSharp", + "version": "3.24.24.95", + "hash": "sha256-ycdgmQyQ1uSshI/9uMaqn5OBxRF8RADf4Tn/TptE2BU=" + }, + { + "pname": "Castle.Core", + "version": "5.0.0", + "hash": "sha256-o0dLsy0RfVOIggymFbUJMhfR3XDp6uFI3G1o4j9o2Lg=" + }, + { + "pname": "DynamicLanguageRuntime", + "version": "1.3.5", + "hash": "sha256-8spaocJ0jH4suK7EQKjMOH0+pdhapV44ZxBFUBKl3h0=" + }, + { + "pname": "Dynamitey", + "version": "2.0.10.189", + "hash": "sha256-Gk2sqTdAzX6JqIGm+qoVnQX0tuI1eV3Cn+eJMkcmnD0=" + }, + { + "pname": "GdkSharp", + "version": "3.24.24.95", + "hash": "sha256-NYjADgZG9TUQDIZiSSXDAxj5PyX/B7oKRo9f8Oyb4vI=" + }, + { + "pname": "GioSharp", + "version": "3.24.24.95", + "hash": "sha256-5THx4af5PghPnQxXdnsC+wtVcoslh+0636WkB1FaPYg=" + }, + { + "pname": "GLibSharp", + "version": "3.24.24.95", + "hash": "sha256-1pDRkKoUI9fLJBcTA2DBlpVccJl2GyAdL+VKjsFbttA=" + }, + { + "pname": "GtkSharp", + "version": "3.24.24.95", + "hash": "sha256-sBvk5Ecf2i6c2fYVjMBVoXz0I6IlucOWeE2czZH9QHg=" + }, + { + "pname": "Humanizer.Core", + "version": "2.2.0", + "hash": "sha256-5Q6oRaV8wHPONHreKvB74VjV2FW36mwC3n+05It5vyI=" + }, + { + "pname": "IronPython", + "version": "2.7.8", + "hash": "sha256-91NgTy3Q4MmD4GlhT+WjdVKQGRlIENdIJuyP9hE/iCs=" + }, + { + "pname": "IronPython.StdLib", + "version": "2.7.12", + "hash": "sha256-LfGg7EMJCVl2MiQjVD2dr8nOZKSqS/I42lO364YtzcA=" + }, + { + "pname": "K4os.Compression.LZ4", + "version": "1.3.8", + "hash": "sha256-OmT3JwO4qpkZDL7XqiFqZCyxySj64s9t+mXcN1T+IyA=" + }, + { + "pname": "Microsoft.Bcl.AsyncInterfaces", + "version": "5.0.0", + "hash": "sha256-bpJjcJSUSZH0GeOXoZI12xUQOf2SRtxG7sZV0dWS5TI=" + }, + { + "pname": "Microsoft.CodeAnalysis.Analyzers", + "version": "3.0.0", + "hash": "sha256-KDbCfsBWSJ5ohEXUKp1s1LX9xA2NPvXE/xVzj68EdC0=" + }, + { + "pname": "Microsoft.CodeAnalysis.Analyzers", + "version": "3.3.4", + "hash": "sha256-qDzTfZBSCvAUu9gzq2k+LOvh6/eRvJ9++VCNck/ZpnE=" + }, + { + "pname": "Microsoft.CodeAnalysis.Common", + "version": "3.9.0", + "hash": "sha256-M2LpVHr+UDFCVD7PtDSRD635+RO620JKmK/siOw01PQ=" + }, + { + "pname": "Microsoft.CodeAnalysis.Compilers", + "version": "3.9.0", + "hash": "sha256-l9P26Rz6pV1DZkz8L8HHE63+2qTK+IOGVEtEd7A//us=" + }, + { + "pname": "Microsoft.CodeAnalysis.CSharp", + "version": "3.9.0", + "hash": "sha256-f3591/1mz/P3Asi9NTYU38bNukrKR7COR0pGmEtPKzM=" + }, + { + "pname": "Microsoft.CodeAnalysis.CSharp.Workspaces", + "version": "3.9.0", + "hash": "sha256-/3J5wdymZZdsDOaKtkvda8o97T69EaTKk5aR4Rc1bzM=" + }, + { + "pname": "Microsoft.CodeAnalysis.VisualBasic", + "version": "3.9.0", + "hash": "sha256-5p4UrCoOMdFZ65vkHlak1VDpvU6msBCM2dK3Kyn4k2c=" + }, + { + "pname": "Microsoft.CodeAnalysis.Workspaces.Common", + "version": "3.9.0", + "hash": "sha256-Zzi/rXQA8BDJbUn9kKR7GB8dB7iwA1qlPnEkh8NMecU=" + }, + { + "pname": "Microsoft.CodeCoverage", + "version": "16.9.1", + "hash": "sha256-Tnlv9n5qKipmc17lld4HHfL/KInIq4KhmdTySTjqOqI=" + }, + { + "pname": "Microsoft.CSharp", + "version": "4.0.1", + "hash": "sha256-0huoqR2CJ3Z9Q2peaKD09TV3E6saYSqDGZ290K8CrH8=" + }, + { + "pname": "Microsoft.CSharp", + "version": "4.5.0", + "hash": "sha256-dAhj/CgXG5VIy2dop1xplUsLje7uBPFjxasz9rdFIgY=" + }, + { + "pname": "Microsoft.CSharp", + "version": "4.7.0", + "hash": "sha256-Enknv2RsFF68lEPdrf5M+BpV1kHoLTVRApKUwuk/pj0=" + }, + { + "pname": "Microsoft.DotNet.InternalAbstractions", + "version": "1.0.0", + "hash": "sha256-HX3iOXH75I1L7eNihCbMNDDpcotfZpfQUdqdRTGM6FY=" + }, + { + "pname": "Microsoft.Extensions.ObjectPool", + "version": "5.0.10", + "hash": "sha256-tAjiU3w0hdPAGUitszxZ6jtEilRn977MY7N5eZMx0x0=" + }, + { + "pname": "Microsoft.Extensions.ObjectPool", + "version": "6.0.16", + "hash": "sha256-+b3/mTZkFXTAC+dLeCfN6B3XuTDT8e+/N6xkzwgZRi4=" + }, + { + "pname": "Microsoft.IdentityModel.Logging", + "version": "6.8.0", + "hash": "sha256-w3jP0TAD3D2HLWlY0meGDmbV7N5kc2Er2nfYmuq0TJo=" + }, + { + "pname": "Microsoft.IdentityModel.Protocols.WsTrust", + "version": "6.8.0", + "hash": "sha256-yBnJQC+1pYpScnb8w/EYrVB5VrD7S0FytiGNNnCXggk=" + }, + { + "pname": "Microsoft.IdentityModel.Tokens", + "version": "6.8.0", + "hash": "sha256-NJsIvWJwrVrQndhHDpXf7eS1Gr/+2ua9nkW5ivWQyFY=" + }, + { + "pname": "Microsoft.IdentityModel.Tokens.Saml", + "version": "6.8.0", + "hash": "sha256-K3EUlCtNP+w6woHkwGaWhMJmIhlfOD5x4gl4qwo3rHU=" + }, + { + "pname": "Microsoft.IdentityModel.Xml", + "version": "6.8.0", + "hash": "sha256-Fd7vRbOmJb0VwdO4RzF94GWBVNncDD5vC8FNPunayWw=" + }, + { + "pname": "Microsoft.NET.Test.Sdk", + "version": "16.9.1", + "hash": "sha256-hefOxUAdu2CRsz+9Avq+fS9PIGxfbQdK4JDXcueuwZw=" + }, + { + "pname": "Microsoft.NETCore.Platforms", + "version": "1.0.1", + "hash": "sha256-mZotlGZqtrqDSoBrZhsxFe6fuOv5/BIo0w2Z2x0zVAU=" + }, + { + "pname": "Microsoft.NETCore.Platforms", + "version": "1.1.0", + "hash": "sha256-FeM40ktcObQJk4nMYShB61H/E8B7tIKfl9ObJ0IOcCM=" + }, + { + "pname": "Microsoft.NETCore.Platforms", + "version": "2.0.0", + "hash": "sha256-IEvBk6wUXSdyCnkj6tHahOJv290tVVT8tyemYcR0Yro=" + }, + { + "pname": "Microsoft.NETCore.Platforms", + "version": "2.1.2", + "hash": "sha256-gYQQO7zsqG+OtN4ywYQyfsiggS2zmxw4+cPXlK+FB5Q=" + }, + { + "pname": "Microsoft.NETCore.Platforms", + "version": "3.1.0", + "hash": "sha256-cnygditsEaU86bnYtIthNMymAHqaT/sf9Gjykhzqgb0=" + }, + { + "pname": "Microsoft.NETCore.Platforms", + "version": "5.0.0", + "hash": "sha256-LIcg1StDcQLPOABp4JRXIs837d7z0ia6+++3SF3jl1c=" + }, + { + "pname": "Microsoft.NETCore.Targets", + "version": "1.0.1", + "hash": "sha256-lxxw/Gy32xHi0fLgFWNj4YTFBSBkjx5l6ucmbTyf7V4=" + }, + { + "pname": "Microsoft.NETCore.Targets", + "version": "1.1.0", + "hash": "sha256-0AqQ2gMS8iNlYkrD+BxtIg7cXMnr9xZHtKAuN4bjfaQ=" + }, + { + "pname": "Microsoft.TestPlatform.ObjectModel", + "version": "16.9.1", + "hash": "sha256-LZJLTWU2DOnuBiN/g+S+rwG2/BJtKrjydKnj3ujp98U=" + }, + { + "pname": "Microsoft.TestPlatform.TestHost", + "version": "16.9.1", + "hash": "sha256-92/trlM66kPR7ASpg6x7kk43glZYaOKrkaNJQE8uPbs=" + }, + { + "pname": "Microsoft.Win32.Primitives", + "version": "4.3.0", + "hash": "sha256-mBNDmPXNTW54XLnPAUwBRvkIORFM7/j0D0I2SyQPDEg=" + }, + { + "pname": "Microsoft.Win32.Registry", + "version": "4.3.0", + "hash": "sha256-50XwFbyRfZkTD/bBn76WV/NIpOy/mzXD3MMEVFX/vr8=" + }, + { + "pname": "Microsoft.Win32.Registry", + "version": "4.4.0", + "hash": "sha256-ZumsykAAIYKmVtP4QI5kZ0J10n2zcOZZ69PmAK0SEiE=" + }, + { + "pname": "Microsoft.Win32.SystemEvents", + "version": "4.7.0", + "hash": "sha256-GHxnD1Plb32GJWVWSv0Y51Kgtlb+cdKgOYVBYZSgVF4=" + }, + { + "pname": "Microsoft.Win32.SystemEvents", + "version": "5.0.0", + "hash": "sha256-mGUKg+bmB5sE/DCwsTwCsbe00MCwpgxsVW3nCtQiSmo=" + }, + { + "pname": "Mono.Cecil", + "version": "0.11.3", + "hash": "sha256-QxJcRt3eYy7R0mc25F/hM5n4qVqBAlZChsEKn+Y9nXU=" + }, + { + "pname": "Mono.Posix", + "version": "7.1.0-final.1.21458.1", + "hash": "sha256-kbpbruyWKfWfRg9IX0wR8UirykgJdLZl2d5PqUgFxz4=" + }, + { + "pname": "Mono.Unix", + "version": "7.1.0-final.1.21458.1", + "hash": "sha256-tm3niOm4OFCe/kL5M5zwCZgfHEaPtmDqsOLN6GExYHs=" + }, + { + "pname": "Moq", + "version": "4.18.1", + "hash": "sha256-Qe3wOHdnTAKRUiqj9BeqOUOiFC6L9lCTCSkvkXrEnEM=" + }, + { + "pname": "NaCl.Net", + "version": "0.1.13", + "hash": "sha256-Zy9ckPxrBcKy31g2pKc5uxF22jayw3ZmbrvDBW3MIlk=" + }, + { + "pname": "NetMQ", + "version": "4.0.1.12", + "hash": "sha256-O38SQuMRpTCz3YScEu0T9jw9DrVeQW5pAeHexYyooH8=" + }, + { + "pname": "NETStandard.Library", + "version": "2.0.0", + "hash": "sha256-Pp7fRylai8JrE1O+9TGfIEJrAOmnWTJRLWE+qJBahK0=" + }, + { + "pname": "NETStandard.Library", + "version": "2.0.3", + "hash": "sha256-Prh2RPebz/s8AzHb2sPHg3Jl8s31inv9k+Qxd293ybo=" + }, + { + "pname": "Newtonsoft.Json", + "version": "9.0.1", + "hash": "sha256-mYCBrgUhIJFzRuLLV9SIiIFHovzfR8Uuqfg6e08EnlU=" + }, + { + "pname": "NuGet.Frameworks", + "version": "5.0.0", + "hash": "sha256-WWLh+v9Y9as+WURW8tUPowQB8HWIiVJzbpKzEWTdMqI=" + }, + { + "pname": "NUnit", + "version": "3.13.1", + "hash": "sha256-qdbPWgCXueQdHpGdNQtdz16Zfg+XESI9xDlRD/IzJRw=" + }, + { + "pname": "NUnit3TestAdapter", + "version": "3.17.0", + "hash": "sha256-ZlpEM9IQlqsRPmYPMN6yCbICfakSoY89y40xtMY3rE8=" + }, + { + "pname": "PangoSharp", + "version": "3.24.24.95", + "hash": "sha256-YhltIz1jisJqR2ZxvbYy0ybi4oGw6qR2SkjF/2aWiBQ=" + }, + { + "pname": "runtime.any.System.Collections", + "version": "4.3.0", + "hash": "sha256-4PGZqyWhZ6/HCTF2KddDsbmTTjxs2oW79YfkberDZS8=" + }, + { + "pname": "runtime.any.System.Diagnostics.Tools", + "version": "4.3.0", + "hash": "sha256-8yLKFt2wQxkEf7fNfzB+cPUCjYn2qbqNgQ1+EeY2h/I=" + }, + { + "pname": "runtime.any.System.Diagnostics.Tracing", + "version": "4.3.0", + "hash": "sha256-dsmTLGvt8HqRkDWP8iKVXJCS+akAzENGXKPV18W2RgI=" + }, + { + "pname": "runtime.any.System.Globalization", + "version": "4.3.0", + "hash": "sha256-PaiITTFI2FfPylTEk7DwzfKeiA/g/aooSU1pDcdwWLU=" + }, + { + "pname": "runtime.any.System.IO", + "version": "4.3.0", + "hash": "sha256-vej7ySRhyvM3pYh/ITMdC25ivSd0WLZAaIQbYj/6HVE=" + }, + { + "pname": "runtime.any.System.Reflection", + "version": "4.3.0", + "hash": "sha256-ns6f++lSA+bi1xXgmW1JkWFb2NaMD+w+YNTfMvyAiQk=" + }, + { + "pname": "runtime.any.System.Reflection.Extensions", + "version": "4.3.0", + "hash": "sha256-Y2AnhOcJwJVYv7Rp6Jz6ma0fpITFqJW+8rsw106K2X8=" + }, + { + "pname": "runtime.any.System.Reflection.Primitives", + "version": "4.3.0", + "hash": "sha256-LkPXtiDQM3BcdYkAm5uSNOiz3uF4J45qpxn5aBiqNXQ=" + }, + { + "pname": "runtime.any.System.Resources.ResourceManager", + "version": "4.3.0", + "hash": "sha256-9EvnmZslLgLLhJ00o5MWaPuJQlbUFcUF8itGQNVkcQ4=" + }, + { + "pname": "runtime.any.System.Runtime", + "version": "4.3.0", + "hash": "sha256-qwhNXBaJ1DtDkuRacgHwnZmOZ1u9q7N8j0cWOLYOELM=" + }, + { + "pname": "runtime.any.System.Runtime.Handles", + "version": "4.3.0", + "hash": "sha256-PQRACwnSUuxgVySO1840KvqCC9F8iI9iTzxNW0RcBS4=" + }, + { + "pname": "runtime.any.System.Runtime.InteropServices", + "version": "4.3.0", + "hash": "sha256-Kaw5PnLYIiqWbsoF3VKJhy7pkpoGsUwn4ZDCKscbbzA=" + }, + { + "pname": "runtime.any.System.Text.Encoding", + "version": "4.3.0", + "hash": "sha256-Q18B9q26MkWZx68exUfQT30+0PGmpFlDgaF0TnaIGCs=" + }, + { + "pname": "runtime.any.System.Text.Encoding.Extensions", + "version": "4.3.0", + "hash": "sha256-6MYj0RmLh4EVqMtO/MRqBi0HOn5iG4x9JimgCCJ+EFM=" + }, + { + "pname": "runtime.any.System.Threading.Tasks", + "version": "4.3.0", + "hash": "sha256-agdOM0NXupfHbKAQzQT8XgbI9B8hVEh+a/2vqeHctg4=" + }, + { + "pname": "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-LXUPLX3DJxsU1Pd3UwjO1PO9NM2elNEDXeu2Mu/vNps=" + }, + { + "pname": "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-qeSqaUI80+lqw5MK4vMpmO0CZaqrmYktwp6L+vQAb0I=" + }, + { + "pname": "runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-SrHqT9wrCBsxILWtaJgGKd6Odmxm8/Mh7Kh0CUkZVzA=" + }, + { + "pname": "runtime.native.System", + "version": "4.3.0", + "hash": "sha256-ZBZaodnjvLXATWpXXakFgcy6P+gjhshFXmglrL5xD5Y=" + }, + { + "pname": "runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-Jy01KhtcCl2wjMpZWH+X3fhHcVn+SyllWFY8zWlz/6I=" + }, + { + "pname": "runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-wyv00gdlqf8ckxEdV7E+Ql9hJIoPcmYEuyeWb5Oz3mM=" + }, + { + "pname": "runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-zi+b4sCFrA9QBiSGDD7xPV27r3iHGlV99gpyVUjRmc4=" + }, + { + "pname": "runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-gybQU6mPgaWV3rBG2dbH6tT3tBq8mgze3PROdsuWnX0=" + }, + { + "pname": "runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-VsP72GVveWnGUvS/vjOQLv1U80H2K8nZ4fDAmI61Hm4=" + }, + { + "pname": "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-4yKGa/IrNCKuQ3zaDzILdNPD32bNdy6xr5gdJigyF5g=" + }, + { + "pname": "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-HmdJhhRsiVoOOCcUvAwdjpMRiyuSwdcgEv2j9hxi+Zc=" + }, + { + "pname": "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl", + "version": "4.3.0", + "hash": "sha256-pVFUKuPPIx0edQKjzRon3zKq8zhzHEzko/lc01V/jdw=" + }, + { + "pname": "runtime.unix.Microsoft.Win32.Primitives", + "version": "4.3.0", + "hash": "sha256-LZb23lRXzr26tRS5aA0xyB08JxiblPDoA7HBvn6awXg=" + }, + { + "pname": "runtime.unix.System.Diagnostics.Debug", + "version": "4.3.0", + "hash": "sha256-ReoazscfbGH+R6s6jkg5sIEHWNEvjEoHtIsMbpc7+tI=" + }, + { + "pname": "runtime.unix.System.IO.FileSystem", + "version": "4.3.0", + "hash": "sha256-Pf4mRl6YDK2x2KMh0WdyNgv0VUNdSKVDLlHqozecy5I=" + }, + { + "pname": "runtime.unix.System.Private.Uri", + "version": "4.3.0", + "hash": "sha256-c5tXWhE/fYbJVl9rXs0uHh3pTsg44YD1dJvyOA0WoMs=" + }, + { + "pname": "runtime.unix.System.Runtime.Extensions", + "version": "4.3.0", + "hash": "sha256-l8S9gt6dk3qYG6HYonHtdlYtBKyPb29uQ6NDjmrt3V4=" + }, + { + "pname": "StyleCop.Analyzers", + "version": "1.1.118", + "hash": "sha256-CjC1f5z0sP15F6FeXqIDOtZLHqgjmQTzpsIrRkxXREI=" + }, + { + "pname": "System.AppContext", + "version": "4.1.0", + "hash": "sha256-v6YfyfrKmhww+EYHUq6cwYUMj00MQ6SOfJtcGVRlYzs=" + }, + { + "pname": "System.Buffers", + "version": "4.3.0", + "hash": "sha256-XqZWb4Kd04960h4U9seivjKseGA/YEIpdplfHYHQ9jk=" + }, + { + "pname": "System.Buffers", + "version": "4.5.1", + "hash": "sha256-wws90sfi9M7kuCPWkv1CEYMJtCqx9QB/kj0ymlsNaxI=" + }, + { + "pname": "System.CodeDom", + "version": "6.0.0", + "hash": "sha256-uPetUFZyHfxjScu5x4agjk9pIhbCkt5rG4Axj25npcQ=" + }, + { + "pname": "System.Collections", + "version": "4.0.11", + "hash": "sha256-puoFMkx4Z55C1XPxNw3np8nzNGjH+G24j43yTIsDRL0=" + }, + { + "pname": "System.Collections", + "version": "4.3.0", + "hash": "sha256-afY7VUtD6w/5mYqrce8kQrvDIfS2GXDINDh73IjxJKc=" + }, + { + "pname": "System.Collections.Immutable", + "version": "5.0.0", + "hash": "sha256-GdwSIjLMM0uVfE56VUSLVNgpW0B//oCeSFj8/hSlbM8=" + }, + { + "pname": "System.Collections.NonGeneric", + "version": "4.3.0", + "hash": "sha256-8/yZmD4jjvq7m68SPkJZLBQ79jOTOyT5lyzX4SCYAx8=" + }, + { + "pname": "System.Collections.Specialized", + "version": "4.3.0", + "hash": "sha256-QNg0JJNx+zXMQ26MJRPzH7THdtqjrNtGLUgaR1SdvOk=" + }, + { + "pname": "System.ComponentModel", + "version": "4.3.0", + "hash": "sha256-i00uujMO4JEDIEPKLmdLY3QJ6vdSpw6Gh9oOzkFYBiU=" + }, + { + "pname": "System.ComponentModel.EventBasedAsync", + "version": "4.3.0", + "hash": "sha256-h7o4X3XojdRyJWQdUfZetLdqtrQlddMzxhh6j9Zcaec=" + }, + { + "pname": "System.ComponentModel.Primitives", + "version": "4.3.0", + "hash": "sha256-IOMJleuIBppmP4ECB3uftbdcgL7CCd56+oAD/Sqrbus=" + }, + { + "pname": "System.ComponentModel.TypeConverter", + "version": "4.3.0", + "hash": "sha256-PSDiPYt8PgTdTUBz+GH6lHCaM1YgfObneHnZsc8Fz54=" + }, + { + "pname": "System.Composition", + "version": "1.0.31", + "hash": "sha256-wcQEG6MCRa1S03s3Yb3E3tfsIBZid99M7WDhcb48Qik=" + }, + { + "pname": "System.Composition.AttributedModel", + "version": "1.0.31", + "hash": "sha256-u+XnXfj6LQ3OXwrb9KqHRW4a/a9yHzLrJOXwDQ1a/sY=" + }, + { + "pname": "System.Composition.Convention", + "version": "1.0.31", + "hash": "sha256-GQWo1YDyQ3r2OMcKW+GbR3BbZNIAdwK79XAfinNj+AE=" + }, + { + "pname": "System.Composition.Hosting", + "version": "1.0.31", + "hash": "sha256-fg9BIY+zWtiEBIJefYP2lKHDYa4r/vtPTr3ZI8e0K7g=" + }, + { + "pname": "System.Composition.Runtime", + "version": "1.0.31", + "hash": "sha256-mqfxjAnVyE1YCgXMOcV34IWhYFnvXVKjMo9Y/d3yDuo=" + }, + { + "pname": "System.Composition.TypedParts", + "version": "1.0.31", + "hash": "sha256-w9ApcUJr7jYP4Vf5+efIIqoWmr5v9R56W4uC0n8KktQ=" + }, + { + "pname": "System.Diagnostics.Debug", + "version": "4.0.11", + "hash": "sha256-P+rSQJVoN6M56jQbs76kZ9G3mAWFdtF27P/RijN8sj4=" + }, + { + "pname": "System.Diagnostics.Debug", + "version": "4.3.0", + "hash": "sha256-fkA79SjPbSeiEcrbbUsb70u9B7wqbsdM9s1LnoKj0gM=" + }, + { + "pname": "System.Diagnostics.EventLog", + "version": "6.0.0", + "hash": "sha256-zUXIQtAFKbiUMKCrXzO4mOTD5EUphZzghBYKXprowSM=" + }, + { + "pname": "System.Diagnostics.Process", + "version": "4.3.0", + "hash": "sha256-Rzo24qXhuJDDgrGNHr2eQRHhwLmsYmWDqAg/P5fOlzw=" + }, + { + "pname": "System.Diagnostics.Tools", + "version": "4.0.1", + "hash": "sha256-vSBqTbmWXylvRa37aWyktym+gOpsvH43mwr6A962k6U=" + }, + { + "pname": "System.Diagnostics.Tools", + "version": "4.3.0", + "hash": "sha256-gVOv1SK6Ape0FQhCVlNOd9cvQKBvMxRX9K0JPVi8w0Y=" + }, + { + "pname": "System.Diagnostics.Tracing", + "version": "4.3.0", + "hash": "sha256-hCETZpHHGVhPYvb4C0fh4zs+8zv4GPoixagkLZjpa9Q=" + }, + { + "pname": "System.Drawing.Common", + "version": "4.7.0", + "hash": "sha256-D3qG+xAe78lZHvlco9gHK2TEAM370k09c6+SQi873Hk=" + }, + { + "pname": "System.Drawing.Common", + "version": "5.0.0", + "hash": "sha256-8PgFBZ3Agd+UI9IMxr4fRIW8IA1hqCl15nqlLTJETzk=" + }, + { + "pname": "System.Drawing.Common", + "version": "5.0.3", + "hash": "sha256-nr1bSJoGA97IfrQQTyakVIx3r0bpoZfs6xtrDgvE2+Y=" + }, + { + "pname": "System.Dynamic.Runtime", + "version": "4.0.11", + "hash": "sha256-qWqFVxuXioesVftv2RVJZOnmojUvRjb7cS3Oh3oTit4=" + }, + { + "pname": "System.Formats.Asn1", + "version": "5.0.0", + "hash": "sha256-9nL3dN4w/dZ49W1pCkTjRqZm6Dh0mMVExNungcBHrKs=" + }, + { + "pname": "System.Formats.Asn1", + "version": "6.0.0", + "hash": "sha256-KaMHgIRBF7Nf3VwOo+gJS1DcD+41cJDPWFh+TDQ8ee8=" + }, + { + "pname": "System.Globalization", + "version": "4.0.11", + "hash": "sha256-rbSgc2PIEc2c2rN6LK3qCREAX3DqA2Nq1WcLrZYsDBw=" + }, + { + "pname": "System.Globalization", + "version": "4.3.0", + "hash": "sha256-caL0pRmFSEsaoeZeWN5BTQtGrAtaQPwFi8YOZPZG5rI=" + }, + { + "pname": "System.Globalization.Extensions", + "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", + "hash": "sha256-ruynQHekFP5wPrDiVyhNiRIXeZ/I9NpjK5pU+HPDiRY=" + }, + { + "pname": "System.IO.FileSystem", + "version": "4.0.1", + "hash": "sha256-4VKXFgcGYCTWVXjAlniAVq0dO3o5s8KHylg2wg2/7k0=" + }, + { + "pname": "System.IO.FileSystem", + "version": "4.3.0", + "hash": "sha256-vNIYnvlayuVj0WfRfYKpDrhDptlhp1pN8CYmlVd2TXw=" + }, + { + "pname": "System.IO.FileSystem.Primitives", + "version": "4.0.1", + "hash": "sha256-IpigKMomqb6pmYWkrlf0ZdpILtRluX2cX5sOKVW0Feg=" + }, + { + "pname": "System.IO.FileSystem.Primitives", + "version": "4.3.0", + "hash": "sha256-LMnfg8Vwavs9cMnq9nNH8IWtAtSfk0/Fy4s4Rt9r1kg=" + }, + { + "pname": "System.IO.Pipelines", + "version": "5.0.0", + "hash": "sha256-o5ATaT13t/Q+ejEO70N9qOzb2dLrjYxCba1plPJfu80=" + }, + { + "pname": "System.Linq", + "version": "4.1.0", + "hash": "sha256-ZQpFtYw5N1F1aX0jUK3Tw+XvM5tnlnshkTCNtfVA794=" + }, + { + "pname": "System.Linq", + "version": "4.3.0", + "hash": "sha256-R5uiSL3l6a3XrXSSL6jz+q/PcyVQzEAByiuXZNSqD/A=" + }, + { + "pname": "System.Linq.Expressions", + "version": "4.1.0", + "hash": "sha256-7zqB+FXgkvhtlBzpcZyd81xczWP0D3uWssyAGw3t7b4=" + }, + { + "pname": "System.Linq.Expressions", + "version": "4.3.0", + "hash": "sha256-+3pvhZY7rip8HCbfdULzjlC9FPZFpYoQxhkcuFm2wk8=" + }, + { + "pname": "System.Memory", + "version": "4.5.4", + "hash": "sha256-3sCEfzO4gj5CYGctl9ZXQRRhwAraMQfse7yzKoRe65E=" + }, + { + "pname": "System.Numerics.Vectors", + "version": "4.4.0", + "hash": "sha256-auXQK2flL/JpnB/rEcAcUm4vYMCYMEMiWOCAlIaqu2U=" + }, + { + "pname": "System.Numerics.Vectors", + "version": "4.5.0", + "hash": "sha256-qdSTIFgf2htPS+YhLGjAGiLN8igCYJnCCo6r78+Q+c8=" + }, + { + "pname": "System.ObjectModel", + "version": "4.0.12", + "hash": "sha256-MudZ/KYcvYsn2cST3EE049mLikrNkmE7QoUoYKKby+s=" + }, + { + "pname": "System.ObjectModel", + "version": "4.3.0", + "hash": "sha256-gtmRkWP2Kwr3nHtDh0yYtce38z1wrGzb6fjm4v8wN6Q=" + }, + { + "pname": "System.Private.ServiceModel", + "version": "4.8.1", + "hash": "sha256-d/Mw1lVN0Gb2+pHltqM4qjBOO67vFGfI5zRK5MHa2rg=" + }, + { + "pname": "System.Private.ServiceModel", + "version": "4.9.0", + "hash": "sha256-AbJKAZzZDxKVXm5761XE+nhlkiDqX9eb6+Y9d4Hq+4Q=" + }, + { + "pname": "System.Private.Uri", + "version": "4.3.0", + "hash": "sha256-fVfgcoP4AVN1E5wHZbKBIOPYZ/xBeSIdsNF+bdukIRM=" + }, + { + "pname": "System.Reflection", + "version": "4.1.0", + "hash": "sha256-idZHGH2Yl/hha1CM4VzLhsaR8Ljo/rV7TYe7mwRJSMs=" + }, + { + "pname": "System.Reflection", + "version": "4.3.0", + "hash": "sha256-NQSZRpZLvtPWDlvmMIdGxcVuyUnw92ZURo0hXsEshXY=" + }, + { + "pname": "System.Reflection.DispatchProxy", + "version": "4.7.1", + "hash": "sha256-Oi+l32p73ZxwcB6GrSS2m25BccfpuwbY4eyFEwUe0IM=" + }, + { + "pname": "System.Reflection.Emit", + "version": "4.0.1", + "hash": "sha256-F1MvYoQWHCY89/O4JBwswogitqVvKuVfILFqA7dmuHk=" + }, + { + "pname": "System.Reflection.Emit", + "version": "4.3.0", + "hash": "sha256-5LhkDmhy2FkSxulXR+bsTtMzdU3VyyuZzsxp7/DwyIU=" + }, + { + "pname": "System.Reflection.Emit.ILGeneration", + "version": "4.0.1", + "hash": "sha256-YG+eJBG5P+5adsHiw/lhJwvREnvdHw6CJyS8ZV4Ujd0=" + }, + { + "pname": "System.Reflection.Emit.ILGeneration", + "version": "4.3.0", + "hash": "sha256-mKRknEHNls4gkRwrEgi39B+vSaAz/Gt3IALtS98xNnA=" + }, + { + "pname": "System.Reflection.Emit.ILGeneration", + "version": "4.7.0", + "hash": "sha256-GUnQeGo/DtvZVQpFnESGq7lJcjB30/KnDY7Kd2G/ElE=" + }, + { + "pname": "System.Reflection.Emit.Lightweight", + "version": "4.0.1", + "hash": "sha256-uVvNOnL64CPqsgZP2OLqNmxdkZl6Q0fTmKmv9gcBi+g=" + }, + { + "pname": "System.Reflection.Emit.Lightweight", + "version": "4.3.0", + "hash": "sha256-rKx4a9yZKcajloSZHr4CKTVJ6Vjh95ni+zszPxWjh2I=" + }, + { + "pname": "System.Reflection.Emit.Lightweight", + "version": "4.7.0", + "hash": "sha256-V0Wz/UUoNIHdTGS9e1TR89u58zJjo/wPUWw6VaVyclU=" + }, + { + "pname": "System.Reflection.Extensions", + "version": "4.0.1", + "hash": "sha256-NsfmzM9G/sN3H8X2cdnheTGRsh7zbRzvegnjDzDH/FQ=" + }, + { + "pname": "System.Reflection.Extensions", + "version": "4.3.0", + "hash": "sha256-mMOCYzUenjd4rWIfq7zIX9PFYk/daUyF0A8l1hbydAk=" + }, + { + "pname": "System.Reflection.Metadata", + "version": "1.6.0", + "hash": "sha256-JJfgaPav7UfEh4yRAQdGhLZF1brr0tUWPl6qmfNWq/E=" + }, + { + "pname": "System.Reflection.Metadata", + "version": "5.0.0", + "hash": "sha256-Wo+MiqhcP9dQ6NuFGrQTw6hpbJORFwp+TBNTq2yhGp8=" + }, + { + "pname": "System.Reflection.Primitives", + "version": "4.0.1", + "hash": "sha256-SFSfpWEyCBMAOerrMCOiKnpT+UAWTvRcmoRquJR6Vq0=" + }, + { + "pname": "System.Reflection.Primitives", + "version": "4.3.0", + "hash": "sha256-5ogwWB4vlQTl3jjk1xjniG2ozbFIjZTL9ug0usZQuBM=" + }, + { + "pname": "System.Reflection.TypeExtensions", + "version": "4.1.0", + "hash": "sha256-R0YZowmFda+xzKNR4kKg7neFoE30KfZwp/IwfRSKVK4=" + }, + { + "pname": "System.Reflection.TypeExtensions", + "version": "4.3.0", + "hash": "sha256-4U4/XNQAnddgQIHIJq3P2T80hN0oPdU2uCeghsDTWng=" + }, + { + "pname": "System.Resources.ResourceManager", + "version": "4.0.1", + "hash": "sha256-cZ2/3/fczLjEpn6j3xkgQV9ouOVjy4Kisgw5xWw9kSw=" + }, + { + "pname": "System.Resources.ResourceManager", + "version": "4.3.0", + "hash": "sha256-idiOD93xbbrbwwSnD4mORA9RYi/D/U48eRUsn/WnWGo=" + }, + { + "pname": "System.Runtime", + "version": "4.1.0", + "hash": "sha256-FViNGM/4oWtlP6w0JC0vJU+k9efLKZ+yaXrnEeabDQo=" + }, + { + "pname": "System.Runtime", + "version": "4.3.0", + "hash": "sha256-51813WXpBIsuA6fUtE5XaRQjcWdQ2/lmEokJt97u0Rg=" + }, + { + "pname": "System.Runtime.CompilerServices.Unsafe", + "version": "4.5.3", + "hash": "sha256-lnZMUqRO4RYRUeSO8HSJ9yBHqFHLVbmenwHWkIU20ak=" + }, + { + "pname": "System.Runtime.CompilerServices.Unsafe", + "version": "5.0.0", + "hash": "sha256-neARSpLPUzPxEKhJRwoBzhPxK+cKIitLx7WBYncsYgo=" + }, + { + "pname": "System.Runtime.Extensions", + "version": "4.1.0", + "hash": "sha256-X7DZ5CbPY7jHs20YZ7bmcXs9B5Mxptu/HnBUvUnNhGc=" + }, + { + "pname": "System.Runtime.Extensions", + "version": "4.3.0", + "hash": "sha256-wLDHmozr84v1W2zYCWYxxj0FR0JDYHSVRaRuDm0bd/o=" + }, + { + "pname": "System.Runtime.Handles", + "version": "4.0.1", + "hash": "sha256-j2QgVO9ZOjv7D1het98CoFpjoYgxjupuIhuBUmLLH7w=" + }, + { + "pname": "System.Runtime.Handles", + "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", + "hash": "sha256-8sDH+WUJfCR+7e4nfpftj/+lstEiZixWUBueR2zmHgI=" + }, + { + "pname": "System.Runtime.InteropServices.RuntimeInformation", + "version": "4.3.0", + "hash": "sha256-MYpl6/ZyC6hjmzWRIe+iDoldOMW1mfbwXsduAnXIKGA=" + }, + { + "pname": "System.Runtime.Serialization.Primitives", + "version": "4.1.1", + "hash": "sha256-80B05oxJbPLGq2pGOSl6NlZvintX9A1CNpna2aN0WRA=" + }, + { + "pname": "System.Security.AccessControl", + "version": "4.4.0", + "hash": "sha256-J3T2ECVdL0JiBA999CUz77az545CVOYB11/NPA/huEc=" + }, + { + "pname": "System.Security.AccessControl", + "version": "4.7.0", + "hash": "sha256-/9ZCPIHLdhzq7OW4UKqTsR0O93jjHd6BRG1SRwgHE1g=" + }, + { + "pname": "System.Security.AccessControl", + "version": "5.0.0", + "hash": "sha256-ueSG+Yn82evxyGBnE49N4D+ngODDXgornlBtQ3Omw54=" + }, + { + "pname": "System.Security.AccessControl", + "version": "6.0.0", + "hash": "sha256-qOyWEBbNr3EjyS+etFG8/zMbuPjA+O+di717JP9Cxyg=" + }, + { + "pname": "System.Security.Cryptography.Cng", + "version": "4.5.0", + "hash": "sha256-9llRbEcY1fHYuTn3vGZaCxsFxSAqXl4bDA6Rz9b0pN4=" + }, + { + "pname": "System.Security.Cryptography.Cng", + "version": "4.7.0", + "hash": "sha256-MvVSJhAojDIvrpuyFmcSVRSZPl3dRYOI9hSptbA+6QA=" + }, + { + "pname": "System.Security.Cryptography.Cng", + "version": "5.0.0", + "hash": "sha256-nOJP3vdmQaYA07TI373OvZX6uWshETipvi5KpL7oExo=" + }, + { + "pname": "System.Security.Cryptography.Pkcs", + "version": "4.7.0", + "hash": "sha256-lZMmOxtg5d7Oyoof8p6awVALUsYQstc2mBNNrQr9m9c=" + }, + { + "pname": "System.Security.Cryptography.Pkcs", + "version": "5.0.0", + "hash": "sha256-kq/tvYQSa24mKSvikFK2fKUAnexSL4PO4LkPppqtYkE=" + }, + { + "pname": "System.Security.Cryptography.Pkcs", + "version": "6.0.1", + "hash": "sha256-OJ4NJ8E/8l86aR+Hsw+k/7II63Y/zPS+MgC+UfeCXHM=" + }, + { + "pname": "System.Security.Cryptography.Xml", + "version": "4.7.0", + "hash": "sha256-67k24CjNisMJUtnyWb08V/t7mBns+pxLyNhBG5YXiCE=" + }, + { + "pname": "System.Security.Cryptography.Xml", + "version": "5.0.0", + "hash": "sha256-0LyU7KmpFRFZFCugAgDnp93Unw3rL4hFSqx6GNqov9o=" + }, + { + "pname": "System.Security.Cryptography.Xml", + "version": "6.0.1", + "hash": "sha256-spXV8cWZu0V3liek1936REtdpvS4fQwc98JvacO1oJU=" + }, + { + "pname": "System.Security.Permissions", + "version": "4.4.0", + "hash": "sha256-P3U50uTv0HF5uOZVoVEARyBDTyG3+Ilm9t2Ko6KVf7w=" + }, + { + "pname": "System.Security.Permissions", + "version": "4.7.0", + "hash": "sha256-BGgXMLUi5rxVmmChjIhcXUxisJjvlNToXlyaIbUxw40=" + }, + { + "pname": "System.Security.Permissions", + "version": "5.0.0", + "hash": "sha256-BI1Js3L4R32UkKOLMTAVpXzGlQ27m+oaYHSV3J+iQfc=" + }, + { + "pname": "System.Security.Principal.Windows", + "version": "4.4.0", + "hash": "sha256-lwNBM33EW45j6o8bM4hKWirEUZCvep0VYFchc50JOYc=" + }, + { + "pname": "System.Security.Principal.Windows", + "version": "4.7.0", + "hash": "sha256-rWBM2U8Kq3rEdaa1MPZSYOOkbtMGgWyB8iPrpIqmpqg=" + }, + { + "pname": "System.Security.Principal.Windows", + "version": "5.0.0", + "hash": "sha256-CBOQwl9veFkrKK2oU8JFFEiKIh/p+aJO+q9Tc2Q/89Y=" + }, + { + "pname": "System.ServiceModel.Duplex", + "version": "4.8.1", + "hash": "sha256-WDwB7gEfvvbIF18NYPvSdI7GJhYn7vINWndgrh8wpsg=" + }, + { + "pname": "System.ServiceModel.Federation", + "version": "4.8.1", + "hash": "sha256-5PmzrNH8q+kHaVS1T1bcBcH4Kgh9eL350P0qm6frWVo=" + }, + { + "pname": "System.ServiceModel.Http", + "version": "4.8.1", + "hash": "sha256-pgLvBQk2FnJbTETUKZag2LeGSXDBK6WnPYsfDbcPhLk=" + }, + { + "pname": "System.ServiceModel.Http", + "version": "6.0.0", + "hash": "sha256-jy3bGKjvrQF5l3zn8/MiYwBqlkes6kWnNHUUJxPho/s=" + }, + { + "pname": "System.ServiceModel.NetTcp", + "version": "4.8.1", + "hash": "sha256-MQGtgKRV4XuIVPV4iABY+ABIx+C4I+J74p5ohclSj7Y=" + }, + { + "pname": "System.ServiceModel.Primitives", + "version": "4.8.1", + "hash": "sha256-sZEzX9vgwtckMrTPwNg8s+bZErDv5/Yakeg5c6nUWis=" + }, + { + "pname": "System.ServiceModel.Primitives", + "version": "4.9.0", + "hash": "sha256-DguxLLRrYNn99rYxCGIljZTdZqrVC+VxJNahkFUy9NM=" + }, + { + "pname": "System.ServiceModel.Primitives", + "version": "6.0.0", + "hash": "sha256-XKKDaDp32Igr+cSPviNjUVlSjgzuGBQNCiTZUBinawY=" + }, + { + "pname": "System.ServiceModel.Security", + "version": "4.8.1", + "hash": "sha256-4aEWyw9HudwzO0oRuKKrEQrQpnUvNvkRc0aLtCQ8NZI=" + }, + { + "pname": "System.Text.Encoding", + "version": "4.0.11", + "hash": "sha256-PEailOvG05CVgPTyKLtpAgRydlSHmtd5K0Y8GSHY2Lc=" + }, + { + "pname": "System.Text.Encoding", + "version": "4.3.0", + "hash": "sha256-GctHVGLZAa/rqkBNhsBGnsiWdKyv6VDubYpGkuOkBLg=" + }, + { + "pname": "System.Text.Encoding.CodePages", + "version": "4.4.0", + "hash": "sha256-zD24blG8xhAcL9gC4UTGKetd8c3LO0nv22nKTp2Vfx0=" + }, + { + "pname": "System.Text.Encoding.CodePages", + "version": "4.5.1", + "hash": "sha256-PIhkv59IXjyiuefdhKxS9hQfEwO9YWRuNudpo53HQfw=" + }, + { + "pname": "System.Text.Encoding.Extensions", + "version": "4.0.11", + "hash": "sha256-+kf7J3dEhgCbnCM5vHYlsTm5/R/Ud0Jr6elpHm922iI=" + }, + { + "pname": "System.Text.Encoding.Extensions", + "version": "4.3.0", + "hash": "sha256-vufHXg8QAKxHlujPHHcrtGwAqFmsCD6HKjfDAiHyAYc=" + }, + { + "pname": "System.Text.RegularExpressions", + "version": "4.1.0", + "hash": "sha256-x6OQN6MCN7S0fJ6EFTfv4rczdUWjwuWE9QQ0P6fbh9c=" + }, + { + "pname": "System.Text.RegularExpressions", + "version": "4.3.0", + "hash": "sha256-VLCk1D1kcN2wbAe3d0YQM/PqCsPHOuqlBY1yd2Yo+K0=" + }, + { + "pname": "System.Threading", + "version": "4.0.11", + "hash": "sha256-mob1Zv3qLQhQ1/xOLXZmYqpniNUMCfn02n8ZkaAhqac=" + }, + { + "pname": "System.Threading", + "version": "4.3.0", + "hash": "sha256-ZDQ3dR4pzVwmaqBg4hacZaVenQ/3yAF/uV7BXZXjiWc=" + }, + { + "pname": "System.Threading.Tasks", + "version": "4.0.11", + "hash": "sha256-5SLxzFg1df6bTm2t09xeI01wa5qQglqUwwJNlQPJIVs=" + }, + { + "pname": "System.Threading.Tasks", + "version": "4.3.0", + "hash": "sha256-Z5rXfJ1EXp3G32IKZGiZ6koMjRu0n8C1NGrwpdIen4w=" + }, + { + "pname": "System.Threading.Tasks.Extensions", + "version": "4.0.0", + "hash": "sha256-+YdcPkMhZhRbMZHnfsDwpNbUkr31X7pQFGxXYcAPZbE=" + }, + { + "pname": "System.Threading.Tasks.Extensions", + "version": "4.3.0", + "hash": "sha256-X2hQ5j+fxcmnm88Le/kSavjiGOmkcumBGTZKBLvorPc=" + }, + { + "pname": "System.Threading.Tasks.Extensions", + "version": "4.5.4", + "hash": "sha256-owSpY8wHlsUXn5xrfYAiu847L6fAKethlvYx97Ri1ng=" + }, + { + "pname": "System.Threading.Thread", + "version": "4.3.0", + "hash": "sha256-pMs6RNFC3nQOGz9EqIcyWmO8YLaqay+q/Qde5hqPXXg=" + }, + { + "pname": "System.Threading.ThreadPool", + "version": "4.3.0", + "hash": "sha256-wW0QdvssRoaOfQLazTGSnwYTurE4R8FxDx70pYkL+gg=" + }, + { + "pname": "System.ValueTuple", + "version": "4.5.0", + "hash": "sha256-niH6l2fU52vAzuBlwdQMw0OEoRS/7E1w5smBFoqSaAI=" + }, + { + "pname": "System.Windows.Extensions", + "version": "4.7.0", + "hash": "sha256-yW+GvQranReaqPw5ZFv+mSjByQ5y1pRLl05JIEf3tYU=" + }, + { + "pname": "System.Windows.Extensions", + "version": "5.0.0", + "hash": "sha256-fzWnaRBCDuoq3hQsGIi0PvCEJN7yGaaJvlU6pq4052A=" + }, + { + "pname": "System.Xml.ReaderWriter", + "version": "4.0.11", + "hash": "sha256-haZAFFQ9Sl2DhfvEbdx2YRqKEoxNMU5STaqpMmXw0zA=" + }, + { + "pname": "System.Xml.ReaderWriter", + "version": "4.3.0", + "hash": "sha256-QQ8KgU0lu4F5Unh+TbechO//zaAGZ4MfgvW72Cn1hzA=" + }, + { + "pname": "System.Xml.XDocument", + "version": "4.0.11", + "hash": "sha256-KPz1kxe0RUBM+aoktJ/f9p51GudMERU8Pmwm//HdlFg=" + }, + { + "pname": "System.Xml.XmlDocument", + "version": "4.3.0", + "hash": "sha256-kbuV4Y7rVJkfMp2Kgoi8Zvdatm9CZNmlKB3GZgANvy4=" + }, + { + "pname": "System.Xml.XPath", + "version": "4.3.0", + "hash": "sha256-kd1JMqj6obhxzEPRJeYvcUyJqkOs/9A0UOQccC6oYrM=" + }, + { + "pname": "System.Xml.XPath.XmlDocument", + "version": "4.3.0", + "hash": "sha256-NWPne5KQuqUt7WvaRT1KX3kkpWv6EPTHcI6CO/GBNME=" + } +] diff --git a/pkgs/by-name/re/renode/package.nix b/pkgs/by-name/re/renode/package.nix index edf34d337346..85f4a4dd846d 100644 --- a/pkgs/by-name/re/renode/package.nix +++ b/pkgs/by-name/re/renode/package.nix @@ -1,21 +1,36 @@ { - stdenv, - lib, - fetchFromGitHub, - fetchurl, - fetchpatch, - autoPatchelfHook, - makeWrapper, - nix-update-script, - glibcLocales, - python3Packages, - dotnetCorePackages, - gtk-sharp-3_0, - gtk3-x11, + buildDotnetModule, + cmake, dconf, + dotnet-runtime_8, + dotnet-sdk_6, + fetchFromGitHub, + fetchpatch, + gcc, + glibcLocales, + gtk3-x11, + gtk3, + lib, + mono, + nix-update-script, + python3Packages, }: let + resources = fetchFromGitHub { + owner = "renode"; + repo = "renode-resources"; + rev = "d3d69f8f17ed164ee23e46f0c06844a69bf4c004"; + hash = "sha256-wR3heL58NOQLENwCzL4lPM4KuvT/ON7dlc/KUqrlRjg="; + }; + assemblyVersion = + s: + let + part = lib.strings.splitString "-" s; + result = builtins.head part; + in + result; + pythonLibs = with python3Packages; makePythonPath [ @@ -48,58 +63,134 @@ let ]; })) ]; + in -stdenv.mkDerivation (finalAttrs: { +buildDotnetModule rec { pname = "renode"; version = "1.16.0"; - src = fetchurl { - url = "https://github.com/renode/renode/releases/download/v${finalAttrs.version}/renode-${finalAttrs.version}.linux-dotnet.tar.gz"; - hash = "sha256-oNlTz5LBggPkjKM4TJO2UDKQdt2Ga7rBTdgyGjN8/zA="; + src = fetchFromGitHub { + owner = "renode"; + repo = "renode"; + rev = "20ad06d9379997829df309c5724be94ba4effedd"; + hash = "sha256-I/W3OAzHCN8rEIlDyBwI1ZDvKfHYYBDiqE9XkWHxo7o="; + fetchSubmodules = true; }; - nativeBuildInputs = [ - autoPatchelfHook - makeWrapper - ]; + projectFile = "Renode_NET.sln"; - propagatedBuildInputs = [ - gtk-sharp-3_0 - ]; + dotnet-runtime = dotnet-runtime_8; + dotnet-sdk = dotnet-sdk_6; - strictDeps = true; + nugetDeps = ./deps.json; - installPhase = '' - runHook preInstall + patches = [ ./renode-test.patch ]; - mkdir -p $out/{bin,libexec/renode} - - mv * $out/libexec/renode - mv .renode-root $out/libexec/renode - - makeWrapper "$out/libexec/renode/renode" "$out/bin/renode" \ - --prefix PATH : "$out/libexec/renode:${lib.makeBinPath [ dotnetCorePackages.runtime_8_0 ]}" \ - --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \ - --suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk3-x11 ]}" \ - --prefix PYTHONPATH : "${pythonLibs}" \ - --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" - makeWrapper "$out/libexec/renode/renode-test" "$out/bin/renode-test" \ - --prefix PATH : "$out/libexec/renode:${lib.makeBinPath [ dotnetCorePackages.runtime_8_0 ]}" \ - --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \ - --suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk3-x11 ]}" \ - --prefix PYTHONPATH : "${pythonLibs}" \ - --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" - - substituteInPlace "$out/libexec/renode/renode-test" \ - --replace '$PYTHON_RUNNER' '${python3Packages.python}/bin/python3' - - runHook postInstall + prePatch = '' + substituteInPlace tools/building/createAssemblyInfo.sh \ + --replace CURRENT_INFORMATIONAL_VERSION="`git rev-parse --short=8 HEAD`" \ + CURRENT_INFORMATIONAL_VERSION="${builtins.substring 0 8 src.rev}" ''; + postPatch = '' + # https://github.com/dotnet/roslyn/issues/37379#issuecomment-513371985 + cat << EOF > Directory.Build.props + + + + + + EOF + + patchShebangs build.sh tools/ + + # Fixes determinism build error + sed -i 's/AssemblyVersion("%VERSION%.*")/AssemblyVersion("${assemblyVersion version}")/g' src/Renode/Properties/AssemblyInfo.template + sed -i 's/AssemblyVersion("1.0.*")/AssemblyVersion("1.0.0.0")/g' lib/AntShell/AntShell/Properties/AssemblyInfo.cs lib/CxxDemangler/CxxDemangler/Properties/AssemblyInfo.cs + ''; + + # https://github.com/NixOS/nixpkgs/issues/38991 + # bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) + env.LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"; + + nativeBuildInputs = [ + cmake + gcc + ]; + + runtimeDeps = [ + gtk3 + mono + ]; + + dontUseCmakeConfigure = true; + + enableParallelBuilding = false; + + preBuild = '' + mkdir -p lib/resources + ln -s ${resources}/* lib/resources/ + + mkdir output + mv src/Infrastructure/src/Emulator/Cores/linux-properties.csproj output/properties.csproj + sed -i "s#/usr/bin/gcc#${gcc}/bin/gcc#g" output/properties.csproj + sed -i "s#/usr/bin/ar#${gcc}/bin/ar#g" output/properties.csproj + + # To fix value "" error in element + rm -rf src/Directory.Build.targets + + CORES=(arm.le arm.be arm64.le arm-m.le arm-m.be ppc.le ppc.be ppc64.le ppc64.be i386.le x86_64.le riscv.le riscv64.le sparc.le sparc.be xtensa.le) + for core_config in ''${CORES[@]} + do + CORE="$(echo $core_config | cut -d '.' -f 1)" + ENDIAN="$(echo $core_config | cut -d '.' -f 2)" + BITS=32 + + if [[ $CORE =~ "64" ]]; then + BITS=64 + fi + + SOURCE="${src}/src/Infrastructure/src/Emulator/Cores" + CMAKE_CONF_FLAGS="-DTARGET_ARCH=$CORE -DTARGET_WORD_SIZE=$BITS -DCMAKE_BUILD_TYPE=Release -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=$out/lib" + CORE_DIR=build/$CORE/$ENDIAN + mkdir -p $CORE_DIR + pushd $CORE_DIR + + if [[ $ENDIAN == "be" ]]; then + CMAKE_CONF_FLAGS+=" -DTARGET_WORDS_BIGENDIAN=1" + fi + + cmake $CMAKE_CONF_FLAGS -DHOST_ARCH=i386 $SOURCE + cmake --build . -j$NIX_BUILD_CORES + popd + done + + mkdir -p src/Infrastructure/src/Emulator/Cores/bin/Release/lib + ln -s $out/lib/*.so src/Infrastructure/src/Emulator/Cores/bin/Release/lib + ''; + + dotnetInstallFlags = [ "-p:TargetFramework=net6.0" ]; + + postInstall = '' + mkdir -p $out/lib/renode + mv * .renode-root $out/lib/renode + + makeWrapper "$out/lib/renode/renode-test" "$out/bin/renode-test" \ + --prefix PATH : "$out/lib/renode:${lib.makeBinPath [ dotnet-sdk ]}" \ + --prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \ + --suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk3-x11 ]}" \ + --prefix PYTHONPATH : "${pythonLibs}" \ + --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" \ + ''; + + executables = [ "Renode" ]; + passthru.updateScript = nix-update-script { }; meta = { + changelog = "https://github.com/renode/renode/blob/${version}/CHANGELOG.rst"; description = "Virtual development framework for complex embedded systems"; + downloadPage = "https://github.com/renode/renode"; homepage = "https://renode.io"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ @@ -108,4 +199,4 @@ stdenv.mkDerivation (finalAttrs: { ]; platforms = [ "x86_64-linux" ]; }; -}) +} diff --git a/pkgs/by-name/re/renode/renode-test.patch b/pkgs/by-name/re/renode/renode-test.patch new file mode 100644 index 000000000000..2b902218e903 --- /dev/null +++ b/pkgs/by-name/re/renode/renode-test.patch @@ -0,0 +1,28 @@ +diff --git a/renode-test b/renode-test +index 0f8f8d0..1fdfe23 100755 +--- a/renode-test ++++ b/renode-test +@@ -5,22 +5,17 @@ set -u + # this is to support running renode-test from an external directory and via a symlink + ROOT_PATH="$(cd $(dirname $(readlink -f $0 2>/dev/null || echo $0)); echo $PWD)" + +-TESTS_FILE="$ROOT_PATH/tests/tests.yaml" +-TESTS_RESULTS="$ROOT_PATH/output/tests" + + . "${ROOT_PATH}/tools/common.sh" + + set +e + STTY_CONFIG=`stty -g 2>/dev/null` +-$PYTHON_RUNNER -u "`get_path "$ROOT_PATH/tests/run_tests.py"`" --exclude "skip_${DETECTED_OS}" --exclude "skip_host_${DETECTED_ARCH}" --properties-file "`get_path "$ROOT_PATH/output/properties.csproj"`" -r "`get_path "$TESTS_RESULTS"`" -t "`get_path "$TESTS_FILE"`" "$@" ++$PYTHON_RUNNER -u "`get_path "$ROOT_PATH/tests/run_tests.py"`" --exclude "skip_${DETECTED_OS}" -r $(pwd) --runner=dotnet "$@" + RESULT_CODE=$? + + set -e + if [ -n "${STTY_CONFIG:-}" ] + then +- # SIGTTOU might be sent when trying to change the terminal settings when "renode-test" runs in the background so trap the signal. +- trap "" SIGTTOU + stty "$STTY_CONFIG" +- trap - SIGTTOU + fi + exit $RESULT_CODE diff --git a/pkgs/by-name/rq/rqlite/package.nix b/pkgs/by-name/rq/rqlite/package.nix index 632faac488b9..e000881423d9 100644 --- a/pkgs/by-name/rq/rqlite/package.nix +++ b/pkgs/by-name/rq/rqlite/package.nix @@ -6,16 +6,16 @@ buildGoModule (finalAttrs: { pname = "rqlite"; - version = "8.43.0"; + version = "8.43.2"; src = fetchFromGitHub { owner = "rqlite"; repo = "rqlite"; tag = "v${finalAttrs.version}"; - hash = "sha256-+liwTJP4JEVQCMHegg4Ewk4K+MEjbwZ8wo3aoRZo+S0="; + hash = "sha256-A/PP9jOEelELM3v36/b4YPbd/duzV3C/IXfHgmbjltY="; }; - vendorHash = "sha256-81Ueq2/aH0KNEuaNjpMVP1MIX68jY33G+v2oDzNvvo8="; + vendorHash = "sha256-3BdRYAc/gbtOtEMfBMOK5scP58r85WNq0In7qNBwY0E="; subPackages = [ "cmd/rqlite" diff --git a/pkgs/by-name/rs/rss-bridge/package.nix b/pkgs/by-name/rs/rss-bridge/package.nix index 93cd2e51a2d9..2155dd07b3ab 100644 --- a/pkgs/by-name/rs/rss-bridge/package.nix +++ b/pkgs/by-name/rs/rss-bridge/package.nix @@ -8,13 +8,13 @@ stdenv.mkDerivation rec { pname = "rss-bridge"; - version = "2025-06-03"; + version = "2025-08-05"; src = fetchFromGitHub { owner = "RSS-Bridge"; repo = "rss-bridge"; rev = version; - sha256 = "sha256-S9TSTUwuScOcLbEpGgET1zzH1WlO1IMUOiwzMTsA65s="; + sha256 = "sha256-SH5iYsdvGD51j+2xqaG51VDtb35m1v9MR0+yLE1eyWo="; }; installPhase = '' diff --git a/pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix b/pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix index 73bfc71fd2a4..9ab142b10b53 100644 --- a/pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix +++ b/pkgs/by-name/ru/rust-analyzer-unwrapped/package.nix @@ -12,15 +12,15 @@ rustPlatform.buildRustPackage rec { pname = "rust-analyzer-unwrapped"; - version = "2025-08-04"; + version = "2025-08-11"; - cargoHash = "sha256-+CT0Q/uOoYbe3mItVM9D2Taoa3CLHoDpDtRVzHxGHpI="; + cargoHash = "sha256-G1R3IiKbQg1Dl6OFJSto0w4c18OUIrAPRiM/YStfkl0="; src = fetchFromGitHub { owner = "rust-lang"; repo = "rust-analyzer"; rev = version; - hash = "sha256-M+bLCsYRYA7iudlZkeOf+Azm/1TUvihIq51OKia6KJ8="; + hash = "sha256-fuHLsvM5z5/5ia3yL0/mr472wXnxSrtXECa+pspQchA="; }; cargoBuildFlags = [ diff --git a/pkgs/by-name/ry/rymdport/package.nix b/pkgs/by-name/ry/rymdport/package.nix index 1d3547055e73..931b52226870 100644 --- a/pkgs/by-name/ry/rymdport/package.nix +++ b/pkgs/by-name/ry/rymdport/package.nix @@ -9,13 +9,13 @@ buildGoModule rec { pname = "rymdport"; - version = "3.9.0"; + version = "3.9.1"; src = fetchFromGitHub { owner = "Jacalz"; repo = "rymdport"; rev = "v${version}"; - hash = "sha256-Eezitq66NkTYUxGt5/sVrB486irPigeCARjZVW6nTK4="; + hash = "sha256-5INmb8zMFUB8ibA+ACNWoL54tOhWYHF85MZzRNRmJow="; }; vendorHash = "sha256-WPJj3zlEJeghRw0lHHUXm7n0a6d8Yf78s7jnBwmAZ4U="; diff --git a/pkgs/by-name/rz/rzls/deps.json b/pkgs/by-name/rz/rzls/deps.json index 7331e6ef3efd..45aa56bbc3e0 100644 --- a/pkgs/by-name/rz/rzls/deps.json +++ b/pkgs/by-name/rz/rzls/deps.json @@ -7,33 +7,45 @@ }, { "pname": "ICSharpCode.Decompiler", - "version": "8.2.0.7535", - "hash": "sha256-4BWs04Va9pc/SLeMA/vKoBydhw+Bu6s9MDtoo/Ucft8=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/icsharpcode.decompiler/8.2.0.7535/icsharpcode.decompiler.8.2.0.7535.nupkg" + "version": "9.1.0.7988", + "hash": "sha256-zPLgLNO4cCrtN9BR9x6X+W0MNkQ71nADIopOC1VBhAQ=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/icsharpcode.decompiler/9.1.0.7988/icsharpcode.decompiler.9.1.0.7988.nupkg" }, { "pname": "MessagePack", - "version": "2.5.192", - "hash": "sha256-M9QUEAIeSoSgO3whVkOou0F8kbKCNJ7HHAvTZgytkPU=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/messagepack/2.5.192/messagepack.2.5.192.nupkg" + "version": "2.5.198", + "hash": "sha256-La9QIOel2n2yZaOPaRi04Q/7YudWQ4SiDxgpacFivgI=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/messagepack/2.5.198/messagepack.2.5.198.nupkg" }, { "pname": "MessagePack.Annotations", - "version": "2.5.187", - "hash": "sha256-SQCJa6u8coWMptbR9iQJLjoi/YkT9t0kJNbojh9vUPw=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/messagepack.annotations/2.5.187/messagepack.annotations.2.5.187.nupkg" + "version": "2.5.198", + "hash": "sha256-WnXjX2pGroKn+KukCgPeUUZAkz2S6CdMrCc9P2VcBDQ=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/messagepack.annotations/2.5.198/messagepack.annotations.2.5.198.nupkg" }, { - "pname": "MessagePack.Annotations", - "version": "2.5.192", - "hash": "sha256-DLtncnaQ9Sp5YmWm89+2w3InhdU1ZQxnJgbonAq/1aM=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/messagepack.annotations/2.5.192/messagepack.annotations.2.5.192.nupkg" + "pname": "Microsoft.AspNetCore.App.Runtime.linux-arm64", + "version": "9.0.8", + "hash": "sha256-lrGSct2fPz3L2nGmGUYo6IjRgFdjltEU7UqPOtl29+0=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.aspnetcore.app.runtime.linux-arm64/9.0.8/microsoft.aspnetcore.app.runtime.linux-arm64.9.0.8.nupkg" }, { - "pname": "MessagePackAnalyzer", - "version": "2.5.124", - "hash": "sha256-443+eq8oiDDCpa5vSjP/WLO6eE97qWcLMjhwREU8EHk=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/messagepackanalyzer/2.5.124/messagepackanalyzer.2.5.124.nupkg" + "pname": "Microsoft.AspNetCore.App.Runtime.linux-x64", + "version": "9.0.8", + "hash": "sha256-IgEoUCgazAyXW+IsASPmGYQJqIHejKk3mp1bFbJAJm8=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.aspnetcore.app.runtime.linux-x64/9.0.8/microsoft.aspnetcore.app.runtime.linux-x64.9.0.8.nupkg" + }, + { + "pname": "Microsoft.AspNetCore.App.Runtime.osx-arm64", + "version": "9.0.8", + "hash": "sha256-yqpl3t5p4utZ/GCnPPJm4b6msntyY/Ky97PMw2+29Lc=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.aspnetcore.app.runtime.osx-arm64/9.0.8/microsoft.aspnetcore.app.runtime.osx-arm64.9.0.8.nupkg" + }, + { + "pname": "Microsoft.AspNetCore.App.Runtime.osx-x64", + "version": "9.0.8", + "hash": "sha256-XlXBx1Q/3vPrW+qB1D5Q4T/TVD/TM42KdxROyj2KHXo=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.aspnetcore.app.runtime.osx-x64/9.0.8/microsoft.aspnetcore.app.runtime.osx-x64.9.0.8.nupkg" }, { "pname": "Microsoft.Bcl.AsyncInterfaces", @@ -48,16 +60,16 @@ "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.bcl.asyncinterfaces/8.0.0/microsoft.bcl.asyncinterfaces.8.0.0.nupkg" }, { - "pname": "Microsoft.CodeAnalysis.Analyzers", - "version": "3.11.0", - "hash": "sha256-hQ2l6E6PO4m7i+ZsfFlEx+93UsLPo4IY3wDkNG11/Sw=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.codeanalysis.analyzers/3.11.0/microsoft.codeanalysis.analyzers.3.11.0.nupkg" + "pname": "Microsoft.Bcl.AsyncInterfaces", + "version": "9.0.0", + "hash": "sha256-BsXNOWEgfFq3Yz7VTtK6m/ov4/erRqyBzieWSIpmc1U=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.bcl.asyncinterfaces/9.0.0/microsoft.bcl.asyncinterfaces.9.0.0.nupkg" }, { - "pname": "Microsoft.CodeAnalysis.AnalyzerUtilities", - "version": "3.3.0", - "hash": "sha256-nzFs+H0FFEgZzjl/bcmWyQQVKS2PncS6kMYHOqrxXSw=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.codeanalysis.analyzerutilities/3.3.0/microsoft.codeanalysis.analyzerutilities.3.3.0.nupkg" + "pname": "Microsoft.CodeAnalysis.Analyzers", + "version": "5.0.0-2.25375.9", + "hash": "sha256-pW+vy3BBsHa2VW1cFNxzeQTZfL7FqA/V9kw/Q8Kh5rQ=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.analyzers/5.0.0-2.25375.9/microsoft.codeanalysis.analyzers.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.BannedApiAnalyzers", @@ -67,39 +79,27 @@ }, { "pname": "Microsoft.CodeAnalysis.Common", - "version": "4.14.0-3.25128.2", - "hash": "sha256-73n7OLrzTa72A6eFYzH82G5CCxXLYIKyk8lBZe84Da0=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.common/4.14.0-3.25128.2/microsoft.codeanalysis.common.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-BxkLaHnP1Bgr+TVbF6sOa6B5iMd65+/TJAk6sNDteg8=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.common/5.0.0-2.25375.9/microsoft.codeanalysis.common.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.CSharp", - "version": "4.14.0-3.25128.2", - "hash": "sha256-0X1ms+GxK1v+HjyNydo2HZa+VA1DK9Mqx9/ryevrk1w=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.csharp/4.14.0-3.25128.2/microsoft.codeanalysis.csharp.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-pzgzbcSY+c6w/EdfxPa0xe7z6XH0+QyP6EstmuvZJZg=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.csharp/5.0.0-2.25375.9/microsoft.codeanalysis.csharp.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.CSharp.Features", - "version": "4.14.0-3.25128.2", - "hash": "sha256-j1YKH9kMmxmUYM0FccnmNAi2S6Bz1IBctmRKg7C7qOs=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.csharp.features/4.14.0-3.25128.2/microsoft.codeanalysis.csharp.features.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-yfNpDXZeJTpwb9xDov3pBzeb/98xN3o1gSmnk+wn8d4=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.csharp.features/5.0.0-2.25375.9/microsoft.codeanalysis.csharp.features.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.CSharp.Workspaces", - "version": "4.14.0-3.25128.2", - "hash": "sha256-Qt0+s2787fVZ0ysMITMH4cRpOkItdPyJ+9NHT/7WVWQ=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.csharp.workspaces/4.14.0-3.25128.2/microsoft.codeanalysis.csharp.workspaces.4.14.0-3.25128.2.nupkg" - }, - { - "pname": "Microsoft.CodeAnalysis.EditorFeatures.Common", - "version": "4.14.0-3.25128.2", - "hash": "sha256-/oZ7PH5U/MyI1ZMdsDJFmfcO42oxSaVdarITUOvFUI0=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.editorfeatures.common/4.14.0-3.25128.2/microsoft.codeanalysis.editorfeatures.common.4.14.0-3.25128.2.nupkg" - }, - { - "pname": "Microsoft.CodeAnalysis.EditorFeatures.Text", - "version": "4.14.0-3.25128.2", - "hash": "sha256-9liJTOeFVok2wquA2TCmDupxDrk20jOzKstaPKfcaig=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.editorfeatures.text/4.14.0-3.25128.2/microsoft.codeanalysis.editorfeatures.text.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-kqiVlZFzX1ShsauJCt3SbEh5j+LMAmpuWazixYNqmCY=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.csharp.workspaces/5.0.0-2.25375.9/microsoft.codeanalysis.csharp.workspaces.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.Elfie", @@ -108,28 +108,22 @@ "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.codeanalysis.elfie/1.0.0/microsoft.codeanalysis.elfie.1.0.0.nupkg" }, { - "pname": "Microsoft.CodeAnalysis.ExternalAccess.Razor", - "version": "4.14.0-3.25128.2", - "hash": "sha256-Npl7YndQryJdXWAFv8T08/7Wz9CaC7R2sETxUhWNPxo=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.externalaccess.razor/4.14.0-3.25128.2/microsoft.codeanalysis.externalaccess.razor.4.14.0-3.25128.2.nupkg" + "pname": "Microsoft.CodeAnalysis.ExternalAccess.Razor.Features", + "version": "5.0.0-2.25375.9", + "hash": "sha256-dNYVUNB0eDnxA6hJ1E3Txr66LhOWNnuaBmNeUplFopM=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.externalaccess.razor.features/5.0.0-2.25375.9/microsoft.codeanalysis.externalaccess.razor.features.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.Features", - "version": "4.14.0-3.25128.2", - "hash": "sha256-YcY8rWIIZ0MHcSb5chSpu5Za9J22jDZvDPPMAd2D1DQ=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.features/4.14.0-3.25128.2/microsoft.codeanalysis.features.4.14.0-3.25128.2.nupkg" - }, - { - "pname": "Microsoft.CodeAnalysis.InteractiveHost", - "version": "4.14.0-3.25128.2", - "hash": "sha256-fGCGBHpLOdE6m7MV536OgLxXcLY/xZccF0bVy5zoFnM=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.interactivehost/4.14.0-3.25128.2/microsoft.codeanalysis.interactivehost.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-EMBMnbM1u393nlrcnNInWsmk9Rw3E+7efFYM04wtWfA=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.features/5.0.0-2.25375.9/microsoft.codeanalysis.features.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.LanguageServer.Protocol", - "version": "4.14.0-3.25128.2", - "hash": "sha256-JWH9M/wpCIvikOCvBUM452quYeCZ49wXjOFhAMVUpWE=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.languageserver.protocol/4.14.0-3.25128.2/microsoft.codeanalysis.languageserver.protocol.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-J9rB3T5FYcterYy6NbPUIdKWRdc/lITmYGn8rNf41y0=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.languageserver.protocol/5.0.0-2.25375.9/microsoft.codeanalysis.languageserver.protocol.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.PublicApiAnalyzers", @@ -139,27 +133,27 @@ }, { "pname": "Microsoft.CodeAnalysis.Remote.Workspaces", - "version": "4.14.0-3.25128.2", - "hash": "sha256-dl67D0TuhoqUqBA8BA5Z/fkZ6ytGECYzHByQZn1Gd1E=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.remote.workspaces/4.14.0-3.25128.2/microsoft.codeanalysis.remote.workspaces.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-jHW3kt40M+ujDxO5yv7BMAbb+7ixEMgisI8k+eZ3338=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.remote.workspaces/5.0.0-2.25375.9/microsoft.codeanalysis.remote.workspaces.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.Scripting.Common", - "version": "4.14.0-3.25128.2", - "hash": "sha256-B32JMEq9idi0gd3aEwZVGVWo7ddcNlEA92msbIPyvvU=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.scripting.common/4.14.0-3.25128.2/microsoft.codeanalysis.scripting.common.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-ICAVqHxZtp/tXvEmUqA0P8h9di26OLKD9dxQwsCGQqA=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.scripting.common/5.0.0-2.25375.9/microsoft.codeanalysis.scripting.common.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CodeAnalysis.Workspaces.Common", - "version": "4.14.0-3.25128.2", - "hash": "sha256-dOBSin4fjD7X3myTx9xkDaJ04EWGNAM9Ji2kEk2wH9c=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.workspaces.common/4.14.0-3.25128.2/microsoft.codeanalysis.workspaces.common.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-iD/QaUg8B5H5K986SVa+7OW//wJO/UM85ecOpKaqHcE=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.codeanalysis.workspaces.common/5.0.0-2.25375.9/microsoft.codeanalysis.workspaces.common.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CommonLanguageServerProtocol.Framework", - "version": "4.14.0-3.25128.2", - "hash": "sha256-aDFwG5Iy41FpGu06XbUbBVzSyog3oyJy3jEDt/7arsI=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.commonlanguageserverprotocol.framework/4.14.0-3.25128.2/microsoft.commonlanguageserverprotocol.framework.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-kzQhpq33UQyEI2qjCQSqOKnPBkry3925Sg2WEwUx7bU=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.commonlanguageserverprotocol.framework/5.0.0-2.25375.9/microsoft.commonlanguageserverprotocol.framework.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.CSharp", @@ -175,27 +169,27 @@ }, { "pname": "Microsoft.DotNet.Arcade.Sdk", - "version": "9.0.0-beta.25111.5", - "hash": "sha256-gwzSdsu6YfLYxjltDOUouvajClMQ/BW8aiJQlYyxtlk=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/1a5f89f6-d8da-4080-b15f-242650c914a8/nuget/v3/flat2/microsoft.dotnet.arcade.sdk/9.0.0-beta.25111.5/microsoft.dotnet.arcade.sdk.9.0.0-beta.25111.5.nupkg" + "version": "9.0.0-beta.25255.5", + "hash": "sha256-AgHPYDKvoO3a2zoRSgnokC6XrF521V1lQ9KEPcKyS5E=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/1a5f89f6-d8da-4080-b15f-242650c914a8/nuget/v3/flat2/microsoft.dotnet.arcade.sdk/9.0.0-beta.25255.5/microsoft.dotnet.arcade.sdk.9.0.0-beta.25255.5.nupkg" }, { "pname": "Microsoft.DotNet.XliffTasks", - "version": "9.0.0-beta.25111.5", - "hash": "sha256-ZOwHiBzSiJ9PJwLP1iw18sZoxW+78ej+gGg4yt9dei4=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/1a5f89f6-d8da-4080-b15f-242650c914a8/nuget/v3/flat2/microsoft.dotnet.xlifftasks/9.0.0-beta.25111.5/microsoft.dotnet.xlifftasks.9.0.0-beta.25111.5.nupkg" + "version": "9.0.0-beta.25255.5", + "hash": "sha256-yigTPcb88S+1FUal0K/fL5pu5I/dmPACAo2sPOTDfZk=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/1a5f89f6-d8da-4080-b15f-242650c914a8/nuget/v3/flat2/microsoft.dotnet.xlifftasks/9.0.0-beta.25255.5/microsoft.dotnet.xlifftasks.9.0.0-beta.25255.5.nupkg" }, { "pname": "Microsoft.Extensions.DependencyInjection", - "version": "8.0.0", - "hash": "sha256-+qIDR8hRzreCHNEDtUcPfVHQdurzWPo/mqviCH78+EQ=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.extensions.dependencyinjection/8.0.0/microsoft.extensions.dependencyinjection.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-dAH52PPlTLn7X+1aI/7npdrDzMEFPMXRv4isV1a+14k=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.extensions.dependencyinjection/9.0.0/microsoft.extensions.dependencyinjection.9.0.0.nupkg" }, { "pname": "Microsoft.Extensions.DependencyInjection.Abstractions", - "version": "8.0.0", - "hash": "sha256-75KzEGWjbRELczJpCiJub+ltNUMMbz5A/1KQU+5dgP8=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.extensions.dependencyinjection.abstractions/8.0.0/microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-CncVwkKZ5CsIG2O0+OM9qXuYXh3p6UGyueTHSLDVL+c=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.extensions.dependencyinjection.abstractions/9.0.0/microsoft.extensions.dependencyinjection.abstractions.9.0.0.nupkg" }, { "pname": "Microsoft.Extensions.ObjectPool", @@ -205,15 +199,15 @@ }, { "pname": "Microsoft.IO.Redist", - "version": "6.0.1", - "hash": "sha256-IaATAy1M/MEBTid0mQiTrHj4aTwo2POCtckxSbLc3lU=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.io.redist/6.0.1/microsoft.io.redist.6.0.1.nupkg" + "version": "6.1.0", + "hash": "sha256-dPKouWmGIheKa4MU/goBplwgLJbS1Eh2+jXZQ109sak=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.io.redist/6.1.0/microsoft.io.redist.6.1.0.nupkg" }, { "pname": "Microsoft.Net.Compilers.Toolset", - "version": "4.14.0-3.25128.2", - "hash": "sha256-hq5NbPNQPxh9owBK2pk48rOHkpw5CfbQ8Yn+6KRCknA=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.net.compilers.toolset/4.14.0-3.25128.2/microsoft.net.compilers.toolset.4.14.0-3.25128.2.nupkg" + "version": "5.0.0-2.25375.9", + "hash": "sha256-6frF5uW5ybZkcvfVc1MqemvjmMqoj7yYnD2zmUfqaWE=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e7601/nuget/v3/flat2/microsoft.net.compilers.toolset/5.0.0-2.25375.9/microsoft.net.compilers.toolset.5.0.0-2.25375.9.nupkg" }, { "pname": "Microsoft.NET.StringTools", @@ -221,6 +215,48 @@ "hash": "sha256-H2Qw8x47WyFOd/VmgRmGMc+uXySgUv68UISgK8Frsjw=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.net.stringtools/17.6.3/microsoft.net.stringtools.17.6.3.nupkg" }, + { + "pname": "Microsoft.NETCore.App.Host.linux-arm64", + "version": "9.0.8", + "hash": "sha256-xZHCcmlZaBG13yIQY/gBtat/ZRsHuEU32OnR36QjuCg=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.netcore.app.host.linux-arm64/9.0.8/microsoft.netcore.app.host.linux-arm64.9.0.8.nupkg" + }, + { + "pname": "Microsoft.NETCore.App.Host.osx-arm64", + "version": "9.0.8", + "hash": "sha256-eDdBNkFFqAHKF2UyGh1F1zCOnx48lZNRMTSCkIrBIIk=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.netcore.app.host.osx-arm64/9.0.8/microsoft.netcore.app.host.osx-arm64.9.0.8.nupkg" + }, + { + "pname": "Microsoft.NETCore.App.Host.osx-x64", + "version": "9.0.8", + "hash": "sha256-i3i6YAotxTj0v/aEFBQSJu7jZHijJpeSNf7GhyFN5GI=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.netcore.app.host.osx-x64/9.0.8/microsoft.netcore.app.host.osx-x64.9.0.8.nupkg" + }, + { + "pname": "Microsoft.NETCore.App.Runtime.linux-arm64", + "version": "9.0.8", + "hash": "sha256-H8EdL3O0ywVcBFbVnZokcMJoeLg/lII8sWOS+00n7CI=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.netcore.app.runtime.linux-arm64/9.0.8/microsoft.netcore.app.runtime.linux-arm64.9.0.8.nupkg" + }, + { + "pname": "Microsoft.NETCore.App.Runtime.linux-x64", + "version": "9.0.8", + "hash": "sha256-mzHzpruPtJUxu42SqZE+Ct1UCeGSjhdZvsV8hcP9qw0=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.netcore.app.runtime.linux-x64/9.0.8/microsoft.netcore.app.runtime.linux-x64.9.0.8.nupkg" + }, + { + "pname": "Microsoft.NETCore.App.Runtime.osx-arm64", + "version": "9.0.8", + "hash": "sha256-69S3wISxYoR5MkloN5xL4chHLdzqC4xx/xao5RRxAtY=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.netcore.app.runtime.osx-arm64/9.0.8/microsoft.netcore.app.runtime.osx-arm64.9.0.8.nupkg" + }, + { + "pname": "Microsoft.NETCore.App.Runtime.osx-x64", + "version": "9.0.8", + "hash": "sha256-wrg1B9w3xicY0RtFO1ck8v4EVGA+xAPN9xgazIPMKoE=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.netcore.app.runtime.osx-x64/9.0.8/microsoft.netcore.app.runtime.osx-x64.9.0.8.nupkg" + }, { "pname": "Microsoft.NETCore.Platforms", "version": "1.1.0", @@ -265,15 +301,15 @@ }, { "pname": "Microsoft.ServiceHub.Analyzers", - "version": "4.5.35", - "hash": "sha256-sBl0dh3l4BoK2DvcNLmTvik5R1sG1ODohtPVcsrlsu8=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.servicehub.analyzers/4.5.35/microsoft.servicehub.analyzers.4.5.35.nupkg" + "version": "4.8.40", + "hash": "sha256-yOdpj5tWlwI5J5KS9BTDX2rZd0JPOuCgCTHzEUOVogs=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.servicehub.analyzers/4.8.40/microsoft.servicehub.analyzers.4.8.40.nupkg" }, { "pname": "Microsoft.ServiceHub.Analyzers", - "version": "4.8.3", - "hash": "sha256-ZF9f8HvwnY1oZB+/ACRdswBrVOUrHGVJ4cCUoDQqIco=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.servicehub.analyzers/4.8.3/microsoft.servicehub.analyzers.4.8.3.nupkg" + "version": "4.9.11-beta", + "hash": "sha256-v4vgNHVeTwxnETMNVxtBzQrnacVF0GyKs/PQSDcAJ1c=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.servicehub.analyzers/4.9.11-beta/microsoft.servicehub.analyzers.4.9.11-beta.nupkg" }, { "pname": "Microsoft.ServiceHub.Client", @@ -289,15 +325,15 @@ }, { "pname": "Microsoft.ServiceHub.Framework", - "version": "4.5.35", - "hash": "sha256-JqJJKEvECrIKtVIKisHU8fYWKiz/iw4EtdqDE46ewq0=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.servicehub.framework/4.5.35/microsoft.servicehub.framework.4.5.35.nupkg" + "version": "4.8.40", + "hash": "sha256-GZCNC6Nd++vHi5A0UZtTI1sl/63N+NDX2JFfPdTGMDQ=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.servicehub.framework/4.8.40/microsoft.servicehub.framework.4.8.40.nupkg" }, { "pname": "Microsoft.ServiceHub.Framework", - "version": "4.8.3", - "hash": "sha256-p9rVrNzs4PAiZpZr7x24N2PgZDKC64XT0ngtj/R5sSs=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.servicehub.framework/4.8.3/microsoft.servicehub.framework.4.8.3.nupkg" + "version": "4.9.11-beta", + "hash": "sha256-sAdzwH8lt1Z44YMGYTTwMSS8uceK8FXWR5h1p3Iu1OQ=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.servicehub.framework/4.9.11-beta/microsoft.servicehub.framework.4.9.11-beta.nupkg" }, { "pname": "Microsoft.ServiceHub.Resources", @@ -319,87 +355,21 @@ }, { "pname": "Microsoft.VisualStudio.Composition", - "version": "17.6.17", - "hash": "sha256-uPfLvQpR1XIXU+UxRjgsC1Xkm8Fg9iSDRGMmyENI8/4=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.composition/17.6.17/microsoft.visualstudio.composition.17.6.17.nupkg" + "version": "17.13.50", + "hash": "sha256-1o5CEOSOGqWaBBzUEQWKCVIE1VYWIvJD7zh2+XHhC1Q=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.composition/17.13.50/microsoft.visualstudio.composition.17.13.50.nupkg" }, { "pname": "Microsoft.VisualStudio.Composition.Analyzers", - "version": "17.12.20", - "hash": "sha256-WjjWfmMh+cK0bwGyWEJm1KVn7X7er+DXrgruEYbfoVA=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.composition.analyzers/17.12.20/microsoft.visualstudio.composition.analyzers.17.12.20.nupkg" + "version": "17.12.18", + "hash": "sha256-s4J9aPfrSDuL2KWtw8lgYzi1U8Df7R93EsI3NNEBlOo=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.composition.analyzers/17.12.18/microsoft.visualstudio.composition.analyzers.17.12.18.nupkg" }, { "pname": "Microsoft.VisualStudio.Composition.Analyzers", - "version": "17.6.17", - "hash": "sha256-ImTWNGpdeyZ9i1zhGhwo8kWYePIq1WLr9cwHpZn9Ek8=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.composition.analyzers/17.6.17/microsoft.visualstudio.composition.analyzers.17.6.17.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.CoreUtility", - "version": "17.11.191", - "hash": "sha256-MXjJbf897za6iEJrgcZ1jthnMHLdwW0maJd7mgft+8g=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.coreutility/17.11.191/microsoft.visualstudio.coreutility.17.11.191.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.CoreUtility", - "version": "17.13.226", - "hash": "sha256-R4Ya7hzozahgjbhncCWeZNR+NkTqiPg7mAffuwIPwLg=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.coreutility/17.13.226/microsoft.visualstudio.coreutility.17.13.226.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.Debugger.Contracts", - "version": "17.13.0-beta.25105.1", - "hash": "sha256-DkZPxThUXdx25KnV4blQ9xZBovDi9HBRie6nVvm+xDY=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/3c18fd2c-cc7c-4cef-8ed7-20227ab3275b/nuget/v3/flat2/microsoft.visualstudio.debugger.contracts/17.13.0-beta.25105.1/microsoft.visualstudio.debugger.contracts.17.13.0-beta.25105.1.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.ImageCatalog", - "version": "17.13.40008", - "hash": "sha256-hnQmH4TvO9kZEG33uEe3UPfBt3Gx9ahcQN3KaGLk2T0=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.imagecatalog/17.13.40008/microsoft.visualstudio.imagecatalog.17.13.40008.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.Imaging.Interop.14.0.DesignTime", - "version": "17.13.40008", - "hash": "sha256-O7FhrQKEe7TF6fVIYhpctcYKhAYlmaFndh6+z0Y72BU=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.imaging.interop.14.0.designtime/17.13.40008/microsoft.visualstudio.imaging.interop.14.0.designtime.17.13.40008.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.Interop", - "version": "17.13.40008", - "hash": "sha256-d6kc0kebKHzWpTHq0/DmpADELP5Or4VfGOWTQqOKnCI=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.interop/17.13.40008/microsoft.visualstudio.interop.17.13.40008.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.Language", - "version": "17.13.226", - "hash": "sha256-n1iMl5ytWfUxhsM9l48mWrKkVHhM2vfVffWvnlsvV+w=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.language/17.13.226/microsoft.visualstudio.language.17.13.226.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.Language.StandardClassification", - "version": "17.13.226", - "hash": "sha256-+YOuZeHu3utBJ3pn3DIVZQNk4jWxKGXmX30cLAItacI=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.language.standardclassification/17.13.226/microsoft.visualstudio.language.standardclassification.17.13.226.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.LanguageServer.Protocol", - "version": "17.12.1-preview", - "hash": "sha256-Ec2qx2be7LR2sel7VQ9vHg8KyIYihDOettSh4LEJ7AY=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.languageserver.protocol/17.12.1-preview/microsoft.visualstudio.languageserver.protocol.17.12.1-preview.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.LanguageServer.Protocol.Extensions", - "version": "17.12.1-preview", - "hash": "sha256-H8T5tIQ21yWIgljeErA6uVxJ9Jbqi42TQgyBeXLRg2M=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.languageserver.protocol.extensions/17.12.1-preview/microsoft.visualstudio.languageserver.protocol.extensions.17.12.1-preview.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.LanguageServer.Protocol.Internal", - "version": "17.12.1-preview", - "hash": "sha256-W01GtTw451wX3SH+Xim0ZZxtcKDkQSwedKxsL+nC7yk=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/3c18fd2c-cc7c-4cef-8ed7-20227ab3275b/nuget/v3/flat2/microsoft.visualstudio.languageserver.protocol.internal/17.12.1-preview/microsoft.visualstudio.languageserver.protocol.internal.17.12.1-preview.nupkg" + "version": "17.13.50", + "hash": "sha256-0fxXjTykGG8NU8BExsk0qwQQ5chDwmRVKFFVG+yWs2Y=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.composition.analyzers/17.13.50/microsoft.visualstudio.composition.analyzers.17.13.50.nupkg" }, { "pname": "Microsoft.VisualStudio.RemoteControl", @@ -409,57 +379,45 @@ }, { "pname": "Microsoft.VisualStudio.RpcContracts", - "version": "17.13.7", - "hash": "sha256-l5BC3lKERLvDeWfLf/vx6D+WVGrsAG+NhbSMm1FocrU=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.rpccontracts/17.13.7/microsoft.visualstudio.rpccontracts.17.13.7.nupkg" + "version": "17.15.25-pre", + "hash": "sha256-Ii7X1gRprfJPwRuWbp8+2KNp9B3qLttJErh7KuVaUgo=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.rpccontracts/17.15.25-pre/microsoft.visualstudio.rpccontracts.17.15.25-pre.nupkg" }, { "pname": "Microsoft.VisualStudio.Telemetry", - "version": "17.14.2", - "hash": "sha256-MqIrtr0I5uC64ww7v7xD2nTOqsdAqX7C1nPNzfhTkWA=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.telemetry/17.14.2/microsoft.visualstudio.telemetry.17.14.2.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.Text.Data", - "version": "17.13.226", - "hash": "sha256-Fdsv87peIwdoHeLGmrrmrFFpkfQkCdMU/lMYO7+ZLZ4=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.text.data/17.13.226/microsoft.visualstudio.text.data.17.13.226.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.Text.Logic", - "version": "17.13.226", - "hash": "sha256-8E6f1NRJ72cM6mWnnGWZ1c9cHmc96uH85iSst0UAbRc=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.text.logic/17.13.226/microsoft.visualstudio.text.logic.17.13.226.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.Text.UI", - "version": "17.11.191", - "hash": "sha256-GUHbOV4t2cLiQTL1LrfvzheA34hCPW93MgfUl02sUNM=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.text.ui/17.11.191/microsoft.visualstudio.text.ui.17.11.191.nupkg" - }, - { - "pname": "Microsoft.VisualStudio.Text.UI", - "version": "17.13.226", - "hash": "sha256-fIoJ9pvWQnhBPK+BaMnSgYbOOeSxscIPKp8cyZQIr3s=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.text.ui/17.13.226/microsoft.visualstudio.text.ui.17.13.226.nupkg" + "version": "18.0.22", + "hash": "sha256-0Y5PFohljinGeJGVSJqYSUGUq49SRpW29/W/ucKklXQ=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.telemetry/18.0.22/microsoft.visualstudio.telemetry.18.0.22.nupkg" }, { "pname": "Microsoft.VisualStudio.Threading", - "version": "17.13.2", - "hash": "sha256-NSknHS71f/GLA1GcJwGXGOcRYuir6aGz5+u4SEJ99cE=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.threading/17.13.2/microsoft.visualstudio.threading.17.13.2.nupkg" + "version": "17.15.20-alpha", + "hash": "sha256-/0oB9YozrbcEoew5Tvh0OEE/b3iFHWmO1nzsmS2iDRA=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.threading/17.15.20-alpha/microsoft.visualstudio.threading.17.15.20-alpha.nupkg" }, { "pname": "Microsoft.VisualStudio.Threading.Analyzers", - "version": "17.10.48", - "hash": "sha256-EvZGbyxtrJDvHZwsQbZDXtVfWiy0f58oCdTdSzD34wI=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.threading.analyzers/17.10.48/microsoft.visualstudio.threading.analyzers.17.10.48.nupkg" + "version": "17.15.20-alpha", + "hash": "sha256-0Jw6ZAvu7YyM5TgCTTpEeTzcWh1nAIeWvzT6Hj32uSs=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.threading.analyzers/17.15.20-alpha/microsoft.visualstudio.threading.analyzers.17.15.20-alpha.nupkg" }, { - "pname": "Microsoft.VisualStudio.Threading.Analyzers", - "version": "17.13.2", - "hash": "sha256-pfhN5HDSWbo6hmlSnCVWvnkYTqSjs8PNtSyHCEEtUjI=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.threading.analyzers/17.13.2/microsoft.visualstudio.threading.analyzers.17.13.2.nupkg" + "pname": "Microsoft.VisualStudio.Threading.Only", + "version": "17.13.61", + "hash": "sha256-OhXEAuF9PZAkZuHqHwdVODLjA/rIMqmD7nXJfVAQWA8=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.threading.only/17.13.61/microsoft.visualstudio.threading.only.17.13.61.nupkg" + }, + { + "pname": "Microsoft.VisualStudio.Threading.Only", + "version": "17.14.15", + "hash": "sha256-o15PJKoIqyfgP2jqybgkydc8bKVZUpCCcrPR05rO7k4=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/microsoft.visualstudio.threading.only/17.14.15/microsoft.visualstudio.threading.only.17.14.15.nupkg" + }, + { + "pname": "Microsoft.VisualStudio.Threading.Only", + "version": "17.15.20-alpha", + "hash": "sha256-cBFSercx77Jqw4Z8Af5lu57a2xUmudETNywGN43JR8U=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/microsoft.visualstudio.threading.only/17.15.20-alpha/microsoft.visualstudio.threading.only.17.15.20-alpha.nupkg" }, { "pname": "Microsoft.VisualStudio.Utilities.Internal", @@ -505,9 +463,9 @@ }, { "pname": "Nerdbank.Streams", - "version": "2.11.79", - "hash": "sha256-1bzibVcSH8LJMR8Nb6Q0q/7fieTgxRnVY4C1RvRbrrI=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/nerdbank.streams/2.11.79/nerdbank.streams.2.11.79.nupkg" + "version": "2.12.87", + "hash": "sha256-BglFZT1nSyJO8mB235sP5yyu51iaGXwRHSOV8aeeY2A=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/nerdbank.streams/2.12.87/nerdbank.streams.2.12.87.nupkg" }, { "pname": "NETStandard.Library", @@ -733,15 +691,9 @@ }, { "pname": "StreamJsonRpc", - "version": "2.16.41", - "hash": "sha256-cokdv2s53T52FH3wiHDUePEpHYxWfau6sv1SyBnkXmE=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/streamjsonrpc/2.16.41/streamjsonrpc.2.16.41.nupkg" - }, - { - "pname": "StreamJsonRpc", - "version": "2.20.11", - "hash": "sha256-93omBxRqnv6Vcn6CJeet51rVnS4DbyeupXO164r2BEA=", - "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/streamjsonrpc/2.20.11/streamjsonrpc.2.20.11.nupkg" + "version": "2.20.20", + "hash": "sha256-t0DVjJejQBPk+LukHVuXSe0M2QWpDJt7W7q4DRR4OI4=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/streamjsonrpc/2.20.20/streamjsonrpc.2.20.20.nupkg" }, { "pname": "StreamJsonRpc", @@ -749,6 +701,12 @@ "hash": "sha256-Ufx0QWwG9dNm/OrHRzkztVvbQHyKdj6MtTzNTQwTwl0=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/streamjsonrpc/2.21.10/streamjsonrpc.2.21.10.nupkg" }, + { + "pname": "StreamJsonRpc", + "version": "2.23.39-alpha", + "hash": "sha256-3gQz0m7BhU6dTj6cDgaY/TFIn0Tl0+CAJl6SXRr4Oxg=", + "url": "https://pkgs.dev.azure.com/azure-public/3ccf6661-f8ce-4e8a-bb2e-eff943ddd3c7/_packaging/491596af-6d2d-439e-80bb-1ebb3b54f9a8/nuget/v3/flat2/streamjsonrpc/2.23.39-alpha/streamjsonrpc.2.23.39-alpha.nupkg" + }, { "pname": "System.Buffers", "version": "4.3.0", @@ -761,12 +719,24 @@ "hash": "sha256-wws90sfi9M7kuCPWkv1CEYMJtCqx9QB/kj0ymlsNaxI=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.buffers/4.5.1/system.buffers.4.5.1.nupkg" }, + { + "pname": "System.Buffers", + "version": "4.6.0", + "hash": "sha256-c2QlgFB16IlfBms5YLsTCFQ/QeKoS6ph1a9mdRkq/Jc=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.buffers/4.6.0/system.buffers.4.6.0.nupkg" + }, { "pname": "System.CodeDom", "version": "7.0.0", "hash": "sha256-7IPt39cY+0j0ZcRr/J45xPtEjnSXdUJ/5ai3ebaYQiE=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.codedom/7.0.0/system.codedom.7.0.0.nupkg" }, + { + "pname": "System.CodeDom", + "version": "8.0.0", + "hash": "sha256-uwVhi3xcvX7eiOGQi7dRETk3Qx1EfHsUfchZsEto338=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.codedom/8.0.0/system.codedom.8.0.0.nupkg" + }, { "pname": "System.Collections", "version": "4.3.0", @@ -775,15 +745,9 @@ }, { "pname": "System.Collections.Immutable", - "version": "8.0.0", - "hash": "sha256-F7OVjKNwpqbUh8lTidbqJWYi476nsq9n+6k0+QVRo3w=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.collections.immutable/8.0.0/system.collections.immutable.8.0.0.nupkg" - }, - { - "pname": "System.ComponentModel.Composition", - "version": "7.0.0", - "hash": "sha256-g1lQ6+b+YIj9C/B25/JRt5CFDf+ucLW1xcZOyp4pdr4=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.componentmodel.composition/7.0.0/system.componentmodel.composition.7.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-+6q5VMeoc5bm4WFsoV6nBXA9dV5pa/O4yW+gOdi8yac=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.collections.immutable/9.0.0/system.collections.immutable.9.0.0.nupkg" }, { "pname": "System.ComponentModel.Composition", @@ -792,10 +756,10 @@ "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.componentmodel.composition/8.0.0/system.componentmodel.composition.8.0.0.nupkg" }, { - "pname": "System.Composition", - "version": "7.0.0", - "hash": "sha256-YjhxuzuVdAzRBHNQy9y/1ES+ll3QtLcd2o+o8wIyMao=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition/7.0.0/system.composition.7.0.0.nupkg" + "pname": "System.ComponentModel.Composition", + "version": "9.0.0", + "hash": "sha256-CsWwo/NLEAt36kE52cT4wud8uUjJ31vpHlAY6RkUbog=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.componentmodel.composition/9.0.0/system.componentmodel.composition.9.0.0.nupkg" }, { "pname": "System.Composition", @@ -804,10 +768,10 @@ "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition/8.0.0/system.composition.8.0.0.nupkg" }, { - "pname": "System.Composition.AttributedModel", - "version": "7.0.0", - "hash": "sha256-3s52Dyk2J66v/B4LLYFBMyXl0I8DFDshjE+sMjW4ubM=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.attributedmodel/7.0.0/system.composition.attributedmodel.7.0.0.nupkg" + "pname": "System.Composition", + "version": "9.0.0", + "hash": "sha256-FehOkQ2u1p8mQ0/wn3cZ+24HjhTLdck8VZYWA1CcgbM=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition/9.0.0/system.composition.9.0.0.nupkg" }, { "pname": "System.Composition.AttributedModel", @@ -815,29 +779,35 @@ "hash": "sha256-n3aXiBAFIlQicSRLiNtLh++URSUxRBLggsjJ8OMNRpo=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.attributedmodel/8.0.0/system.composition.attributedmodel.8.0.0.nupkg" }, + { + "pname": "System.Composition.AttributedModel", + "version": "9.0.0", + "hash": "sha256-a7y7H6zj+kmYkllNHA402DoVfY9IaqC3Ooys8Vzl24M=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.attributedmodel/9.0.0/system.composition.attributedmodel.9.0.0.nupkg" + }, { "pname": "System.Composition.Convention", - "version": "8.0.0", - "hash": "sha256-Z9HOAnH1lt1qc38P3Y0qCf5gwBwiLXQD994okcy53IE=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.convention/8.0.0/system.composition.convention.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-tw4vE5JRQ60ubTZBbxoMPhtjOQCC3XoDFUH7NHO7o8U=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.convention/9.0.0/system.composition.convention.9.0.0.nupkg" }, { "pname": "System.Composition.Hosting", - "version": "8.0.0", - "hash": "sha256-axKJC71oKiNWKy66TVF/c3yoC81k03XHAWab3mGNbr0=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.hosting/8.0.0/system.composition.hosting.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-oOxU+DPEEfMCuNLgW6wSkZp0JY5gYt44FJNnWt+967s=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.hosting/9.0.0/system.composition.hosting.9.0.0.nupkg" }, { "pname": "System.Composition.Runtime", - "version": "8.0.0", - "hash": "sha256-AxwZ29+GY0E35Pa255q8AcMnJU52Txr5pBy86t6V1Go=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.runtime/8.0.0/system.composition.runtime.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-AyIe+di1TqwUBbSJ/sJ8Q8tzsnTN+VBdJw4K8xZz43s=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.runtime/9.0.0/system.composition.runtime.9.0.0.nupkg" }, { "pname": "System.Composition.TypedParts", - "version": "8.0.0", - "hash": "sha256-+ZJawThmiYEUNJ+cB9uJK+u/sCAVZarGd5ShZoSifGo=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.typedparts/8.0.0/system.composition.typedparts.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-F5fpTUs3Rr7yP/NyIzr+Xn5NdTXXp8rrjBnF9UBBUog=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.composition.typedparts/9.0.0/system.composition.typedparts.9.0.0.nupkg" }, { "pname": "System.Configuration.ConfigurationManager", @@ -853,9 +823,9 @@ }, { "pname": "System.Configuration.ConfigurationManager", - "version": "8.0.0", - "hash": "sha256-xhljqSkNQk8DMkEOBSYnn9lzCSEDDq4yO910itptqiE=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.configuration.configurationmanager/8.0.0/system.configuration.configurationmanager.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-+pLnTC0YDP6Kjw5DVBiFrV/Q3x5is/+6N6vAtjvhVWk=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.configuration.configurationmanager/9.0.0/system.configuration.configurationmanager.9.0.0.nupkg" }, { "pname": "System.Data.DataSetExtensions", @@ -871,15 +841,15 @@ }, { "pname": "System.Diagnostics.DiagnosticSource", - "version": "8.0.1", - "hash": "sha256-zmwHjcJgKcbkkwepH038QhcnsWMJcHys+PEbFGC0Jgo=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.diagnostics.diagnosticsource/8.0.1/system.diagnostics.diagnosticsource.8.0.1.nupkg" + "version": "9.0.0", + "hash": "sha256-1VzO9i8Uq2KlTw1wnCCrEdABPZuB2JBD5gBsMTFTSvE=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.diagnostics.diagnosticsource/9.0.0/system.diagnostics.diagnosticsource.9.0.0.nupkg" }, { "pname": "System.Diagnostics.EventLog", - "version": "8.0.0", - "hash": "sha256-rt8xc3kddpQY4HEdghlBeOK4gdw5yIj4mcZhAVtk2/Y=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.diagnostics.eventlog/8.0.0/system.diagnostics.eventlog.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-tPvt6yoAp56sK/fe+/ei8M65eavY2UUhRnbrREj/Ems=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.diagnostics.eventlog/9.0.0/system.diagnostics.eventlog.9.0.0.nupkg" }, { "pname": "System.Diagnostics.PerformanceCounter", @@ -941,6 +911,12 @@ "hash": "sha256-LdpB1s4vQzsOODaxiKstLks57X9DTD5D6cPx8DE1wwE=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.io.pipelines/8.0.0/system.io.pipelines.8.0.0.nupkg" }, + { + "pname": "System.IO.Pipelines", + "version": "9.0.0", + "hash": "sha256-vb0NrPjfEao3kfZ0tavp2J/29XnsQTJgXv3/qaAwwz0=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.io.pipelines/9.0.0/system.io.pipelines.9.0.0.nupkg" + }, { "pname": "System.IO.Pipes", "version": "4.3.0", @@ -971,6 +947,12 @@ "hash": "sha256-EPQ9o1Kin7KzGI5O3U3PUQAZTItSbk9h/i4rViN3WiI=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.memory/4.5.5/system.memory.4.5.5.nupkg" }, + { + "pname": "System.Memory", + "version": "4.6.0", + "hash": "sha256-OhAEKzUM6eEaH99DcGaMz2pFLG/q/N4KVWqqiBYUOFo=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.memory/4.6.0/system.memory.4.6.0.nupkg" + }, { "pname": "System.Net.NameResolution", "version": "4.3.0", @@ -1001,6 +983,12 @@ "hash": "sha256-qdSTIFgf2htPS+YhLGjAGiLN8igCYJnCCo6r78+Q+c8=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.numerics.vectors/4.5.0/system.numerics.vectors.4.5.0.nupkg" }, + { + "pname": "System.Numerics.Vectors", + "version": "4.6.0", + "hash": "sha256-fKS3uWQ2HmR69vNhDHqPLYNOt3qpjiWQOXZDHvRE1HU=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.numerics.vectors/4.6.0/system.numerics.vectors.4.6.0.nupkg" + }, { "pname": "System.Private.Uri", "version": "4.3.2", @@ -1033,9 +1021,9 @@ }, { "pname": "System.Reflection.Metadata", - "version": "8.0.0", - "hash": "sha256-dQGC30JauIDWNWXMrSNOJncVa1umR1sijazYwUDdSIE=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.reflection.metadata/8.0.0/system.reflection.metadata.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-avEWbcCh7XgpsSesnR3/SgxWi/6C5OxjR89Jf/SfRjQ=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.reflection.metadata/9.0.0/system.reflection.metadata.9.0.0.nupkg" }, { "pname": "System.Reflection.Primitives", @@ -1043,12 +1031,6 @@ "hash": "sha256-5ogwWB4vlQTl3jjk1xjniG2ozbFIjZTL9ug0usZQuBM=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.reflection.primitives/4.3.0/system.reflection.primitives.4.3.0.nupkg" }, - { - "pname": "System.Reflection.TypeExtensions", - "version": "4.7.0", - "hash": "sha256-GEtCGXwtOnkYejSV+Tfl+DqyGq5jTUaVyL9eMupMHBM=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.reflection.typeextensions/4.7.0/system.reflection.typeextensions.4.7.0.nupkg" - }, { "pname": "System.Resources.ResourceManager", "version": "4.3.0", @@ -1079,6 +1061,12 @@ "hash": "sha256-bEG1PnDp7uKYz/OgLOWs3RWwQSVYm+AnPwVmAmcgp2I=", "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg" }, + { + "pname": "System.Runtime.CompilerServices.Unsafe", + "version": "6.1.0", + "hash": "sha256-NyqqpRcHumzSxpsgRDguD5SGwdUNHBbo0OOdzLTIzCU=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.runtime.compilerservices.unsafe/6.1.0/system.runtime.compilerservices.unsafe.6.1.0.nupkg" + }, { "pname": "System.Runtime.Extensions", "version": "4.3.0", @@ -1105,9 +1093,9 @@ }, { "pname": "System.Security.Cryptography.ProtectedData", - "version": "8.0.0", - "hash": "sha256-fb0pa9sQxN+mr0vnXg1Igbx49CaOqS+GDkTfWNboUvs=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.security.cryptography.protecteddata/8.0.0/system.security.cryptography.protecteddata.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-gPgPU7k/InTqmXoRzQfUMEKL3QuTnOKowFqmXTnWaBQ=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.security.cryptography.protecteddata/9.0.0/system.security.cryptography.protecteddata.9.0.0.nupkg" }, { "pname": "System.Security.Principal", @@ -1135,9 +1123,9 @@ }, { "pname": "System.Text.Encoding.CodePages", - "version": "7.0.0", - "hash": "sha256-eCKTVwumD051ZEcoJcDVRGnIGAsEvKpfH3ydKluHxmo=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.text.encoding.codepages/7.0.0/system.text.encoding.codepages.7.0.0.nupkg" + "version": "8.0.0", + "hash": "sha256-fjCLQc1PRW0Ix5IZldg0XKv+J1DqPSfu9pjMyNBp7dE=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.text.encoding.codepages/8.0.0/system.text.encoding.codepages.8.0.0.nupkg" }, { "pname": "System.Text.Encoding.Extensions", @@ -1147,15 +1135,15 @@ }, { "pname": "System.Text.Encodings.Web", - "version": "8.0.0", - "hash": "sha256-IUQkQkV9po1LC0QsqrilqwNzPvnc+4eVvq+hCvq8fvE=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.text.encodings.web/8.0.0/system.text.encodings.web.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-WGaUklQEJywoGR2jtCEs5bxdvYu5SHaQchd6s4RE5x0=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.text.encodings.web/9.0.0/system.text.encodings.web.9.0.0.nupkg" }, { "pname": "System.Text.Json", - "version": "8.0.5", - "hash": "sha256-yKxo54w5odWT6nPruUVsaX53oPRe+gKzGvLnnxtwP68=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.text.json/8.0.5/system.text.json.8.0.5.nupkg" + "version": "9.0.0", + "hash": "sha256-aM5Dh4okLnDv940zmoFAzRmqZre83uQBtGOImJpoIqk=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.text.json/9.0.0/system.text.json.9.0.0.nupkg" }, { "pname": "System.Threading", @@ -1165,9 +1153,9 @@ }, { "pname": "System.Threading.Channels", - "version": "7.0.0", - "hash": "sha256-Cu0gjQsLIR8Yvh0B4cOPJSYVq10a+3F9pVz/C43CNeM=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.threading.channels/7.0.0/system.threading.channels.7.0.0.nupkg" + "version": "8.0.0", + "hash": "sha256-c5TYoLNXDLroLIPnlfyMHk7nZ70QAckc/c7V199YChg=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.threading.channels/8.0.0/system.threading.channels.8.0.0.nupkg" }, { "pname": "System.Threading.Overlapped", @@ -1189,21 +1177,21 @@ }, { "pname": "System.Threading.Tasks.Dataflow", - "version": "7.0.0", - "hash": "sha256-KTeMhCWcyYEwG7EkA0VkVvHwo0B2FBs5FpjW3BFNVUE=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.threading.tasks.dataflow/7.0.0/system.threading.tasks.dataflow.7.0.0.nupkg" + "version": "8.0.1", + "hash": "sha256-hgCfF91BDd/eOtLEd5jhjzgJdvwmVv4/b42fXRr3nvo=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.threading.tasks.dataflow/8.0.1/system.threading.tasks.dataflow.8.0.1.nupkg" }, { "pname": "System.Threading.Tasks.Dataflow", - "version": "8.0.0", - "hash": "sha256-Q6fPtMPNW4+SDKCabJzNS+dw4B04Oxd9sHH505bFtQo=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.threading.tasks.dataflow/8.0.0/system.threading.tasks.dataflow.8.0.0.nupkg" + "version": "9.0.0", + "hash": "sha256-nRzcFvLBpcOfyIJdCCZq5vDKZN0xHVuB8yCXoMrwZJA=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.threading.tasks.dataflow/9.0.0/system.threading.tasks.dataflow.9.0.0.nupkg" }, { "pname": "System.Threading.Tasks.Extensions", - "version": "4.5.4", - "hash": "sha256-owSpY8wHlsUXn5xrfYAiu847L6fAKethlvYx97Ri1ng=", - "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.threading.tasks.extensions/4.5.4/system.threading.tasks.extensions.4.5.4.nupkg" + "version": "4.6.0", + "hash": "sha256-OwIB0dpcdnyfvTUUj6gQfKW2XF2pWsQhykwM1HNCHqY=", + "url": "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/45bacae2-5efb-47c8-91e5-8ec20c22b4f8/nuget/v3/flat2/system.threading.tasks.extensions/4.6.0/system.threading.tasks.extensions.4.6.0.nupkg" }, { "pname": "System.Threading.Thread", diff --git a/pkgs/by-name/rz/rzls/package.nix b/pkgs/by-name/rz/rzls/package.nix index 823ad5c3775d..47f7315808f9 100644 --- a/pkgs/by-name/rz/rzls/package.nix +++ b/pkgs/by-name/rz/rzls/package.nix @@ -25,11 +25,11 @@ buildDotnetModule { src = fetchFromGitHub { owner = "dotnet"; repo = "razor"; - rev = "2798396c3481573aa49f9c792179ebbb5e183dca"; - hash = "sha256-tPROplLbKmWTbm0r3844zJX3mUQfIWv9jzjcflM5WJk="; + rev = "ce522dd7670dc8e5885b8d078ff5be2877ee33ed"; + hash = "sha256-FabK93NBoabQPuUr+yaXOxd2acrN3OMqeeCIT6nvAtw="; }; - version = "9.0.0-preview.25156.2"; + version = "10.0.0-preview.25403.1"; projectFile = "src/Razor/src/rzls/rzls.csproj"; useDotnetFromEnv = true; nugetDeps = ./deps.json; @@ -45,6 +45,7 @@ buildDotnetModule { dotnetFlags = [ # this removes the Microsoft.WindowsDesktop.App.Ref dependency "-p:EnableWindowsTargeting=false" + "-p:PublishReadyToRun=false" ]; dotnetInstallFlags = [ diff --git a/pkgs/by-name/sc/scan-build-py/package.nix b/pkgs/by-name/sc/scan-build-py/package.nix new file mode 100644 index 000000000000..934a77f5db21 --- /dev/null +++ b/pkgs/by-name/sc/scan-build-py/package.nix @@ -0,0 +1,46 @@ +{ + lib, + llvmPackages, + python3, +}: +let + inherit (llvmPackages) clang-unwrapped; +in +python3.pkgs.buildPythonApplication rec { + pname = "scan-build-py"; + inherit (clang-unwrapped) version; + + format = "other"; + + src = clang-unwrapped + "/bin"; + + dontUnpack = true; + + dependencies = with python3.pkgs; [ + libscanbuild + ]; + + installPhase = '' + mkdir -p "$out/bin" + install "$src/scan-build-py" "$out/bin/scan-build-py" + ''; + + makeWrapperArgs = [ + "--prefix" + "PATH" + ":" + (lib.makeBinPath [ clang-unwrapped ]) + ]; + + meta = { + description = "intercepts the build process to generate a compilation database"; + homepage = "https://github.com/llvm/llvm-project/tree/llvmorg-${version}/clang/tools/scan-build-py/"; + mainProgram = "scan-build-py"; + license = with lib.licenses; [ + asl20 + llvm-exception + ]; + maintainers = with lib.maintainers; [ RossSmyth ]; + platforms = lib.intersectLists python3.meta.platforms clang-unwrapped.meta.platforms; + }; +} diff --git a/pkgs/by-name/se/searxng/package.nix b/pkgs/by-name/se/searxng/package.nix index 041dd0834762..12b440445643 100644 --- a/pkgs/by-name/se/searxng/package.nix +++ b/pkgs/by-name/se/searxng/package.nix @@ -34,6 +34,7 @@ python.pkgs.toPythonModule ( "httpx-socks" "lxml" "pygments" + "valkey" ]; preBuild = diff --git a/pkgs/by-name/sh/shaperglot-cli/package.nix b/pkgs/by-name/sh/shaperglot-cli/package.nix index aad4e144097b..a7bf716f8e93 100644 --- a/pkgs/by-name/sh/shaperglot-cli/package.nix +++ b/pkgs/by-name/sh/shaperglot-cli/package.nix @@ -9,16 +9,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "shaperglot-cli"; - version = "0-unstable-2025-07-18"; + version = "0-unstable-2025-08-11"; src = fetchFromGitHub { owner = "googlefonts"; repo = "shaperglot"; - rev = "fafea94d0c4ffe291b34c6748149006b13476755"; - hash = "sha256-o5fh/rywa5AUhCXWUkuXH3XMCtVX2nio+jk+vwHVN14="; + rev = "b7ba56e583e89a1c169f4ef7c3419e4e76e00974"; + hash = "sha256-XFzsUzHa4KsyDWlOKlWHBNimn1hzdrtCPe+lFrs0EDc="; }; - cargoHash = "sha256-SrC9RAbD/qxn5Ywp83cCZmdjNrxJlZAGBYB9O+/yJHA="; + cargoHash = "sha256-Md48ovCG8pEPbTz6R0nks6rZxO3UEdZ/SYRVgffCIKU="; cargoBuildFlags = [ "--package=shaperglot-cli" diff --git a/pkgs/by-name/si/signalbackup-tools/package.nix b/pkgs/by-name/si/signalbackup-tools/package.nix index f53ad07c989f..4c3355deab24 100644 --- a/pkgs/by-name/si/signalbackup-tools/package.nix +++ b/pkgs/by-name/si/signalbackup-tools/package.nix @@ -13,13 +13,13 @@ stdenv.mkDerivation rec { pname = "signalbackup-tools"; - version = "20250801"; + version = "20250811"; src = fetchFromGitHub { owner = "bepaald"; repo = "signalbackup-tools"; tag = version; - hash = "sha256-1iQi7DHHmKttibvO6naDExkp+Yk5iNY6ekG+QZE4nqI="; + hash = "sha256-BfakwLgKF6yHbf7duxvs5z01CVRya+34758CN8AuOMc="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/si/simplex-chat-desktop/package.nix b/pkgs/by-name/si/simplex-chat-desktop/package.nix index 6c5c9717cf86..b36c783ea5e9 100644 --- a/pkgs/by-name/si/simplex-chat-desktop/package.nix +++ b/pkgs/by-name/si/simplex-chat-desktop/package.nix @@ -7,11 +7,11 @@ let pname = "simplex-chat-desktop"; - version = "6.4.2"; + version = "6.4.3.1"; src = fetchurl { url = "https://github.com/simplex-chat/simplex-chat/releases/download/v${version}/simplex-desktop-x86_64.AppImage"; - hash = "sha256-g3WsqLEOBcmeUEqNtC0ixJwDbGTvfSUi80pKPvAu6tM="; + hash = "sha256-rFNatd7mC96WrX6imDOdEMNkSokiSeYq0oFRh/HTEC8="; }; appimageContents = appimageTools.extract { diff --git a/pkgs/misc/screensavers/slock/default.nix b/pkgs/by-name/sl/slock/package.nix similarity index 71% rename from pkgs/misc/screensavers/slock/default.nix rename to pkgs/by-name/sl/slock/package.nix index 235b9fac71a6..cf28562f72b0 100644 --- a/pkgs/misc/screensavers/slock/default.nix +++ b/pkgs/by-name/sl/slock/package.nix @@ -1,16 +1,17 @@ { lib, stdenv, - fetchurl, + fetchzip, writeText, xorgproto, libX11, libXext, libXrandr, libxcrypt, - # default header can be obtained from - # https://git.suckless.org/slock/tree/config.def.h - conf ? null, + config, + conf ? config.slock.conf or null, + patches ? config.slock.patches or [ ], + extraLibs ? config.slock.extraLibs or [ ], # update script dependencies gitUpdater, }: @@ -19,9 +20,9 @@ stdenv.mkDerivation (finalAttrs: { pname = "slock"; version = "1.5"; - src = fetchurl { + src = fetchzip { url = "https://dl.suckless.org/tools/slock-${finalAttrs.version}.tar.gz"; - hash = "sha256-ruHj+/aid/tiWjg4BzuXm2SD57rKTOgvVt4f8ZLbDk0="; + hash = "sha256-nAAbyH4jixmwes9esrWRnHFw3mythKfqWu2+DRdlmx0="; }; buildInputs = [ @@ -30,7 +31,8 @@ stdenv.mkDerivation (finalAttrs: { libXext libXrandr libxcrypt - ]; + ] + ++ extraLibs; installFlags = [ "PREFIX=$(out)" ]; @@ -40,23 +42,25 @@ stdenv.mkDerivation (finalAttrs: { cp ${writeText "config.def.h" conf} config.def.h ''; + inherit patches; + makeFlags = [ "CC:=$(CC)" ]; passthru.updateScript = gitUpdater { url = "git://git.suckless.org/slock"; }; - meta = with lib; { + meta = { homepage = "https://tools.suckless.org/slock"; description = "Simple X display locker"; mainProgram = "slock"; longDescription = '' Simple X display locker. This is the simplest X screen locker. ''; - license = licenses.mit; - maintainers = with maintainers; [ + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ qusic ]; - platforms = platforms.linux; + platforms = lib.platforms.linux; }; }) diff --git a/pkgs/applications/misc/slstatus/default.nix b/pkgs/by-name/sl/slstatus/package.nix similarity index 68% rename from pkgs/applications/misc/slstatus/default.nix rename to pkgs/by-name/sl/slstatus/package.nix index a439aad37b31..c48e11143454 100644 --- a/pkgs/applications/misc/slstatus/default.nix +++ b/pkgs/by-name/sl/slstatus/package.nix @@ -1,25 +1,26 @@ { lib, stdenv, - fetchgit, + fetchzip, pkg-config, writeText, libX11, libXau, libXdmcp, - conf ? null, - patches ? [ ], + config, + conf ? config.slstatus.conf or null, + patches ? config.slstatus.patches or [ ], + extraLibs ? config.slstatus.extraLibs or [ ], # update script dependencies gitUpdater, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "slstatus"; version = "1.1"; - src = fetchgit { - url = "https://git.suckless.org/slstatus"; - rev = version; + src = fetchzip { + url = "https://dl.suckless.org/tools/slstatus-${finalAttrs.version}.tar.gz"; hash = "sha256-MRDovZpQsvnLEvsbJNBzprkzQQ4nIs1T9BLT+tSGta8="; }; @@ -40,21 +41,22 @@ stdenv.mkDerivation rec { libX11 libXau libXdmcp - ]; + ] + ++ extraLibs; installFlags = [ "PREFIX=$(out)" ]; passthru.updateScript = gitUpdater { }; - meta = with lib; { + meta = { homepage = "https://tools.suckless.org/slstatus/"; description = "Status monitor for window managers that use WM_NAME like dwm"; - license = licenses.isc; - maintainers = with maintainers; [ + license = lib.licenses.isc; + maintainers = with lib.maintainers; [ oxzi qusic ]; - platforms = platforms.linux; + platforms = lib.platforms.linux; mainProgram = "slstatus"; }; -} +}) diff --git a/pkgs/by-name/sn/snazy/package.nix b/pkgs/by-name/sn/snazy/package.nix index 19f0b759fd17..77bdd8b1980b 100644 --- a/pkgs/by-name/sn/snazy/package.nix +++ b/pkgs/by-name/sn/snazy/package.nix @@ -8,16 +8,16 @@ rustPlatform.buildRustPackage rec { pname = "snazy"; - version = "0.57.3"; + version = "0.58.1"; src = fetchFromGitHub { owner = "chmouel"; repo = "snazy"; rev = version; - hash = "sha256-ACEIqMonc4AD84uTkHQZc2+vXjlXhKNLZqNxWm8RnBw="; + hash = "sha256-sm3FTQ3+cILoKkMe3qvZg2K+rspvJI3SXpDFD3YPXXk="; }; - cargoHash = "sha256-1o6/17H2D8gKpT2EefVfMD2Bp4/R9Xtg+/Eil32GzcM="; + cargoHash = "sha256-uRX6qE7tlCvJlWuLtgvuL2DLnqf7+exHLZjAoF0F2PM="; nativeBuildInputs = [ installShellFiles ]; diff --git a/pkgs/by-name/sp/speedscope/package.nix b/pkgs/by-name/sp/speedscope/package.nix index 7b319f306dd5..4c75e2e21633 100644 --- a/pkgs/by-name/sp/speedscope/package.nix +++ b/pkgs/by-name/sp/speedscope/package.nix @@ -7,13 +7,13 @@ buildNpmPackage rec { pname = "speedscope"; - version = "1.23.0"; + version = "1.23.1"; src = fetchFromGitHub { owner = "jlfwong"; repo = "speedscope"; tag = "v${version}"; - hash = "sha256-I7XulOJuMSxDXyGlXL6AeqP0ohjNhzGTEyWsq6MiTho="; + hash = "sha256-PIyx4ceihTSLRDP5MW3n6edtYNFOnx8Uo7qUWW7LTs8="; # scripts/prepack.sh wants to extract the git commit from .git # We don't want to keep .git for reproducibility reasons, so save the commit @@ -25,7 +25,7 @@ buildNpmPackage rec { ''; }; - npmDepsHash = "sha256-5gsWnk37F+fModNUWETBercXE1avEtbAAu8/qi76yDY="; + npmDepsHash = "sha256-xpFrkKAaFbVE1zJ/haibQte4HjUWmeBR8BVjZuSoyjI="; patches = [ ./fix-shebang.patch diff --git a/pkgs/by-name/sp/sphinx-lint/package.nix b/pkgs/by-name/sp/sphinx-lint/package.nix new file mode 100644 index 000000000000..ed3d8ca6cceb --- /dev/null +++ b/pkgs/by-name/sp/sphinx-lint/package.nix @@ -0,0 +1,41 @@ +{ + lib, + python3, + fetchFromGitHub, +}: + +python3.pkgs.buildPythonApplication rec { + pname = "sphinx-lint"; + version = "1.0.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "sphinx-contrib"; + repo = "sphinx-lint"; + tag = "v${version}"; + hash = "sha256-VM8PyUZVQQFdXLR14eN7+hPT/iGOVHG6s1bcac4MPo4="; + }; + + build-system = [ + python3.pkgs.hatch-vcs + python3.pkgs.hatchling + ]; + + dependencies = with python3.pkgs; [ + polib + regex + ]; + + nativeCheckInputs = with python3.pkgs; [ + pytestCheckHook + pytest-cov + ]; + + meta = { + description = "Check for stylistic and formal issues in .rst and .py files included in the documentation"; + homepage = "https://github.com/sphinx-contrib/sphinx-lint"; + license = lib.licenses.psfl; + maintainers = with lib.maintainers; [ doronbehar ]; + mainProgram = "sphinx-lint"; + }; +} diff --git a/pkgs/by-name/sq/sqldef/package.nix b/pkgs/by-name/sq/sqldef/package.nix index 55a8c3a538e4..c2d1f8488902 100644 --- a/pkgs/by-name/sq/sqldef/package.nix +++ b/pkgs/by-name/sq/sqldef/package.nix @@ -6,18 +6,18 @@ buildGoModule rec { pname = "sqldef"; - version = "2.0.7"; + version = "2.0.8"; src = fetchFromGitHub { owner = "sqldef"; repo = "sqldef"; rev = "v${version}"; - hash = "sha256-E/C2BBys5I5mC+tWgHhMNVH2ftvkzUqlrG3vJ3D7Lzg="; + hash = "sha256-woPRBrZvTSlNnzhGHqYFO4MJRlIuqXzcSBUzkF88aJw="; }; proxyVendor = true; - vendorHash = "sha256-G6krEo6zutcjVhKF7ZYNulUG/lppSfDF2VMUv3g4JMk="; + vendorHash = "sha256-ZPDD7DtsgBW/l8pEO36pocJsjyXhAT5WD3vgJG3IKG4="; ldflags = [ "-s" diff --git a/pkgs/by-name/st/stgit/package.nix b/pkgs/by-name/st/stgit/package.nix index 09f133b50d2c..8fe5211f4653 100644 --- a/pkgs/by-name/st/stgit/package.nix +++ b/pkgs/by-name/st/stgit/package.nix @@ -19,16 +19,16 @@ rustPlatform.buildRustPackage rec { pname = "stgit"; - version = "2.5.3"; + version = "2.5.4"; src = fetchFromGitHub { owner = "stacked-git"; repo = "stgit"; rev = "v${version}"; - hash = "sha256-YrJf4uNICPmXpuJvf0QRDHpODw39Q+40SLZuoIwZ5qA="; + hash = "sha256-Tsh2VKnJUwxsrsSOKxJwcFIY8UZ9F7Ebi9lwe03fJZs="; }; - cargoHash = "sha256-Y3969dpfbKJR22yjw5MHsG3+EJyui0bQFQ585wLzXUk="; + cargoHash = "sha256-RiPLBK7CiotCduaYYbS3vkb9ezNwfbbx+QC4DGd3diU="; nativeBuildInputs = [ pkg-config diff --git a/pkgs/by-name/st/storj-uplink/package.nix b/pkgs/by-name/st/storj-uplink/package.nix index a8be93defec0..9a408203b846 100644 --- a/pkgs/by-name/st/storj-uplink/package.nix +++ b/pkgs/by-name/st/storj-uplink/package.nix @@ -6,18 +6,18 @@ buildGoModule (finalAttrs: { pname = "storj-uplink"; - version = "1.133.5"; + version = "1.134.2"; src = fetchFromGitHub { owner = "storj"; repo = "storj"; tag = "v${finalAttrs.version}"; - hash = "sha256-MvaA8AkoP4FszEEM33QKDt5zeXMZ3XDt5uU1t6C6Q1I="; + hash = "sha256-DNxbJ+vw6a2yxbc6y/h+o4C7yhh5laCr2XIdBmjvAyc="; }; subPackages = [ "cmd/uplink" ]; - vendorHash = "sha256-N1rEEM+oH2VVOvg9c8gICQ1aDO9FS/faVbQl0kj1jYM="; + vendorHash = "sha256-ZteKOH6t2C96pm1u3J5GLXgWVdM77FjRqg6bYqIh1wQ="; ldflags = [ "-s" ]; diff --git a/pkgs/by-name/su/sumo/package.nix b/pkgs/by-name/su/sumo/package.nix index 540c547bda2d..dae854144dd2 100644 --- a/pkgs/by-name/su/sumo/package.nix +++ b/pkgs/by-name/su/sumo/package.nix @@ -32,13 +32,13 @@ stdenv.mkDerivation rec { pname = "sumo"; - version = "1.23.1"; + version = "1.24.0"; src = fetchFromGitHub { owner = "eclipse"; repo = "sumo"; tag = "v${lib.replaceStrings [ "." ] [ "_" ] version}"; - hash = "sha256-yXXOCvlHAzGmNQeXyWQtmq1UdkQ6qt4L9noUii/voP4="; + hash = "sha256-xf7/hUJpl+XmXx5MmFzYu2geFNe7JVaxDrraoqLrSuk="; fetchSubmodules = true; }; diff --git a/pkgs/by-name/sy/sylkserver/package.nix b/pkgs/by-name/sy/sylkserver/package.nix new file mode 100644 index 000000000000..154cfcdb3db5 --- /dev/null +++ b/pkgs/by-name/sy/sylkserver/package.nix @@ -0,0 +1,62 @@ +{ + lib, + fetchFromGitHub, + python3Packages, + versionCheckHook, + fetchpatch2, +}: + +python3Packages.buildPythonApplication rec { + pname = "sylkserver"; + version = "6.5.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "AGProjects"; + repo = "sylkserver"; + tag = version; + hash = "sha256-A15EJs35ZgXy9db3+XC0q5fTlemLJsA945nvIY50Pa4="; + }; + + patches = [ + # should be removed with next release + (fetchpatch2 { + url = "https://github.com/AGProjects/sylkserver/commit/c0d943b4ff4401b2892b84d66e7cd27db7e6a927.patch"; + hash = "sha256-U0a8mRbt8c4lUcN2xYDfvXTt/sWcvi7F3/Vw5sIQPrU="; + }) + ]; + + build-system = [ python3Packages.setuptools ]; + + dependencies = with python3Packages; [ + autobahn + cement + dnspython + klein + lxml + msrplib + python3-eventlib + python3-gnutls + sipsimple + wokkel + xcaplib + ]; + + pythonImportsCheck = [ "sylk" ]; + + # no upstream tests exist + + nativeCheckInputs = [ versionCheckHook ]; + versionCheckProgram = "${placeholder "out"}/bin/sylk-server"; + versionCheckProgramArg = "--version"; + + meta = { + description = "SIP/XMPP/WebRTC Application Server"; + homepage = "https://sylkserver.com/"; + downloadPage = "https://github.com/AGProjects/sylkserver"; + changelog = "https://github.com/AGProjects/sylkserver/releases/tag/${version}"; + license = lib.licenses.gpl3Plus; + teams = [ lib.teams.ngi ]; + mainProgram = "sylk-server"; + }; +} diff --git a/pkgs/by-name/sy/syrics/package.nix b/pkgs/by-name/sy/syrics/package.nix index 2447eba72ecd..4ad660a1d507 100644 --- a/pkgs/by-name/sy/syrics/package.nix +++ b/pkgs/by-name/sy/syrics/package.nix @@ -6,14 +6,14 @@ python3.pkgs.buildPythonApplication rec { pname = "syrics"; - version = "0.1.2.3"; + version = "0.1.2.4"; pyproject = true; src = fetchFromGitHub { owner = "akashrchandran"; repo = "syrics"; tag = "v${version}"; - hash = "sha256-uOk/9PzQgLXAy8eSp739fArq1/C7ZqdY9GoOJ3LObJ8="; + hash = "sha256-udW6i3nRWECXpQGGGK2U8QVRJVrsHeqjDK8QCMH5I8s="; }; build-system = [ diff --git a/pkgs/by-name/td/tdlib/package.nix b/pkgs/by-name/td/tdlib/package.nix index 6e2261a4bc45..ab2532edb0fe 100644 --- a/pkgs/by-name/td/tdlib/package.nix +++ b/pkgs/by-name/td/tdlib/package.nix @@ -38,7 +38,7 @@ in stdenv.mkDerivation { pname = if tde2eOnly then "tde2e" else "tdlib"; - version = "1.8.51"; + version = "1.8.52"; src = fetchFromGitHub { owner = "tdlib"; @@ -47,8 +47,8 @@ stdenv.mkDerivation { # The tdlib authors do not set tags for minor versions, but # external programs depending on tdlib constrain the minor # version, hence we set a specific commit with a known version. - rev = "bb474a201baa798784d696d2d9d762a9d2807f96"; - hash = "sha256-Jd2ojDDwO/7W54QjnKLlc1ecqTfJEFPRtT50rNlukKA="; + rev = "4269f54e16b9cf564efc2db5bcd29743a2eec6ee"; + hash = "sha256-LAI2MWKawGZ+iuhizBrqUXLU1n50s6YIyci6zepYTz0="; }; buildInputs = [ diff --git a/pkgs/by-name/te/terraform-mcp-server/package.nix b/pkgs/by-name/te/terraform-mcp-server/package.nix index b3f03ea1a0f1..7c79a7eecdf9 100644 --- a/pkgs/by-name/te/terraform-mcp-server/package.nix +++ b/pkgs/by-name/te/terraform-mcp-server/package.nix @@ -2,6 +2,7 @@ buildGoModule, fetchFromGitHub, lib, + versionCheckHook, }: buildGoModule (finalAttrs: { pname = "terraform-mcp-server"; @@ -23,6 +24,12 @@ buildGoModule (finalAttrs: { subPackages = [ "cmd/terraform-mcp-server" ]; + nativeInstallCheckInputs = [ + versionCheckHook + ]; + doInstallCheck = true; + versionCheckProgramArg = "--version"; + meta = { description = "Terraform Model Context Protocol (MCP) Server"; longDescription = '' @@ -36,7 +43,10 @@ buildGoModule (finalAttrs: { ''; homepage = "https://github.com/hashicorp/terraform-mcp-server"; license = lib.licenses.mpl20; - maintainers = with lib.maintainers; [ connerohnesorge ]; + maintainers = with lib.maintainers; [ + connerohnesorge + pilz + ]; mainProgram = "terraform-mcp-server"; }; }) diff --git a/pkgs/by-name/ty/typtea/package.nix b/pkgs/by-name/ty/typtea/package.nix index a9c7c1b29a91..3231b4563e9f 100644 --- a/pkgs/by-name/ty/typtea/package.nix +++ b/pkgs/by-name/ty/typtea/package.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "typtea"; - version = "0.1.4"; + version = "0.1.5"; src = fetchFromGitHub { owner = "ashish0kumar"; repo = "typtea"; tag = "v${version}"; - hash = "sha256-JIb7MkqHHlKLTI+SY007RQS4DpmQS1y8SNUsYVevEEk="; + hash = "sha256-syN35y4oCm0P6N+UmbPrcfmGgJNuEjZ8wzW98xhM5NM="; }; vendorHash = "sha256-LWY1Tnh4iyNAV7dNjlKdT9IwPJRN25HkEAGSkQIRe9I="; diff --git a/pkgs/by-name/ui/uiua/package.nix b/pkgs/by-name/ui/uiua/package.nix index 70a7de5e5ac0..1c40d2b0e89a 100644 --- a/pkgs/by-name/ui/uiua/package.nix +++ b/pkgs/by-name/ui/uiua/package.nix @@ -81,7 +81,7 @@ rustPlatform.buildRustPackage (finalAttrs: { runCommand "uiua-test-run" { nativeBuildInputs = [ finalAttrs.finalPackage ]; } '' uiua init - diff -U3 --color=auto <(uiua run main.ua) <(echo '"Hello, World!"') + diff -U3 --color=auto <(uiua run main.ua 2>&1) <(echo '"Hello, World!"') touch $out ''; diff --git a/pkgs/by-name/ui/uiua/unstable.nix b/pkgs/by-name/ui/uiua/unstable.nix index f43652f62b4f..846d1f944500 100644 --- a/pkgs/by-name/ui/uiua/unstable.nix +++ b/pkgs/by-name/ui/uiua/unstable.nix @@ -1,7 +1,7 @@ rec { - version = "0.17.0-dev.1"; + version = "0.17.0-dev.2"; tag = version; - hash = "sha256-Tsj0De4qdV8R4XVP5Oihk7HlgG4EysfQ9aUo0MZO94A="; - cargoHash = "sha256-upBPtoivWh07w87jNu5mjS5Yj+slsJtAIMAOjX1MZaM="; + hash = "sha256-n6gNlDL5Dcc8d/t9QSi3LPY3wTyvckkDwucnhpcgkCg="; + cargoHash = "sha256-VXIU5NMboEl56IUXhEkc2ebbVajkhcE9T+X4uTOh48A="; updateScript = ./update-unstable.sh; } diff --git a/pkgs/by-name/uw/uwhoisd/package.nix b/pkgs/by-name/uw/uwhoisd/package.nix index c14678502250..4beabbf1eeeb 100644 --- a/pkgs/by-name/uw/uwhoisd/package.nix +++ b/pkgs/by-name/uw/uwhoisd/package.nix @@ -6,42 +6,33 @@ python3.pkgs.buildPythonApplication rec { pname = "uwhoisd"; - version = "0.1.0-unstable-2024-02-24"; + version = "0.1.1"; pyproject = true; src = fetchFromGitHub { - owner = "Lookyloo"; + owner = "kgaughan"; repo = "uwhoisd"; - rev = "31ce5e83b8fcf200098fd5120d9c856f3f80e3f7"; - hash = "sha256-lnPGKF9pJ2NFIsx4HFdRip6R+vGVr9TYzvU89iwBc5g="; + tag = "v${version}"; + hash = "sha256-ncllROnKFwsSalbkQIOt/sQO0qxybAgxrVnYOC+9InY="; }; - pythonRelaxDeps = [ - "beautifulsoup4" - "tornado" - ]; - build-system = with python3.pkgs; [ - poetry-core + hatchling + hatch-vcs ]; - propagatedBuildInputs = - with python3.pkgs; - [ - beautifulsoup4 - publicsuffix2 - redis - tornado - ] - ++ redis.optional-dependencies.hiredis; + dependencies = with python3.pkgs; [ + beautifulsoup4 + requests + ]; # Project has no tests doCheck = false; meta = { description = "Universal WHOIS proxy server"; - homepage = "https://github.com/Lookyloo/uwhoisd"; - changelog = "https://github.com/Lookyloo/uwhoisd/blob/${version}/ChangeLog"; + homepage = "https://github.com/kgaughan/uwhoisd"; + changelog = "https://github.com/kgaughan/uwhoisd/blob/${src.tag}/ChangeLog"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; diff --git a/pkgs/by-name/va/vanillatd/package.nix b/pkgs/by-name/va/vanillatd/package.nix index abc618638afb..4c336c2c1204 100644 --- a/pkgs/by-name/va/vanillatd/package.nix +++ b/pkgs/by-name/va/vanillatd/package.nix @@ -141,8 +141,7 @@ stdenv.mkDerivation (finalAttrs: { buildInputs = [ dataDerivation ] ++ finalAttrs.buildInputs; nativeBuildInputs = [ rsync ]; - phases = [ "buildPhase" ]; - buildPhase = + buildCommand = let Default_Data_Path = if stdenv.hostPlatform.isDarwin then diff --git a/pkgs/by-name/va/vanillatd/passthru-packages.nix b/pkgs/by-name/va/vanillatd/passthru-packages.nix index 145871ef806e..f1d34e1d274f 100644 --- a/pkgs/by-name/va/vanillatd/passthru-packages.nix +++ b/pkgs/by-name/va/vanillatd/passthru-packages.nix @@ -8,10 +8,9 @@ }: builtins.mapAttrs ( - name: buildPhase: + name: buildCommand: stdenvNoCC.mkDerivation { - inherit name buildPhase; - phases = [ "buildPhase" ]; + inherit name buildCommand; nativeBuildInputs = [ unar ]; meta = { sourceProvenance = with lib.sourceTypes; [ diff --git a/pkgs/by-name/vu/vunnel/package.nix b/pkgs/by-name/vu/vunnel/package.nix index df133b516303..e367f90e3e77 100644 --- a/pkgs/by-name/vu/vunnel/package.nix +++ b/pkgs/by-name/vu/vunnel/package.nix @@ -7,14 +7,14 @@ python3.pkgs.buildPythonApplication rec { pname = "vunnel"; - version = "0.36.0"; + version = "0.37.0"; pyproject = true; src = fetchFromGitHub { owner = "anchore"; repo = "vunnel"; tag = "v${version}"; - hash = "sha256-dT6tBIaY2Vv/YjOkgeAIA4cYP8+BebKmMaZT1ImO7AY="; + hash = "sha256-x6J0MbwPQvqG1WXrnwMf0uzAu7MDDVxmDRzbDMb+RSk="; leaveDotGit = true; }; diff --git a/pkgs/by-name/wa/warp-terminal/versions.json b/pkgs/by-name/wa/warp-terminal/versions.json index cbc548582c4d..2f52dbc180bf 100644 --- a/pkgs/by-name/wa/warp-terminal/versions.json +++ b/pkgs/by-name/wa/warp-terminal/versions.json @@ -1,14 +1,14 @@ { "darwin": { - "hash": "sha256-s4SHM2pU1CZPJZFiWE5VDeSEprLsSYChFazNGOpz+oo=", - "version": "0.2025.08.06.08.12.stable_01" + "hash": "sha256-wO3xE8cSSMaYVc6eoswDcR3acBzWwB/BHbins8ciM4Y=", + "version": "0.2025.08.06.08.12.stable_02" }, "linux_x86_64": { - "hash": "sha256-u0TH9u1o+g3GngEMg6r78fSZH778kGcKe5tB/lpExZE=", - "version": "0.2025.08.06.08.12.stable_01" + "hash": "sha256-/Nhy0fyslK8h5zzhwlDJT+6nhNmdBowj/jGOTCunX4w=", + "version": "0.2025.08.06.08.12.stable_02" }, "linux_aarch64": { - "hash": "sha256-smg2QiXRlADGBKxl9Wlq2yWsCCi3JwjxhwR13yG70mA=", - "version": "0.2025.08.06.08.12.stable_01" + "hash": "sha256-Jqm2aUg11nrIZUofcLDYZ7BQtaSPx7KrrM91i0bc+ig=", + "version": "0.2025.08.06.08.12.stable_02" } } diff --git a/pkgs/by-name/wa/wayland-bongocat/package.nix b/pkgs/by-name/wa/wayland-bongocat/package.nix index 01c5429075ed..f54e68ce0bfb 100644 --- a/pkgs/by-name/wa/wayland-bongocat/package.nix +++ b/pkgs/by-name/wa/wayland-bongocat/package.nix @@ -10,12 +10,12 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "wayland-bongocat"; - version = "1.2.3"; + version = "1.2.4"; src = fetchFromGitHub { owner = "saatvik333"; repo = "wayland-bongocat"; tag = "v${finalAttrs.version}"; - hash = "sha256-XCjOusgvTkEiID55MxP2ppVtKiDz5XAF1kSCIAXN3DQ="; + hash = "sha256-ek9sVzofW0sWJBCeudykdirDkF04YdR1gAcpeWqgQAQ="; }; # Package dependencies diff --git a/pkgs/by-name/wh/whisper-cpp/package.nix b/pkgs/by-name/wh/whisper-cpp/package.nix index abf1ac8cfe25..b0aedd9ec344 100644 --- a/pkgs/by-name/wh/whisper-cpp/package.nix +++ b/pkgs/by-name/wh/whisper-cpp/package.nix @@ -11,6 +11,7 @@ which, autoAddDriverRunpath, makeWrapper, + nix-update-script, metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64, coreMLSupport ? stdenv.hostPlatform.isDarwin && false, # FIXME currently broken @@ -170,6 +171,8 @@ effectiveStdenv.mkDerivation (finalAttrs: { runHook postInstallCheck ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Port of OpenAI's Whisper model in C/C++"; longDescription = '' diff --git a/pkgs/by-name/wp/wpprobe/package.nix b/pkgs/by-name/wp/wpprobe/package.nix index 5a7d86312be8..63c62506bdf3 100644 --- a/pkgs/by-name/wp/wpprobe/package.nix +++ b/pkgs/by-name/wp/wpprobe/package.nix @@ -8,16 +8,16 @@ buildGoModule (finalAttrs: { pname = "wpprobe"; - version = "0.7.4"; + version = "0.8.0"; src = fetchFromGitHub { owner = "Chocapikk"; repo = "wpprobe"; tag = "v${finalAttrs.version}"; - hash = "sha256-krYUwvFFOl05e/GTdIQvDUkplgcc4/lrWCv8mxmCz9E="; + hash = "sha256-Cu0Bs9oDD/OAKASLXsLPve0e92PoHUaLmk6C+VDIaCU="; }; - vendorHash = "sha256-KV6Ss0fN3xwm5Id7MAHMUjq9TsQbaInLjd5xcLKGX6U="; + vendorHash = "sha256-pAKFrdja+rH0kiJH6hToZwLjE8lLBHFAUCjnCLbgxVo="; nativeCheckInputs = [ versionCheckHook diff --git a/pkgs/by-name/wt/wtfutil/package.nix b/pkgs/by-name/wt/wtfutil/package.nix index 0a4d45e3021a..a5f366205ce2 100644 --- a/pkgs/by-name/wt/wtfutil/package.nix +++ b/pkgs/by-name/wt/wtfutil/package.nix @@ -11,16 +11,16 @@ buildGoModule rec { pname = "wtfutil"; - version = "0.45.0"; + version = "0.46.0"; src = fetchFromGitHub { owner = "wtfutil"; repo = "wtf"; rev = "v${version}"; - sha256 = "sha256-7PGy8A2NTwFNOYWquXTHMrVAuOrs/b4u2f5uOukEvio="; + sha256 = "sha256-05w5OyXlywt4jN0S0kv1GvbxmqZpEGud8PhV5ODCFu8="; }; - vendorHash = "sha256-DrW3wR6sy3glqA6ON65YqjnSEXLO0EVeHAXFVzOsxMc="; + vendorHash = "sha256-Vanus0oD11GxuQwwM8EoOLPsjgkQvQMiaHp6fRQZTrQ="; proxyVendor = true; doCheck = false; diff --git a/pkgs/by-name/zo/zoekt/package.nix b/pkgs/by-name/zo/zoekt/package.nix index 0dbe063837fb..fa4d7a7b4afe 100644 --- a/pkgs/by-name/zo/zoekt/package.nix +++ b/pkgs/by-name/zo/zoekt/package.nix @@ -8,13 +8,13 @@ buildGoModule { pname = "zoekt"; - version = "3.7.2-2-unstable-2025-07-30"; + version = "3.7.2-2-unstable-2025-08-05"; src = fetchFromGitHub { owner = "sourcegraph"; repo = "zoekt"; - rev = "6d2e296f2a289c3477c0d3f9f5806354c13626a1"; - hash = "sha256-X0sKv74gj1UNThYkj0NCwnlHVWrQK3Np4IcFWG5dYlc="; + rev = "87bb21ae49ead6e0cd19ee57425fd3bc72b11743"; + hash = "sha256-MArhNROlJqHcosqN+huInfmcHT+7IOAc50zLRbBUClU="; }; vendorHash = "sha256-Yc1NZKb1V9NaZddnTnNOaqdNxOHKagl7Xpxj+mZf81I="; diff --git a/pkgs/by-name/zw/zwave-js-server/package.nix b/pkgs/by-name/zw/zwave-js-server/package.nix index 082f3d130edc..b1d2591220bb 100644 --- a/pkgs/by-name/zw/zwave-js-server/package.nix +++ b/pkgs/by-name/zw/zwave-js-server/package.nix @@ -7,16 +7,16 @@ buildNpmPackage rec { pname = "zwave-js-server"; - version = "3.1.0"; + version = "3.2.1"; src = fetchFromGitHub { owner = "zwave-js"; repo = "zwave-js-server"; rev = version; - hash = "sha256-3IlqBdBP/c4hyEV3VXSksSR798vKaVWdU2HI90POqzs="; + hash = "sha256-oZA+tMYxiWc+PiPiqGEJpEa434CqNjPbutBWjXBgmhw="; }; - npmDepsHash = "sha256-ztkYzN8TtaCDbxETvgtP2GLCXWVCwWZL+AugePQBK6w="; + npmDepsHash = "sha256-1JgfXF3kNuUj0jprKBsJSPeFH6ZpqpU4lceTQm5FBgg="; # For some reason the zwave-js dependency is in devDependencies npmFlags = [ "--include=dev" ]; diff --git a/pkgs/by-name/zw/zwave-js-ui/package.nix b/pkgs/by-name/zw/zwave-js-ui/package.nix index 53c737688e94..ef3a93f834b7 100644 --- a/pkgs/by-name/zw/zwave-js-ui/package.nix +++ b/pkgs/by-name/zw/zwave-js-ui/package.nix @@ -7,15 +7,15 @@ buildNpmPackage rec { pname = "zwave-js-ui"; - version = "11.0.1"; + version = "11.1.0"; src = fetchFromGitHub { owner = "zwave-js"; repo = "zwave-js-ui"; tag = "v${version}"; - hash = "sha256-8ZN8ixfVZ1eO4kITA7GzdAUbwUylphs71GYu8Yb0yPg="; + hash = "sha256-7EjtxT8CnH73U58LeM9+WoBzQzFJ+7knJFfbq8vYk7c="; }; - npmDepsHash = "sha256-eOKF2sLkRaTPJdi3lXe8hclWOVV+XKz0EKktEEBffVo="; + npmDepsHash = "sha256-uSAkNc7T+il/Ew6mZzStSqvCl9hB0xdc2/zcaDNIip0="; passthru.tests.zwave-js-ui = nixosTests.zwave-js-ui; diff --git a/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix b/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix index d446dafeae0e..c3c6458927d0 100644 --- a/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix +++ b/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, nix-update-script, pkg-config, meson, @@ -21,15 +22,24 @@ stdenv.mkDerivation rec { pname = "elementary-terminal"; - version = "7.0.0"; + version = "7.1.0"; src = fetchFromGitHub { owner = "elementary"; repo = "terminal"; rev = version; - sha256 = "sha256-2Z56U6nbqwlbrSMzTYv7cSI7LT7pvDhW0w4f3wxv6ZA="; + sha256 = "sha256-IbN01o3rojlwp4rBt8NlIPthxIPMOm/bD1rzD5Taibw="; }; + patches = [ + # Fix incorrect line breaks when pasting/dropping into foreground processes + # https://github.com/elementary/terminal/pull/862 + (fetchpatch { + url = "https://github.com/elementary/terminal/commit/8f93bc77437e45090e59266c7813436a0903d27b.patch"; + hash = "sha256-4xUFnFVUV4EIDZFprEbL+S49j5Maof5/egHPVaJAVg4="; + }) + ]; + nativeBuildInputs = [ desktop-file-utils meson diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 2b633285cb34..444d468ab5e5 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -348,25 +348,23 @@ builtins.intersectAttrs super { # Add necessary reference to gtk3 package gi-dbusmenugtk3 = addPkgconfigDepend pkgs.gtk3 super.gi-dbusmenugtk3; - nix-serve-ng = - (overrideCabal (old: { + nix-serve-ng = lib.pipe (super.nix-serve-ng.override { nix = pkgs.nixVersions.nix_2_28; }) [ + # nix-serve-ng isn't regularly released to Hackage + (overrideSrc { src = pkgs.fetchFromGitHub { repo = "nix-serve-ng"; owner = "aristanetworks"; - rev = "6e8d82a451fccbaa4714da8f7a3db5907bdfa96d"; - hash = "sha256-Ht5wD/n2I/tQWNgYIdmi3UQbm1FNwp9m9JmDjZEd6ng="; + rev = "1d21f73a2d563ffbb924a4244c29b35e898caefe"; + hash = "sha256-N6c3NozYqAGwmjf+k5GHOZzlcquDntrJwsZQ7O2sqtQ="; }; - version = "1.0.0-unstable-2024-12-02"; - #editedCabalFile = null; + version = "1.0.1-unstable-2025-05-28"; + }) + + (overrideCabal (old: { # Doesn't declare boost dependency pkg-configDepends = (old.pkg-configDepends or [ ]) ++ [ pkgs.boost.dev ]; - # error: output '/nix/store/hv6lzj1nlshn8q5lirzgys8f4vgym4hg-nix-serve-ng-1.0.0-unstable-2024-12-02' is not allowed to refer to the following paths: - # /nix/store/qza2y18fwkq1wzi02qywf691r42r5jfy-ghc-9.6.6 - broken = pkgs.stdenv.hostPlatform.system == "aarch64-darwin"; - }) super.nix-serve-ng).override - { - nix = pkgs.nixVersions.nix_2_24; - }; + })) + ]; # These packages try to access the network. amqp = dontCheck super.amqp; diff --git a/pkgs/development/interpreters/php/generic.nix b/pkgs/development/interpreters/php/generic.nix index 0a6230e3e2ab..22e8b68e8b05 100644 --- a/pkgs/development/interpreters/php/generic.nix +++ b/pkgs/development/interpreters/php/generic.nix @@ -220,6 +220,7 @@ let }; in stdenv.mkDerivation ( + finalAttrs: let attrs = { pname = "php"; @@ -387,6 +388,11 @@ let in php; inherit ztsSupport; + + services.default = { + imports = [ ./service.nix ]; + php-fpm.package = lib.mkDefault finalAttrs.finalPackage; + }; }; meta = with lib; { diff --git a/pkgs/development/interpreters/php/service.nix b/pkgs/development/interpreters/php/service.nix new file mode 100644 index 000000000000..50fcbb649800 --- /dev/null +++ b/pkgs/development/interpreters/php/service.nix @@ -0,0 +1,186 @@ +{ + options, + config, + pkgs, + lib, + ... +}: +let + cfg = config.php-fpm; + format = pkgs.formats.iniWithGlobalSection { }; + configFile = format.generate "php-fpm.conf" { + globalSection = lib.filterAttrs (_: v: !lib.isAttrs v) cfg.settings; + sections = lib.filterAttrs (_: lib.isAttrs) cfg.settings; + }; + + poolOpts = + { name, ... }: + { + freeformType = + with lib.types; + attrsOf (oneOf [ + str + int + bool + ]); + options = { + listen = lib.mkOption { + type = + with lib.types; + oneOf [ + path + port + str + ]; + default = "/run/php-fpm/${name}.sock"; + description = '' + The address on which to accept FastCGI requests. Valid syntaxes are: `ip.add.re.ss:port`, `port`, `/path/to/unix/socket`. + ''; + }; + + pm = lib.mkOption { + type = lib.types.enum [ + "static" + "ondemand" + "dynamic" + ]; + description = '' + Choose how the process manager will control the number of child processes. + + `static` - the number of child processes is fixed (`pm.max_children`). + `ondemand` - the processes spawn on demand (when requested, as opposed to `dynamic`, where `pm.start_servers` are started when the service is started). + `dynamic` - the number of child processes is set dynamically based on the following directives: `pm.max_children`, `pm.start_servers`, pm.min_spare_servers, `pm.max_spare_servers`. + ''; + }; + + "pm.max_children" = lib.mkOption { + type = lib.types.int; + description = '' + The number of child processes to be created when `pm` is set to `static` and the maximum + number of child processes to be created when `pm` is set to `dynamic`. + + This option sets the limit on the number of simultaneous requests that will be served. + ''; + }; + + user = lib.mkOption { + type = lib.types.str; + description = '' + Unix user of FPM processes. + ''; + }; + }; + }; +in +{ + _class = "service"; + + options.php-fpm = { + package = lib.mkPackageOption pkgs "php" { + example = '' + php.buildEnv { + extensions = + { all, ... }: + with all; + [ + imagick + opcache + ]; + extraConfig = "memory_limit=256M"; + } + ''; + }; + + settings = lib.mkOption { + type = lib.types.submodule { + freeformType = + with lib.types; + attrsOf (oneOf [ + str + int + bool + (submodule poolOpts) + ]); + options = { + log_level = lib.mkOption { + type = lib.types.enum [ + "alert" + "error" + "warning" + "notice" + "debug" + ]; + default = "notice"; + description = '' + Error log level. + ''; + }; + }; + }; + default = { }; + example = lib.literalExpression '' + { + log_level = "debug"; + log_limit = 2048; + + mypool = { + "user" = "php"; + "group" = "php"; + "listen.owner" = "caddy"; + "listen.group" = "caddy"; + "pm" = "dynamic"; + "pm.max_children" = 75; + "pm.start_servers" = 10; + "pm.min_spare_servers" = 5; + "pm.max_spare_servers" = 20; + "pm.max_requests" = 500; + } + } + ''; + description = '' + PHP FPM configuration. Refer to [upstream documentation](https://www.php.net/manual/en/install.fpm.configuration.php) for details on supported values. + ''; + }; + }; + + config = { + php-fpm.settings = { + error_log = "syslog"; + daemonize = false; + }; + + process.argv = [ + "${cfg.package}/bin/php-fpm" + "-y" + configFile + ]; + } + // lib.optionalAttrs (options ? systemd) { + + systemd.service = { + after = [ "network.target" ]; + documentation = [ "man:php-fpm(8)" ]; + + serviceConfig = { + Type = "notify"; + ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID"; + RuntimeDirectory = "php-fpm"; + RuntimeDirectoryPreserve = true; + Restart = "always"; + }; + }; + + } + // lib.optionalAttrs (options ? finit) { + + finit.service = { + conditions = [ "service/syslogd/ready" ]; + reload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID"; + notify = "systemd"; + }; + }; + + meta.maintainers = with lib.maintainers; [ + aanderse + ]; +} diff --git a/pkgs/development/ocaml-modules/logs/default.nix b/pkgs/development/ocaml-modules/logs/default.nix index 2befcaa51dcc..bbe31bcb13a9 100644 --- a/pkgs/development/ocaml-modules/logs/default.nix +++ b/pkgs/development/ocaml-modules/logs/default.nix @@ -3,20 +3,32 @@ stdenv, fetchurl, ocaml, - findlib, - ocamlbuild, + version ? if lib.versionAtLeast ocaml.version "4.14" then "0.9.0" else "0.8.0", topkg, - result, - lwt, - cmdliner, - fmt, - fmtSupport ? lib.versionAtLeast ocaml.version "4.08", - js_of_ocaml-compiler, - jsooSupport ? true, - lwtSupport ? true, + buildTopkgPackage, cmdlinerSupport ? true, + cmdliner, + fmtSupport ? lib.versionAtLeast ocaml.version "4.08", + fmt, + jsooSupport ? true, + js_of_ocaml-compiler, + lwtSupport ? true, + lwt, }: let + param = + { + "0.8.0" = { + minimalOCamlVersion = "4.03"; + sha512 = "c34c67b00d6a989a2660204ea70db8521736d6105f15d1ee0ec6287a662798fe5c4d47075c6e7c84f5d5372adb5af5c4c404f79db70d69140af5e0ebbea3b6a5"; + }; + "0.9.0" = { + minimalOCamlVersion = "4.14"; + sha512 = "b75fb28e83f33461b06b5c9b60972c4a9a9a1599d637b4a0c7b1e86a87f34fe5361e817cb31f42ad7e7cbb822473b28fab9f58a02870eb189ebe88dae8e045ff"; + }; + } + .${version}; + pname = "logs"; webpage = "https://erratique.ch/software/${pname}"; @@ -48,40 +60,26 @@ let ]) optional_deps; optional_buildInputs = map (d: d.pkg) (lib.filter (d: d.enabled) optional_deps); in +buildTopkgPackage { + inherit pname version; + inherit (param) minimalOCamlVersion; -if lib.versionOlder ocaml.version "4.03" then - throw "logs is not available for OCaml ${ocaml.version}" -else + src = fetchurl { + url = "${webpage}/releases/${pname}-${version}.tbz"; + inherit (param) sha512; + }; - stdenv.mkDerivation rec { - name = "ocaml${ocaml.version}-${pname}-${version}"; - version = "0.8.0"; + buildInputs = [ topkg ] ++ optional_buildInputs; - src = fetchurl { - url = "${webpage}/releases/${pname}-${version}.tbz"; - hash = "sha256-mmFRQJX6QvMBIzJiO2yNYF1Ce+qQS2oNF3+OwziCNtg="; - }; + strictDeps = true; - nativeBuildInputs = [ - ocaml - findlib - ocamlbuild - topkg - ]; - buildInputs = [ topkg ] ++ optional_buildInputs; - propagatedBuildInputs = [ result ]; + buildPhase = "${topkg.run} build ${lib.escapeShellArgs enable_flags}"; - strictDeps = true; - - buildPhase = "${topkg.run} build ${lib.escapeShellArgs enable_flags}"; - - inherit (topkg) installPhase; - - meta = with lib; { - description = "Logging infrastructure for OCaml"; - homepage = webpage; - inherit (ocaml.meta) platforms; - maintainers = [ maintainers.sternenseemann ]; - license = licenses.isc; - }; - } + meta = with lib; { + description = "Logging infrastructure for OCaml"; + homepage = webpage; + inherit (ocaml.meta) platforms; + maintainers = [ maintainers.sternenseemann ]; + license = licenses.isc; + }; +} diff --git a/pkgs/development/ocaml-modules/mdx/default.nix b/pkgs/development/ocaml-modules/mdx/default.nix index 75c0ac1e7a98..bf16d88814fd 100644 --- a/pkgs/development/ocaml-modules/mdx/default.nix +++ b/pkgs/development/ocaml-modules/mdx/default.nix @@ -15,6 +15,7 @@ camlp-streams, lwt, re, + result, csexp, gitUpdater, }: @@ -40,6 +41,7 @@ buildDunePackage rec { ocaml-version camlp-streams re + result findlib ]; checkInputs = [ diff --git a/pkgs/development/php-packages/ast/default.nix b/pkgs/development/php-packages/ast/default.nix index 7cb9bd566ecb..ac4dddae822a 100644 --- a/pkgs/development/php-packages/ast/default.nix +++ b/pkgs/development/php-packages/ast/default.nix @@ -5,7 +5,7 @@ }: let - version = "1.1.2"; + version = "1.1.3"; in buildPecl { inherit version; @@ -15,7 +15,7 @@ buildPecl { owner = "nikic"; repo = "php-ast"; rev = "v${version}"; - sha256 = "sha256-9HP+hKcpkWmvsx335JiCVjFG+xyAMEm5dWxWC1nZPxU="; + sha256 = "sha256-TGMZA3Qe+/TwG+FIevrcQzy/ufCyN8sXKjsPrnz3K1Q="; }; meta = with lib; { diff --git a/pkgs/development/python-modules/airos/default.nix b/pkgs/development/python-modules/airos/default.nix index 42fcee67126c..6e257ca3d250 100644 --- a/pkgs/development/python-modules/airos/default.nix +++ b/pkgs/development/python-modules/airos/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "airos"; - version = "0.2.4"; + version = "0.2.7"; pyproject = true; disabled = pythonOlder "3.13"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "CoMPaTech"; repo = "python-airos"; tag = "v${version}"; - hash = "sha256-zY0XPucCXiJDo9C4GiDqs/lxQDTphs/mBXBqSYPvkoI="; + hash = "sha256-c/YVjNEy1nI6ClYk8BgLai+zRCwiblTFSJ5Rxx3UaeU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/alexapy/default.nix b/pkgs/development/python-modules/alexapy/default.nix index dfe18239ee88..f1caa8e08eef 100644 --- a/pkgs/development/python-modules/alexapy/default.nix +++ b/pkgs/development/python-modules/alexapy/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "alexapy"; - version = "1.29.5"; + version = "1.29.7"; pyproject = true; disabled = pythonOlder "3.10"; @@ -28,7 +28,7 @@ buildPythonPackage rec { owner = "keatontaylor"; repo = "alexapy"; tag = "v${version}"; - hash = "sha256-46dRjVm3d1/bMlJCO6Dy/+cOYsPNruUADshrdrObw5Q="; + hash = "sha256-Sd55rt4qtIWoFs9pHfUzC+ypxUwavfgmaNsQUEOiaUI="; }; pythonRelaxDeps = [ "aiofiles" ]; diff --git a/pkgs/development/python-modules/badsecrets/default.nix b/pkgs/development/python-modules/badsecrets/default.nix index e0c169e58b0e..faa841bb7a21 100644 --- a/pkgs/development/python-modules/badsecrets/default.nix +++ b/pkgs/development/python-modules/badsecrets/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "badsecrets"; - version = "0.10.35"; + version = "0.11.118"; pyproject = true; src = fetchFromGitHub { owner = "blacklanternsecurity"; repo = "badsecrets"; tag = "v${version}"; - hash = "sha256-i80f4qPX695HFdNefIT2sqcKsdMTEiYXUltF2Gj6aAI="; + hash = "sha256-7jKhXFrtZI+Xzs7R8E3zJNN3wTEkuTuhc3PGn6JOzTU="; }; build-system = [ diff --git a/pkgs/development/python-modules/boto3-stubs/default.nix b/pkgs/development/python-modules/boto3-stubs/default.nix index 3148c44db8e8..84bf0c0d6e32 100644 --- a/pkgs/development/python-modules/boto3-stubs/default.nix +++ b/pkgs/development/python-modules/boto3-stubs/default.nix @@ -359,7 +359,7 @@ buildPythonPackage rec { pname = "boto3-stubs"; - version = "1.40.5"; + version = "1.40.7"; pyproject = true; disabled = pythonOlder "3.7"; @@ -367,7 +367,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "boto3_stubs"; inherit version; - hash = "sha256-bVS5Ym36kYNBjq0L1KKHdnj1Atp7WHfDVEt//tj6RjE="; + hash = "sha256-rEtDyToV9l5NdMrucPQIkoRCRG1fA3J3Qm+z3AbZZyA="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/colcon-package-information/default.nix b/pkgs/development/python-modules/colcon-package-information/default.nix new file mode 100644 index 000000000000..9548db48ea36 --- /dev/null +++ b/pkgs/development/python-modules/colcon-package-information/default.nix @@ -0,0 +1,54 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + colcon, + packaging, + pytest-cov-stub, + pytestCheckHook, + setuptools, + scspell, + writableTmpDirAsHomeHook, +}: + +buildPythonPackage rec { + pname = "colcon-package-information"; + version = "0.4.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "colcon"; + repo = "colcon-package-information"; + tag = version; + hash = "sha256-BnDrnIgzXrNAPIg7sr8CcaVdisplJdAvjyZ28r4o/wI="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + colcon + packaging + ]; + + nativeCheckInputs = [ + pytest-cov-stub + pytestCheckHook + scspell + writableTmpDirAsHomeHook + ]; + + pythonImportsCheck = [ + "colcon_package_information" + ]; + + disabledTestPaths = [ + "test/test_flake8.py" + ]; + + meta = { + description = "Extension for colcon-core to output package information"; + homepage = "http://colcon.readthedocs.io/"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ guelakais ]; + }; +} diff --git a/pkgs/development/python-modules/databricks-sdk/default.nix b/pkgs/development/python-modules/databricks-sdk/default.nix index 40a71fe2ad25..8ba153ab1792 100644 --- a/pkgs/development/python-modules/databricks-sdk/default.nix +++ b/pkgs/development/python-modules/databricks-sdk/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "databricks-sdk"; - version = "0.61.0"; + version = "0.62.0"; pyproject = true; src = fetchFromGitHub { owner = "databricks"; repo = "databricks-sdk-py"; tag = "v${version}"; - hash = "sha256-zXvCl5mYJMIEi6/Z4r3SA96/FX74zH8HgkbCy4L4B6w="; + hash = "sha256-7bjCfss7xqUqAd5NcfkfmAuyQBxDT/K3/vLMPc/rcNE="; }; build-system = [ diff --git a/pkgs/development/python-modules/ddgs/default.nix b/pkgs/development/python-modules/ddgs/default.nix index 266ce10c6683..3896b9927745 100644 --- a/pkgs/development/python-modules/ddgs/default.nix +++ b/pkgs/development/python-modules/ddgs/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "ddgs"; - version = "9.5.1"; + version = "9.5.2"; pyproject = true; src = fetchFromGitHub { owner = "deedy5"; repo = "ddgs"; tag = "v${version}"; - hash = "sha256-8OGO70J/o6oUfgdMKgZOtmOf4Nenk3VcV8kxU6UnEFQ="; + hash = "sha256-UDmgRuMpLQu7I0t+0RmK0GkXpV5NTJ1NgsXYIl+A1i0="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/devpi-ldap/default.nix b/pkgs/development/python-modules/devpi-ldap/default.nix index 894819670e38..5a6173b2263e 100644 --- a/pkgs/development/python-modules/devpi-ldap/default.nix +++ b/pkgs/development/python-modules/devpi-ldap/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { version = "2.1.1-unstable-2023-11-28"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.13"; src = fetchFromGitHub { owner = "devpi"; @@ -48,10 +48,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "devpi_ldap" ]; meta = { - homepage = "https://github.com/devpi/devpi-ldap"; description = "LDAP authentication for devpi-server"; + homepage = "https://github.com/devpi/devpi-ldap"; changelog = "https://github.com/devpi/devpi-ldap/blob/main/CHANGELOG.rst"; - license = lib.licenses.mit; # according to its setup.py + license = lib.licenses.mit; maintainers = with lib.maintainers; [ confus ]; }; } diff --git a/pkgs/development/python-modules/disposable-email-domains/default.nix b/pkgs/development/python-modules/disposable-email-domains/default.nix index ece17e48f9ef..9d98ed2d9d56 100644 --- a/pkgs/development/python-modules/disposable-email-domains/default.nix +++ b/pkgs/development/python-modules/disposable-email-domains/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "disposable-email-domains"; - version = "0.0.129"; + version = "0.0.130"; pyproject = true; # No tags on GitHub src = fetchPypi { pname = "disposable_email_domains"; inherit version; - hash = "sha256-zHyTuJtE78xTj9NHvNmD8b8RmmdMxROsZO9r5UG1D6k="; + hash = "sha256-4387cKqxEQew+PLcCFkL2Y0FcPX7FrEfe+dfk+Pj/vw="; }; build-system = [ diff --git a/pkgs/development/python-modules/dramatiq/default.nix b/pkgs/development/python-modules/dramatiq/default.nix index e16d7d4d2a85..12535c9813b8 100644 --- a/pkgs/development/python-modules/dramatiq/default.nix +++ b/pkgs/development/python-modules/dramatiq/default.nix @@ -89,6 +89,9 @@ buildPythonPackage rec { "test_rabbitmq_process_100k_messages_with_cli" "test_rabbitmq_process_10k_fib_with_cli" "test_rabbitmq_process_1k_latency_with_cli" + # AssertionError + "test_cli_scrubs_stale_pid_files" + "test_message_contains_requeue_time_after_retry" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Takes too long for darwin ofborg diff --git a/pkgs/development/python-modules/embedding-reader/default.nix b/pkgs/development/python-modules/embedding-reader/default.nix index 72a8373ae9e3..43b8535e2008 100644 --- a/pkgs/development/python-modules/embedding-reader/default.nix +++ b/pkgs/development/python-modules/embedding-reader/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "embedding-reader"; - version = "1.7.0"; + version = "1.8.1"; format = "setuptools"; src = fetchFromGitHub { owner = "rom1504"; repo = "embedding-reader"; tag = version; - hash = "sha256-paN6rAyH3L7qCfWPr5kXo9Xl57gRMhdcDnoyLJ7II2w="; + hash = "sha256-D7yrvV6hDqzHaIMhCQ16DhY/8FEr3P4gcT5vV371whs="; }; pythonRelaxDeps = [ "pyarrow" ]; diff --git a/pkgs/development/python-modules/es-client/default.nix b/pkgs/development/python-modules/es-client/default.nix index da67670cc4ea..1f02da027f90 100644 --- a/pkgs/development/python-modules/es-client/default.nix +++ b/pkgs/development/python-modules/es-client/default.nix @@ -3,6 +3,7 @@ buildPythonPackage, certifi, click, + cryptography, dotmap, ecs-logging, elastic-transport, @@ -15,13 +16,13 @@ pythonOlder, pyyaml, requests, - six, + tiered-debug, voluptuous, }: buildPythonPackage rec { pname = "es-client"; - version = "8.17.4"; + version = "8.18.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -30,7 +31,7 @@ buildPythonPackage rec { owner = "untergeek"; repo = "es_client"; tag = "v${version}"; - hash = "sha256-43LB0QceljuS3k+yYtJCbJsstsFr3d2h2Gnjal2HcdQ="; + hash = "sha256-siB17xVRS/eeKOsJcWdh4foOHXbeV8wwRclXDHodADM="; }; pythonRelaxDeps = true; @@ -40,12 +41,13 @@ buildPythonPackage rec { dependencies = [ certifi click + cryptography dotmap ecs-logging elastic-transport elasticsearch8 pyyaml - six + tiered-debug voluptuous ]; diff --git a/pkgs/development/python-modules/fast-simplification/default.nix b/pkgs/development/python-modules/fast-simplification/default.nix index 9b54726c898b..37d444ff11d7 100644 --- a/pkgs/development/python-modules/fast-simplification/default.nix +++ b/pkgs/development/python-modules/fast-simplification/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "fast-simplification"; - version = "0.1.11"; + version = "0.1.12"; pyproject = true; src = fetchFromGitHub { owner = "pyvista"; repo = "fast-simplification"; tag = "v${version}"; - hash = "sha256-3mqcFTNrq1W376ctJJumzeQccaB4cvoTNW8BHEnv5t8="; + hash = "sha256-OhVJKYmJR+A6JDaM/7Bfkc4PNlhsc6NgRNU+SokCg1U="; }; build-system = [ diff --git a/pkgs/development/python-modules/flask-dramatiq/default.nix b/pkgs/development/python-modules/flask-dramatiq/default.nix index 1be6b757ec38..7ee16fbd9423 100644 --- a/pkgs/development/python-modules/flask-dramatiq/default.nix +++ b/pkgs/development/python-modules/flask-dramatiq/default.nix @@ -1,27 +1,25 @@ { lib, buildPythonPackage, - pythonOlder, - fetchFromGitLab, - poetry-core, dramatiq, - flask, - requests, - pytestCheckHook, - pytest-cov-stub, + fetchFromGitLab, flask-migrate, + flask, periodiq, + poetry-core, postgresql, postgresqlTestHook, psycopg2, + pytest-cov-stub, + pytest-mock, + pytestCheckHook, + requests, }: buildPythonPackage { pname = "flask-dramatiq"; version = "0.6.0"; - format = "pyproject"; - - disabled = pythonOlder "3.6"; + pyproject = true; src = fetchFromGitLab { owner = "bersace"; @@ -38,20 +36,21 @@ buildPythonPackage { patchShebangs --build ./example.py ''; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ dramatiq ]; + dependencies = [ dramatiq ]; nativeCheckInputs = [ - pytestCheckHook - pytest-cov-stub flask - requests flask-migrate periodiq postgresql postgresqlTestHook psycopg2 + pytest-cov-stub + pytest-mock + pytestCheckHook + requests ] ++ dramatiq.optional-dependencies.rabbitmq; @@ -62,23 +61,13 @@ buildPythonPackage { python3 ./example.py db upgrade ''; - pytestFlags = [ - "-x" - ]; - - disabledTestPaths = [ - "tests/func/" - "tests/unit" - ]; - - pythonImportsCheck = [ "flask_dramatiq" ]; - - # Does HTTP requests to localhost disabledTests = [ "test_fast" "test_other" ]; + pythonImportsCheck = [ "flask_dramatiq" ]; + meta = with lib; { description = "Adds Dramatiq support to your Flask application"; homepage = "https://gitlab.com/bersace/flask-dramatiq"; diff --git a/pkgs/development/python-modules/fullmoon/default.nix b/pkgs/development/python-modules/fullmoon/default.nix new file mode 100644 index 000000000000..f474b226ff07 --- /dev/null +++ b/pkgs/development/python-modules/fullmoon/default.nix @@ -0,0 +1,33 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, +}: +buildPythonPackage { + pname = "fullmoon"; + version = "1.0.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "jr-k"; + repo = "python-fullmoon"; + rev = "702b94d9924cce8c156a3d7951bea65b19022358"; + hash = "sha256-d0OL5z2DCOp0xSYBAdaMHZV9wmZJ6jiQTl7NZjMYJRA="; + }; + + build-system = [ setuptools ]; + + checkPhase = '' + runHook preCheck + python example.py + runHook postCheck + ''; + + meta = { + description = "Determine the occurrence of the next full moon or to determine if a given date is/was/will be a full moon"; + homepage = "https://github.com/jr-k/python-fullmoon"; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ quantenzitrone ]; + }; +} diff --git a/pkgs/development/python-modules/google-cloud-compute/default.nix b/pkgs/development/python-modules/google-cloud-compute/default.nix index b524ae6ea885..214dc438e5df 100644 --- a/pkgs/development/python-modules/google-cloud-compute/default.nix +++ b/pkgs/development/python-modules/google-cloud-compute/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "google-cloud-compute"; - version = "1.33.0"; + version = "1.34.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -22,7 +22,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "google_cloud_compute"; inherit version; - hash = "sha256-D/xWv8qVg8L6XyticbZ1ak1vXNvv4mVkIHESlykuQu4="; + hash = "sha256-SS6X//PEBs6/R/687KDAq0maMBwhUhPt1Pg/JDdfccI="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/google-cloud-os-config/default.nix b/pkgs/development/python-modules/google-cloud-os-config/default.nix index d741fde2296f..16fa3d531908 100644 --- a/pkgs/development/python-modules/google-cloud-os-config/default.nix +++ b/pkgs/development/python-modules/google-cloud-os-config/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "google-cloud-os-config"; - version = "1.20.2"; + version = "1.21.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -21,7 +21,7 @@ buildPythonPackage rec { src = fetchPypi { pname = "google_cloud_os_config"; inherit version; - hash = "sha256-N/fk02b8eJYPd9/+wN53hPud/QvCJ4YtOZb9tHryNFQ="; + hash = "sha256-NKdb/E9CO1Zp98kHcvqYNIr0L27C+ijQ1ulT3p58qSk="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/hass-nabucasa/default.nix b/pkgs/development/python-modules/hass-nabucasa/default.nix index 15bbb7d091ab..a5d976155de3 100644 --- a/pkgs/development/python-modules/hass-nabucasa/default.nix +++ b/pkgs/development/python-modules/hass-nabucasa/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "hass-nabucasa"; - version = "0.111.1"; + version = "0.111.2"; pyproject = true; disabled = pythonOlder "3.13"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "nabucasa"; repo = "hass-nabucasa"; tag = version; - hash = "sha256-WmsLn/pHI3KJSmX5U20eNUEs0Q1upuwkkzcHIYPNYjY="; + hash = "sha256-64DdjyzeeYI9u8hYP7CwZvLhCcCzztti2DshvtYcxNQ="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/json-repair/default.nix b/pkgs/development/python-modules/json-repair/default.nix index bbfc0d73b8fd..ba501323744a 100644 --- a/pkgs/development/python-modules/json-repair/default.nix +++ b/pkgs/development/python-modules/json-repair/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "json-repair"; - version = "0.48.0"; + version = "0.49.0"; pyproject = true; src = fetchFromGitHub { owner = "mangiucugna"; repo = "json_repair"; tag = "v${version}"; - hash = "sha256-tt7LueyCGKK/HD5fKsuMZiEPGLMLqOrB9p9SyLpUqgo="; + hash = "sha256-we43E+2pGVDORWfC6t51Bxy4YLoEnVrysdBgpTdcYwE="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/jsonschema-rs/default.nix b/pkgs/development/python-modules/jsonschema-rs/default.nix index 1319f33a8ad9..45e7ea158eec 100644 --- a/pkgs/development/python-modules/jsonschema-rs/default.nix +++ b/pkgs/development/python-modules/jsonschema-rs/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "jsonschema-rs"; - version = "0.32.0"; + version = "0.32.1"; pyproject = true; @@ -21,12 +21,12 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "jsonschema_rs"; - hash = "sha256-BQDPoBn6WNwaxS1gWSol021My7Oiz0DIspHujY9/7Mc="; + hash = "sha256-0++0gxQG+HT/KTLKx+ieonG9tppTPn+pVGFErkilC88="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; - hash = "sha256-MbIBiV0xOKvDrQPnovTLgGgvdJIHPw19faJFmMqWIMw="; + hash = "sha256-zs8R7ambxifXcmYsl1IB9zNN4+4dJrO/TQWK6c5UplA="; }; nativeBuildInputs = with rustPlatform; [ diff --git a/pkgs/development/python-modules/knx-frontend/default.nix b/pkgs/development/python-modules/knx-frontend/default.nix index 3567af317884..fefe104532bb 100644 --- a/pkgs/development/python-modules/knx-frontend/default.nix +++ b/pkgs/development/python-modules/knx-frontend/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "knx-frontend"; - version = "2025.8.6.52906"; + version = "2025.8.9.63154"; pyproject = true; # TODO: source build, uses yarn.lock src = fetchPypi { pname = "knx_frontend"; inherit version; - hash = "sha256-Wmiwj5PL68VH1j5xDhZJyAHBakoG+0SKzCJCcCntT18="; + hash = "sha256-Sphetc0ox0Oh70vNdkHorX0jpvC8bckm1TBKk2QSGPo="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/libear/default.nix b/pkgs/development/python-modules/libear/default.nix new file mode 100644 index 000000000000..b1f00bc1e1aa --- /dev/null +++ b/pkgs/development/python-modules/libear/default.nix @@ -0,0 +1,37 @@ +{ + lib, + llvmPackages, + buildPythonPackage, +}: +let + inherit (llvmPackages) clang-unwrapped; +in +buildPythonPackage rec { + pname = "libear"; + inherit (clang-unwrapped) version; + + format = "other"; + + src = clang-unwrapped.lib + "/lib/libear"; + + dontUnpack = true; + + installPhase = '' + LIBPATH="$(toPythonPath "$out")/libear" + mkdir -p "$LIBPATH" + + install -t "$LIBPATH" $src/* + ''; + + pythonImportsCheck = [ "libear" ]; + + meta = { + description = "Hooks into build systems to listen to which files are opened"; + homepage = "https://github.com/llvm/llvm-project/tree/llvmorg-${version}/clang/tools/scan-build-py/lib/libear"; + license = with lib.licenses; [ + asl20 + llvm-exception + ]; + maintainers = with lib.maintainers; [ RossSmyth ]; + }; +} diff --git a/pkgs/development/python-modules/libscanbuild/default.nix b/pkgs/development/python-modules/libscanbuild/default.nix new file mode 100644 index 000000000000..667c7e162e77 --- /dev/null +++ b/pkgs/development/python-modules/libscanbuild/default.nix @@ -0,0 +1,42 @@ +{ + lib, + llvmPackages, + buildPythonPackage, + libear, +}: +let + inherit (llvmPackages) clang-unwrapped; +in +buildPythonPackage rec { + pname = "libscanbuild"; + inherit (clang-unwrapped) version; + + format = "other"; + + src = clang-unwrapped.lib + "/lib/libscanbuild"; + + dontUnpack = true; + + dependencies = [ + libear + ]; + + installPhase = '' + LIBPATH="$(toPythonPath "$out")/libscanbuild" + mkdir -p "$LIBPATH" + + cp -r "$src/"* "$LIBPATH" + ''; + + pythonImportsCheck = [ "libscanbuild" ]; + + meta = { + description = "Captures all child process creation and log information about it"; + homepage = "https://github.com/llvm/llvm-project/tree/llvmorg-${version}/clang/tools/scan-build-py/lib/libscanbuild"; + license = with lib.licenses; [ + asl20 + llvm-exception + ]; + maintainers = with lib.maintainers; [ RossSmyth ]; + }; +} diff --git a/pkgs/development/python-modules/llama-index-workflows/default.nix b/pkgs/development/python-modules/llama-index-workflows/default.nix index 51da08f9f019..93b494e988c5 100644 --- a/pkgs/development/python-modules/llama-index-workflows/default.nix +++ b/pkgs/development/python-modules/llama-index-workflows/default.nix @@ -10,13 +10,13 @@ buildPythonPackage rec { pname = "llama-index-workflows"; - version = "1.2.0"; + version = "1.3.0"; pyproject = true; src = fetchPypi { pname = "llama_index_workflows"; inherit version; - hash = "sha256-9rGfAaNAoa+x0v0ihcnc40bjBKOq5RnmEDBZ9a+yYJ8="; + hash = "sha256-nBaI4jfvrThPFkha9xxvlFai622Fv2H/SeVxfxD/KG0="; }; pythonRelaxDeps = [ "pydantic" ]; diff --git a/pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix b/pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix index 2abb98854bdf..bef482e47ec6 100644 --- a/pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix @@ -10,11 +10,12 @@ pytestCheckHook, pythonOlder, std-uritemplate, + gitUpdater, }: buildPythonPackage rec { pname = "microsoft-kiota-abstractions"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -23,7 +24,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-abstractions-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/abstractions/"; @@ -52,10 +53,14 @@ buildPythonPackage rec { # detects the wrong tag on the repo passthru.skipBulkUpdate = true; + passthru.updateScript = gitUpdater { + rev-prefix = "microsoft-kiota-abstractions-v"; + }; + meta = with lib; { description = "Abstractions library for Kiota generated Python clients"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/abstractions/"; - changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-abstractions-${src.tag}"; + changelog = "https://github.com/microsoft/kiota-python/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix b/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix index 49a6c420de00..4110c04aec76 100644 --- a/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix @@ -12,11 +12,12 @@ pytest-mock, pytestCheckHook, pythonOlder, + gitUpdater, }: buildPythonPackage rec { pname = "microsoft-kiota-authentication-azure"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -24,8 +25,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; - tag = "microsoft-kiota-serialization-text-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + tag = "microsoft-kiota-authentication-azure-v${version}"; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/authentication/azure/"; @@ -48,6 +49,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "kiota_authentication_azure" ]; + passthru.updateScript = gitUpdater { + rev-prefix = "microsoft-kiota-authentication-azure-v"; + }; + meta = with lib; { description = "Kiota Azure authentication provider"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/authentication/azure"; diff --git a/pkgs/development/python-modules/microsoft-kiota-http/default.nix b/pkgs/development/python-modules/microsoft-kiota-http/default.nix index b0633edf960e..0445791dfd81 100644 --- a/pkgs/development/python-modules/microsoft-kiota-http/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-http/default.nix @@ -12,11 +12,12 @@ pytestCheckHook, pythonOlder, urllib3, + gitUpdater, }: buildPythonPackage rec { pname = "microsoft-kiota-http"; - version = "1.9.4"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -24,8 +25,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; - tag = "microsoft-kiota-serialization-text-v${version}"; - hash = "sha256-59vuJc7Wb/6PsPA4taAFA2UK8bdz+raZ+NB4S8LahtM="; + tag = "microsoft-kiota-http-v${version}"; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/http/httpx/"; @@ -49,10 +50,14 @@ buildPythonPackage rec { pythonImportsCheck = [ "kiota_http" ]; + passthru.updateScript = gitUpdater { + rev-prefix = "microsoft-kiota-http-v"; + }; + meta = with lib; { description = "HTTP request adapter implementation for Kiota clients for Python"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/http/httpx"; - changelog = "https://github.com/microsoft/kiota-python/releases/tag/microsoft-kiota-http-${src.tag}"; + changelog = "https://github.com/microsoft/kiota-python/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; }; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix index 3436f98d41e6..951087bff5a2 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix @@ -9,11 +9,12 @@ pytest-mock, pytestCheckHook, pythonOlder, + gitUpdater, }: buildPythonPackage rec { pname = "microsoft-kiota-serialization-form"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,7 +23,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-form-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/serialization/form/"; @@ -42,6 +43,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "kiota_serialization_form" ]; + passthru.updateScript = gitUpdater { + rev-prefix = "microsoft-kiota-serialization-form-v"; + }; + meta = with lib; { description = "Form serialization implementation for Kiota clients in Python"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/form"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix index d7aef7c3100e..29b135cce9f5 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix @@ -9,11 +9,12 @@ pytest-mock, pytestCheckHook, pythonOlder, + gitUpdater, }: buildPythonPackage rec { pname = "microsoft-kiota-serialization-json"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,7 +23,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-json-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/serialization/json/"; @@ -42,6 +43,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "kiota_serialization_json" ]; + passthru.updateScript = gitUpdater { + rev-prefix = "microsoft-kiota-serialization-json-v"; + }; + meta = with lib; { description = "JSON serialization implementation for Kiota clients in Python"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/json"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix index eee939de8263..8a9f8231433e 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix @@ -9,11 +9,12 @@ pytest-mock, pytestCheckHook, pythonOlder, + gitUpdater, }: buildPythonPackage rec { pname = "microsoft-kiota-serialization-multipart"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -22,7 +23,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-multipart-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/serialization/multipart/"; @@ -40,6 +41,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "kiota_serialization_multipart" ]; + passthru.updateScript = gitUpdater { + rev-prefix = "microsoft-kiota-serialization-multipart-v"; + }; + meta = with lib; { description = "Multipart serialization implementation for Kiota clients in Python"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/multipart"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix index 4fc7fb84b474..6525d8b231f7 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix @@ -9,11 +9,12 @@ pytestCheckHook, python-dateutil, pythonOlder, + gitUpdater, }: buildPythonPackage rec { pname = "microsoft-kiota-serialization-text"; - version = "1.9.3"; + version = "1.9.5"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,7 +23,7 @@ buildPythonPackage rec { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-text-v${version}"; - hash = "sha256-FUfVkJbpD0X7U7DPzyoh+84Bk7C07iLT9dmbUeliFu8="; + hash = "sha256-h0sZhBIGZyhzYtCvLHRAn73HspgyOAKU3p4xSn+uXFU="; }; sourceRoot = "${src.name}/packages/serialization/text/"; @@ -42,6 +43,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "kiota_serialization_text" ]; + passthru.updateScript = gitUpdater { + rev-prefix = "microsoft-kiota-serialization-text-v"; + }; + meta = with lib; { description = "Text serialization implementation for Kiota generated clients in Python"; homepage = "https://github.com/microsoft/kiota-python/tree/main/packages/serialization/text"; diff --git a/pkgs/development/python-modules/mkdocs-simple-blog/default.nix b/pkgs/development/python-modules/mkdocs-simple-blog/default.nix new file mode 100644 index 000000000000..2ca00316fd64 --- /dev/null +++ b/pkgs/development/python-modules/mkdocs-simple-blog/default.nix @@ -0,0 +1,38 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + mkdocs, + setuptools, +}: +buildPythonPackage rec { + pname = "mkdocs-simple-blog"; + version = "0.2.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "FernandoCelmer"; + repo = "mkdocs-simple-blog"; + tag = "v${version}"; + hash = "sha256-pzoQb5cBzd7Gt2jbai4cr37i5n30y0lfaukhQETSsjA="; + }; + + build-system = [ setuptools ]; + + dependencies = [ + mkdocs + ]; + + # This package has no tests + doCheck = false; + + pythonImportsCheck = [ "mkdocs_simple_blog" ]; + + meta = { + description = "Simple blog generator plugin for MkDocs"; + homepage = "https://fernandocelmer.github.io/mkdocs-simple-blog/"; + changelog = "https://github.com/FernandoCelmer/mkdocs-simple-blog/releases/tag/v${version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ guelakais ]; + }; +} diff --git a/pkgs/development/python-modules/mne/default.nix b/pkgs/development/python-modules/mne/default.nix index c3b3c0ea2785..5ceb159e2e77 100644 --- a/pkgs/development/python-modules/mne/default.nix +++ b/pkgs/development/python-modules/mne/default.nix @@ -6,9 +6,12 @@ hatch-vcs, numpy, scipy, + flaky, + pandas, pytestCheckHook, pytest-cov-stub, pytest-timeout, + writableTmpDirAsHomeHook, matplotlib, decorator, jinja2, @@ -25,22 +28,18 @@ buildPythonPackage rec { pname = "mne"; - # https://github.com/mne-tools/mne-python/pull/13049 is required to build, it does not apply if fetchpatch'ed - stableVersion = "1.9.0"; - version = "1.9.0-unstable-2025-05-01"; + version = "1.10.0"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "mne-tools"; repo = "mne-python"; - rev = "5df1721b488070e3b3928dface9dd0b8c39a3bef"; - hash = "sha256-BCLejk0sVym+HRCfnTl5LTOGUMrQdxZbqhrCnIpzsvM="; + tag = "v${version}"; + hash = "sha256-j0kPtw00gV50Nuh/b4+Jq6P7pQVRgr4/xMTwRSyzJcU="; }; - env.SETUPTOOLS_SCM_PRETEND_VERSION = stableVersion; - postPatch = '' substituteInPlace doc/conf.py \ --replace-fail '"optipng"' '"${lib.getExe optipng}"' @@ -72,14 +71,16 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + flaky + pandas pytestCheckHook pytest-cov-stub pytest-timeout + writableTmpDirAsHomeHook ] ++ lib.flatten (builtins.attrValues optional-dependencies); preCheck = '' - export HOME=$(mktemp -d) export MNE_SKIP_TESTING_DATASET_TESTS=true export MNE_SKIP_NETWORK_TESTS=1 ''; @@ -95,7 +96,7 @@ buildPythonPackage rec { ]; pytestFlag = [ - # removes 700k lines form pytest log, remove this when scipy is at v1.17.0 + # removes 700k lines from pytest log, remove this when scipy is at v1.17.0 "--disable-warnings" ]; @@ -107,13 +108,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "mne" ]; - meta = with lib; { + meta = { description = "Magnetoencephelography and electroencephalography in Python"; mainProgram = "mne"; homepage = "https://mne.tools"; - changelog = "https://mne.tools/stable/changes/${stableVersion}.html"; - license = licenses.bsd3; - maintainers = with maintainers; [ + changelog = "https://mne.tools/stable/changes/${version}.html"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ bcdarwin mbalatsko ]; diff --git a/pkgs/development/python-modules/mypy-boto3/default.nix b/pkgs/development/python-modules/mypy-boto3/default.nix index 6480bf01a744..68f2996ac471 100644 --- a/pkgs/development/python-modules/mypy-boto3/default.nix +++ b/pkgs/development/python-modules/mypy-boto3/default.nix @@ -314,8 +314,8 @@ rec { "sha256-uEEXHsqyaLnPGXs0wVrx+cjUkm8IykxTnWeBOBXb3DU="; mypy-boto3-cognito-idp = - buildMypyBoto3Package "cognito-idp" "1.40.0" - "sha256-IuXn0o68VmKHRc4Njoo/0XKvxPKPxMsI17letOqO4Do="; + buildMypyBoto3Package "cognito-idp" "1.40.7" + "sha256-n1n2O5k0hUHLiMEP2freTDMcYKximRt+yWt86BEjj9I="; mypy-boto3-cognito-sync = buildMypyBoto3Package "cognito-sync" "1.40.0" @@ -338,8 +338,8 @@ rec { "sha256-eukD7L3JzqvzK5mW9ESu9L62id1EHGhYdy+afYowtAc="; mypy-boto3-connect = - buildMypyBoto3Package "connect" "1.40.0" - "sha256-RhIoRVpH8EaPKuhcui+1HwOER+CPqLJuKQ3qs3kUsEo="; + buildMypyBoto3Package "connect" "1.40.7" + "sha256-xhy39XaNffvBgpk9vlilQ9WG3yUFhCfN5EsIdSxUKrE="; mypy-boto3-connect-contact-lens = buildMypyBoto3Package "connect-contact-lens" "1.40.0" @@ -446,8 +446,8 @@ rec { "sha256-p+NFAi4x4J6S4v0f2u0awDG+lb2V7r3XwgYwl5CvhHo="; mypy-boto3-ec2 = - buildMypyBoto3Package "ec2" "1.40.4" - "sha256-fotmSGj+r85lJZPKq4UOc3OvCdnX0pO+qSQVQozxGJw="; + buildMypyBoto3Package "ec2" "1.40.7" + "sha256-dr/9I5kl1nuCU6V3mtkzgwgmzU22Q22yAas2IFCRywM="; mypy-boto3-ec2-instance-connect = buildMypyBoto3Package "ec2-instance-connect" "1.40.0" @@ -626,8 +626,8 @@ rec { "sha256-qreFTjlz+Mcr3dcgHGMjfV0GPF2SfE/zV+FN26JHa0A="; mypy-boto3-inspector2 = - buildMypyBoto3Package "inspector2" "1.40.0" - "sha256-JW7UUuvWlc2YHmK/BeSxI22xQA5NZuq1kHvWWVdkG30="; + buildMypyBoto3Package "inspector2" "1.40.6" + "sha256-A8fOl2LR+moh+/OAjPY3iufppLaFSxHlwMjxzZbyfOU="; mypy-boto3-internetmonitor = buildMypyBoto3Package "internetmonitor" "1.40.0" @@ -638,8 +638,8 @@ rec { "sha256-0AUK0HaqmoLVbbLDcsagUZX7KkFF9zU7obO0BmcK8+s="; mypy-boto3-iot-data = - buildMypyBoto3Package "iot-data" "1.40.0" - "sha256-NkJju++RcjTAI2kEwcTuknZGKNkg/eM+MJcgV5dsuPI="; + buildMypyBoto3Package "iot-data" "1.40.6" + "sha256-fEw3aD8FGyvuQMmr80Fb9pk/IRXa0ZVHXt5Lptahnoc="; mypy-boto3-iot-jobs-data = buildMypyBoto3Package "iot-jobs-data" "1.40.0" @@ -770,8 +770,8 @@ rec { "sha256-UvToP81b2XL33qRD3eLTGq5CkQ/oOL1zczX64ibzkLY="; mypy-boto3-lambda = - buildMypyBoto3Package "lambda" "1.40.0" - "sha256-DLDT73CK1rz/jkvZaMLm8w6U8VeDGr7soB+86V04v6E="; + buildMypyBoto3Package "lambda" "1.40.7" + "sha256-6L7fA6Z/reXbhh/pAt8GMGQpI1Lu1feF90zQ5ZGUjbk="; mypy-boto3-lex-models = buildMypyBoto3Package "lex-models" "1.40.0" @@ -1074,8 +1074,8 @@ rec { "sha256-8nZ7ZrBh6TbqAMOXD546FBiNtdRhWe/UGXrqeFe15vQ="; mypy-boto3-quicksight = - buildMypyBoto3Package "quicksight" "1.40.0" - "sha256-mxtnUgNVJIrhnJZmELjgT5DLek8qSNq/iQ8S+JKs7FI="; + buildMypyBoto3Package "quicksight" "1.40.7" + "sha256-scnIRamymMIBSKcHFhxnxDASqjOQvVm9ywAivUYWN6s="; mypy-boto3-ram = buildMypyBoto3Package "ram" "1.40.0" @@ -1174,8 +1174,8 @@ rec { "sha256-WRLXguy8jlRl+jw472aPmJXdcZg1mPZ/dfhETIVNLiU="; mypy-boto3-sagemaker = - buildMypyBoto3Package "sagemaker" "1.40.3" - "sha256-vElJCfM082uVc+dQZ7JXv+2eGOJJocUhl9rUPVKbMr0="; + buildMypyBoto3Package "sagemaker" "1.40.6" + "sha256-PHYCA7VtB8r1HSzvXA+MLgbn72fewbpGtXj+zY1D4Co="; mypy-boto3-sagemaker-a2i-runtime = buildMypyBoto3Package "sagemaker-a2i-runtime" "1.40.0" @@ -1314,8 +1314,8 @@ rec { "sha256-I//h5aZulOxyEz6X4NQc+rlbKhfnoJodbNWlsFVPtF4="; mypy-boto3-sso-admin = - buildMypyBoto3Package "sso-admin" "1.40.0" - "sha256-7Uw153nODGFADd5hzIDtt3VGkZzXP3GswAuGdi5/bWo="; + buildMypyBoto3Package "sso-admin" "1.40.7" + "sha256-aate7wrDPC/Gvgu1mdFDaVz24QpFMwsThicGf41b7qI="; mypy-boto3-sso-oidc = buildMypyBoto3Package "sso-oidc" "1.40.0" @@ -1366,8 +1366,8 @@ rec { "sha256-SfZ4sYKJic9iQfWxUQEdV233Y5NbITHWjC3Vt+hFpHA="; mypy-boto3-transcribe = - buildMypyBoto3Package "transcribe" "1.40.0" - "sha256-VdndVGDdsy3nyckIV3dhXgRDHoC4YaDaAhf4fAcbcJ0="; + buildMypyBoto3Package "transcribe" "1.40.6" + "sha256-4wI5o8vjyrVpHn4P4e8J/EshhuqioqAQqkB3qdJr5hE="; mypy-boto3-transfer = buildMypyBoto3Package "transfer" "1.40.0" diff --git a/pkgs/development/python-modules/nixpkgs/default.nix b/pkgs/development/python-modules/nixpkgs/default.nix deleted file mode 100644 index 989eb91287d8..000000000000 --- a/pkgs/development/python-modules/nixpkgs/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchPypi, - pbr, - pythonix, - pythonAtLeast, -}: - -buildPythonPackage rec { - pname = "nixpkgs"; - version = "0.2.4"; - format = "setuptools"; - disabled = !pythonAtLeast "3.5"; - - src = fetchPypi { - inherit pname version; - sha256 = "0dlvq4bpamhlva86042wlc0xxfsxlpdgm2adfb1c6y3vjgbm0nvd"; - }; - - buildInputs = [ pbr ]; - propagatedBuildInputs = [ pythonix ]; - - # does not have any tests - doCheck = false; - pythonImportsCheck = [ "nixpkgs" ]; - - meta = with lib; { - description = "Allows to `from nixpkgs import` stuff in interactive Python sessions"; - homepage = "https://github.com/t184256/nixpkgs-python-importer"; - license = licenses.mit; - maintainers = with maintainers; [ t184256 ]; - }; -} diff --git a/pkgs/development/python-modules/openai/default.nix b/pkgs/development/python-modules/openai/default.nix index 6bffb9b214e2..3abbe14b0a68 100644 --- a/pkgs/development/python-modules/openai/default.nix +++ b/pkgs/development/python-modules/openai/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonAtLeast, # build-system hatchling, @@ -18,10 +17,9 @@ tqdm, typing-extensions, - # `httpx_aiohttp` not currently in `nixpkgs` # optional-dependencies (aiohttp) - # aiohttp, - # httpx_aiohttp, + aiohttp, + httpx-aiohttp, # optional-dependencies (datalib) numpy, @@ -45,20 +43,22 @@ respx, # optional-dependencies toggle + withAiohttp ? true, + withDatalib ? false, withRealtime ? true, withVoiceHelpers ? true, }: buildPythonPackage rec { pname = "openai"; - version = "1.99.1"; + version = "1.99.9"; pyproject = true; src = fetchFromGitHub { owner = "openai"; repo = "openai-python"; tag = "v${version}"; - hash = "sha256-TFzLfCT71BSbKg7LSqpFAsutKYAeQ6ALy7AE4ldeHr8="; + hash = "sha256-gE74uUQTj2kL9kwsRdu4IW69BGRmEOCRjDRiZCN8TEA="; }; postPatch = ''substituteInPlace pyproject.toml --replace-fail "hatchling==1.26.3" "hatchling"''; @@ -78,15 +78,16 @@ buildPythonPackage rec { tqdm typing-extensions ] + ++ lib.optionals withAiohttp optional-dependencies.aiohttp + ++ lib.optionals withDatalib optional-dependencies.datalib ++ lib.optionals withRealtime optional-dependencies.realtime ++ lib.optionals withVoiceHelpers optional-dependencies.voice-helpers; optional-dependencies = { - # `httpx_aiohttp` not currently in `nixpkgs` - # aiohttp = [ - # aiohttp - # httpx_aiohttp - # ]; + aiohttp = [ + aiohttp + httpx-aiohttp + ]; datalib = [ numpy pandas @@ -114,23 +115,12 @@ buildPythonPackage rec { respx ]; - pytestFlags = [ - "-Wignore::DeprecationWarning" - ]; - - disabledTests = [ - # Tests make network requests - "test_copy_build_request" - "test_basic_attribute_access_works" - ] - ++ lib.optionals (pythonAtLeast "3.13") [ - # RuntimeWarning: coroutine method 'aclose' of 'AsyncStream._iter_events' was never awaited - "test_multi_byte_character_multiple_chunks" - ]; - disabledTestPaths = [ # Test makes network requests "tests/api_resources" + # E TypeError: Unexpected type for 'content', + # This seems to be due to `inline-snapshot` being disabled when `pytest-xdist` is used. + "tests/lib/chat/test_completions_streaming.py" ]; meta = { diff --git a/pkgs/development/python-modules/posthog/default.nix b/pkgs/development/python-modules/posthog/default.nix index 0f889c3dc9f4..a561e6c59f08 100644 --- a/pkgs/development/python-modules/posthog/default.nix +++ b/pkgs/development/python-modules/posthog/default.nix @@ -20,14 +20,14 @@ buildPythonPackage rec { pname = "posthog"; - version = "6.3.3"; + version = "6.5.0"; pyproject = true; src = fetchFromGitHub { owner = "PostHog"; repo = "posthog-python"; tag = "v${version}"; - hash = "sha256-401cw0V8FEEpiYISUdXrGBGmVkfIJd4+3fCrCwfS9cE="; + hash = "sha256-Y215wLsPOa6lzpZ5KTYwrPkjPbBrEerLbhsHWaxFZ7E="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/prometheus-flask-exporter/default.nix b/pkgs/development/python-modules/prometheus-flask-exporter/default.nix index bd594d8b2f8a..8b7f991f279b 100644 --- a/pkgs/development/python-modules/prometheus-flask-exporter/default.nix +++ b/pkgs/development/python-modules/prometheus-flask-exporter/default.nix @@ -5,28 +5,37 @@ flask, prometheus-client, pytestCheckHook, + setuptools, }: buildPythonPackage rec { pname = "prometheus-flask-exporter"; - version = "0.22.4"; - format = "setuptools"; + version = "0.23.2"; + pyproject = true; src = fetchFromGitHub { owner = "rycus86"; repo = "prometheus_flask_exporter"; - rev = version; - hash = "sha256-GAQ80J7at8Apqu+DUMN3+rLi/lrNv5Y7w/DKpUN2iu8="; + tag = version; + hash = "sha256-fWCIthtBiPJwn/Mbbwdv2+1cr9nlpUsPE2mDkaSsfpM="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ flask prometheus-client ]; nativeCheckInputs = [ pytestCheckHook ]; + enabledTestPaths = [ "tests/" ]; + disabledTests = [ + # AssertionError + "test_group_by_lambda_is_not_supported" + ]; + meta = with lib; { description = "Prometheus exporter for Flask applications"; homepage = "https://github.com/rycus86/prometheus_flask_exporter"; diff --git a/pkgs/development/python-modules/pyathena/default.nix b/pkgs/development/python-modules/pyathena/default.nix index 9e3773387680..ea251d718092 100644 --- a/pkgs/development/python-modules/pyathena/default.nix +++ b/pkgs/development/python-modules/pyathena/default.nix @@ -17,14 +17,14 @@ buildPythonPackage rec { pname = "pyathena"; - version = "3.16.0"; + version = "3.17.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; - hash = "sha256-4lTxUgINLZRzDEuy/YZDlw0O02yrz38UxVBW97zTfok="; + hash = "sha256-jvlT/PSb3Xyhi/NloCQMvM+zewnyeOFynT3hSedyt7Y="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/pyghmi/default.nix b/pkgs/development/python-modules/pyghmi/default.nix index 79562b005d65..a6ebb4714283 100644 --- a/pkgs/development/python-modules/pyghmi/default.nix +++ b/pkgs/development/python-modules/pyghmi/default.nix @@ -3,7 +3,6 @@ buildPythonPackage, fetchPypi, setuptools, - wheel, cryptography, python-dateutil, six, @@ -15,12 +14,12 @@ buildPythonPackage rec { pname = "pyghmi"; - version = "1.6.2"; + version = "1.6.3"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-VCgUWUiPaCSZnmSar7e7SkI6cEw/hwv2bh5sfvTMmA0="; + hash = "sha256-nPVOdK2zAqQoG8nB5eXcWOPC7V4Wd/hRQcjA3EU0xyE="; }; build-system = [ diff --git a/pkgs/development/python-modules/pyinstrument/default.nix b/pkgs/development/python-modules/pyinstrument/default.nix index e8874dc61abd..140e88d08c18 100644 --- a/pkgs/development/python-modules/pyinstrument/default.nix +++ b/pkgs/development/python-modules/pyinstrument/default.nix @@ -9,7 +9,7 @@ buildPythonPackage rec { pname = "pyinstrument"; - version = "5.0.2"; + version = "5.1.0"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -18,7 +18,7 @@ buildPythonPackage rec { owner = "joerick"; repo = "pyinstrument"; tag = "v${version}"; - hash = "sha256-30e8J7TF16SRgDTt5Eizc7ofg00bCF61O9y+2jA63GY="; + hash = "sha256-t1kiHqzaJDnjdsHBLEcWHSxPM6jZ7rPctFCjDQpL8ks="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/pynetio/default.nix b/pkgs/development/python-modules/pynetio/default.nix new file mode 100644 index 000000000000..c2c7652c6856 --- /dev/null +++ b/pkgs/development/python-modules/pynetio/default.nix @@ -0,0 +1,35 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, + pythonAtLeast, + standard-telnetlib, +}: + +buildPythonPackage rec { + pname = "pynetio"; + version = "0.1.8"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-SSe6OHubWszOTnwytL/3GhzD4lGIz9kxS75kuJv7vKA="; + }; + + build-system = [ setuptools ]; + + dependencies = lib.optionals (pythonAtLeast "3.13") [ standard-telnetlib ]; + + # Package has no tests + doCheck = false; + + pythonImportsCheck = [ "pynetio" ]; + + meta = { + description = "Binding library for Koukaam netio devices"; + homepage = "https://github.com/wookiesh/pynetio"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +} diff --git a/pkgs/development/python-modules/pyprecice/default.nix b/pkgs/development/python-modules/pyprecice/default.nix index 48bf841129f8..712476ee1436 100644 --- a/pkgs/development/python-modules/pyprecice/default.nix +++ b/pkgs/development/python-modules/pyprecice/default.nix @@ -17,20 +17,19 @@ buildPythonPackage rec { pname = "pyprecice"; - version = "3.1.2"; + version = "3.2.1"; pyproject = true; src = fetchFromGitHub { owner = "precice"; repo = "python-bindings"; tag = "v${version}"; - hash = "sha256-/atuMJVgvY4kgvrB+LuQZmJuSK4O8TJdguC7NCiRS2Y="; + hash = "sha256-8AM2wbPX54UaMO4MzLOV0TljLTAPOqR9gUbtT2McNjs="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "setuptools>=61,<72" "setuptools" \ - --replace-fail "numpy<2" "numpy" + --replace-fail "setuptools>=61,<72" "setuptools" ''; build-system = [ @@ -40,10 +39,6 @@ buildPythonPackage rec { setuptools ]; - pythonRelaxDeps = [ - "numpy" - ]; - dependencies = [ numpy mpi4py diff --git a/pkgs/development/python-modules/python-snoo/default.nix b/pkgs/development/python-modules/python-snoo/default.nix index 0a97d85299bd..73fc64965117 100644 --- a/pkgs/development/python-modules/python-snoo/default.nix +++ b/pkgs/development/python-modules/python-snoo/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "python-snoo"; - version = "0.6.7"; + version = "0.7.0"; pyproject = true; src = fetchFromGitHub { owner = "Lash-L"; repo = "python-snoo"; tag = "v${version}"; - hash = "sha256-XHjIrR/lv07wPGDga1XsuHYgqQCgqXCLkhzGH8XTbSU="; + hash = "sha256-AHCQeajCUCDjLmlbSrVmp2C9NB2naXsYAe6mCbWQfmQ="; }; postPatch = '' diff --git a/pkgs/development/python-modules/python-telegram-bot/default.nix b/pkgs/development/python-modules/python-telegram-bot/default.nix index c815561a0b03..8340153612d8 100644 --- a/pkgs/development/python-modules/python-telegram-bot/default.nix +++ b/pkgs/development/python-modules/python-telegram-bot/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "python-telegram-bot"; - version = "22.1"; + version = "22.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = "python-telegram-bot"; repo = "python-telegram-bot"; tag = "v${version}"; - hash = "sha256-zysqE1WZCHdoJUr9+yE7L5xY5pInNUKC4qw4v3zPSRg="; + hash = "sha256-mckCkz5DBRjO4iFvRpkqLa7H8GBE/Lwi9CQ902pQ1nQ="; }; build-system = [ diff --git a/pkgs/development/python-modules/pythonix/default.nix b/pkgs/development/python-modules/pythonix/default.nix deleted file mode 100644 index 18eb56419219..000000000000 --- a/pkgs/development/python-modules/pythonix/default.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - ninja, - boost, - meson, - pkg-config, - nix, - isPy3k, - python, -}: - -buildPythonPackage rec { - pname = "pythonix"; - version = "0.1.7"; - format = "other"; - - src = fetchFromGitHub { - owner = "Mic92"; - repo = "pythonix"; - rev = "v${version}"; - sha256 = "1wxqv3i4bva2qq9mx670bcx0g0irjn68fvk28dwvhay9ndwcspqf"; - }; - - disabled = !isPy3k; - - nativeBuildInputs = [ - meson - ninja - pkg-config - ]; - - buildInputs = [ - nix - boost - ]; - - postInstall = '' - # This is typically set by pipInstallHook/eggInstallHook, - # so we have to do so manually when using meson - export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH - ''; - - pythonImportsCheck = [ "nix" ]; - - meta = with lib; { - description = '' - Eval nix code from python. - ''; - maintainers = [ ]; - license = licenses.mit; - }; -} diff --git a/pkgs/development/python-modules/pyvista/default.nix b/pkgs/development/python-modules/pyvista/default.nix index f969cde19663..9bb30a5477ea 100644 --- a/pkgs/development/python-modules/pyvista/default.nix +++ b/pkgs/development/python-modules/pyvista/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "pyvista"; - version = "0.45.3"; + version = "0.46.0"; pyproject = true; src = fetchFromGitHub { owner = "pyvista"; repo = "pyvista"; tag = "v${version}"; - hash = "sha256-9N1dF/zwjzoxX4xYIr5084M9pAk3YK3T48OUnCoC0NU="; + hash = "sha256-w9e3a05yXpjglOxGR98PUJ0ymX+2TAR7heCe59HjTWs="; }; # remove this line once pyvista 0.46 is released diff --git a/pkgs/development/python-modules/qpsolvers/default.nix b/pkgs/development/python-modules/qpsolvers/default.nix index deba6e607f29..b4b80c777905 100644 --- a/pkgs/development/python-modules/qpsolvers/default.nix +++ b/pkgs/development/python-modules/qpsolvers/default.nix @@ -23,14 +23,14 @@ }: buildPythonPackage rec { pname = "qpsolvers"; - version = "4.8.0"; + version = "4.8.1"; pyproject = true; src = fetchFromGitHub { owner = "qpsolvers"; repo = "qpsolvers"; tag = "v${version}"; - hash = "sha256-GBZrqBnZajbgiNSj+fcd1Ytz7MC8g7Zk1FNVpbJ22EI="; + hash = "sha256-wiFDsTE+L0J+6GsDz27Xh20eXvtV6KDa2CLGQDYzIGM="; }; build-system = [ flit-core ]; diff --git a/pkgs/development/python-modules/ruuvitag-ble/default.nix b/pkgs/development/python-modules/ruuvitag-ble/default.nix index 990d4df699ac..12077d4878e7 100644 --- a/pkgs/development/python-modules/ruuvitag-ble/default.nix +++ b/pkgs/development/python-modules/ruuvitag-ble/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "ruuvitag-ble"; - version = "0.1.2"; + version = "0.2.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "ruuvitag-ble"; tag = "v${version}"; - hash = "sha256-J+807p2mE+VZ0oqldFtjdcNGsRTkAU54s6byQSGrng4="; + hash = "sha256-9aaAKb5Av2OMDGaSM9+tT0s++YYE0g1D01Le6RrMoMk="; }; build-system = [ hatchling ]; diff --git a/pkgs/development/python-modules/sipsimple/default.nix b/pkgs/development/python-modules/sipsimple/default.nix index 9f8368984ef3..10fce0d5e0b2 100644 --- a/pkgs/development/python-modules/sipsimple/default.nix +++ b/pkgs/development/python-modules/sipsimple/default.nix @@ -30,6 +30,16 @@ let url = "https://github.com/pjsip/pjproject/archive/${version}.tar.gz"; hash = "sha256-k2pMW5hgG1IyVGOjl93xGrQQbGp7BPjcfN03fvu1l94="; }; + patches = [ + # Backported https://github.com/pjsip/pjproject/commit/4a8d180529d6ffb0760838b1f8cadc4cb5f7ac03 + ./pjsip-0001-NEON.patch + + # Backported https://github.com/pjsip/pjproject/commit/f56fd48e23982c47f38574a3fd93ebf248ef3762 + ./pjsip-0002-RISC-V.patch + + # Backported https://github.com/pjsip/pjproject/commit/f94b18ef6e0c0b5d34eb274f85ac0a3b2cf9107a + ./pjsip-0003-LoongArch64.patch + ]; }; zrtpcpp = rec { # Hardcoded in get_dependencies.sh, NOT checked at buildtime @@ -42,6 +52,15 @@ let }; }; }; + + applyPatchesWhenAvailable = + extDep: dir: + lib.optionalString (extDep ? patches) ( + lib.strings.concatMapStringsSep "\n" (patch: '' + echo "Applying patch ${patch}" + patch -p1 -d ${dir} < ${patch} + '') extDep.patches + ); in buildPythonPackage rec { pname = "python3-sipsimple"; @@ -102,7 +121,10 @@ buildPythonPackage rec { cp -r --no-preserve=all ${passthru.extDeps.zrtpcpp.src} deps/ZRTPCPP bash ./get_dependencies.sh - + '' + + applyPatchesWhenAvailable extDeps.pjsip "deps/pjsip" + + applyPatchesWhenAvailable extDeps.zrtpcpp "deps/ZRTPCPP" + + '' # Fails to link some static libs due to missing -lc DSO. Just use the compiler frontend instead of raw ld. substituteInPlace deps/pjsip/build/rules.mak \ --replace-fail '$(LD)' "$CC" @@ -128,9 +150,5 @@ buildPythonPackage rec { license = lib.licenses.gpl3Plus; teams = [ lib.teams.ngi ]; maintainers = [ lib.maintainers.ethancedwards8 ]; - badPlatforms = [ - # ../../webrtc/src/webrtc//modules/audio_processing/aec/aec_core_sse2.c:15:10: fatal error: emmintrin.h: No such file or directory - "aarch64-linux" - ]; }; } diff --git a/pkgs/development/python-modules/sipsimple/pjsip-0001-NEON.patch b/pkgs/development/python-modules/sipsimple/pjsip-0001-NEON.patch new file mode 100644 index 000000000000..69b87f101a0f --- /dev/null +++ b/pkgs/development/python-modules/sipsimple/pjsip-0001-NEON.patch @@ -0,0 +1,133 @@ +From c18466834e4f845dfc9383c6944a72f31a78fafc Mon Sep 17 00:00:00 2001 +From: Andrey +Date: Thu, 14 Nov 2024 05:51:54 +0300 +Subject: [PATCH 1/3] Correct cpu features detection during cross-compiation + (#4151) + +--- + aconfigure | 48 +++++++++++++++++++++++++++++++++++++++++++++--- + aconfigure.ac | 35 ++++++++++++++++++++++++++++++++--- + 2 files changed, 77 insertions(+), 6 deletions(-) + +diff --git a/aconfigure b/aconfigure +index 57716969d..eac120472 100755 +--- a/aconfigure ++++ b/aconfigure +@@ -8997,6 +8997,36 @@ $as_echo "Checking if libyuv is disabled...no" >&6; } + fi + + ++SAVED_CFLAGS="$CFLAGS" ++case $target_cpu in ++ arm*) ++ CFLAGS="-mfpu=neon $CFLAGS" ++ ;; ++ aarch64*) ++ CFLAGS="-march=armv8-a+simd $CFLAGS" ++ ;; ++esac ++cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++/* end confdefs.h. */ ++ ++int ++main (void) ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++if ac_fn_c_try_compile "$LINENO" ++then : ++ ax_cv_support_neon_ext=yes ++else $as_nop ++ ax_cv_support_neon_ext=no ++ ++fi ++rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ++CFLAGS="$SAVED_CFLAGS" ++ + + + +@@ -9064,9 +9094,21 @@ $as_echo "Checking if libwebrtc is disabled...no" >&6; } + ;; + *win32* | *w32* | *darwin* | *linux*) + case $target in +- armv7l*gnueabihf) +- ac_webrtc_instset=neon +- ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon" ++ arm*gnueabihf) ++ if test "x$ax_cv_support_neon_ext" = "xyes"; then ++ ac_webrtc_instset=neon ++ ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon" ++ else ++ ac_webrtc_instset=generic ++ fi ++ ;; ++ aarch64*) ++ if test "x$ax_cv_support_neon_ext" = "xyes"; then ++ ac_webrtc_instset=neon ++ ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64" ++ else ++ ac_webrtc_instset=generic ++ fi + ;; + arm-apple-darwin*) + ac_webrtc_instset=neon +diff --git a/aconfigure.ac b/aconfigure.ac +index 48ff9f18e..fc472c7de 100644 +--- a/aconfigure.ac ++++ b/aconfigure.ac +@@ -2057,6 +2057,23 @@ AC_ARG_ENABLE(libyuv, + AC_MSG_RESULT([Checking if libyuv is disabled...no])) + + ++dnl proper neon detector ++SAVED_CFLAGS="$CFLAGS" ++case $target_cpu in ++ arm*) ++ CFLAGS="-mfpu=neon $CFLAGS" ++ ;; ++ aarch64*) ++ CFLAGS="-march=armv8-a+simd $CFLAGS" ++ ;; ++esac ++AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM()], ++ [ax_cv_support_neon_ext=yes], ++ [ax_cv_support_neon_ext=no] ++) ++CFLAGS="$SAVED_CFLAGS" ++ + dnl # Include webrtc + AC_SUBST(ac_no_webrtc) + AC_SUBST(ac_webrtc_instset) +@@ -2121,9 +2138,21 @@ AC_ARG_ENABLE(libwebrtc, + ;; + *win32* | *w32* | *darwin* | *linux*) + case $target in +- armv7l*gnueabihf) +- ac_webrtc_instset=neon +- ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon" ++ arm*gnueabihf) ++ if test "x$ax_cv_support_neon_ext" = "xyes"; then ++ ac_webrtc_instset=neon ++ ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon" ++ else ++ ac_webrtc_instset=generic ++ fi ++ ;; ++ aarch64*) ++ if test "x$ax_cv_support_neon_ext" = "xyes"; then ++ ac_webrtc_instset=neon ++ ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64" ++ else ++ ac_webrtc_instset=generic ++ fi + ;; + *) + ac_webrtc_instset=sse2 +-- +2.50.1 + diff --git a/pkgs/development/python-modules/sipsimple/pjsip-0002-RISC-V.patch b/pkgs/development/python-modules/sipsimple/pjsip-0002-RISC-V.patch new file mode 100644 index 000000000000..48cffcc0c375 --- /dev/null +++ b/pkgs/development/python-modules/sipsimple/pjsip-0002-RISC-V.patch @@ -0,0 +1,96 @@ +From da5a961150fc20e48fb83ec3a279266600f47472 Mon Sep 17 00:00:00 2001 +From: Guoguo <16666742+imguoguo@users.noreply.github.com> +Date: Tue, 12 Aug 2025 16:08:22 +0200 +Subject: [PATCH 2/3] Fix build failure on RISC-V architecture (#4173) + +--- + aconfigure | 3 +++ + aconfigure.ac | 3 +++ + config.guess | 3 +++ + config.sub | 2 ++ + third_party/webrtc/src/webrtc/typedefs.h | 7 +++++++ + 5 files changed, 18 insertions(+) + +diff --git a/aconfigure b/aconfigure +index eac120472..09cd7b901 100755 +--- a/aconfigure ++++ b/aconfigure +@@ -9114,6 +9114,9 @@ $as_echo "Checking if libwebrtc is disabled...no" >&6; } + ac_webrtc_instset=neon + ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64" + ;; ++ riscv*) ++ ac_webrtc_instset=generic ++ ;; + *) + ac_webrtc_instset=sse2 + ;; +diff --git a/aconfigure.ac b/aconfigure.ac +index fc472c7de..81be8ed7b 100644 +--- a/aconfigure.ac ++++ b/aconfigure.ac +@@ -2154,6 +2154,9 @@ AC_ARG_ENABLE(libwebrtc, + ac_webrtc_instset=generic + fi + ;; ++ riscv*) ++ ac_webrtc_instset=generic ++ ;; + *) + ac_webrtc_instset=sse2 + ;; +diff --git a/config.guess b/config.guess +index aa04f04bd..b6f948fdc 100755 +--- a/config.guess ++++ b/config.guess +@@ -979,6 +979,9 @@ EOF + ppc:Linux:*:*) + echo powerpc-unknown-linux-gnu + exit ;; ++ riscv32:Linux:*:* | riscv32be:Linux:*:* | riscv64:Linux:*:* | riscv64be:Linux:*:*) ++ echo ${UNAME_MACHINE}-unknown-linux-gnu ++ exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo ${UNAME_MACHINE}-ibm-linux + exit ;; +diff --git a/config.sub b/config.sub +index a92e84680..3117281cb 100755 +--- a/config.sub ++++ b/config.sub +@@ -304,6 +304,7 @@ case $basic_machine in + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle \ + | pyramid \ ++ | riscv | riscv32 | riscv32be | riscv64 | riscv64be \ + | rl78 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ +@@ -419,6 +420,7 @@ case $basic_machine in + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ + | pyramid-* \ ++ | riscv-* | riscv32-* | riscv32be-* | riscv64-* | riscv64be-* \ + | rl78-* | romp-* | rs6000-* | rx-* \ + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ +diff --git a/third_party/webrtc/src/webrtc/typedefs.h b/third_party/webrtc/src/webrtc/typedefs.h +index 3034c7e74..d8d9813fe 100644 +--- a/third_party/webrtc/src/webrtc/typedefs.h ++++ b/third_party/webrtc/src/webrtc/typedefs.h +@@ -47,6 +47,13 @@ + #elif defined(__pnacl__) + #define WEBRTC_ARCH_32_BITS + #define WEBRTC_ARCH_LITTLE_ENDIAN ++#elif defined(__riscv) || defined(__riscv__) ++#define WEBRTC_ARCH_LITTLE_ENDIAN ++#if __riscv_xlen == 64 ++#define WEBRTC_ARCH_64_BITS ++#else ++#define WEBRTC_ARCH_32_BITS ++#endif + #else + #error Please add support for your architecture in typedefs.h + #endif +-- +2.50.1 + diff --git a/pkgs/development/python-modules/sipsimple/pjsip-0003-LoongArch64.patch b/pkgs/development/python-modules/sipsimple/pjsip-0003-LoongArch64.patch new file mode 100644 index 000000000000..8d8c2ca50f43 --- /dev/null +++ b/pkgs/development/python-modules/sipsimple/pjsip-0003-LoongArch64.patch @@ -0,0 +1,56 @@ +From 837d5d183588bfd42fc581a415714972f758b83d Mon Sep 17 00:00:00 2001 +From: xiaoxiaoafeifei +Date: Tue, 12 Aug 2025 16:11:35 +0200 +Subject: [PATCH 3/3] Add support for the LoongArch64 architecture (#4386) + +--- + aconfigure | 3 +++ + aconfigure.ac | 3 +++ + third_party/webrtc/src/webrtc/typedefs.h | 3 +++ + 3 files changed, 9 insertions(+) + +diff --git a/aconfigure b/aconfigure +index 09cd7b901..d551e6338 100755 +--- a/aconfigure ++++ b/aconfigure +@@ -9114,6 +9114,9 @@ $as_echo "Checking if libwebrtc is disabled...no" >&6; } + ac_webrtc_instset=neon + ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64" + ;; ++ loongarch*) ++ ac_webrtc_instset=generic ++ ;; + riscv*) + ac_webrtc_instset=generic + ;; +diff --git a/aconfigure.ac b/aconfigure.ac +index 81be8ed7b..cb4552ab5 100644 +--- a/aconfigure.ac ++++ b/aconfigure.ac +@@ -2154,6 +2154,9 @@ AC_ARG_ENABLE(libwebrtc, + ac_webrtc_instset=generic + fi + ;; ++ loongarch*) ++ ac_webrtc_instset=generic ++ ;; + riscv*) + ac_webrtc_instset=generic + ;; +diff --git a/third_party/webrtc/src/webrtc/typedefs.h b/third_party/webrtc/src/webrtc/typedefs.h +index d8d9813fe..2493f77cd 100644 +--- a/third_party/webrtc/src/webrtc/typedefs.h ++++ b/third_party/webrtc/src/webrtc/typedefs.h +@@ -54,6 +54,9 @@ + #else + #define WEBRTC_ARCH_32_BITS + #endif ++#elif defined(__loongarch64) || defined(__loongarch64__) ++#define WEBRTC_ARCH_LITTLE_ENDIAN ++#define WEBRTC_ARCH_64_BITS + #else + #error Please add support for your architecture in typedefs.h + #endif +-- +2.50.1 + diff --git a/pkgs/development/python-modules/stringzilla/default.nix b/pkgs/development/python-modules/stringzilla/default.nix index dd281a1d85f2..f7195d63ae23 100644 --- a/pkgs/development/python-modules/stringzilla/default.nix +++ b/pkgs/development/python-modules/stringzilla/default.nix @@ -11,14 +11,14 @@ buildPythonPackage rec { pname = "stringzilla"; - version = "3.12.5"; + version = "3.12.6"; pyproject = true; src = fetchFromGitHub { owner = "ashvardanian"; repo = "stringzilla"; tag = "v${version}"; - hash = "sha256-Hp66R4+gic0WstRVnutMBx8g+DMzLEnxPzt3sgvWGG4="; + hash = "sha256-4Ze6yVNd2NX0E6vAJuiLZTIgicF7mSlGO8wKOF1jYds="; }; postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' diff --git a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix index 548ad3d9d1c8..c093af2656fe 100644 --- a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix +++ b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "tencentcloud-sdk-python"; - version = "3.0.1441"; + version = "3.0.1443"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "TencentCloud"; repo = "tencentcloud-sdk-python"; tag = version; - hash = "sha256-c0F2Rtji70JM5IQsaGja69ZbZQyKPQlzJLfv3lft28U="; + hash = "sha256-2M5lLjKd60xiSoxoJ9W34DkwCDKrSTbuif7ZP3NxjRI="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/tiered-debug/default.nix b/pkgs/development/python-modules/tiered-debug/default.nix new file mode 100644 index 000000000000..5a3bef576477 --- /dev/null +++ b/pkgs/development/python-modules/tiered-debug/default.nix @@ -0,0 +1,44 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + hatchling, + pytestCheckHook, + pytest-cov-stub, +}: + +buildPythonPackage rec { + pname = "tiered-debug"; + version = "1.3.0"; + pyproject = true; + + src = fetchFromGitHub { + owner = "untergeek"; + repo = "tiered-debug"; + tag = "v${version}"; + hash = "sha256-2mThiuJUX+N5qIOXpdFOuIa+kBGYzbZzCeaAfEz3Iy0="; + }; + + build-system = [ hatchling ]; + + nativeCheckInputs = [ + pytest-cov-stub + pytestCheckHook + ]; + + pythonImportsCheck = [ "tiered_debug" ]; + + disabledTests = [ + # AssertionError + "test_add_handler" + "test_log_with_default_stacklevel" + ]; + + meta = { + description = "Python logging helper module that allows for multiple tiers of debug logging"; + homepage = "https://github.com/untergeek/tiered-debug"; + changelog = "https://github.com/untergeek/tiered-debug/releases/tag/${src.tag}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ fab ]; + }; +} diff --git a/pkgs/development/python-modules/torchio/default.nix b/pkgs/development/python-modules/torchio/default.nix index fe99a4035539..a5c3ad52f795 100644 --- a/pkgs/development/python-modules/torchio/default.nix +++ b/pkgs/development/python-modules/torchio/default.nix @@ -5,7 +5,7 @@ fetchFromGitHub, # build-system - hatchling, + uv-build, # dependencies deprecated, @@ -29,18 +29,18 @@ buildPythonPackage rec { pname = "torchio"; - version = "0.20.17"; + version = "0.20.21"; pyproject = true; src = fetchFromGitHub { owner = "TorchIO-project"; repo = "torchio"; tag = "v${version}"; - hash = "sha256-kZCbQGIkWmlXl25UviPrSDo0swCjWnvTTkBnxGI0Y7U="; + hash = "sha256-l2KQLZDxsP8Bjk/vPG2YbU+8Z6/lOvNvy9NYKTdW+cY="; }; build-system = [ - hatchling + uv-build ]; dependencies = [ @@ -80,7 +80,7 @@ buildPythonPackage rec { meta = { description = "Medical imaging toolkit for deep learning"; - homepage = "https://torchio.readthedocs.io"; + homepage = "https://docs.torchio.org"; changelog = "https://github.com/TorchIO-project/torchio/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.bcdarwin ]; diff --git a/pkgs/development/python-modules/trimesh/default.nix b/pkgs/development/python-modules/trimesh/default.nix index 3638f932d9f3..09e39f46b6bd 100644 --- a/pkgs/development/python-modules/trimesh/default.nix +++ b/pkgs/development/python-modules/trimesh/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { pname = "trimesh"; - version = "4.7.1"; + version = "4.7.3"; pyproject = true; disabled = pythonOlder "3.8"; @@ -38,7 +38,7 @@ buildPythonPackage rec { owner = "mikedh"; repo = "trimesh"; tag = version; - hash = "sha256-8g7pxAqEM3KTVxCfQSTPuadScoBLdw0xAony6H0EjJ8="; + hash = "sha256-LpUMPdQcNa7lU+nP0+7NPTHZJxS24PESHBpPy6h+Nko="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/types-greenlet/default.nix b/pkgs/development/python-modules/types-greenlet/default.nix index 78270a571c94..3094ea048821 100644 --- a/pkgs/development/python-modules/types-greenlet/default.nix +++ b/pkgs/development/python-modules/types-greenlet/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "types-greenlet"; - version = "3.2.0.20250417"; + version = "3.2.0.20250809"; pyproject = true; src = fetchPypi { pname = "types_greenlet"; inherit version; - hash = "sha256-6wBq/PKB7FdWp1wf1KbIp75dDMCbLoLEhWx2R2DPoOM="; + hash = "sha256-1yYUckmNnzPzfXBrwiHy0k13uVYDiM8UzvFYiOLj8kk="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/types-pytz/default.nix b/pkgs/development/python-modules/types-pytz/default.nix index 35d6c4e1d2f5..0c5d3899ac7d 100644 --- a/pkgs/development/python-modules/types-pytz/default.nix +++ b/pkgs/development/python-modules/types-pytz/default.nix @@ -7,13 +7,13 @@ buildPythonPackage rec { pname = "types-pytz"; - version = "2025.2.0.20250516"; + version = "2025.2.0.20250809"; pyproject = true; src = fetchPypi { pname = "types_pytz"; inherit version; - hash = "sha256-4SFjBvjA1dptr9ZJLnLrCAyaFmFx+oDdehmQ/Yvnp7M="; + hash = "sha256-Ii4y5qKbsohx+INOh4XjgB8txEQccVzSCCsnHuy+IeU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/ufomerge/default.nix b/pkgs/development/python-modules/ufomerge/default.nix index 6a21dd55e3ea..c1b2b2df2876 100644 --- a/pkgs/development/python-modules/ufomerge/default.nix +++ b/pkgs/development/python-modules/ufomerge/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "ufomerge"; - version = "1.9.5"; + version = "1.9.6"; pyproject = true; src = fetchFromGitHub { owner = "googlefonts"; repo = "ufomerge"; tag = "v${version}"; - hash = "sha256-djrgyPKuaBjVAs99NhthZBGV1d3ZQTtYrW2xpxlfwrM="; + hash = "sha256-5nTxcZeBClui7ceeq6sIOaoK8x0L6sBWqmhXr0On4Eg="; }; build-system = [ diff --git a/pkgs/development/python-modules/valkey/default.nix b/pkgs/development/python-modules/valkey/default.nix index 820f33f5385a..6c17fcf919a6 100644 --- a/pkgs/development/python-modules/valkey/default.nix +++ b/pkgs/development/python-modules/valkey/default.nix @@ -30,14 +30,14 @@ buildPythonPackage rec { pname = "valkey"; - version = "6.1.0"; + version = "6.1.1"; pyproject = true; src = fetchFromGitHub { owner = "valkey-io"; repo = "valkey-py"; tag = "v${version}"; - hash = "sha256-TaAkifgasirA72OSO+up0+1EUhCENKba7vPIJxhTkh8="; + hash = "sha256-woJYfgLNIVzTYj9q8IjXo+SXhQZkQdB/Ofv5StGy9Rc="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/zha-quirks/default.nix b/pkgs/development/python-modules/zha-quirks/default.nix index e33195d711b2..569fae6d9765 100644 --- a/pkgs/development/python-modules/zha-quirks/default.nix +++ b/pkgs/development/python-modules/zha-quirks/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { pname = "zha-quirks"; - version = "0.0.142"; + version = "0.0.143"; pyproject = true; disabled = pythonOlder "3.12"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zha-device-handlers"; tag = version; - hash = "sha256-D1FIkyVSa4j6p4PHkjCAU08zpZjjXPGWoL5lKlWUHuU="; + hash = "sha256-txU1KJzQitSR7Y+/18dLo82K0SkPrJ4iQRBX9C4hgGU="; }; postPatch = '' diff --git a/pkgs/development/python-modules/zha/default.nix b/pkgs/development/python-modules/zha/default.nix index 4ce4ac77d040..430a01e452e0 100644 --- a/pkgs/development/python-modules/zha/default.nix +++ b/pkgs/development/python-modules/zha/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { pname = "zha"; - version = "0.0.66"; + version = "0.0.68"; pyproject = true; disabled = pythonOlder "3.12"; @@ -36,7 +36,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zha"; tag = version; - hash = "sha256-74rJ2bdscbGkaLuHMQr8sNxL1wNN72UrlpH4zIkSprY="; + hash = "sha256-NgUUzNfC1XngU5RBfbKpt/o8hu7XRXOUaDUb7OjSJJc="; }; postPatch = '' diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix index b8ad14bda344..4769ff0013db 100644 --- a/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/default.nix @@ -96,6 +96,7 @@ tree-sitter-scheme = lib.importJSON ./tree-sitter-scheme.json; tree-sitter-scss = lib.importJSON ./tree-sitter-scss.json; tree-sitter-smithy = lib.importJSON ./tree-sitter-smithy.json; + tree-sitter-sml = lib.importJSON ./tree-sitter-sml.json; tree-sitter-solidity = lib.importJSON ./tree-sitter-solidity.json; tree-sitter-sparql = lib.importJSON ./tree-sitter-sparql.json; tree-sitter-sql = lib.importJSON ./tree-sitter-sql.json; diff --git a/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-sml.json b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-sml.json new file mode 100644 index 000000000000..84ff9fad58c7 --- /dev/null +++ b/pkgs/development/tools/parsing/tree-sitter/grammars/tree-sitter-sml.json @@ -0,0 +1,14 @@ +{ + "url": "https://github.com/MatthewFluet/tree-sitter-sml", + "rev": "105585ae935d8662ab61ce2f5479c35d2b1e456e", + "date": "2024-08-27T08:47:35-04:00", + "path": "/nix/store/ry1dy2gixn8b77xrgslvmk9vkgicylrq-tree-sitter-sml", + "sha256": "1lfjihsmkb93h6naimppwddh203p4bkv9jj4wy8zr6hjawf35aw6", + "hash": "sha256-hqsyHFcSmvyR50TKtOcidwABW+P31qisgSOtWTWM0tE=", + "fetchLFS": false, + "fetchSubmodules": false, + "deepClone": false, + "fetchTags": false, + "leaveDotGit": false, + "rootDir": "" +} diff --git a/pkgs/development/tools/parsing/tree-sitter/update.nix b/pkgs/development/tools/parsing/tree-sitter/update.nix index ed448c56fb86..e2d3192611cb 100644 --- a/pkgs/development/tools/parsing/tree-sitter/update.nix +++ b/pkgs/development/tools/parsing/tree-sitter/update.nix @@ -183,6 +183,10 @@ let orga = "stsewd"; repo = "tree-sitter-rst"; }; + "tree-sitter-sml" = { + orga = "MatthewFluet"; + repo = "tree-sitter-sml"; + }; "tree-sitter-svelte" = { orga = "Himujjal"; repo = "tree-sitter-svelte"; diff --git a/pkgs/development/tools/rust/rustup-toolchain-install-master/Cargo.lock b/pkgs/development/tools/rust/rustup-toolchain-install-master/Cargo.lock deleted file mode 100644 index 4c358be9de93..000000000000 --- a/pkgs/development/tools/rust/rustup-toolchain-install-master/Cargo.lock +++ /dev/null @@ -1,1669 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "addr2line" -version = "0.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" - -[[package]] -name = "ansi_term" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "async-compression" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942c7cd7ae39e91bde4820d74132e9862e62c2f386c3aa90ccf55949f5bad63a" -dependencies = [ - "bytes 0.5.6", - "flate2", - "futures-core", - "memchr", - "pin-project-lite 0.2.9", -] - -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi 0.1.19", - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "autocfg" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" - -[[package]] -name = "backtrace" -version = "0.3.67" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" -dependencies = [ - "addr2line", - "cc", - "cfg-if 1.0.0", - "libc", - "miniz_oxide 0.6.2", - "object", - "rustc-demangle", -] - -[[package]] -name = "base64" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" - -[[package]] -name = "bitflags" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" - -[[package]] -name = "bumpalo" -version = "3.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c6ed94e98ecff0c12dd1b04c15ec0d7d9458ca8fe806cea6f12954efe74c63b" - -[[package]] -name = "bytes" -version = "0.5.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" - -[[package]] -name = "bytes" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" - -[[package]] -name = "cc" -version = "1.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" - -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "clap" -version = "2.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c" -dependencies = [ - "ansi_term", - "atty", - "bitflags", - "strsim", - "textwrap", - "unicode-width", - "vec_map", -] - -[[package]] -name = "core-foundation" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "core-foundation-sys" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" - -[[package]] -name = "crc32fast" -version = "1.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "crossbeam-channel" -version = "0.5.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" -dependencies = [ - "cfg-if 1.0.0", - "crossbeam-utils", -] - -[[package]] -name = "crossbeam-utils" -version = "0.8.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "encoding_rs" -version = "0.8.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "errno" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" -dependencies = [ - "cc", - "libc", -] - -[[package]] -name = "failure" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86" -dependencies = [ - "backtrace", - "failure_derive", -] - -[[package]] -name = "failure_derive" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "synstructure", -] - -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - -[[package]] -name = "filetime" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cbc844cecaee9d4443931972e1289c8ff485cb4cc2767cb03ca139ed6885153" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "redox_syscall 0.2.16", - "windows-sys 0.48.0", -] - -[[package]] -name = "flate2" -version = "1.0.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743" -dependencies = [ - "crc32fast", - "miniz_oxide 0.7.1", -] - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" - -[[package]] -name = "foreign-types" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" -dependencies = [ - "foreign-types-shared", -] - -[[package]] -name = "foreign-types-shared" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" - -[[package]] -name = "form_urlencoded" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "fuchsia-zircon" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" -dependencies = [ - "bitflags", - "fuchsia-zircon-sys", -] - -[[package]] -name = "fuchsia-zircon-sys" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" - -[[package]] -name = "futures-channel" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" -dependencies = [ - "futures-core", -] - -[[package]] -name = "futures-core" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" - -[[package]] -name = "futures-io" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" - -[[package]] -name = "futures-sink" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e" - -[[package]] -name = "futures-task" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" - -[[package]] -name = "futures-util" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" -dependencies = [ - "futures-core", - "futures-io", - "futures-task", - "memchr", - "pin-project-lite 0.2.9", - "pin-utils", - "slab", -] - -[[package]] -name = "gimli" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0a93d233ebf96623465aad4046a8d3aa4da22d4f4beba5388838c8a434bbb4" - -[[package]] -name = "h2" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e4728fd124914ad25e99e3d15a9361a879f6620f63cb56bbb08f95abb97a535" -dependencies = [ - "bytes 0.5.6", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", - "tracing-futures", -] - -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - -[[package]] -name = "heck" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" -dependencies = [ - "libc", -] - -[[package]] -name = "hermit-abi" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286" - -[[package]] -name = "home" -version = "0.5.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" -dependencies = [ - "windows-sys 0.48.0", -] - -[[package]] -name = "http" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" -dependencies = [ - "bytes 1.4.0", - "fnv", - "itoa 1.0.6", -] - -[[package]] -name = "http-body" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" -dependencies = [ - "bytes 0.5.6", - "http", -] - -[[package]] -name = "httparse" -version = "1.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" - -[[package]] -name = "httpdate" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "494b4d60369511e7dea41cf646832512a94e542f68bb9c49e54518e0f468eb47" - -[[package]] -name = "hyper" -version = "0.13.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a6f157065790a3ed2f88679250419b5cdd96e714a0d65f7797fd337186e96bb" -dependencies = [ - "bytes 0.5.6", - "futures-channel", - "futures-core", - "futures-util", - "h2", - "http", - "http-body", - "httparse", - "httpdate", - "itoa 0.4.8", - "pin-project", - "socket2", - "tokio", - "tower-service", - "tracing", - "want", -] - -[[package]] -name = "hyper-tls" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d979acc56dcb5b8dddba3917601745e877576475aa046df3226eabdecef78eed" -dependencies = [ - "bytes 0.5.6", - "hyper", - "native-tls", - "tokio", - "tokio-tls", -] - -[[package]] -name = "idna" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - -[[package]] -name = "indexmap" -version = "1.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" -dependencies = [ - "autocfg", - "hashbrown", -] - -[[package]] -name = "instant" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "io-lifetimes" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c66c74d2ae7e79a5a8f7ac924adbe38ee42a859c6539ad869eb51f0b52dc220" -dependencies = [ - "hermit-abi 0.3.1", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "iovec" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e" -dependencies = [ - "libc", -] - -[[package]] -name = "ipnet" -version = "2.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f" - -[[package]] -name = "itoa" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" - -[[package]] -name = "itoa" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6" - -[[package]] -name = "js-sys" -version = "0.3.62" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68c16e1bfd491478ab155fd8b4896b86f9ede344949b641e61501e07c2b8b4d5" -dependencies = [ - "wasm-bindgen", -] - -[[package]] -name = "kernel32-sys" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" -dependencies = [ - "winapi 0.2.8", - "winapi-build", -] - -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - -[[package]] -name = "libc" -version = "0.2.144" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1" - -[[package]] -name = "linux-raw-sys" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece97ea872ece730aed82664c424eb4c8291e1ff2480247ccf7409044bc6479f" - -[[package]] -name = "log" -version = "0.4.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if 1.0.0", -] - -[[package]] -name = "lzma-sys" -version = "0.1.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - -[[package]] -name = "mime_guess" -version = "2.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" -dependencies = [ - "mime", - "unicase", -] - -[[package]] -name = "miniz_oxide" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" -dependencies = [ - "adler", -] - -[[package]] -name = "miniz_oxide" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" -dependencies = [ - "adler", -] - -[[package]] -name = "mio" -version = "0.6.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4afd66f5b91bf2a3bc13fad0e21caedac168ca4c707504e75585648ae80e4cc4" -dependencies = [ - "cfg-if 0.1.10", - "fuchsia-zircon", - "fuchsia-zircon-sys", - "iovec", - "kernel32-sys", - "libc", - "log", - "miow", - "net2", - "slab", - "winapi 0.2.8", -] - -[[package]] -name = "miow" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebd808424166322d4a38da87083bfddd3ac4c131334ed55856112eb06d46944d" -dependencies = [ - "kernel32-sys", - "net2", - "winapi 0.2.8", - "ws2_32-sys", -] - -[[package]] -name = "native-tls" -version = "0.2.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" -dependencies = [ - "lazy_static", - "libc", - "log", - "openssl", - "openssl-probe", - "openssl-sys", - "schannel", - "security-framework", - "security-framework-sys", - "tempfile", -] - -[[package]] -name = "net2" -version = "0.2.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d0df99cfcd2530b2e694f6e17e7f37b8e26bb23983ac530c0c97408837c631" -dependencies = [ - "cfg-if 0.1.10", - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "num_cpus" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" -dependencies = [ - "hermit-abi 0.2.6", - "libc", -] - -[[package]] -name = "object" -version = "0.30.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea86265d3d3dcb6a27fc51bd29a4bf387fae9d2986b823079d4986af253eb439" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.17.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" - -[[package]] -name = "openssl" -version = "0.10.52" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b8574602df80f7b85fdfc5392fa884a4e3b3f4f35402c070ab34c3d3f78d56" -dependencies = [ - "bitflags", - "cfg-if 1.0.0", - "foreign-types", - "libc", - "once_cell", - "openssl-macros", - "openssl-sys", -] - -[[package]] -name = "openssl-macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.15", -] - -[[package]] -name = "openssl-probe" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" - -[[package]] -name = "openssl-sys" -version = "0.9.87" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e17f59264b2809d77ae94f0e1ebabc434773f370d6ca667bd223ea10e06cc7e" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "pbr" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed5827dfa0d69b6c92493d6c38e633bbaa5937c153d0d7c28bf12313f8c6d514" -dependencies = [ - "crossbeam-channel", - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "percent-encoding" -version = "2.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e" - -[[package]] -name = "pin-project" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "pin-project-lite" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" - -[[package]] -name = "pin-project-lite" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" - -[[package]] -name = "pin-utils" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" - -[[package]] -name = "pkg-config" -version = "0.3.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" - -[[package]] -name = "proc-macro-error" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" -dependencies = [ - "proc-macro-error-attr", - "proc-macro2", - "quote", - "syn 1.0.109", - "version_check", -] - -[[package]] -name = "proc-macro-error-attr" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" -dependencies = [ - "proc-macro2", - "quote", - "version_check", -] - -[[package]] -name = "proc-macro2" -version = "1.0.56" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags", -] - -[[package]] -name = "redox_syscall" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" -dependencies = [ - "bitflags", -] - -[[package]] -name = "remove_dir_all" -version = "0.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "reqwest" -version = "0.10.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0718f81a8e14c4dbb3b34cf23dc6aaf9ab8a0dfec160c534b3dbca1aaa21f47c" -dependencies = [ - "async-compression", - "base64", - "bytes 0.5.6", - "encoding_rs", - "futures-core", - "futures-util", - "http", - "http-body", - "hyper", - "hyper-tls", - "ipnet", - "js-sys", - "lazy_static", - "log", - "mime", - "mime_guess", - "native-tls", - "percent-encoding", - "pin-project-lite 0.2.9", - "serde", - "serde_urlencoded", - "tokio", - "tokio-tls", - "url", - "wasm-bindgen", - "wasm-bindgen-futures", - "web-sys", - "winreg", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" - -[[package]] -name = "rustix" -version = "0.37.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d" -dependencies = [ - "bitflags", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustup-toolchain-install-master" -version = "1.7.3" -dependencies = [ - "ansi_term", - "failure", - "home", - "pbr", - "remove_dir_all", - "reqwest", - "structopt", - "tar", - "tee", - "tempfile", - "xz2", -] - -[[package]] -name = "ryu" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041" - -[[package]] -name = "schannel" -version = "0.1.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3" -dependencies = [ - "windows-sys 0.42.0", -] - -[[package]] -name = "security-framework" -version = "2.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2855b3715770894e67cbfa3df957790aa0c9edc3bf06efa1a84d77fa0839d1" -dependencies = [ - "bitflags", - "core-foundation", - "core-foundation-sys", - "libc", - "security-framework-sys", -] - -[[package]] -name = "security-framework-sys" -version = "2.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f51d0c0d83bec45f16480d0ce0058397a69e48fcdc52d1dc8855fb68acbd31a7" -dependencies = [ - "core-foundation-sys", - "libc", -] - -[[package]] -name = "serde" -version = "1.0.163" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2" - -[[package]] -name = "serde_json" -version = "1.0.96" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1" -dependencies = [ - "itoa 1.0.6", - "ryu", - "serde", -] - -[[package]] -name = "serde_urlencoded" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" -dependencies = [ - "form_urlencoded", - "itoa 1.0.6", - "ryu", - "serde", -] - -[[package]] -name = "slab" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" -dependencies = [ - "autocfg", -] - -[[package]] -name = "socket2" -version = "0.3.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "122e570113d28d773067fab24266b66753f6ea915758651696b6e35e49f88d6e" -dependencies = [ - "cfg-if 1.0.0", - "libc", - "winapi 0.3.9", -] - -[[package]] -name = "strsim" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" - -[[package]] -name = "structopt" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10" -dependencies = [ - "clap", - "lazy_static", - "structopt-derive", -] - -[[package]] -name = "structopt-derive" -version = "0.4.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0" -dependencies = [ - "heck", - "proc-macro-error", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "syn" -version = "2.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "synstructure" -version = "0.12.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", - "unicode-xid", -] - -[[package]] -name = "tar" -version = "0.4.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b55807c0344e1e6c04d7c965f5289c39a8d94ae23ed5c0b57aabac549f871c6" -dependencies = [ - "filetime", - "libc", - "xattr", -] - -[[package]] -name = "tee" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37c12559dba7383625faaff75be24becf35bfc885044375bcab931111799a3da" - -[[package]] -name = "tempfile" -version = "3.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998" -dependencies = [ - "cfg-if 1.0.0", - "fastrand", - "redox_syscall 0.3.5", - "rustix", - "windows-sys 0.45.0", -] - -[[package]] -name = "textwrap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" -dependencies = [ - "unicode-width", -] - -[[package]] -name = "tinyvec" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6703a273949a90131b290be1fe7b039d0fc884aa1935860dfcbe056f28cd8092" -dependencies = [ - "bytes 0.5.6", - "fnv", - "futures-core", - "iovec", - "lazy_static", - "memchr", - "mio", - "num_cpus", - "pin-project-lite 0.1.12", - "slab", -] - -[[package]] -name = "tokio-tls" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a70f4fcd7b3b24fb194f837560168208f669ca8cb70d0c4b862944452396343" -dependencies = [ - "native-tls", - "tokio", -] - -[[package]] -name = "tokio-util" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8242891f2b6cbef26a2d7e8605133c2c554cd35b3e4948ea892d6d68436499" -dependencies = [ - "bytes 0.5.6", - "futures-core", - "futures-sink", - "log", - "pin-project-lite 0.1.12", - "tokio", -] - -[[package]] -name = "tower-service" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" - -[[package]] -name = "tracing" -version = "0.1.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" -dependencies = [ - "cfg-if 1.0.0", - "log", - "pin-project-lite 0.2.9", - "tracing-core", -] - -[[package]] -name = "tracing-core" -version = "0.1.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" -dependencies = [ - "once_cell", -] - -[[package]] -name = "tracing-futures" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" -dependencies = [ - "pin-project", - "tracing", -] - -[[package]] -name = "try-lock" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" - -[[package]] -name = "unicase" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-bidi" -version = "0.3.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" - -[[package]] -name = "unicode-ident" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4" - -[[package]] -name = "unicode-normalization" -version = "0.1.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-segmentation" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - -[[package]] -name = "unicode-xid" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" - -[[package]] -name = "url" -version = "2.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", -] - -[[package]] -name = "vcpkg" -version = "0.2.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" - -[[package]] -name = "vec_map" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191" - -[[package]] -name = "version_check" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" - -[[package]] -name = "want" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ce8a968cb1cd110d136ff8b819a556d6fb6d919363c61534f6860c7eb172ba0" -dependencies = [ - "log", - "try-lock", -] - -[[package]] -name = "wasm-bindgen" -version = "0.2.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b6cb788c4e39112fbe1822277ef6fb3c55cd86b95cb3d3c4c1c9597e4ac74b4" -dependencies = [ - "cfg-if 1.0.0", - "serde", - "serde_json", - "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e522ed4105a9d626d885b35d62501b30d9666283a5c8be12c14a8bdafe7822" -dependencies = [ - "bumpalo", - "log", - "once_cell", - "proc-macro2", - "quote", - "syn 2.0.15", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-futures" -version = "0.4.35" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "083abe15c5d88556b77bdf7aef403625be9e327ad37c62c4e4129af740168163" -dependencies = [ - "cfg-if 1.0.0", - "js-sys", - "wasm-bindgen", - "web-sys", -] - -[[package]] -name = "wasm-bindgen-macro" -version = "0.2.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "358a79a0cb89d21db8120cbfb91392335913e4890665b1a7981d9e956903b434" -dependencies = [ - "quote", - "wasm-bindgen-macro-support", -] - -[[package]] -name = "wasm-bindgen-macro-support" -version = "0.2.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4783ce29f09b9d93134d41297aded3a712b7b979e9c6f28c32cb88c973a94869" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.15", - "wasm-bindgen-backend", - "wasm-bindgen-shared", -] - -[[package]] -name = "wasm-bindgen-shared" -version = "0.2.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a901d592cafaa4d711bc324edfaff879ac700b19c3dfd60058d2b445be2691eb" - -[[package]] -name = "web-sys" -version = "0.3.62" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b5f940c7edfdc6d12126d98c9ef4d1b3d470011c47c76a6581df47ad9ba721" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "winapi" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-build" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" -dependencies = [ - "windows-targets 0.42.2", -] - -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.0", -] - -[[package]] -name = "windows-targets" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - -[[package]] -name = "windows-targets" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" -dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" - -[[package]] -name = "windows_i686_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" - -[[package]] -name = "windows_i686_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" - -[[package]] -name = "windows_i686_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" - -[[package]] -name = "windows_i686_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.42.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" - -[[package]] -name = "winreg" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0120db82e8a1e0b9fb3345a539c478767c0048d842860994d96113d5b667bd69" -dependencies = [ - "winapi 0.3.9", -] - -[[package]] -name = "ws2_32-sys" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" -dependencies = [ - "winapi 0.2.8", - "winapi-build", -] - -[[package]] -name = "xattr" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d1526bbe5aaeb5eb06885f4d987bcdfa5e23187055de9b83fe00156a821fabc" -dependencies = [ - "libc", -] - -[[package]] -name = "xz2" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2" -dependencies = [ - "lzma-sys", -] diff --git a/pkgs/development/tools/rust/rustup-toolchain-install-master/default.nix b/pkgs/development/tools/rust/rustup-toolchain-install-master/default.nix index aace64a71a35..9833ff32142c 100644 --- a/pkgs/development/tools/rust/rustup-toolchain-install-master/default.nix +++ b/pkgs/development/tools/rust/rustup-toolchain-install-master/default.nix @@ -2,48 +2,38 @@ lib, rustPlatform, fetchFromGitHub, - runCommand, stdenv, patchelf, zlib, pkg-config, openssl, xz, + replaceVars, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "rustup-toolchain-install-master"; - version = "1.7.3"; + version = "1.9.0"; src = fetchFromGitHub { owner = "kennytm"; - repo = pname; - rev = "v${version}"; - hash = "sha256-J25ER/g8Kylw/oTIEl4Gl8i1xmhR+4JM5M5EHpl1ras="; + repo = "rustup-toolchain-install-master"; + tag = "v${finalAttrs.version}"; + hash = "sha256-0ayc4rzlZ9sLKzRhVr1fpRD7bmwQL69rkQ2jXBAdUPI="; }; - cargoLock = { - lockFile = ./Cargo.lock; - }; + cargoHash = "sha256-VxrtkZbi9BprQOQFxOIAYEoAtg0kqyL3C4ih/5RobZI="; - patches = - let - patchelfPatch = - runCommand "0001-dynamically-patchelf-binaries.patch" - { - CC = stdenv.cc; - patchelf = patchelf; - libPath = "$ORIGIN/../lib:${lib.makeLibraryPath [ zlib ]}"; - } - '' - export dynamicLinker=$(cat $CC/nix-support/dynamic-linker) - substitute ${./0001-dynamically-patchelf-binaries.patch} $out \ - --subst-var patchelf \ - --subst-var dynamicLinker \ - --subst-var libPath - ''; - in - lib.optionals stdenv.hostPlatform.isLinux [ patchelfPatch ]; + patches = lib.optional stdenv.hostPlatform.isLinux ( + replaceVars ./0001-dynamically-patchelf-binaries.patch { + inherit patchelf; + dynamicLinker = "${stdenv.cc.libc}/lib/ld-linux-x86-64.so.2"; + libPath = lib.makeLibraryPath [ + zlib + (placeholder "out" + "/lib") + ]; + } + ); nativeBuildInputs = [ pkg-config ]; buildInputs = [ @@ -51,11 +41,6 @@ rustPlatform.buildRustPackage rec { xz ]; - # update Cargo.lock to work with openssl 3 - postPatch = '' - ln -sf ${./Cargo.lock} Cargo.lock - ''; - meta = with lib; { description = "Install a rustc master toolchain usable from rustup"; mainProgram = "rustup-toolchain-install-master"; @@ -63,4 +48,4 @@ rustPlatform.buildRustPackage rec { license = licenses.mit; maintainers = [ ]; }; -} +}) diff --git a/pkgs/games/path-of-building/default.nix b/pkgs/games/path-of-building/default.nix index 15d8672ca72c..ad44114be3a7 100644 --- a/pkgs/games/path-of-building/default.nix +++ b/pkgs/games/path-of-building/default.nix @@ -17,13 +17,13 @@ let data = stdenv.mkDerivation (finalAttrs: { pname = "path-of-building-data"; - version = "2.55.5"; + version = "2.56.0"; src = fetchFromGitHub { owner = "PathOfBuildingCommunity"; repo = "PathOfBuilding"; rev = "v${finalAttrs.version}"; - hash = "sha256-0FgLVQZBv366ACw8zXt72fARdQqFZf4l4lfvt85KpSs="; + hash = "sha256-vzTMkrZgXtsCtEyxaDkea/MRj8tZDzDV3JAc440xrM8="; }; nativeBuildInputs = [ unzip ]; diff --git a/pkgs/kde/gear/kdenlive/default.nix b/pkgs/kde/gear/kdenlive/default.nix index eaddc66b65f2..442387782d45 100644 --- a/pkgs/kde/gear/kdenlive/default.nix +++ b/pkgs/kde/gear/kdenlive/default.nix @@ -12,7 +12,7 @@ qtnetworkauth, qqc2-desktop-style, libv4l, - open-timeline-io, + opentimelineio, frei0r, }: mkKdeDerivation { @@ -44,7 +44,7 @@ mkKdeDerivation { ffmpeg-full libv4l mlt - open-timeline-io + opentimelineio ]; qtWrapperArgs = [ diff --git a/pkgs/os-specific/linux/kernel/update-xanmod.sh b/pkgs/os-specific/linux/kernel/update-xanmod.sh index fd786872fd3c..2e1d9724db2d 100755 --- a/pkgs/os-specific/linux/kernel/update-xanmod.sh +++ b/pkgs/os-specific/linux/kernel/update-xanmod.sh @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i bash -p bash nix-prefetch curl jq gawk gnused nixfmt-rfc-style +#!nix-shell -i bash -p bash nix-prefetch curl jq gawk gnused nixfmt set -euo pipefail diff --git a/pkgs/os-specific/linux/rtl8821ce/default.nix b/pkgs/os-specific/linux/rtl8821ce/default.nix index c4b88cefaea6..77414c1a71ce 100644 --- a/pkgs/os-specific/linux/rtl8821ce/default.nix +++ b/pkgs/os-specific/linux/rtl8821ce/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation (finalAttrs: { maintainers = with lib.maintainers; [ defelo ]; broken = stdenv.hostPlatform.isAarch64 - || ((lib.versions.majorMinor kernel.version) == "5.4" && kernel.isHardened); + || ((lib.versions.majorMinor kernel.version) == "5.4" && kernel.isHardened) + || kernel.kernelAtLeast "6.16"; }; }) diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index b1597807ce94..1853fd4cfbcf 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -2,7 +2,7 @@ # Do not edit! { - version = "2025.8.0"; + version = "2025.8.1"; components = { "3_day_blinds" = ps: with ps; [ @@ -3932,7 +3932,8 @@ ]; "netio" = ps: with ps; [ - ]; # missing inputs: pynetio + pynetio + ]; "network" = ps: with ps; [ ifaddr diff --git a/pkgs/servers/home-assistant/custom-components/homematicip_local/package.nix b/pkgs/servers/home-assistant/custom-components/homematicip_local/package.nix index 056824f5e659..13f73cd12951 100644 --- a/pkgs/servers/home-assistant/custom-components/homematicip_local/package.nix +++ b/pkgs/servers/home-assistant/custom-components/homematicip_local/package.nix @@ -9,7 +9,7 @@ buildHomeAssistantComponent rec { owner = "SukramJ"; domain = "homematicip_local"; - version = "1.85.1b2"; + version = "1.85.1"; src = fetchFromGitHub { owner = "SukramJ"; diff --git a/pkgs/servers/home-assistant/custom-components/xiaomi_miot/package.nix b/pkgs/servers/home-assistant/custom-components/xiaomi_miot/package.nix index b33334894608..ef1c4afb291d 100644 --- a/pkgs/servers/home-assistant/custom-components/xiaomi_miot/package.nix +++ b/pkgs/servers/home-assistant/custom-components/xiaomi_miot/package.nix @@ -11,13 +11,13 @@ buildHomeAssistantComponent rec { owner = "al-one"; domain = "xiaomi_miot"; - version = "1.0.19"; + version = "1.0.20"; src = fetchFromGitHub { owner = "al-one"; repo = "hass-xiaomi-miot"; rev = "v${version}"; - hash = "sha256-3vaMjY2NsKbw76UxzfAxMdijAeDnagDuM8ICa5Xwgg4="; + hash = "sha256-qn//le4zaS7URP4pWofwsA4FbB20DK7iRRUn8NWzwAI="; }; dependencies = [ diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 94742e065ab4..8f73c3cb9f7a 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -269,6 +269,17 @@ let doCheck = false; }); + python-roborock = super.python-roborock.overridePythonAttrs rec { + version = "2.18.2"; + + src = fetchFromGitHub { + owner = "Python-roborock"; + repo = "python-roborock"; + tag = "v${version}"; + hash = "sha256-7xcw1jNCDapHjH1YVB5NW7jxMyb8Raf8HuTnWf2vdFo="; + }; + }; + python-telegram-bot = super.python-telegram-bot.overridePythonAttrs (oldAttrs: rec { version = "21.5"; @@ -330,7 +341,7 @@ let extraBuildInputs = extraPackages python.pkgs; # Don't forget to run update-component-packages.py after updating - hassVersion = "2025.8.0"; + hassVersion = "2025.8.1"; in python.pkgs.buildPythonApplication rec { @@ -351,13 +362,13 @@ python.pkgs.buildPythonApplication rec { owner = "home-assistant"; repo = "core"; tag = version; - hash = "sha256-o8NZ06GorRmICeu8GQzomkCuE2aALnodT5UuiJ4EOEc="; + hash = "sha256-o1j1ejSMa6T18nNxrmvNcOSWAMbi8b11wgHKO+w5gHA="; }; # Secondary source is pypi sdist for translations sdist = fetchPypi { inherit pname version; - hash = "sha256-U06ttXEWe46h8O2wurYyaCN78EdSCvOs10VbnyOQdsM="; + hash = "sha256-6LyI3t/+wKIVIcVwCny9AIYEaONiwc4GFmbwqjv/9r8="; }; build-system = with python.pkgs; [ diff --git a/pkgs/servers/home-assistant/frontend.nix b/pkgs/servers/home-assistant/frontend.nix index 5ca9c825b092..e4ef9c1c508b 100644 --- a/pkgs/servers/home-assistant/frontend.nix +++ b/pkgs/servers/home-assistant/frontend.nix @@ -8,7 +8,7 @@ buildPythonPackage rec { # the frontend version corresponding to a specific home-assistant version can be found here # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json pname = "home-assistant-frontend"; - version = "20250806.0"; + version = "20250811.0"; format = "wheel"; src = fetchPypi { @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "home_assistant_frontend"; dist = "py3"; python = "py3"; - hash = "sha256-krx62/hxF9MAFOQygZGAgcwbTuYKXTPcRpfmrHfKzEQ="; + hash = "sha256-x//iMjNup4bf3PpvISYkHxOXKH20J2s+6oWQ22gS4BI="; }; # there is nothing to strip in this package diff --git a/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix b/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix index 00331a836048..def5322adee1 100644 --- a/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix +++ b/pkgs/servers/home-assistant/pytest-homeassistant-custom-component.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "pytest-homeassistant-custom-component"; - version = "0.13.269"; + version = "0.13.270"; pyproject = true; disabled = pythonOlder "3.13"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "MatthewFlamm"; repo = "pytest-homeassistant-custom-component"; rev = "refs/tags/${version}"; - hash = "sha256-5GKUfFxAs3plr5C9F6BQ5J+DU8J77lgyAQrj6xmuSHo="; + hash = "sha256-SDeQuzBZ1Fd97qotyWL6oB2CTB+qfplMN6yOaJguRmI="; }; build-system = [ setuptools ]; diff --git a/pkgs/servers/home-assistant/stubs.nix b/pkgs/servers/home-assistant/stubs.nix index a459ca4e8862..726fb1a114a0 100644 --- a/pkgs/servers/home-assistant/stubs.nix +++ b/pkgs/servers/home-assistant/stubs.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "homeassistant-stubs"; - version = "2025.8.0"; + version = "2025.8.1"; pyproject = true; disabled = python.version != home-assistant.python.version; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "KapJI"; repo = "homeassistant-stubs"; tag = version; - hash = "sha256-YPWAeAqR6s2jMdN85S+7PZdr6epuCqPfzr7DdmpqsiE="; + hash = "sha256-EmZ79AmJpfdsI/VHasRC8OzUEsX0nv8zZfEEum1jneI="; }; build-system = [ diff --git a/pkgs/servers/home-assistant/update-component-packages.py b/pkgs/servers/home-assistant/update-component-packages.py index a30117184c9e..471e576a6150 100755 --- a/pkgs/servers/home-assistant/update-component-packages.py +++ b/pkgs/servers/home-assistant/update-component-packages.py @@ -1,5 +1,5 @@ #! /usr/bin/env nix-shell -#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ packaging rich ])" -p pyright ruff isort +#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ packaging rich ])" -p pyright ruff isort nixfmt # # This script downloads Home Assistant's source tarball. # Inside the homeassistant/components directory, each integration has an associated manifest.json, diff --git a/pkgs/servers/monitoring/prometheus/mongodb-exporter.nix b/pkgs/servers/monitoring/prometheus/mongodb-exporter.nix index 925f76a1d908..7cf3f1f516c7 100644 --- a/pkgs/servers/monitoring/prometheus/mongodb-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/mongodb-exporter.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "mongodb_exporter"; - version = "0.46.0"; + version = "0.47.0"; src = fetchFromGitHub { owner = "percona"; repo = "mongodb_exporter"; rev = "v${version}"; - hash = "sha256-5ebIXJ9SPFXV6mecn1M7e3rnFwOisKtuhHGiCRfWPKQ="; + hash = "sha256-ZLZhWOuFjyJgUi7ygn0fNf7z2PGj21Dl2EVmUsluyyc="; }; - vendorHash = "sha256-8D5UUhrCfXrQVbr10aMNvM80zOUG+VNhdHdUSqPCrzA="; + vendorHash = "sha256-iKlwb2ig5yil2ekemC6NKzJ1t3tYFGu6R/QPXITJJxc="; ldflags = [ "-s" diff --git a/pkgs/servers/x11/xorg/update.py b/pkgs/servers/x11/xorg/update.py index a493f3821e5f..65a2fe190a17 100755 --- a/pkgs/servers/x11/xorg/update.py +++ b/pkgs/servers/x11/xorg/update.py @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell --pure --keep NIX_PATH -i python3 -p nix git nixfmt-rfc-style "python3.withPackages (ps: [ ps. packaging ps.beautifulsoup4 ps.requests ])" +#!nix-shell --pure --keep NIX_PATH -i python3 -p nix git nixfmt "python3.withPackages (ps: [ ps. packaging ps.beautifulsoup4 ps.requests ])" # Usage: Run ./update.py from the directory containing tarballs.list. The script checks for the # latest versions of all packages, updates the expressions if any update is found, and commits diff --git a/pkgs/tools/admin/pulumi-bin/data.nix b/pkgs/tools/admin/pulumi-bin/data.nix index 020d230dea87..4c9d034465ed 100644 --- a/pkgs/tools/admin/pulumi-bin/data.nix +++ b/pkgs/tools/admin/pulumi-bin/data.nix @@ -1,12 +1,12 @@ # DO NOT EDIT! This file is generated automatically by update.sh { }: { - version = "3.187.0"; + version = "3.188.0"; pulumiPkgs = { x86_64-linux = [ { - url = "https://get.pulumi.com/releases/sdk/pulumi-v3.187.0-linux-x64.tar.gz"; - sha256 = "0i5rva842w13b7p1fagarm38qbgfkw7n5ry1m84jpjza8nf1hc8n"; + url = "https://get.pulumi.com/releases/sdk/pulumi-v3.188.0-linux-x64.tar.gz"; + sha256 = "0svnkyfmlbxsdprgan1qpdiczadfny0z4jan7k03pzvd1rd2gg70"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aiven-v6.41.0-linux-amd64.tar.gz"; @@ -21,16 +21,16 @@ sha256 = "1nh12zwz7qf5i67nbszhi4rbbgg0qyaz9vpdmvbpf70fkhmh7vv1"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-artifactory-v8.8.5-linux-amd64.tar.gz"; - sha256 = "0ar9f81mda8m7cxcb0c920x3i41fvw5va9c6zv0793jna9aphskm"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-artifactory-v8.9.0-linux-amd64.tar.gz"; + sha256 = "07zkrskavhxaghnhdcmprhcpblvz5zvwsypr11vnq0vjjv1vy406"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-auth0-v3.23.2-linux-amd64.tar.gz"; - sha256 = "1q18zxsjrdcgcazi53lk7z72pyy30g07z5vgn5l3c7myi1m0ypwc"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-auth0-v3.24.0-linux-amd64.tar.gz"; + sha256 = "0wajqrdjwfbsvi6isfwiglp60bsdrihp5svbxw44c5wb8hmc3wg9"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v7.2.0-linux-amd64.tar.gz"; - sha256 = "0zz1zqi3gh09s2q7v5c43jf924yighqmrkyfn4n8hby0gvjd5jyv"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v7.3.1-linux-amd64.tar.gz"; + sha256 = "0mi09av4x1zbcxpllvaxq0isjlh1p8lvkxd0bz8w8mnn09c964wd"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v6.5.2-linux-amd64.tar.gz"; @@ -121,8 +121,8 @@ sha256 = "1n3ndir2n1pq4mmnbkiqvv0rf3w4dgz3a9b221vimsi2lks212kw"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v2.3.0-linux-amd64.tar.gz"; - sha256 = "1az2j303s5f2h3hrkg7d0wjbkg6kcbj1kw7i3b2scslksvk3pf3g"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v2.4.0-linux-amd64.tar.gz"; + sha256 = "0dlg2bpwdh1kwmiwirl0r29sdr49q4wmcj337mg2a5iw9l95wqxn"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.123.1-linux-amd64.tar.gz"; @@ -163,8 +163,8 @@ ]; x86_64-darwin = [ { - url = "https://get.pulumi.com/releases/sdk/pulumi-v3.187.0-darwin-x64.tar.gz"; - sha256 = "00wxqx6z2g07ksnv2hcbfj015fjihdgsrggh044x3j813wcn61xv"; + url = "https://get.pulumi.com/releases/sdk/pulumi-v3.188.0-darwin-x64.tar.gz"; + sha256 = "0r133ybrfi8l800jzal4wf9hjwa3w74fdgbyypvdzybv3krqhavr"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aiven-v6.41.0-darwin-amd64.tar.gz"; @@ -179,16 +179,16 @@ sha256 = "0ib5rvlcfhlrm6racza5lckc0zjfy5m8v9baxvgkl9z5ys8ypf9m"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-artifactory-v8.8.5-darwin-amd64.tar.gz"; - sha256 = "1v251h3hfj9hpw08qd1xn2y7wlz1kgbmxvxg47p2ld50ycn752hz"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-artifactory-v8.9.0-darwin-amd64.tar.gz"; + sha256 = "0a0yv352abz9av6rkjpwz5k3q7jikhhvbkf8jd7pa387hfzqchrh"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-auth0-v3.23.2-darwin-amd64.tar.gz"; - sha256 = "1yqjkfhv624bs5qmqrsk7651f43gim11hvj443j2vv5c5aj6315i"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-auth0-v3.24.0-darwin-amd64.tar.gz"; + sha256 = "10ir2l4pxlbqn2jf1nh8x9q31msbifdliv75iysg85gnpjd0x2f4"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v7.2.0-darwin-amd64.tar.gz"; - sha256 = "0gd14svl000plsm35fj8gk8ps8jdv51a7kqq5fv6d18v132b085k"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v7.3.1-darwin-amd64.tar.gz"; + sha256 = "0gpfqlv7iwb7yjxw94p1a74mz5d7sv2nwa8zfzmnjh1nfad98r41"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v6.5.2-darwin-amd64.tar.gz"; @@ -279,8 +279,8 @@ sha256 = "1b3znzx5m20xlvmgj9njmip7q32fs6hm62zfckra73bqh2mc9492"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v2.3.0-darwin-amd64.tar.gz"; - sha256 = "0l7pq5biv5p1m9mdwd1mx2cmak0d71j7dgbkdnvwmcvgqapvl1hz"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v2.4.0-darwin-amd64.tar.gz"; + sha256 = "14h7hrbcwcvfzqklkc13j176ra05i9x94xwj81fa47i9cxi7vsia"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.123.1-darwin-amd64.tar.gz"; @@ -321,8 +321,8 @@ ]; aarch64-linux = [ { - url = "https://get.pulumi.com/releases/sdk/pulumi-v3.187.0-linux-arm64.tar.gz"; - sha256 = "1papgkpxwvbh6b1w3nm9j0wa3q6jg0sqczc0jfs7wh9a30flq2w7"; + url = "https://get.pulumi.com/releases/sdk/pulumi-v3.188.0-linux-arm64.tar.gz"; + sha256 = "13yrwx1w42r4smv5mny6wkbbg8zgiinmc6wylzgi901irps13xsg"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aiven-v6.41.0-linux-arm64.tar.gz"; @@ -337,16 +337,16 @@ sha256 = "0vca0ryw4542m087sxnnwqw3k3z4avbism2milgxz50vi19ysjb8"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-artifactory-v8.8.5-linux-arm64.tar.gz"; - sha256 = "1dvn2p7b5i95kcma4zdw258cg74pz9fx2nx9rbaf37pfczrqyzhl"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-artifactory-v8.9.0-linux-arm64.tar.gz"; + sha256 = "1qbd2hjbv202afcsm3kfjr50h3a2bnzips29l7a863k8vcd6bhmm"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-auth0-v3.23.2-linux-arm64.tar.gz"; - sha256 = "0lqg84wss12riigs1lmmpxhhg7bji1c0nacb9lb9k64x5m3z4kyv"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-auth0-v3.24.0-linux-arm64.tar.gz"; + sha256 = "0v5v2chw0d0ff61z6vx1jcr9vs3iaq8pdnqkjvxgfz89jmc638dz"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v7.2.0-linux-arm64.tar.gz"; - sha256 = "18rls6dgx7mx1qa7q6qrj0pq9dpvxbapzfdwx38irv68fhny2sw1"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v7.3.1-linux-arm64.tar.gz"; + sha256 = "0scl75xzhxmzmf8g51mv85rsfyzk7c8pn0yxdbh0ccwn5l8fqlqy"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v6.5.2-linux-arm64.tar.gz"; @@ -437,8 +437,8 @@ sha256 = "02jix4w49n9mal8wg6ixgxvnd865ml7zx0lnz6prckfrzgrj36ih"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v2.3.0-linux-arm64.tar.gz"; - sha256 = "0p092madaspnpbxaf9fm8cfclfsaz7kb5vd9jjljihvmmhk90zkc"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v2.4.0-linux-arm64.tar.gz"; + sha256 = "1y6f2wl56nh57m0gkv21fh53hygjb5kaq40vbdbpa4aa5q80fxq0"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.123.1-linux-arm64.tar.gz"; @@ -479,8 +479,8 @@ ]; aarch64-darwin = [ { - url = "https://get.pulumi.com/releases/sdk/pulumi-v3.187.0-darwin-arm64.tar.gz"; - sha256 = "1lw9xf9dlzri6hn485nkn8vv6dqwjys2wny9g6gddznp1xbwz1x6"; + url = "https://get.pulumi.com/releases/sdk/pulumi-v3.188.0-darwin-arm64.tar.gz"; + sha256 = "0pnsrfn38c1carkczpwkphq6338q3qhqrzpcmghyp8p1qn5gkpbp"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aiven-v6.41.0-darwin-arm64.tar.gz"; @@ -495,16 +495,16 @@ sha256 = "11yv21983xfpf2asc00ng48jxz0xfhrax0gyp20p6gri4alfj5xr"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-artifactory-v8.8.5-darwin-arm64.tar.gz"; - sha256 = "0kil9gkd3mmr1hnbz5k3na98rxy4qvzrvriiib6mgq7vg9rjb2q3"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-artifactory-v8.9.0-darwin-arm64.tar.gz"; + sha256 = "063y0bhim02sydknk5ijsb0574f80rv3hsqv2h63iz6pj1si5sfd"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-auth0-v3.23.2-darwin-arm64.tar.gz"; - sha256 = "13wa8gvasq9ypyivsni09x63fyw19pxwn18c7cndkfckp2h6j9i7"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-auth0-v3.24.0-darwin-arm64.tar.gz"; + sha256 = "0xfq38zx5sy6fq3x3kl24qg7j2sfap7rq9qkc7zy7sx2x9ckddbv"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v7.2.0-darwin-arm64.tar.gz"; - sha256 = "1xn0saw5r9hbhhhb1jfkv88fczs988ca2ivglzg96cjnn9g2vgyi"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-aws-v7.3.1-darwin-arm64.tar.gz"; + sha256 = "1fxbx2zi226hv50miwgaqbxa36w3cn5c7prbjyqxch5y5qi0vxdc"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-azuread-v6.5.2-darwin-arm64.tar.gz"; @@ -595,8 +595,8 @@ sha256 = "1bb3bzybmfi5blagh13bm6q1avjbp80lmjdv4q5yc2dbfbs653xi"; } { - url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v2.3.0-darwin-arm64.tar.gz"; - sha256 = "1s5h9d6jlvj2dqid1pmil74vwb82n1a6f6w3dvspm63mwjrxdmbj"; + url = "https://api.pulumi.com/releases/plugins/pulumi-resource-snowflake-v2.4.0-darwin-arm64.tar.gz"; + sha256 = "1c3qy2a4i96f9ybmkzs6jslarncg35r02r86q96pz0j5i9zz8fsn"; } { url = "https://api.pulumi.com/releases/plugins/pulumi-resource-spotinst-v3.123.1-darwin-arm64.tar.gz"; diff --git a/pkgs/tools/misc/android-tools/default.nix b/pkgs/tools/misc/android-tools/default.nix index 2fae172c1649..80fff7f02859 100644 --- a/pkgs/tools/misc/android-tools/default.nix +++ b/pkgs/tools/misc/android-tools/default.nix @@ -35,10 +35,10 @@ stdenv.mkDerivation rec { patches = [ (fetchpatch2 { - url = "https://gitlab.archlinux.org/archlinux/packaging/packages/android-tools/-/raw/dd0234790b42b48567b64a3024fc2ec6c7ab6c21/android-tools-35.0.2-fix-protobuf-30.0-compilation.patch"; + url = "https://raw.githubusercontent.com/nmeum/android-tools/0c4d79943e23785589ce1881cbb5a9bc76d64d9b/patches/extras/0003-extras-libjsonpb-Fix-incompatibility-with-protobuf-v.patch"; stripLen = 1; extraPrefix = "vendor/extras/"; - hash = "sha256-WSfU+0XIrxxlCjAIR49l9JvX9C6xCXirhLFHMMvNmJk="; + hash = "sha256-PO6ZKP54ri2ujVa/uFXgMy/zMQjjIo4e/EPW2Cu6a1Q="; }) ]; @@ -58,8 +58,8 @@ stdenv.mkDerivation rec { zstd pcre2 fmt - udev - ]; + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ udev ]; propagatedBuildInputs = [ pythonEnv ]; preConfigure = '' @@ -69,7 +69,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ (lib.cmakeBool "CMAKE_FIND_PACKAGE_PREFER_CONFIG" true) (lib.cmakeBool "protobuf_MODULE_COMPATIBLE" true) - (lib.cmakeBool "ANDROID_TOOLS_LIBUSB_ENABLE_UDEV" true) + (lib.cmakeBool "ANDROID_TOOLS_LIBUSB_ENABLE_UDEV" stdenv.hostPlatform.isLinux) (lib.cmakeBool "ANDROID_TOOLS_USE_BUNDLED_LIBUSB" true) ]; diff --git a/pkgs/tools/misc/calamares/0002-Makes-calamares-search-run-current-system-sw-share-c.patch b/pkgs/tools/misc/calamares/0002-Makes-calamares-search-run-current-system-sw-share-c.patch deleted file mode 100644 index 1d6d601e5c1d..000000000000 --- a/pkgs/tools/misc/calamares/0002-Makes-calamares-search-run-current-system-sw-share-c.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Victor Fuentes -Date: Thu, 1 Aug 2024 15:57:55 -0400 -Subject: [PATCH] Makes calamares search - /run/current-system/sw/share/calamares/ for extra configuration files as by - default it only searches /usr/share/calamares/ and - /nix/store/-calamares-/share/calamares/ but - calamares-nixos-extensions is not in either of these locations - ---- - src/calamares/main.cpp | 1 + - src/libcalamares/utils/Dirs.cpp | 8 ++++++++ - src/libcalamares/utils/Dirs.h | 3 +++ - 3 files changed, 12 insertions(+) - -diff --git a/src/calamares/main.cpp b/src/calamares/main.cpp -index e0491e5f9..faf272016 100644 ---- a/src/calamares/main.cpp -+++ b/src/calamares/main.cpp -@@ -132,6 +132,7 @@ main( int argc, char* argv[] ) - #endif - - std::unique_ptr< KDSingleApplication > possiblyUnique; -+ Calamares::setNixosDirs(); - const bool is_debug = handle_args( a ); - if ( !is_debug ) - { -diff --git a/src/libcalamares/utils/Dirs.cpp b/src/libcalamares/utils/Dirs.cpp -index c42768a08..dfce7eb5d 100644 ---- a/src/libcalamares/utils/Dirs.cpp -+++ b/src/libcalamares/utils/Dirs.cpp -@@ -114,6 +114,14 @@ setXdgDirs() - s_haveExtraDirs = !( s_extraConfigDirs.isEmpty() && s_extraDataDirs.isEmpty() ); - } - -+void -+setNixosDirs() -+{ -+ s_extraConfigDirs << "/run/current-system/sw/share/calamares/"; -+ s_extraDataDirs << "/run/current-system/sw/share/calamares/"; -+ s_haveExtraDirs = !( s_extraConfigDirs.isEmpty() && s_extraDataDirs.isEmpty() ); -+} -+ - QStringList - extraConfigDirs() - { -diff --git a/src/libcalamares/utils/Dirs.h b/src/libcalamares/utils/Dirs.h -index d0edd7a4f..26bd16b4e 100644 ---- a/src/libcalamares/utils/Dirs.h -+++ b/src/libcalamares/utils/Dirs.h -@@ -50,6 +50,9 @@ DLLEXPORT bool isAppDataDirOverridden(); - /** @brief Setup extra config and data dirs from the XDG variables. - */ - DLLEXPORT void setXdgDirs(); -+/** @brief Setup extra config and data dirs fir NixOS. -+ */ -+DLLEXPORT void setNixosDirs(); - /** @brief Are any extra directories configured? */ - DLLEXPORT bool haveExtraDirs(); - /** @brief XDG_CONFIG_DIRS, each guaranteed to end with / */ diff --git a/pkgs/tools/misc/calamares/0003-Uses-pkexec-within-modules-in-order-to-run-calamares.patch b/pkgs/tools/misc/calamares/0003-Uses-pkexec-within-modules-in-order-to-run-calamares.patch deleted file mode 100644 index 14b20d26780d..000000000000 --- a/pkgs/tools/misc/calamares/0003-Uses-pkexec-within-modules-in-order-to-run-calamares.patch +++ /dev/null @@ -1,119 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Victor Fuentes -Date: Thu, 1 Aug 2024 15:59:54 -0400 -Subject: [PATCH] Uses pkexec within modules in order to run calamares without - root permissions as a whole. - -Also fixes storage check in the welcome module ---- - src/libcalamares/utils/Runner.cpp | 8 +++--- - src/modules/mount/main.py | 8 +++--- - .../welcome/checker/GeneralRequirements.cpp | 27 ++++++++++++++++++- - .../welcome/checker/GeneralRequirements.h | 1 + - 4 files changed, 35 insertions(+), 9 deletions(-) - -diff --git a/src/libcalamares/utils/Runner.cpp b/src/libcalamares/utils/Runner.cpp -index f7872a7d0..a246ca110 100644 ---- a/src/libcalamares/utils/Runner.cpp -+++ b/src/libcalamares/utils/Runner.cpp -@@ -145,13 +145,13 @@ Calamares::Utils::Runner::run() - } - if ( m_location == RunLocation::RunInTarget ) - { -- process.setProgram( "chroot" ); -- process.setArguments( QStringList { workingDirectory.absolutePath() } << m_command ); -+ process.setProgram( "pkexec" ); -+ process.setArguments( QStringList { "chroot" } + QStringList { workingDirectory.absolutePath() } << m_command ); - } - else - { -- process.setProgram( "env" ); -- process.setArguments( m_command ); -+ process.setProgram( "pkexec" ); -+ process.setArguments( QStringList { "env" } + m_command ); - } - - if ( m_output ) -diff --git a/src/modules/mount/main.py b/src/modules/mount/main.py -index 4a16f8872..6d32916a5 100644 ---- a/src/modules/mount/main.py -+++ b/src/modules/mount/main.py -@@ -244,7 +244,7 @@ def mount_partition(root_mount_point, partition, partitions, mount_options, moun - # Ensure that the created directory has the correct SELinux context on - # SELinux-enabled systems. - -- os.makedirs(mount_point, exist_ok=True) -+ subprocess.check_call(["pkexec", "mkdir", "-p", mount_point]) - - try: - subprocess.call(['chcon', '--reference=' + raw_mount_point, mount_point]) -@@ -288,13 +288,13 @@ def mount_partition(root_mount_point, partition, partitions, mount_options, moun - for s in btrfs_subvolumes: - if not s["subvolume"]: - continue -- os.makedirs(root_mount_point + os.path.dirname(s["subvolume"]), exist_ok=True) -- subprocess.check_call(["btrfs", "subvolume", "create", -+ subprocess.check_call(["pkexec", "mkdir", "-p", root_mount_point + os.path.dirname(s["subvolume"])]) -+ subprocess.check_call(["pkexec", "btrfs", "subvolume", "create", - root_mount_point + s["subvolume"]]) - if s["mountPoint"] == "/": - # insert the root subvolume into global storage - libcalamares.globalstorage.insert("btrfsRootSubvolume", s["subvolume"]) -- subprocess.check_call(["umount", "-v", root_mount_point]) -+ subprocess.check_call(["pkexec", "umount", "-v", root_mount_point]) - - device = partition["device"] - -diff --git a/src/modules/welcome/checker/GeneralRequirements.cpp b/src/modules/welcome/checker/GeneralRequirements.cpp -index a58f3df83..b66576b09 100644 ---- a/src/modules/welcome/checker/GeneralRequirements.cpp -+++ b/src/modules/welcome/checker/GeneralRequirements.cpp -@@ -431,10 +431,35 @@ GeneralRequirements::checkEnoughStorage( qint64 requiredSpace ) - cWarning() << "GeneralRequirements is configured without libparted."; - return false; - #else -- return check_big_enough( requiredSpace ); -+ return big_enough( requiredSpace ); - #endif - } - -+bool -+GeneralRequirements::big_enough( qint64 requiredSpace ) -+{ -+ FILE *fpipe; -+ char command[128]; -+ snprintf(command, sizeof(command), "lsblk --bytes -no SIZE,TYPE | grep disk | awk '$1 > %llu {print $1}'", requiredSpace); -+ char c = 0; -+ -+ if (0 == (fpipe = (FILE*)popen(command, "r"))) -+ { -+ cWarning() << "Failed to check storage size."; -+ return false; -+ } -+ -+ while (fread(&c, sizeof c, 1, fpipe)) -+ { -+ pclose(fpipe); -+ return true; -+ } -+ -+ pclose(fpipe); -+ -+ return false; -+} -+ - bool - GeneralRequirements::checkEnoughRam( qint64 requiredRam ) - { -diff --git a/src/modules/welcome/checker/GeneralRequirements.h b/src/modules/welcome/checker/GeneralRequirements.h -index b6646da11..ea27324fa 100644 ---- a/src/modules/welcome/checker/GeneralRequirements.h -+++ b/src/modules/welcome/checker/GeneralRequirements.h -@@ -36,6 +36,7 @@ private: - bool checkHasPower(); - bool checkHasInternet(); - bool checkIsRoot(); -+ bool big_enough( qint64 requiredSpace ); - - qreal m_requiredStorageGiB; - qreal m_requiredRamGiB; diff --git a/pkgs/tools/misc/calamares/0004-Adds-unfree-qml-to-packagechooserq.patch b/pkgs/tools/misc/calamares/0004-Adds-unfree-qml-to-packagechooserq.patch deleted file mode 100644 index 97961c265b10..000000000000 --- a/pkgs/tools/misc/calamares/0004-Adds-unfree-qml-to-packagechooserq.patch +++ /dev/null @@ -1,122 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Victor Fuentes -Date: Thu, 1 Aug 2024 16:00:43 -0400 -Subject: [PATCH] Adds unfree qml to packagechooserq - ---- - .../packagechooserq/packagechooserq.qrc | 1 + - .../packagechooserq@unfree.qml | 75 +++++++++++++++++++ - src/modules/packagechooserq/unfree.conf | 11 +++ - 3 files changed, 87 insertions(+) - create mode 100644 src/modules/packagechooserq/packagechooserq@unfree.qml - create mode 100644 src/modules/packagechooserq/unfree.conf - -diff --git a/src/modules/packagechooserq/packagechooserq.qrc b/src/modules/packagechooserq/packagechooserq.qrc -index 1b892dce1..ee80a934b 100644 ---- a/src/modules/packagechooserq/packagechooserq.qrc -+++ b/src/modules/packagechooserq/packagechooserq.qrc -@@ -4,5 +4,6 @@ - images/libreoffice.jpg - images/no-selection.png - images/plasma.png -+ packagechooserq@unfree.qml - - -diff --git a/src/modules/packagechooserq/packagechooserq@unfree.qml b/src/modules/packagechooserq/packagechooserq@unfree.qml -new file mode 100644 -index 000000000..5e36d77d9 ---- /dev/null -+++ b/src/modules/packagechooserq/packagechooserq@unfree.qml -@@ -0,0 +1,75 @@ -+/* === This file is part of Calamares - === -+ * -+ * SPDX-FileCopyrightText: 2021 Anke Boersma -+ * SPDX-License-Identifier: GPL-3.0-or-later -+ * -+ * Calamares is Free Software: see the License-Identifier above. -+ * -+ */ -+ -+import io.calamares.core 1.0 -+import io.calamares.ui 1.0 -+ -+import QtQuick 2.15 -+import QtQuick.Controls 2.15 -+import QtQuick.Layouts 1.3 -+ -+Item { -+ -+ SystemPalette { -+ id: palette -+ colorGroup: SystemPalette.Active -+ } -+ -+ width: parent.width -+ height: parent.height -+ -+ Rectangle { -+ anchors.fill: parent -+ color: palette.window -+ -+ ButtonGroup { -+ id: switchGroup -+ } -+ -+ Column { -+ id: column -+ anchors.centerIn: parent -+ spacing: 5 -+ -+ Rectangle { -+ width: 700 -+ height: 250 -+ color: palette.base -+ radius: 10 -+ border.width: 0 -+ Text { -+ color: palette.text -+ width: 600 -+ height: 200 -+ anchors.centerIn: parent -+ text: qsTr("NixOS is fully open source, but it also provides optional software packages that do not respect users' freedom to run, copy, distribute, study, change and improve the software, and are commonly not open source. By default such \"unfree\" packages are not allowed, but you can enable it here. If you check this box, you agree that unfree software may be installed which might have additional End User License Agreements (EULAs) that you need to agree to. If not enabled, some hardware (notably Nvidia GPUs and some WiFi chips) might not work or not work optimally.
") -+ font.pointSize: 12 -+ wrapMode: Text.WordWrap -+ } -+ -+ CheckBox { -+ id: element2 -+ anchors.horizontalCenter: parent.horizontalCenter -+ y: 190 -+ text: qsTr("Allow unfree software") -+ checked: false -+ -+ onCheckedChanged: { -+ if ( checked ) { -+ config.packageChoice = "unfree" -+ } else { -+ config.packageChoice = "free" -+ } -+ } -+ } -+ } -+ } -+ } -+ -+} -diff --git a/src/modules/packagechooserq/unfree.conf b/src/modules/packagechooserq/unfree.conf -new file mode 100644 -index 000000000..da79a8eac ---- /dev/null -+++ b/src/modules/packagechooserq/unfree.conf -@@ -0,0 +1,11 @@ -+# SPDX-FileCopyrightText: no -+# SPDX-License-Identifier: CC0-1.0 -+# -+--- -+qmlLabel: -+ label: "Unfree Software" -+method: legacy -+mode: required -+labels: -+ step: "Unfree Software" -+packageChoice: free diff --git a/pkgs/tools/misc/calamares/0005-Modifies-finished-module-to-add-some-NixOS-resources.patch b/pkgs/tools/misc/calamares/0005-Modifies-finished-module-to-add-some-NixOS-resources.patch deleted file mode 100644 index 7155f0b7870d..000000000000 --- a/pkgs/tools/misc/calamares/0005-Modifies-finished-module-to-add-some-NixOS-resources.patch +++ /dev/null @@ -1,100 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Victor Fuentes -Date: Thu, 1 Aug 2024 16:01:53 -0400 -Subject: [PATCH] Modifies finished module to add some NixOS resources. - -Modifies packagechooser module to change the UI. ---- - src/modules/finished/FinishedPage.cpp | 12 +++++--- - .../packagechooser/PackageChooserPage.cpp | 1 + - src/modules/packagechooser/page_package.ui | 28 +++++++++---------- - 3 files changed, 23 insertions(+), 18 deletions(-) - -diff --git a/src/modules/finished/FinishedPage.cpp b/src/modules/finished/FinishedPage.cpp -index 51be52678..307607232 100644 ---- a/src/modules/finished/FinishedPage.cpp -+++ b/src/modules/finished/FinishedPage.cpp -@@ -74,8 +74,10 @@ FinishedPage::retranslate() - { - ui->mainText->setText( tr( "

All done.


" - "%1 has been set up on your computer.
" -- "You may now start using your new system.", -- "@info" ) -+ "You may now start using your new system.
" -+ "You can change every setting later except the bootloader.
" -+ "Check the manual for instructions on how to install software, upgrade the system or enable services.
" -+ "You can find ways to get in touch with the community on the website!", "@info" ) - .arg( branding->versionedName() ) ); - ui->restartCheckBox->setToolTip( tr( "" - "

When this box is checked, your system will " -@@ -89,8 +91,10 @@ FinishedPage::retranslate() - ui->mainText->setText( tr( "

All done.


" - "%1 has been installed on your computer.
" - "You may now restart into your new system, or continue " -- "using the %2 Live environment.", -- "@info" ) -+ "using the %2 Live environment.
" -+ "You can change every setting later except the bootloader.
" -+ "Check the manual for instructions on how to install software, upgrade the system or enable services.
" -+ "You can find ways to get in touch with the community on the website!", "@info" ) - .arg( branding->versionedName(), branding->productName() ) ); - ui->restartCheckBox->setToolTip( tr( "" - "

When this box is checked, your system will " -diff --git a/src/modules/packagechooser/PackageChooserPage.cpp b/src/modules/packagechooser/PackageChooserPage.cpp -index 44a570d2f..4dc931bf3 100644 ---- a/src/modules/packagechooser/PackageChooserPage.cpp -+++ b/src/modules/packagechooser/PackageChooserPage.cpp -@@ -52,6 +52,7 @@ PackageChooserPage::currentChanged( const QModelIndex& index ) - if ( !index.isValid() || !ui->products->selectionModel()->hasSelection() ) - { - ui->productName->setText( m_introduction.name.get() ); -+ ui->productName->setStyleSheet("font-weight: bold"); - ui->productScreenshot->setPixmap( m_introduction.screenshot ); - ui->productDescription->setText( m_introduction.description.get() ); - } -diff --git a/src/modules/packagechooser/page_package.ui b/src/modules/packagechooser/page_package.ui -index 2ab5b7f13..bed462069 100644 ---- a/src/modules/packagechooser/page_package.ui -+++ b/src/modules/packagechooser/page_package.ui -@@ -37,20 +37,7 @@ SPDX-License-Identifier: GPL-3.0-or-later - - - -- -- -- -- -- -- 0 -- 0 -- -- -- -- Product Name -- -- -- -+ - - - -@@ -67,6 +54,19 @@ SPDX-License-Identifier: GPL-3.0-or-later - - - -+ -+ -+ -+ -+ 0 -+ 0 -+ -+ -+ -+ Product Name -+ -+ -+ - - - diff --git a/pkgs/tools/misc/calamares/0007-Fix-setting-the-kayboard-layout-on-GNOME-wayland.patch b/pkgs/tools/misc/calamares/0007-Fix-setting-the-kayboard-layout-on-GNOME-wayland.patch deleted file mode 100644 index 9c65859e0fc4..000000000000 --- a/pkgs/tools/misc/calamares/0007-Fix-setting-the-kayboard-layout-on-GNOME-wayland.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Victor Fuentes -Date: Thu, 31 Oct 2024 10:34:25 -0700 -Subject: [PATCH] Fix setting the kayboard layout on GNOME wayland. - -By default the module uses the setxkbmap, which will not change the -keyboard ---- - src/modules/keyboard/Config.cpp | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/modules/keyboard/Config.cpp b/src/modules/keyboard/Config.cpp -index 54ee7649c..60fe2d7d0 100644 ---- a/src/modules/keyboard/Config.cpp -+++ b/src/modules/keyboard/Config.cpp -@@ -306,6 +306,10 @@ Config::applyXkb() - m_additionalLayoutInfo.groupSwitcher ) ); - QProcess::execute( "setxkbmap", basicArguments ); - -+ QString xkbmap = QString( "[('xkb','%1\%2'),('xkb','%3\%4')]").arg( -+ m_selectedLayout, ((!m_selectedVariant.isEmpty()) ? "+" + m_selectedVariant : ""), -+ m_additionalLayoutInfo.additionalLayout, ((!m_additionalLayoutInfo.additionalVariant.isEmpty()) ? "+" + m_additionalLayoutInfo.additionalVariant : "")); -+ QProcess::execute( "sh", { "-c", "if command -v gsettings; then gsettings set org.gnome.desktop.input-sources sources \"$0\"; fi", xkbmap }); - cDebug() << "xkbmap selection changed to: " << m_selectedLayout << '-' << m_selectedVariant << "(added " - << m_additionalLayoutInfo.additionalLayout << "-" << m_additionalLayoutInfo.additionalVariant - << " since current layout is not ASCII-capable)"; -@@ -314,6 +318,8 @@ Config::applyXkb() - { - basicArguments.append( xkbmap_layout_args( m_selectedLayout, m_selectedVariant ) ); - QProcess::execute( "setxkbmap", basicArguments ); -+ QString xkbmap = QString( "[('xkb','%1\%2')]").arg( m_selectedLayout, ((!m_selectedVariant.isEmpty()) ? "+" + m_selectedVariant : "") ); -+ QProcess::execute( "sh", { "-c", "if command -v gsettings; then gsettings set org.gnome.desktop.input-sources sources \"$0\"; fi", xkbmap }); - cDebug() << "xkbmap selection changed to: " << m_selectedLayout << '-' << m_selectedVariant; - } - m_applyTimer.stop(); \ No newline at end of file diff --git a/pkgs/tools/misc/calamares/0008-Change-default-location-where-calamares-searches-for.patch b/pkgs/tools/misc/calamares/0008-Change-default-location-where-calamares-searches-for.patch deleted file mode 100644 index 58b53758609f..000000000000 --- a/pkgs/tools/misc/calamares/0008-Change-default-location-where-calamares-searches-for.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Victor Fuentes -Date: Thu, 1 Aug 2024 16:03:53 -0400 -Subject: [PATCH] Change default location where calamares searches for locales - ---- - src/modules/locale/Config.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/modules/locale/Config.cpp b/src/modules/locale/Config.cpp -index 8fa17a768..79b5419b6 100644 ---- a/src/modules/locale/Config.cpp -+++ b/src/modules/locale/Config.cpp -@@ -48,7 +48,7 @@ loadLocales( const QString& localeGenPath ) - // supported locales. We first try that one, and if it doesn't exist, we fall back - // to parsing the lines from locale.gen - localeGenLines.clear(); -- QFile supported( "/usr/share/i18n/SUPPORTED" ); -+ QFile supported( "/run/current-system/sw/share/i18n/SUPPORTED" ); - QByteArray ba; - - if ( supported.exists() && supported.open( QIODevice::ReadOnly | QIODevice::Text ) ) diff --git a/pkgs/tools/misc/calamares/default.nix b/pkgs/tools/misc/calamares/default.nix deleted file mode 100644 index ecab0d9c0fab..000000000000 --- a/pkgs/tools/misc/calamares/default.nix +++ /dev/null @@ -1,144 +0,0 @@ -{ - lib, - fetchurl, - boost, - cmake, - extra-cmake-modules, - kparts, - kpmcore, - kirigami2, - kservice, - libatasmart, - libxcb, - yaml-cpp, - libpwquality, - parted, - polkit-qt, - python3, - qtbase, - qtquickcontrols, - qtsvg, - qttools, - qtwebengine, - util-linux, - tzdata, - ckbcomp, - xkeyboard_config, - mkDerivation, - nixos-extensions ? false, - # passthru.tests - calamares-nixos, -}: - -mkDerivation rec { - pname = "calamares"; - version = "3.3.13"; - - # release including submodule - src = fetchurl { - url = "https://github.com/calamares/calamares/releases/download/v${version}/calamares-${version}.tar.gz"; - sha256 = "sha256-5Jz32JTgK6BImM0HcMtXi04k39CAirdmC/lbskVmSNQ="; - }; - - # On major changes, or when otherwise required, you *must* : - # 1. reformat the patches, - # 2. `git am path/to/00*.patch` them into a calamares worktree, - # 3. rebase to the more recent calamares version, - # 4. and export the patches again via - # `git -c format.signoff=false format-patch v${version} --no-numbered --zero-commit --no-signature`. - patches = lib.optionals nixos-extensions [ - ./0001-Modifies-the-users-module-to-only-set-passwords-of-u.patch - ./0002-Makes-calamares-search-run-current-system-sw-share-c.patch - ./0003-Uses-pkexec-within-modules-in-order-to-run-calamares.patch - ./0004-Adds-unfree-qml-to-packagechooserq.patch - ./0005-Modifies-finished-module-to-add-some-NixOS-resources.patch - ./0006-Remove-options-for-unsupported-partition-types.patch - ./0007-Fix-setting-the-kayboard-layout-on-GNOME-wayland.patch - ./0008-Change-default-location-where-calamares-searches-for.patch - ]; - - nativeBuildInputs = [ - cmake - extra-cmake-modules - ]; - buildInputs = [ - boost - kparts.dev - kpmcore.out - kservice.dev - kirigami2 - libatasmart - libxcb - yaml-cpp - libpwquality - parted - polkit-qt - python3 - qtbase - qtquickcontrols - qtsvg - qttools - qtwebengine.dev - util-linux - ]; - - cmakeFlags = [ - "-DPYTHON_LIBRARY=${python3}/lib/lib${python3.libPrefix}.so" - "-DPYTHON_INCLUDE_DIR=${python3}/include/${python3.libPrefix}" - "-DCMAKE_VERBOSE_MAKEFILE=True" - "-DWITH_PYTHONQT:BOOL=ON" - ]; - - POLKITQT-1_POLICY_FILES_INSTALL_DIR = "$(out)/share/polkit-1/actions"; - - postPatch = '' - # Run calamares without root. Other patches make it functional as a normal user - sed -e "s,pkexec calamares,calamares -D6," \ - -i calamares.desktop - - sed -e "s,X-AppStream-Ignore=true,&\nStartupWMClass=calamares," \ - -i calamares.desktop - - # Fix desktop reference with wayland - mv calamares.desktop io.calamares.calamares.desktop - - sed -e "s,calamares.desktop,io.calamares.calamares.desktop," \ - -i CMakeLists.txt - - sed -e "s,/usr/bin/calamares,$out/bin/calamares," \ - -i com.github.calamares.calamares.policy - - sed -e 's,/usr/share/zoneinfo,${tzdata}/share/zoneinfo,' \ - -i src/modules/locale/SetTimezoneJob.cpp \ - -i src/libcalamares/locale/TimeZone.cpp - - sed -e 's,/usr/share/X11/xkb/rules/base.lst,${xkeyboard_config}/share/X11/xkb/rules/base.lst,' \ - -i src/modules/keyboard/keyboardwidget/keyboardglobal.cpp - - sed -e 's,"ckbcomp","${ckbcomp}/bin/ckbcomp",' \ - -i src/modules/keyboard/keyboardwidget/keyboardpreview.cpp - - sed "s,\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR},''${out}/share/polkit-1/actions," \ - -i CMakeLists.txt - ''; - - passthru.tests = { - inherit calamares-nixos; - }; - - meta = with lib; { - description = "Distribution-independent installer framework"; - homepage = "https://calamares.io/"; - license = with licenses; [ - gpl3Plus - bsd2 - cc0 - ]; - maintainers = with maintainers; [ - manveru - vlinkz - ]; - platforms = platforms.linux; - mainProgram = "calamares"; - }; -} diff --git a/pkgs/tools/package-management/nix/common-autoconf.nix b/pkgs/tools/package-management/nix/common-autoconf.nix index 894380f71cf0..fed7eb3ac0a9 100644 --- a/pkgs/tools/package-management/nix/common-autoconf.nix +++ b/pkgs/tools/package-management/nix/common-autoconf.nix @@ -21,7 +21,6 @@ }@args: assert (hash == null) -> (src != null); let - atLeast224 = lib.versionAtLeast version "2.24pre"; atLeast225 = lib.versionAtLeast version "2.25pre"; in { @@ -116,7 +115,7 @@ let ] ++ lib.optional stdenv.hostPlatform.isMusl "fortify"; - nativeInstallCheckInputs = lib.optionals atLeast224 [ + nativeInstallCheckInputs = [ git man ]; @@ -129,21 +128,11 @@ let flex jq ] - ++ lib.optionals enableDocumentation ( - if atLeast224 then - [ - (lib.getBin lowdown-unsandboxed) - mdbook - mdbook-linkcheck - ] - else - [ - libxslt - libxml2 - docbook_xsl_ns - docbook5 - ] - ) + ++ lib.optionals enableDocumentation [ + (lib.getBin lowdown-unsandboxed) + mdbook + mdbook-linkcheck + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ util-linuxMinimal ]; @@ -161,8 +150,6 @@ let gtest libarchive lowdown - ] - ++ lib.optionals atLeast224 [ libgit2 toml11 rapidcheck @@ -182,8 +169,6 @@ let propagatedBuildInputs = [ boehmgc - ] - ++ lib.optionals atLeast224 [ nlohmann_json ]; @@ -202,24 +187,7 @@ let chmod u+w $out/lib/*.so.* patchelf --set-rpath $out/lib:${lib.getLib stdenv.cc.cc}/lib $out/lib/libboost_thread.so.* ''} - '' - + - # On all versions before c9f51e87057652db0013289a95deffba495b35e7, which - # removes config.nix entirely and is not present in 2.3.x, we need to - # patch around an issue where the Nix configure step pulls in the build - # system's bash and other utilities when cross-compiling. - lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform && !atLeast224) '' - mkdir tmp/ - substitute corepkgs/config.nix.in tmp/config.nix.in \ - --subst-var-by bash ${bash}/bin/bash \ - --subst-var-by coreutils ${coreutils}/bin \ - --subst-var-by bzip2 ${bzip2}/bin/bzip2 \ - --subst-var-by gzip ${gzip}/bin/gzip \ - --subst-var-by xz ${xz}/bin/xz \ - --subst-var-by tar ${gnutar}/bin/tar \ - --subst-var-by tr ${coreutils}/bin/tr - mv tmp/config.nix.in corepkgs/config.nix.in - ''; + ''; configureFlags = [ "--with-store-dir=${storeDir}" @@ -233,7 +201,7 @@ let ++ lib.optionals stdenv.hostPlatform.isLinux [ "--with-sandbox-shell=${busybox-sandbox-shell}/bin/busybox" ] - ++ lib.optionals (atLeast224 && stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isStatic) [ + ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isStatic) [ "--enable-embedded-sandbox-shell" ] ++ @@ -250,7 +218,7 @@ let # RISC-V support in progress https://github.com/seccomp/libseccomp/pull/50 "--disable-seccomp-sandboxing" ] - ++ lib.optionals (atLeast224 && stdenv.cc.isGNU && !enableStatic) [ + ++ lib.optionals (stdenv.cc.isGNU && !enableStatic) [ "--enable-lto" ]; @@ -275,7 +243,7 @@ let installFlags = [ "sysconfdir=$(out)/etc" ]; doInstallCheck = true; - installCheckTarget = if atLeast224 then "installcheck" else null; + installCheckTarget = "installcheck"; # socket path becomes too long otherwise preInstallCheck = @@ -288,10 +256,10 @@ let export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES '' # See https://github.com/NixOS/nix/issues/5687 - + lib.optionalString (atLeast224 && stdenv.hostPlatform.isDarwin) '' + + lib.optionalString (stdenv.hostPlatform.isDarwin) '' echo "exit 99" > tests/gc-non-blocking.sh '' # TODO: investigate why this broken - + lib.optionalString (atLeast224 && stdenv.hostPlatform.system == "aarch64-linux") '' + + lib.optionalString (stdenv.hostPlatform.system == "aarch64-linux") '' echo "exit 0" > tests/functional/flakes/show.sh '' + '' @@ -299,7 +267,7 @@ let export MANPATH=$man/share/man:$MANPATH ''; - separateDebugInfo = stdenv.hostPlatform.isLinux && (atLeast224 -> !enableStatic); + separateDebugInfo = stdenv.hostPlatform.isLinux && !enableStatic; enableParallelBuilding = true; diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index 19e86764f900..db149bf8b3e4 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -151,32 +151,6 @@ lib.makeExtensible ( self: ( { - nix_2_3 = - (commonAutoconf { - version = "2.3.18"; - hash = "sha256-jBz2Ub65eFYG+aWgSI3AJYvLSghio77fWQiIW1svA9U="; - patches = [ - patch-monitorfdhup - ]; - self_attribute_name = "nix_2_3"; - knownVulnerabilities = [ - "CVE-2024-38531" - "CVE-2024-47174" - "CVE-2025-46415" - "CVE-2025-46416" - "CVE-2025-52991" - "CVE-2025-52992" - "CVE-2025-52993" - ]; - maintainers = with lib.maintainers; [ flokli ]; - teams = [ ]; - }).overrideAttrs - { - # https://github.com/NixOS/nix/issues/10222 - # spurious test/add.sh failures - enableParallelChecking = false; - }; - nix_2_24 = commonAutoconf { version = "2.24.15"; hash = "sha256-GHqFHLxvRID2IEPUwIfRMp8epYQMFcvG9ogLzfWRbPc="; @@ -233,23 +207,6 @@ lib.makeExtensible ( latest = self.nix_2_30; - # The minimum Nix version supported by Nixpkgs - # Note that some functionality *might* have been backported into this Nix version, - # making this package an inaccurate representation of what features are available - # in the actual lowest minver.nix *patch* version. - minimum = - let - minver = import ../../../../lib/minver.nix; - major = lib.versions.major minver; - minor = lib.versions.minor minver; - attribute = "nix_${major}_${minor}"; - nix = self.${attribute}; - in - if !self ? ${attribute} then - throw "The minimum supported Nix version is ${minver} (declared in lib/minver.nix), but pkgs.nixVersions.${attribute} does not exist." - else - nix; - # Read ./README.md before bumping a major release stable = addFallbackPathsCheck self.nix_2_28; } @@ -269,6 +226,7 @@ lib.makeExtensible ( nix_2_27 = throw "nix_2_27 has been removed. use nix_2_28."; nix_2_25 = throw "nix_2_25 has been removed. use nix_2_28."; + minimum = throw "nixVersions.minimum has been removed. Use a specific version instead."; unstable = throw "nixVersions.unstable has been removed. use nixVersions.latest or the nix flake."; } ) diff --git a/pkgs/tools/package-management/nix/update-all.sh b/pkgs/tools/package-management/nix/update-all.sh index a2b459e67e7f..d84b6f56a47f 100755 --- a/pkgs/tools/package-management/nix/update-all.sh +++ b/pkgs/tools/package-management/nix/update-all.sh @@ -11,9 +11,6 @@ nix_versions=$(nix eval --impure --json --expr "with import ./. { config.allowAl for name in $nix_versions; do minor_version=${name#nix_*_} - if [[ "$name" = "nix_2_3" ]]; then # not maintained by the nix team - continue - fi nix-update --override-filename "$SCRIPT_DIR/default.nix" --version-regex "(2\\.${minor_version}\..+)" --build --commit "nixVersions.$name" done @@ -25,9 +22,6 @@ stable_version_trimmed=${stable_version_full%.*} for name in $nix_versions; do minor_version=${name#nix_*_} - if [[ "$name" = "nix_2_3" ]]; then # not maintained by the nix team - continue - fi if [[ "$name" = "nix_${stable_version_trimmed//./_}" ]]; then curl https://releases.nixos.org/nix/nix-$stable_version_full/fallback-paths.nix > "$NIXPKGS_DIR/nixos/modules/installer/tools/nix-fallback-paths.nix" # nix-update will commit the file if it has changed diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 003462e80623..d31ac7e68d93 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1435,7 +1435,7 @@ mapAliases { nixFlakes = throw "'nixFlakes' has been renamed to/replaced by 'nixVersions.stable'"; # Converted to throw 2024-10-17 nixStable = nixVersions.stable; # Added 2022-01-24 nixUnstable = throw "nixUnstable has been removed. For bleeding edge (Nix master, roughly weekly updated) use nixVersions.git, otherwise use nixVersions.latest."; # Converted to throw 2024-04-22 - nix_2_3 = nixVersions.nix_2_3; + nix_2_3 = throw "'nix_2_3' has been removed, because it was unmaintained and insecure."; # Converted to throw 2025-07-24 nixfmt-rfc-style = if lib.oldestSupportedReleaseIsAtLeast 2511 then lib.warnOnInstantiate @@ -1519,6 +1519,7 @@ mapAliases { openssl_3_0 = openssl_3; # Added 2022-06-27 opensycl = lib.warnOnInstantiate "'opensycl' has been renamed to 'adaptivecpp'" adaptivecpp; # Added 2024-12-04 opensyclWithRocm = lib.warnOnInstantiate "'opensyclWithRocm' has been renamed to 'adaptivecppWithRocm'" adaptivecppWithRocm; # Added 2024-12-04 + open-timeline-io = lib.warnOnInstantiate "'open-timeline-io' has been renamed to 'opentimelineio'" opentimelineio; # Added 2025-08-10 opentofu-ls = lib.warnOnInstantiate "'opentofu-ls' has been renamed to 'tofu-ls'" tofu-ls; # Added 2025-06-10 openvdb_11 = throw "'openvdb_11' has been removed in favor of the latest version'"; # Added 2025-05-03 opera = throw "'opera' has been removed due to lack of maintenance in nixpkgs"; # Added 2025-05-19 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 55c32c58460c..41917acf9ea7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1760,9 +1760,9 @@ with pkgs; lukesmithxyz-bible-kjv = callPackage ../applications/misc/kjv/lukesmithxyz-kjv.nix { }; - plausible = callPackage ../servers/web-apps/plausible { - elixir = elixir_1_17; - beamPackages = beamPackages.extend (self: super: { elixir = elixir_1_17; }); + plausible = callPackage ../by-name/pl/plausible/package.nix { + elixir = elixir_1_18; + beamPackages = beamPackages.extend (self: super: { elixir = elixir_1_18; }); }; reattach-to-user-namespace = callPackage ../os-specific/darwin/reattach-to-user-namespace { }; @@ -1904,13 +1904,6 @@ with pkgs; ''; }); - calamares = libsForQt5.callPackage ../tools/misc/calamares { - boost = boost.override { - enablePython = true; - python = python3; - }; - }; - calamares-nixos = lowPrio (calamares.override { nixos-extensions = true; }); candle = libsForQt5.callPackage ../applications/misc/candle { }; capstone = callPackage ../development/libraries/capstone { }; @@ -4256,10 +4249,6 @@ with pkgs; ocamlPackages = ocaml-ng.ocamlPackages_4_12; }; - slstatus = callPackage ../applications/misc/slstatus { - conf = config.slstatus.conf or null; - }; - smpq = callPackage ../by-name/sm/smpq/package.nix { stormlib = stormlib.overrideAttrs (old: { version = "9.22"; @@ -15788,7 +15777,13 @@ with pkgs; nix-tree = haskell.lib.compose.justStaticExecutables (haskellPackages.nix-tree); - nix-serve-ng = haskell.lib.compose.justStaticExecutables haskellPackages.nix-serve-ng; + nix-serve-ng = + # FIXME: manually eliminate incorrect references on aarch64-darwin, + # see https://github.com/NixOS/nixpkgs/issues/318013 + if stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 then + haskellPackages.nix-serve-ng + else + haskell.lib.compose.justStaticExecutables haskellPackages.nix-serve-ng; nix-visualize = python3.pkgs.callPackage ../tools/package-management/nix-visualize { }; @@ -15885,10 +15880,6 @@ with pkgs; sane-frontends = callPackage ../applications/graphics/sane/frontends.nix { }; - slock = callPackage ../misc/screensavers/slock { - conf = config.slock.conf or null; - }; - snscrape = with python3Packages; toPythonApplication snscrape; sourceAndTags = callPackage ../misc/source-and-tags { @@ -16190,12 +16181,6 @@ with pkgs; sieveshell = with python3.pkgs; toPythonApplication managesieve; - jami = qt6Packages.callPackage ../applications/networking/instant-messengers/jami { - # TODO: remove once `udev` is `systemdMinimal` everywhere. - udev = systemdMinimal; - jack = libjack2; - }; - gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { }; inherit (callPackage ../applications/misc/zettlr { }) zettlr; diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index b1ddef188d93..1b90e4bfdb66 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -3,13 +3,7 @@ officialRelease, pkgs ? import nixpkgs.outPath { }, nix ? pkgs.nix, - lib-tests ? import ../../lib/tests/release.nix { - pkgs = import nixpkgs.outPath { - config = { - permittedInsecurePackages = [ "nix-2.3.18" ]; - }; - }; - }, + lib-tests ? import ../../lib/tests/release.nix { inherit pkgs; }, }: pkgs.releaseTools.sourceTarball { diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index ffa7b0460ef2..f0c7bbb6b415 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -455,6 +455,7 @@ mapAliases ({ nghttp2 = throw "in 1.52.0 removed deprecated python bindings."; # added 2023-06-08 niko-home-control = throw "niko-home-control was removed because Home Assistant switched to nhc"; # added 2025-01-09 ninja-python = ninja; # add 2022-08-03 + nixpkgs = throw "nixpkgs has been removed as its dependency pythonix was removed"; # added 2025-07-24 nose = throw "nose has been removed since it has been deprecated and unmaintained for almost a decade and does not work on Python 3.12; please switch to pytest or another test runner/framework"; # added 2024-07-28 nose3 = throw "nose3 has been removed since it is unmaintained and does not work with Python 3.12"; # added 2024-07-28 nosejs = throw "nosejs has been removed since it has not been maintained for 15 years and there are no dependent packages"; # added 2024-05-21 @@ -588,6 +589,7 @@ mapAliases ({ python-myq = throw "python-myq has been removed, as the service provider has decided to block its API requests"; # added 2023-12-07 python-picnic-api = throw "python-picnic-api was removed because Home Assistant switched to python-picnic-api2"; # added 2025-03-05 python-unshare = throw "python-unshare was removed as unmaintained since 2016"; # added 2025-05-25 + pythonix = throw "pythonix was removed as it was unmaintained since 2022"; # added 2025-07-24 pytrends = throw "pytrends has been removed, as it no longer works and is abandoned upstream"; # added 2025-02-02 pyqldb = throw "pyqldb has been removed, because the underlying service is reaching end of support"; # added 2025-07-30 pyqt4 = throw "pyqt4 has been removed, because it depended on the long EOL qt4"; # added 2022-06-09 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 037b08734c75..0fb562428100 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2771,6 +2771,10 @@ self: super: with self; { colcon-output = callPackage ../development/python-modules/colcon-output { }; + colcon-package-information = + callPackage ../development/python-modules/colcon-package-information + { }; + colcon-parallel-executor = callPackage ../development/python-modules/colcon-parallel-executor { }; colcon-ros-domain-id-coordinator = @@ -5536,6 +5540,8 @@ self: super: with self; { fugashi = callPackage ../development/python-modules/fugashi { }; + fullmoon = callPackage ../development/python-modules/fullmoon { }; + func-timeout = callPackage ../development/python-modules/func-timeout { }; funcparserlib = callPackage ../development/python-modules/funcparserlib { }; @@ -8097,6 +8103,8 @@ self: super: with self; { (p: p.py) ]; + libear = callPackage ../development/python-modules/libear { }; + libevdev = callPackage ../development/python-modules/libevdev { }; libfdt = toPythonModule ( @@ -8232,6 +8240,8 @@ self: super: with self; { } ); + libscanbuild = callPackage ../development/python-modules/libscanbuild { }; + libselinux = lib.pipe pkgs.libselinux [ toPythonModule ( @@ -9354,6 +9364,8 @@ self: super: with self; { mkdocs-rss-plugin = callPackage ../development/python-modules/mkdocs-rss-plugin { }; + mkdocs-simple-blog = callPackage ../development/python-modules/mkdocs-simple-blog { }; + mkdocs-swagger-ui-tag = callPackage ../development/python-modules/mkdocs-swagger-ui-tag { }; mkdocstrings = callPackage ../development/python-modules/mkdocstrings { }; @@ -10409,8 +10421,6 @@ self: super: with self; { nix-prefetch-github = callPackage ../development/python-modules/nix-prefetch-github { }; - nixpkgs = callPackage ../development/python-modules/nixpkgs { }; - nixpkgs-pytools = callPackage ../development/python-modules/nixpkgs-pytools { }; nixpkgs-updaters-library = callPackage ../development/python-modules/nixpkgs-updaters-library { }; @@ -13380,6 +13390,8 @@ self: super: with self; { pynetgear = callPackage ../development/python-modules/pynetgear { }; + pynetio = callPackage ../development/python-modules/pynetio { }; + pynfsclient = callPackage ../development/python-modules/pynfsclient { }; pyngo = callPackage ../development/python-modules/pyngo { }; @@ -13591,7 +13603,11 @@ self: super: with self; { pyppmd = callPackage ../development/python-modules/pyppmd { }; - pyprecice = callPackage ../development/python-modules/pyprecice { }; + pyprecice = callPackage ../development/python-modules/pyprecice { + precice = pkgs.precice.override { + python3Packages = self; + }; + }; pypresence = callPackage ../development/python-modules/pypresence { }; @@ -14957,11 +14973,6 @@ self: super: with self; { pythonfinder = callPackage ../development/python-modules/pythonfinder { }; - pythonix = callPackage ../development/python-modules/pythonix { - nix = pkgs.nixVersions.nix_2_3; - meson = pkgs.meson.override { python3 = self.python; }; - }; - pythonkuma = callPackage ../development/python-modules/pythonkuma { }; pythonnet = callPackage ../development/python-modules/pythonnet { }; @@ -18047,6 +18058,8 @@ self: super: with self; { tidylib = callPackage ../development/python-modules/pytidylib { }; + tiered-debug = callPackage ../development/python-modules/tiered-debug { }; + tifffile = callPackage ../development/python-modules/tifffile { }; tika = callPackage ../development/python-modules/tika { }; diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix index ca8da7b04d7f..bc5b83d3db56 100644 --- a/pkgs/top-level/release.nix +++ b/pkgs/top-level/release.nix @@ -113,20 +113,7 @@ let manual = pkgs.nixpkgs-manual.override { inherit nixpkgs; }; metrics = import ./metrics.nix { inherit pkgs nixpkgs; }; - lib-tests = import ../../lib/tests/release.nix { - pkgs = import nixpkgs ( - recursiveUpdate - (recursiveUpdate { - inherit system; - config.allowUnsupportedSystem = true; - } nixpkgsArgs) - { - config.permittedInsecurePackages = nixpkgsArgs.config.permittedInsecurePackages or [ ] ++ [ - "nix-2.3.18" - ]; - } - ); - }; + lib-tests = import ../../lib/tests/release.nix { inherit pkgs; }; pkgs-lib-tests = import ../pkgs-lib/tests { inherit pkgs; }; darwin-tested =