From 507a9dee1dc2d10ee35a142667a870c094688947 Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Wed, 12 Jun 2024 06:54:49 -0500 Subject: [PATCH 01/93] chiaki4deck: restore check for curl websocket support --- pkgs/games/chiaki4deck/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/games/chiaki4deck/default.nix b/pkgs/games/chiaki4deck/default.nix index 79757acef9cc..36c43c906241 100644 --- a/pkgs/games/chiaki4deck/default.nix +++ b/pkgs/games/chiaki4deck/default.nix @@ -84,11 +84,8 @@ stdenv.mkDerivation rec { xxHash ]; - # handle cmake not being able to identify if curl is built with websocket support, and library name discrepancy when curl not built with cmake + # handle library name discrepancy when curl not built with cmake postPatch = '' - substituteInPlace CMakeLists.txt \ - --replace-fail ' WS WSS' "" - substituteInPlace lib/CMakeLists.txt \ --replace-fail 'libcurl_shared' 'libcurl' ''; From bf2a2ed403573166284a69aca0de72ddbb8ec79a Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Tue, 18 Jun 2024 16:38:20 +0200 Subject: [PATCH 02/93] tailscale-gitops-pusher: init at 1.68.0 --- .../ta/tailscale-gitops-pusher/package.nix | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/by-name/ta/tailscale-gitops-pusher/package.nix diff --git a/pkgs/by-name/ta/tailscale-gitops-pusher/package.nix b/pkgs/by-name/ta/tailscale-gitops-pusher/package.nix new file mode 100644 index 000000000000..f0ddde526f0b --- /dev/null +++ b/pkgs/by-name/ta/tailscale-gitops-pusher/package.nix @@ -0,0 +1,28 @@ +{ lib +, tailscale +, buildGoModule +}: + +buildGoModule { + inherit (tailscale) version src vendorHash CGO_ENABLED; + pname = "tailscale-gitops-pusher"; + + subPackages = [ + "cmd/gitops-pusher" + ]; + + ldflags = [ + "-w" + "-s" + "-X tailscale.com/version.longStamp=${tailscale.version}" + "-X tailscale.com/version.shortStamp=${tailscale.version}" + ]; + + meta = with lib; { + homepage = "https://tailscale.com"; + description = "Allows users to use a GitOps flow for managing Tailscale ACLs"; + license = licenses.bsd3; + mainProgram = "gitops-pusher"; + maintainers = with maintainers; [ xanderio ]; + }; +} From e986a0d56c1889960c6affd3713a6937f2d1b4b5 Mon Sep 17 00:00:00 2001 From: 0x5a4 <54070204+0x5a4@users.noreply.github.com> Date: Sat, 15 Jun 2024 17:24:57 +0200 Subject: [PATCH 03/93] zls: 0.12 -> 0.13 Changelog: https://github.com/zigtools/zls/compare/0.12.0...0.13.0 --- .../tools/language-servers/zls/default.nix | 10 +++++----- pkgs/development/tools/language-servers/zls/deps.nix | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/development/tools/language-servers/zls/default.nix b/pkgs/development/tools/language-servers/zls/default.nix index 1642d495b1d8..af6e1f5e4342 100644 --- a/pkgs/development/tools/language-servers/zls/default.nix +++ b/pkgs/development/tools/language-servers/zls/default.nix @@ -1,28 +1,28 @@ { lib , stdenv , fetchFromGitHub -, zig_0_12 +, zig_0_13 , callPackage }: stdenv.mkDerivation (finalAttrs: { pname = "zls"; - version = "0.12.0"; + version = "0.13.0"; src = fetchFromGitHub { owner = "zigtools"; repo = "zls"; rev = finalAttrs.version; fetchSubmodules = true; - hash = "sha256-2iVDPUj9ExgTooDQmCCtZs3wxBe2be9xjzAk9HedPNY="; + hash = "sha256-vkFGoKCYUk6B40XW2T/pdhir2wzN1kpFmlLcoLwJx1U="; }; zigBuildFlags = [ - "-Dversion_data_path=${zig_0_12.src}/doc/langref.html.in" + "-Dversion_data_path=${zig_0_13.src}/doc/langref.html.in" ]; nativeBuildInputs = [ - zig_0_12.hook + zig_0_13.hook ]; postPatch = '' diff --git a/pkgs/development/tools/language-servers/zls/deps.nix b/pkgs/development/tools/language-servers/zls/deps.nix index 4de50620ef9c..1c6b2cd25f8c 100644 --- a/pkgs/development/tools/language-servers/zls/deps.nix +++ b/pkgs/development/tools/language-servers/zls/deps.nix @@ -4,17 +4,17 @@ linkFarm "zig-packages" [ { - name = "12201314cffeb40c5e4e3da166217d2c74628c74486414aaf97422bcd2279915b9fd"; + name = "12209cde192558f8b3dc098ac2330fc2a14fdd211c5433afd33085af75caa9183147"; path = fetchzip { - url = "https://github.com/ziglibs/known-folders/archive/bf79988adcfce166f848e4b11e718c1966365329.tar.gz"; - hash = "sha256-Q7eMdyScqj8qEiAHg1BnGRTsWSQOKWWTc6hUYHNlgGg="; + url = "https://github.com/ziglibs/known-folders/archive/0ad514dcfb7525e32ae349b9acc0a53976f3a9fa.tar.gz"; + hash = "sha256-X+XkFj56MkYxxN9LUisjnkfCxUfnbkzBWHy9pwg5M+g="; }; } { - name = "12200d71e4b7029ea56a429e24260c6c0e85a3069b0d4ba85eace21a0fd75910aa64"; + name = "1220102cb2c669d82184fb1dc5380193d37d68b54e8d75b76b2d155b9af7d7e2e76d"; path = fetchzip { - url = "https://github.com/ziglibs/diffz/archive/e10bf15962e45affb3fcd7d9a950977a69c901b3.tar.gz"; - hash = "sha256-yVFPVn4jGfcoE2V4xdTqdThYPutshL6U4feDzetWgFw="; + url = "https://github.com/ziglibs/diffz/archive/ef45c00d655e5e40faf35afbbde81a1fa5ed7ffb.tar.gz"; + hash = "sha256-5/3W0Xt9RjsvCb8Q4cdaM8dkJP7CdFro14JJLCuqASo="; }; } ] From 8001cc402f61b8fd6516913a57ec94382455f5e5 Mon Sep 17 00:00:00 2001 From: 0x5a4 <54070204+0x5a4@users.noreply.github.com> Date: Sun, 30 Jun 2024 22:52:17 +0200 Subject: [PATCH 04/93] zls: add 0x5a4 as maintainer --- pkgs/development/tools/language-servers/zls/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/language-servers/zls/default.nix b/pkgs/development/tools/language-servers/zls/default.nix index af6e1f5e4342..408bb69f64b6 100644 --- a/pkgs/development/tools/language-servers/zls/default.nix +++ b/pkgs/development/tools/language-servers/zls/default.nix @@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: { changelog = "https://github.com/zigtools/zls/releases/tag/${finalAttrs.version}"; homepage = "https://github.com/zigtools/zls"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ figsoda moni ]; + maintainers = with lib.maintainers; [ figsoda moni _0x5a4 ]; platforms = lib.platforms.unix; }; }) From 5a111d13dd5bd7a3d2b3604cc9aae16f02ac0316 Mon Sep 17 00:00:00 2001 From: Niclas Hirschfeld Date: Wed, 10 Jul 2024 13:36:53 +0200 Subject: [PATCH 05/93] maintainers: add nw --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 63d63dd631d1..b76e7e27c60a 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14772,6 +14772,12 @@ githubId = 16027994; name = "Nathan Viets"; }; + nw = { + email = "nixpkgs@nwhirschfeld.de"; + github = "nwhirschfeld"; + githubId = 5047052; + name = "Niclas Hirschfeld"; + }; nyadiia = { email = "nyadiia@pm.me"; github = "nyadiia"; From 63f25148f4779b0ccd461e0462329b55df8be00e Mon Sep 17 00:00:00 2001 From: Niclas Hirschfeld Date: Wed, 10 Jul 2024 16:22:27 +0200 Subject: [PATCH 06/93] lldap-cli: init at 0-unstable-2024-02-24 --- pkgs/by-name/ll/lldap-cli/package.nix | 61 +++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 pkgs/by-name/ll/lldap-cli/package.nix diff --git a/pkgs/by-name/ll/lldap-cli/package.nix b/pkgs/by-name/ll/lldap-cli/package.nix new file mode 100644 index 000000000000..6bec2c242662 --- /dev/null +++ b/pkgs/by-name/ll/lldap-cli/package.nix @@ -0,0 +1,61 @@ +{ stdenv +, lib +, fetchFromGitHub +, bash +, coreutils +, gnugrep +, gnused +, jq +, curl +, makeWrapper +}: +stdenv.mkDerivation { + pname = "lldap-cli"; + version = "0-unstable-2024-02-24"; + + src = fetchFromGitHub { + owner = "Zepmann"; + repo = "lldap-cli"; + rev = "d1fe50006c4a3a1796d4fb2d73d8c8dcfc875fd5"; + hash = "sha256-ZKRTYdgtOfV7TgpaVKLhYrCttYvB/bUexMshmmF8NyY="; + }; + + nativeBuildInputs = [ makeWrapper ]; + + patchPhase = '' + runHook prePatch + + # fix .lldap-cli-wrapped showing up in usage + substituteInPlace lldap-cli \ + --replace-fail '$(basename $0)' lldap-cli + + runHook postPatch + ''; + + dontConfigure = true; + dontBuild = true; + + installPhase = '' + install -Dm555 lldap-cli -t $out/bin + wrapProgram $out/bin/lldap-cli \ + --prefix PATH : ${lib.makeBinPath [ bash coreutils gnugrep gnused jq curl ]} + ''; + + meta = { + description = "Command line tool for managing LLDAP"; + longDescription = '' + LDAP-CLI is a command line interface for LLDAP. + + LLDAP uses GraphQL to offer an HTTP-based API. + This API is used by an included web-based user interface. + Unfortunately, LLDAP lacks a command-line interface, + which is a necessity for any serious administrator. + LLDAP-CLI translates CLI commands to GraphQL API calls. + ''; + homepage = "https://github.com/Zepmann/lldap-cli"; + license = lib.licenses.gpl3Only; + maintainers = [ lib.maintainers.nw ]; + mainProgram = "lldap-cli"; + platforms = lib.platforms.unix; + }; +} From bfb87624b3d66198acb768700f812790eb3afe67 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 12 Jul 2024 03:27:38 -0400 Subject: [PATCH 07/93] cartridges: use webp for tiff compression this is the default upstream and now works in nixpkgs after 67dea634b9ea2f82f29fad65abb7fb7f1c796b13 --- pkgs/by-name/ca/cartridges/package.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/by-name/ca/cartridges/package.nix b/pkgs/by-name/ca/cartridges/package.nix index eeb20dbfda77..0573d9a96588 100644 --- a/pkgs/by-name/ca/cartridges/package.nix +++ b/pkgs/by-name/ca/cartridges/package.nix @@ -25,9 +25,6 @@ python3Packages.buildPythonApplication rec { hash = "sha256-7T+q3T8z8SCpAn3ayodZeETOsTwL+hhVWzY2JyBEoi4="; }; - # TODO: remove this when #286814 hits master - mesonFlags = [ "-Dtiff_compression=jpeg" ]; - nativeBuildInputs = [ appstream blueprint-compiler From 7b1b48f8126493d6b8053f7336e0eb65eb8697ad Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 12 Jul 2024 03:29:08 -0400 Subject: [PATCH 08/93] cartridges: wrap gnome search provider Fixes https://github.com/NixOS/nixpkgs/issues/322013 Previously this always failed to run as it was unwrapped. Oops! --- pkgs/by-name/ca/cartridges/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/ca/cartridges/package.nix b/pkgs/by-name/ca/cartridges/package.nix index 0573d9a96588..807f007e0bd8 100644 --- a/pkgs/by-name/ca/cartridges/package.nix +++ b/pkgs/by-name/ca/cartridges/package.nix @@ -51,6 +51,10 @@ python3Packages.buildPythonApplication rec { dontWrapGApps = true; makeWrapperArgs = [ ''''${gappsWrapperArgs[@]}'' ]; + postFixup = '' + wrapPythonProgramsIn $out/libexec $out $pythonPath + ''; + meta = { description = "GTK4 + Libadwaita game launcher"; longDescription = '' From ec8d29ab82a4e664abd900898ea5d0afe4b36f7c Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 3 Sep 2023 19:59:13 +0100 Subject: [PATCH 09/93] cc-wrapper hardeningFlags tests: fix expected behaviour in corner cases also use fortify1-based tests in some places that it may allow us to better test the behaviour of toolchains that only support that --- pkgs/test/cc-wrapper/hardening.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/test/cc-wrapper/hardening.nix b/pkgs/test/cc-wrapper/hardening.nix index 41ddaefdfea8..ed7eef725054 100644 --- a/pkgs/test/cc-wrapper/hardening.nix +++ b/pkgs/test/cc-wrapper/hardening.nix @@ -237,13 +237,14 @@ in nameDrvAfterAttrName ({ expectFailure = true; }; - fortify3StdenvUnsuppDoesntUnsuppFortify = brokenIf stdenv.hostPlatform.isMusl (checkTestBin (f2exampleWithStdEnv (stdenvUnsupport ["fortify3"]) { + # musl implementation undetectable by this means even if present + fortify3StdenvUnsuppDoesntUnsuppFortify1 = brokenIf stdenv.hostPlatform.isMusl (checkTestBin (f1exampleWithStdEnv (stdenvUnsupport ["fortify3"]) { hardeningEnable = [ "fortify" ]; }) { ignoreFortify = false; }); - fortify3StdenvUnsuppDoesntUnsuppFortifyExecTest = fortifyExecTest (f2exampleWithStdEnv (stdenvUnsupport ["fortify3"]) { + fortify3StdenvUnsuppDoesntUnsuppFortify1ExecTest = fortifyExecTest (f1exampleWithStdEnv (stdenvUnsupport ["fortify3"]) { hardeningEnable = [ "fortify" ]; }); @@ -285,7 +286,8 @@ in nameDrvAfterAttrName ({ expectFailure = true; }; - fortify3EnabledEnvEnablesFortify = brokenIf stdenv.hostPlatform.isMusl (checkTestBin (f2exampleWithStdEnv stdenv { + # musl implementation undetectable by this means even if present + fortify3EnabledEnvEnablesFortify1 = brokenIf stdenv.hostPlatform.isMusl (checkTestBin (f1exampleWithStdEnv stdenv { hardeningDisable = [ "fortify" "fortify3" ]; preBuild = '' export NIX_HARDENING_ENABLE="fortify3" @@ -294,7 +296,7 @@ in nameDrvAfterAttrName ({ ignoreFortify = false; }); - fortify3EnabledEnvEnablesFortifyExecTest = fortifyExecTest (f2exampleWithStdEnv stdenv { + fortify3EnabledEnvEnablesFortify1ExecTest = fortifyExecTest (f1exampleWithStdEnv stdenv { hardeningDisable = [ "fortify" "fortify3" ]; preBuild = '' export NIX_HARDENING_ENABLE="fortify3" @@ -312,7 +314,6 @@ in nameDrvAfterAttrName ({ }; # NIX_HARDENING_ENABLE can't enable an unsupported feature - stackProtectorUnsupportedEnabledEnv = checkTestBin (f2exampleWithStdEnv (stdenvUnsupport ["stackprotector"]) { preBuild = '' export NIX_HARDENING_ENABLE="stackprotector" @@ -322,6 +323,9 @@ in nameDrvAfterAttrName ({ expectFailure = true; }; + # current implementation prevents the command-line from disabling + # fortify if cc-wrapper is enabling it. + # undetectable by this means on static even if present fortify1ExplicitEnabledCmdlineDisabled = brokenIf stdenv.hostPlatform.isStatic (checkTestBin (f1exampleWithStdEnv stdenv { hardeningEnable = [ "fortify" ]; @@ -330,9 +334,12 @@ in nameDrvAfterAttrName ({ ''; }) { ignoreFortify = false; - expectFailure = true; + expectFailure = false; }); + # current implementation doesn't force-disable fortify if + # command-line enables it even if we use hardeningDisable. + # musl implementation undetectable by this means even if present fortify1ExplicitDisabledCmdlineEnabled = brokenIf ( stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isStatic From 8817329dec82ef9d5c7034749ab48b12bf62c0d3 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 14 Jul 2024 06:04:11 +0200 Subject: [PATCH 10/93] bsc: add sigmanificient to maintainers --- pkgs/tools/compression/bsc/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/compression/bsc/default.nix b/pkgs/tools/compression/bsc/default.nix index 7d2af1c4898f..38f53dcb8000 100644 --- a/pkgs/tools/compression/bsc/default.nix +++ b/pkgs/tools/compression/bsc/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "High performance block-sorting data compression library"; homepage = "http://libbsc.com/"; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ sigmanificient ]; # Later commits changed the licence to Apache2 (no release yet, though) license = with licenses; [ lgpl3Plus ]; platforms = platforms.unix; From 4caee5e3808bb98d4b1b73ec334e914b2e834451 Mon Sep 17 00:00:00 2001 From: Mogeko Date: Mon, 15 Jul 2024 14:57:03 +0800 Subject: [PATCH 11/93] rke2: set the correct working directory for the update script --- .../networking/cluster/rke2/update-script.sh | 38 +++++++++---------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/pkgs/applications/networking/cluster/rke2/update-script.sh b/pkgs/applications/networking/cluster/rke2/update-script.sh index 608f49bb6490..029933b8f802 100755 --- a/pkgs/applications/networking/cluster/rke2/update-script.sh +++ b/pkgs/applications/networking/cluster/rke2/update-script.sh @@ -5,7 +5,9 @@ set -x -eu -o pipefail CHANNEL_NAME="${1:?Must provide a release channel, like 'stable', as the only argument}" -mkdir --parents --verbose ./${CHANNEL_NAME} +WORKDIR=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd -P) + +mkdir --parents --verbose "${WORKDIR}/${CHANNEL_NAME}" LATEST_TAG_NAME=$(curl --silent --fail https://update.rke2.io/v1-release/channels | \ yq eval ".data[] | select(.id == \"${CHANNEL_NAME}\").latest" - | \ @@ -35,9 +37,9 @@ KUBERNETES_EOL=$(curl --silent --fail \ https://endoflife.date/api/kubernetes/${KUBERNETES_CYCLES}.json | \ yq eval ".eol" -) -FAKE_HASH="sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; +FAKE_HASH="sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" -cat > ./${CHANNEL_NAME}/versions.nix << EOF +cat << EOF > "${WORKDIR}/${CHANNEL_NAME}/versions.nix" { rke2Version = "${RKE2_VERSION}"; rke2RepoSha256 = "${RKE2_REPO_SHA256}"; @@ -54,15 +56,13 @@ cat > ./${CHANNEL_NAME}/versions.nix << EOF } EOF -NIXPKGS_ROOT=$(git rev-parse --show-toplevel) - set +e -RKE2_VENDOR_HASH=$(nix-prefetch -I nixpkgs=${NIXPKGS_ROOT} \ - "{ sha256 }: (import ${NIXPKGS_ROOT}/. {}).rke2_${CHANNEL_NAME}.goModules.overrideAttrs (_: { vendorHash = sha256; })") +RKE2_VENDOR_HASH=$(nix-prefetch -I nixpkgs=$(git rev-parse --show-toplevel) \ + "{ sha256 }: rke2_${CHANNEL_NAME}.goModules.overrideAttrs (_: { vendorHash = sha256; })") set -e if [ -n "${RKE2_VENDOR_HASH:-}" ]; then - sed -i "s#${FAKE_HASH}#${RKE2_VENDOR_HASH}#g" ./${CHANNEL_NAME}/versions.nix + sed -i "s#${FAKE_HASH}#${RKE2_VENDOR_HASH}#g" ${WORKDIR}/${CHANNEL_NAME}/versions.nix else echo "Update failed. 'RKE2_VENDOR_HASH' is empty." exit 1 @@ -70,17 +70,15 @@ fi # Implement commit # See: https://nixos.org/manual/nixpkgs/stable/#var-passthru-updateScript-commit -OLD_VERSION=$(nix-instantiate --eval -E \ - "with import ${NIXPKGS_ROOT}/. {}; rke2.version or (builtins.parseDrvName rke2.name).version" | \ - tr -d '"') - cat << EOF -[{ - "attrPath": "rke2_${CHANNEL_NAME}", - "oldVersion": "${OLD_VERSION}", - "newVersion": "${RKE2_VERSION}", - "files": [ - "${PWD}/${CHANNEL_NAME}/versions.nix" - ] -}] +[ + { + "attrPath": "rke2_${CHANNEL_NAME}", + "oldVersion": "${UPDATE_NIX_OLD_VERSION}", + "newVersion": "${RKE2_VERSION}", + "files": [ + "${WORKDIR}/${CHANNEL_NAME}/versions.nix" + ] + } +] EOF From 38b580b21abf4182681dd6f6aa068acfa02da8d9 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 13 Jul 2024 18:16:29 +0100 Subject: [PATCH 12/93] cc-wrapper hardeningFlags tests: add tests for stackclashprotection --- pkgs/test/cc-wrapper/hardening.nix | 100 ++++++++++++++++++++++------- 1 file changed, 77 insertions(+), 23 deletions(-) diff --git a/pkgs/test/cc-wrapper/hardening.nix b/pkgs/test/cc-wrapper/hardening.nix index ed7eef725054..f8cd3c08ccdf 100644 --- a/pkgs/test/cc-wrapper/hardening.nix +++ b/pkgs/test/cc-wrapper/hardening.nix @@ -3,6 +3,7 @@ , runCommand , runCommandWith , runCommandCC +, hello , debian-devscripts }: @@ -18,6 +19,7 @@ let allowSubstitutes = false; } // env; } '' + [ -n "$postConfigure" ] && eval "$postConfigure" [ -n "$preBuild" ] && eval "$preBuild" n=$out/bin/test-bin mkdir -p "$(dirname "$n")" @@ -29,6 +31,17 @@ let f2exampleWithStdEnv = writeCBinWithStdenv ./fortify2-example.c; f3exampleWithStdEnv = writeCBinWithStdenv ./fortify3-example.c; + # for when we need a slightly more complicated program + helloWithStdEnv = stdenv': env: (hello.override { stdenv = stdenv'; }).overrideAttrs ({ + preBuild = '' + export CFLAGS="$TEST_EXTRA_FLAGS" + ''; + NIX_DEBUG = "1"; + postFixup = '' + cp $out/bin/hello $out/bin/test-bin + ''; + } // env); + stdenvUnsupport = additionalUnsupported: stdenv.override { cc = stdenv.cc.override { cc = (lib.extendDerivation true { @@ -45,24 +58,39 @@ let ignorePie ? true, ignoreRelRO ? true, ignoreStackProtector ? true, + ignoreStackClashProtection ? true, expectFailure ? false, }: let + stackClashStr = "Stack clash protection: yes"; expectFailureClause = lib.optionalString expectFailure - " && echo 'ERROR: Expected hardening-check to fail, but it passed!' >&2 && exit 1"; + " && echo 'ERROR: Expected hardening-check to fail, but it passed!' >&2 && false"; in runCommandCC "check-test-bin" { nativeBuildInputs = [ debian-devscripts ]; buildInputs = [ testBin ]; - meta.platforms = lib.platforms.linux; # ELF-reliant - } '' - hardening-check --nocfprotection \ - ${lib.optionalString ignoreBindNow "--nobindnow"} \ - ${lib.optionalString ignoreFortify "--nofortify"} \ - ${lib.optionalString ignorePie "--nopie"} \ - ${lib.optionalString ignoreRelRO "--norelro"} \ - ${lib.optionalString ignoreStackProtector "--nostackprotector"} \ - $(PATH=$HOST_PATH type -P test-bin) ${expectFailureClause} - touch $out - ''; + meta.platforms = if ignoreStackClashProtection + then lib.platforms.linux # ELF-reliant + else [ "x86_64-linux" ]; # stackclashprotection test looks for x86-specific instructions + } ('' + if ${lib.optionalString (!expectFailure) "!"} { + hardening-check --nocfprotection \ + ${lib.optionalString ignoreBindNow "--nobindnow"} \ + ${lib.optionalString ignoreFortify "--nofortify"} \ + ${lib.optionalString ignorePie "--nopie"} \ + ${lib.optionalString ignoreRelRO "--norelro"} \ + ${lib.optionalString ignoreStackProtector "--nostackprotector"} \ + $(PATH=$HOST_PATH type -P test-bin) | tee $out + '' + lib.optionalString (!ignoreStackClashProtection) '' + # stack clash protection doesn't actually affect the exit code of + # hardening-check (likely authors think false negatives too common) + { grep -F '${stackClashStr}' $out || { echo "Didn't find '${stackClashStr}' in output" && false ;} ;} + '' + '' + } ; then + '' + lib.optionalString expectFailure '' + echo 'ERROR: Expected hardening-check to fail, but it passed!' >&2 + '' + '' + exit 2 + fi + ''); nameDrvAfterAttrName = builtins.mapAttrs (name: drv: drv.overrideAttrs (_: { name = "test-${name}"; }) @@ -151,6 +179,13 @@ in nameDrvAfterAttrName ({ ignoreStackProtector = false; }); + # protection patterns generated by clang not detectable? + stackClashProtectionExplicitEnabled = brokenIf stdenv.cc.isClang (checkTestBin (helloWithStdEnv stdenv { + hardeningEnable = [ "stackclashprotection" ]; + }) { + ignoreStackClashProtection = false; + }); + bindNowExplicitDisabled = checkTestBin (f2exampleWithStdEnv stdenv { hardeningDisable = [ "bindnow" ]; }) { @@ -211,6 +246,13 @@ in nameDrvAfterAttrName ({ expectFailure = true; }; + stackClashProtectionExplicitDisabled = checkTestBin (helloWithStdEnv stdenv { + hardeningDisable = [ "stackclashprotection" ]; + }) { + ignoreStackClashProtection = false; + expectFailure = true; + }; + # most flags can't be "unsupported" by compiler alone and # binutils doesn't have an accessible hardeningUnsupportedFlags # mechanism, so can only test a couple of flags through altered @@ -255,12 +297,19 @@ in nameDrvAfterAttrName ({ expectFailure = true; }; + stackClashProtectionStdenvUnsupp = checkTestBin (helloWithStdEnv (stdenvUnsupport ["stackclashprotection"]) { + hardeningEnable = [ "stackclashprotection" ]; + }) { + ignoreStackClashProtection = false; + expectFailure = true; + }; + # NIX_HARDENING_ENABLE set in the shell overrides hardeningDisable # and hardeningEnable stackProtectorReenabledEnv = checkTestBin (f2exampleWithStdEnv stdenv { hardeningDisable = [ "stackprotector" ]; - preBuild = '' + postConfigure = '' export NIX_HARDENING_ENABLE="stackprotector" ''; }) { @@ -269,7 +318,7 @@ in nameDrvAfterAttrName ({ stackProtectorReenabledFromAllEnv = checkTestBin (f2exampleWithStdEnv stdenv { hardeningDisable = [ "all" ]; - preBuild = '' + postConfigure = '' export NIX_HARDENING_ENABLE="stackprotector" ''; }) { @@ -278,7 +327,7 @@ in nameDrvAfterAttrName ({ stackProtectorRedisabledEnv = checkTestBin (f2exampleWithStdEnv stdenv { hardeningEnable = [ "stackprotector" ]; - preBuild = '' + postConfigure = '' export NIX_HARDENING_ENABLE="" ''; }) { @@ -289,7 +338,7 @@ in nameDrvAfterAttrName ({ # musl implementation undetectable by this means even if present fortify3EnabledEnvEnablesFortify1 = brokenIf stdenv.hostPlatform.isMusl (checkTestBin (f1exampleWithStdEnv stdenv { hardeningDisable = [ "fortify" "fortify3" ]; - preBuild = '' + postConfigure = '' export NIX_HARDENING_ENABLE="fortify3" ''; }) { @@ -298,14 +347,14 @@ in nameDrvAfterAttrName ({ fortify3EnabledEnvEnablesFortify1ExecTest = fortifyExecTest (f1exampleWithStdEnv stdenv { hardeningDisable = [ "fortify" "fortify3" ]; - preBuild = '' + postConfigure = '' export NIX_HARDENING_ENABLE="fortify3" ''; }); fortifyEnabledEnvDoesntEnableFortify3 = checkTestBin (f3exampleWithStdEnv stdenv { hardeningDisable = [ "fortify" "fortify3" ]; - preBuild = '' + postConfigure = '' export NIX_HARDENING_ENABLE="fortify" ''; }) { @@ -315,7 +364,7 @@ in nameDrvAfterAttrName ({ # NIX_HARDENING_ENABLE can't enable an unsupported feature stackProtectorUnsupportedEnabledEnv = checkTestBin (f2exampleWithStdEnv (stdenvUnsupport ["stackprotector"]) { - preBuild = '' + postConfigure = '' export NIX_HARDENING_ENABLE="stackprotector" ''; }) { @@ -329,7 +378,7 @@ in nameDrvAfterAttrName ({ # undetectable by this means on static even if present fortify1ExplicitEnabledCmdlineDisabled = brokenIf stdenv.hostPlatform.isStatic (checkTestBin (f1exampleWithStdEnv stdenv { hardeningEnable = [ "fortify" ]; - preBuild = '' + postConfigure = '' export TEST_EXTRA_FLAGS='-D_FORTIFY_SOURCE=0' ''; }) { @@ -345,7 +394,7 @@ in nameDrvAfterAttrName ({ stdenv.hostPlatform.isMusl || stdenv.hostPlatform.isStatic ) (checkTestBin (f1exampleWithStdEnv stdenv { hardeningDisable = [ "fortify" ]; - preBuild = '' + postConfigure = '' export TEST_EXTRA_FLAGS='-D_FORTIFY_SOURCE=1' ''; }) { @@ -354,14 +403,14 @@ in nameDrvAfterAttrName ({ fortify1ExplicitDisabledCmdlineEnabledExecTest = fortifyExecTest (f1exampleWithStdEnv stdenv { hardeningDisable = [ "fortify" ]; - preBuild = '' + postConfigure = '' export TEST_EXTRA_FLAGS='-D_FORTIFY_SOURCE=1' ''; }); fortify1ExplicitEnabledCmdlineDisabledNoWarn = f1exampleWithStdEnv stdenv { hardeningEnable = [ "fortify" ]; - preBuild = '' + postConfigure = '' export TEST_EXTRA_FLAGS='-D_FORTIFY_SOURCE=0 -Werror' ''; }; @@ -400,4 +449,9 @@ in { ignoreStackProtector = false; expectFailure = true; }; + + allExplicitDisabledStackClashProtection = checkTestBin tb { + ignoreStackClashProtection = false; + expectFailure = true; + }; })) From 2e0d7e230a022096bb4d9c744f636f417ad71c84 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 13 Jul 2024 23:47:23 +0100 Subject: [PATCH 13/93] cc-wrapper hardeningFlags tests: fix stdenvUnsupport-based tests these were not updated to understand hardeningUnsupportedFlagsByTargetPlatform when it was added causing more tests to fail for clang than otherwise would --- pkgs/test/cc-wrapper/hardening.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/pkgs/test/cc-wrapper/hardening.nix b/pkgs/test/cc-wrapper/hardening.nix index f8cd3c08ccdf..270e9a2e8761 100644 --- a/pkgs/test/cc-wrapper/hardening.nix +++ b/pkgs/test/cc-wrapper/hardening.nix @@ -44,8 +44,19 @@ let stdenvUnsupport = additionalUnsupported: stdenv.override { cc = stdenv.cc.override { - cc = (lib.extendDerivation true { - hardeningUnsupportedFlags = (stdenv.cc.cc.hardeningUnsupportedFlags or []) ++ additionalUnsupported; + cc = (lib.extendDerivation true rec { + # this is ugly - have to cross-reference from + # hardeningUnsupportedFlagsByTargetPlatform to hardeningUnsupportedFlags + # because the finalAttrs mechanism that hardeningUnsupportedFlagsByTargetPlatform + # implementations use to do this won't work with lib.extendDerivation. + # but it's simplified by the fact that targetPlatform is already fixed + # at this point. + hardeningUnsupportedFlagsByTargetPlatform = _: hardeningUnsupportedFlags; + hardeningUnsupportedFlags = ( + if stdenv.cc.cc ? hardeningUnsupportedFlagsByTargetPlatform + then stdenv.cc.cc.hardeningUnsupportedFlagsByTargetPlatform stdenv.targetPlatform + else (stdenv.cc.cc.hardeningUnsupportedFlags or []) + ) ++ additionalUnsupported; } stdenv.cc.cc); }; allowedRequisites = null; @@ -258,7 +269,7 @@ in nameDrvAfterAttrName ({ # mechanism, so can only test a couple of flags through altered # stdenv trickery - fortifyStdenvUnsupp = checkTestBin (f2exampleWithStdEnv (stdenvUnsupport ["fortify"]) { + fortifyStdenvUnsupp = checkTestBin (f2exampleWithStdEnv (stdenvUnsupport ["fortify" "fortify3"]) { hardeningEnable = [ "fortify" ]; }) { ignoreFortify = false; From 606cfb42f116bf28749d4a585598b4f92195e01b Mon Sep 17 00:00:00 2001 From: Coutinho de Souza Date: Fri, 10 May 2024 17:01:33 -0300 Subject: [PATCH 14/93] hare: refactor cross-compilation tests Now it does test for cross-compilation. --- .../ha/hare/cross-compilation-tests.nix | 61 +++++++++++-------- pkgs/by-name/ha/hare/package.nix | 7 ++- 2 files changed, 41 insertions(+), 27 deletions(-) diff --git a/pkgs/by-name/ha/hare/cross-compilation-tests.nix b/pkgs/by-name/ha/hare/cross-compilation-tests.nix index 26611fea9d65..c5797a9a1566 100644 --- a/pkgs/by-name/ha/hare/cross-compilation-tests.nix +++ b/pkgs/by-name/ha/hare/cross-compilation-tests.nix @@ -1,31 +1,40 @@ -{ lib -, buildPackages -, hare -, runCommandNoCC -, stdenv -, writeText +{ + lib, + file, + hare, + runCommandNoCC, + writeText, }: let - inherit (stdenv.hostPlatform.uname) processor; - inherit (stdenv.hostPlatform) emulator; + archs = lib.concatStringsSep " " ( + builtins.map (lib.removeSuffix "-linux") ( + builtins.filter (lib.hasSuffix "-linux") hare.meta.platforms + ) + ); mainDotHare = writeText "main.ha" '' - use fmt; - use os; - export fn main() void = { - const machine = os::machine(); - if (machine == "${processor}") { - fmt::println("os::machine() matches ${processor}")!; - } else { - fmt::fatalf("os::machine() does not match ${processor}: {}", machine); - }; - }; + export fn main() void = void; ''; in -runCommandNoCC "${hare.pname}-cross-compilation-test" { meta.timeout = 60; } '' - HARECACHE="$(mktemp -d --tmpdir harecache.XXXXXXXX)" - export HARECACHE - outbin="test-${processor}" - ${lib.getExe hare} build -q -a "${processor}" -o "$outbin" ${mainDotHare} - ${emulator buildPackages} "./$outbin" - : 1>$out -'' +runCommandNoCC "${hare.pname}-cross-compilation-test" + { + nativeBuildInputs = [ + hare + file + ]; + } + '' + HARECACHE="$(mktemp -d)" + export HARECACHE + readonly binprefix="bin" + for a in ${archs}; do + outbin="$binprefix-$a" + set -x + hare build -o "$outbin" -q -R -a "$a" ${mainDotHare} + set +x + printf -- 'Built "%s" target\n' "$a" + done + + file -- "$binprefix-"* + + : 1>$out + '' diff --git a/pkgs/by-name/ha/hare/package.nix b/pkgs/by-name/ha/hare/package.nix index 6090106f7b43..c809d73c3897 100644 --- a/pkgs/by-name/ha/hare/package.nix +++ b/pkgs/by-name/ha/hare/package.nix @@ -161,7 +161,12 @@ stdenv.mkDerivation (finalAttrs: { } // lib.optionalAttrs (stdenv.buildPlatform.canExecute stdenv.hostPlatform) { mimeModule = callPackage ./mime-module-test.nix { hare = finalAttrs.finalPackage; }; - }; + } + // + lib.optionalAttrs (enableCrossCompilation && stdenv.buildPlatform.canExecute stdenv.hostPlatform) + { + crossCompilation = callPackage ./cross-compilation-tests.nix { hare = finalAttrs.finalPackage; }; + }; # To be propagated by `hareHook`. inherit harec qbe; }; From 8dc9835b188149b8c056c44d7688d799eab4cfe3 Mon Sep 17 00:00:00 2001 From: Robert James Hernandez Date: Thu, 18 Jul 2024 19:11:50 +0000 Subject: [PATCH 15/93] terraspace: remove version from Gemfile --- pkgs/applications/networking/cluster/terraspace/Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/terraspace/Gemfile b/pkgs/applications/networking/cluster/terraspace/Gemfile index 7a6bbf7cc943..3e9579dd75cf 100644 --- a/pkgs/applications/networking/cluster/terraspace/Gemfile +++ b/pkgs/applications/networking/cluster/terraspace/Gemfile @@ -1,2 +1,2 @@ source "https://rubygems.org" -gem "terraspace", '~> 2.2.8' +gem "terraspace" From 96bed3710e36e0170368ffdbf268b3e57deb8bec Mon Sep 17 00:00:00 2001 From: Robert James Hernandez Date: Thu, 18 Jul 2024 19:18:12 +0000 Subject: [PATCH 16/93] terraspace: 2.2.8 -> 2.2.17 --- .../cluster/terraspace/Gemfile.lock | 100 +++++----- .../networking/cluster/terraspace/gemset.nix | 175 ++++++++++++------ 2 files changed, 174 insertions(+), 101 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraspace/Gemfile.lock b/pkgs/applications/networking/cluster/terraspace/Gemfile.lock index 4fce1f819664..aa9e1600198b 100644 --- a/pkgs/applications/networking/cluster/terraspace/Gemfile.lock +++ b/pkgs/applications/networking/cluster/terraspace/Gemfile.lock @@ -1,36 +1,45 @@ GEM remote: https://rubygems.org/ specs: - activesupport (7.0.6) + activesupport (7.1.3.4) + base64 + bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) + connection_pool (>= 2.2.5) + drb i18n (>= 1.6, < 2) minitest (>= 5.1) + mutex_m tzinfo (~> 2.0) - aws-eventstream (1.2.0) - aws-partitions (1.785.0) - aws-sdk-core (3.177.0) - aws-eventstream (~> 1, >= 1.0.2) + aws-eventstream (1.3.0) + aws-partitions (1.956.0) + aws-sdk-core (3.201.1) + aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) - aws-sigv4 (~> 1.5) + aws-sigv4 (~> 1.8) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.70.0) - aws-sdk-core (~> 3, >= 3.177.0) - aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.128.0) - aws-sdk-core (~> 3, >= 3.177.0) + aws-sdk-kms (1.88.0) + aws-sdk-core (~> 3, >= 3.201.0) + aws-sigv4 (~> 1.5) + aws-sdk-s3 (1.156.0) + aws-sdk-core (~> 3, >= 3.201.0) aws-sdk-kms (~> 1) - aws-sigv4 (~> 1.6) - aws-sigv4 (1.6.0) + aws-sigv4 (~> 1.5) + aws-sigv4 (1.8.0) aws-eventstream (~> 1, >= 1.0.2) - cli-format (0.2.2) + base64 (0.2.0) + bigdecimal (3.1.8) + cli-format (0.6.1) activesupport text-table zeitwerk - concurrent-ruby (1.2.2) + concurrent-ruby (1.3.3) + connection_pool (2.4.1) deep_merge (1.2.2) - diff-lcs (1.5.0) - dotenv (2.8.1) - dsl_evaluator (0.3.1) + diff-lcs (1.5.1) + dotenv (3.1.2) + drb (2.2.1) + dsl_evaluator (0.3.2) activesupport memoist rainbow @@ -38,40 +47,42 @@ GEM eventmachine (1.2.7) eventmachine-tail (0.6.5) eventmachine - graph (2.11.0) + graph (2.11.1) hcl_parser (0.2.2) rhcl - i18n (1.14.1) + i18n (1.14.5) concurrent-ruby (~> 1.0) jmespath (1.6.2) memoist (0.16.2) - minitest (5.18.1) - nokogiri (1.15.3) - racc (~> 1.4) + mini_portile2 (2.8.7) + minitest (5.24.1) + mutex_m (0.2.0) + nokogiri (1.16.6) mini_portile2 (~> 2.8.2) - racc (1.7.1) - mini_portile2 (2.8.2) + racc (~> 1.4) + racc (1.8.0) rainbow (3.1.1) render_me_pretty (0.9.0) activesupport rainbow tilt - rexml (3.2.5) + rexml (3.3.2) + strscan rhcl (0.1.0) deep_merge - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.5) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.1) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) rspec-terraspace (0.3.3) activesupport memoist @@ -79,7 +90,8 @@ GEM rspec zeitwerk rubyzip (2.3.2) - terraspace (2.2.8) + strscan (3.1.0) + terraspace (2.2.17) activesupport bundler cli-format @@ -110,20 +122,20 @@ GEM thor zeitwerk text-table (1.2.4) - thor (1.2.2) - tilt (2.2.0) + thor (1.3.1) + tilt (2.4.0) tty-tree (0.4.0) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - zeitwerk (2.6.8) + zeitwerk (2.6.16) zip_folder (0.1.0) rubyzip PLATFORMS - x86_64-linux + ruby DEPENDENCIES - terraspace (~> 2.2.8) + terraspace BUNDLED WITH - 2.3.26 + 2.5.11 diff --git a/pkgs/applications/networking/cluster/terraspace/gemset.nix b/pkgs/applications/networking/cluster/terraspace/gemset.nix index a4e082c6d0d8..606e450c4270 100644 --- a/pkgs/applications/networking/cluster/terraspace/gemset.nix +++ b/pkgs/applications/networking/cluster/terraspace/gemset.nix @@ -1,34 +1,34 @@ { activesupport = { - dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"]; + dependencies = ["base64" "bigdecimal" "concurrent-ruby" "connection_pool" "drb" "i18n" "minitest" "mutex_m" "tzinfo"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1cjsf26656996hv48wgv2mkwxf0fy1qc68ikgzq7mzfq2mmvmayk"; + sha256 = "0283wk1zxb76lg79dk501kcf5xy9h25qiw15m86s4nrfv11vqns5"; type = "gem"; }; - version = "7.0.6"; + version = "7.1.3.4"; }; aws-eventstream = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1pyis1nvnbjxk12a43xvgj2gv0mvp4cnkc1gzw0v1018r61399gz"; + sha256 = "0gvdg4yx4p9av2glmp7vsxhs0n8fj1ga9kq2xdb8f95j7b04qhzi"; type = "gem"; }; - version = "1.2.0"; + version = "1.3.0"; }; aws-partitions = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "05m0c3h1z0jhaqiciil55fshrjvc725cf1lc0g933pf98vqflb0r"; + sha256 = "03zb6x4x68y91gywsyi4a6hxy4pdyng8mnxwd858bhjfymml8kkf"; type = "gem"; }; - version = "1.785.0"; + version = "1.956.0"; }; aws-sdk-core = { dependencies = ["aws-eventstream" "aws-partitions" "aws-sigv4" "jmespath"]; @@ -36,10 +36,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "09firi4bin3ay4pd59qgxspq2f1isfi1li8rabpw6lvvbhnar168"; + sha256 = "1ihl7iwndl3jjy89sh427wf8mdb7ii76bsjf6fkxq9ha30nz4f3g"; type = "gem"; }; - version = "3.177.0"; + version = "3.201.1"; }; aws-sdk-kms = { dependencies = ["aws-sdk-core" "aws-sigv4"]; @@ -47,10 +47,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1x73qj2c39ap926by14x56cjmp2cd5jpq5gv33xynypy1idyb0fj"; + sha256 = "02g3l3lcyddqncrwjxgawxl33p2p715k1gbrdlgyiv0yvy88sn0k"; type = "gem"; }; - version = "1.70.0"; + version = "1.88.0"; }; aws-sdk-s3 = { dependencies = ["aws-sdk-core" "aws-sdk-kms" "aws-sigv4"]; @@ -58,10 +58,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "11cxk6b3p1bsl1gg3pi93qx2ynbjrrsrsc68nnqsjm4npvaj052v"; + sha256 = "0ika0xmmrkc7jiwdi5gqia5wywkcbw1nal2dhl436dkh38fxl0lk"; type = "gem"; }; - version = "1.128.0"; + version = "1.156.0"; }; aws-sigv4 = { dependencies = ["aws-eventstream"]; @@ -69,10 +69,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0z889c4c1w7wsjm3szg64ay5j51kjl4pdf94nlr1yks2rlanm7na"; + sha256 = "1g3w27wzjy4si6kp49w10as6ml6g6zl3xrfqs5ikpfciidv9kpc4"; type = "gem"; }; - version = "1.6.0"; + version = "1.8.0"; + }; + base64 = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "01qml0yilb9basf7is2614skjp8384h2pycfx86cr8023arfj98g"; + type = "gem"; + }; + version = "0.2.0"; + }; + bigdecimal = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1gi7zqgmqwi5lizggs1jhc3zlwaqayy9rx2ah80sxy24bbnng558"; + type = "gem"; + }; + version = "3.1.8"; }; cli-format = { dependencies = ["activesupport" "text-table" "zeitwerk"]; @@ -80,20 +100,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1mr8vkw5zwb3flhhf8s923mi7r85g1ky0lmjz4q5xhwb48ji55qf"; + sha256 = "0rrjck5r25dlcg1gwz6pb5f4rllx77lg6a514a5l3lajfd95shm3"; type = "gem"; }; - version = "0.2.2"; + version = "0.6.1"; }; concurrent-ruby = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0krcwb6mn0iklajwngwsg850nk8k9b35dhmc2qkbdqvmifdi2y9q"; + sha256 = "0skwdasxq7mnlcccn6aqabl7n9r3jd7k19ryzlzzip64cn4x572g"; type = "gem"; }; - version = "1.2.2"; + version = "1.3.3"; + }; + connection_pool = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1x32mcpm2cl5492kd6lbjbaf17qsssmpx9kdyr7z1wcif2cwyh0g"; + type = "gem"; + }; + version = "2.4.1"; }; deep_merge = { groups = ["default"]; @@ -110,20 +140,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0rwvjahnp7cpmracd8x732rjgnilqv2sx7d1gfrysslc3h039fa9"; + sha256 = "1znxccz83m4xgpd239nyqxlifdb7m8rlfayk6s259186nkgj6ci7"; type = "gem"; }; - version = "1.5.0"; + version = "1.5.1"; }; dotenv = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1n0pi8x8ql5h1mijvm8lgn6bhq4xjb5a500p5r1krq4s6j9lg565"; + sha256 = "0y24jabiz4cf9ni9vi4j8sab8b5phpf2mpw3981r0r94l4m6q0q8"; type = "gem"; }; - version = "2.8.1"; + version = "3.1.2"; + }; + drb = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0h5kbj9hvg5hb3c7l425zpds0vb42phvln2knab8nmazg2zp5m79"; + type = "gem"; + }; + version = "2.2.1"; }; dsl_evaluator = { dependencies = ["activesupport" "memoist" "rainbow" "zeitwerk"]; @@ -131,10 +171,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0mck2j0gr851kj9l7pix97jmmwwazfjq83ryamx5rpdbgv5mrh51"; + sha256 = "0hd079baa5pfyyc2wc9p5h82qjp7fnx0s0shn2i19ig186cizh2x"; type = "gem"; }; - version = "0.3.1"; + version = "0.3.2"; }; eventmachine = { groups = ["default"]; @@ -162,10 +202,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "10l1bdqc9yzdk6kqwh9vw918lyw846gpqw2z8kfcwl53zdjdzcl9"; + sha256 = "1bwssjgl9nfq9jhn9bfc7pqfl2c2xi0wnpng66l029m03kmdq8k4"; type = "gem"; }; - version = "2.11.0"; + version = "2.11.1"; }; hcl_parser = { dependencies = ["rhcl"]; @@ -184,10 +224,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0qaamqsh5f3szhcakkak8ikxlzxqnv49n2p7504hcz2l0f4nj0wx"; + sha256 = "1ffix518y7976qih9k1lgnc17i3v6yrlh0a3mckpxdb4wc2vrp16"; type = "gem"; }; - version = "1.14.1"; + version = "1.14.5"; }; jmespath = { groups = ["default"]; @@ -214,20 +254,30 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0z7f38iq37h376n9xbl4gajdrnwzq284c9v1py4imw3gri2d5cj6"; + sha256 = "1q1f2sdw3y3y9mnym9dhjgsjr72sq975cfg5c4yx7gwv8nmzbvhk"; type = "gem"; }; - version = "2.8.2"; + version = "2.8.7"; }; minitest = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1kg9wh7jlc9zsr3hkhpzkbn0ynf4np5ap9m2d8xdrb8shy0y6pmb"; + sha256 = "0jj629q3vw5yn90q4di4dyb87pil4a8qfm2srhgy5nc8j2n33v1i"; type = "gem"; }; - version = "5.18.1"; + version = "5.24.1"; + }; + mutex_m = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "1ma093ayps1m92q845hmpk0dmadicvifkbf05rpq9pifhin0rvxn"; + type = "gem"; + }; + version = "0.2.0"; }; nokogiri = { dependencies = ["mini_portile2" "racc"]; @@ -235,20 +285,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1jw8a20a9k05fpz3q24im19b97idss3179z76yn5scc5b8lk2rl7"; + sha256 = "1vz1ychq2fhfqjgqdrx8bqkaxg5dzcgwnah00m57ydylczfy8pwk"; type = "gem"; }; - version = "1.15.3"; + version = "1.16.6"; }; racc = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "11v3l46mwnlzlc371wr3x6yylpgafgwdf0q7hc7c1lzx6r414r5g"; + sha256 = "021s7maw0c4d9a6s07vbmllrzqsj2sgmrwimlh8ffkvwqdjrld09"; type = "gem"; }; - version = "1.7.1"; + version = "1.8.0"; }; rainbow = { groups = ["default"]; @@ -272,14 +322,15 @@ version = "0.9.0"; }; rexml = { + dependencies = ["strscan"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "08ximcyfjy94pm1rhcx04ny1vx2sk0x4y185gzn86yfsbzwkng53"; + sha256 = "0zr5qpa8lampaqzhdcjcvyqnrqcjl7439mqjlkjz43wdhmpnh4s5"; type = "gem"; }; - version = "3.2.5"; + version = "3.3.2"; }; rhcl = { dependencies = ["deep_merge"]; @@ -298,10 +349,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "171rc90vcgjl8p1bdrqa92ymrj8a87qf6w20x05xq29mljcigi6c"; + sha256 = "14xrp8vq6i9zx37vh0yp4h9m0anx9paw200l1r5ad9fmq559346l"; type = "gem"; }; - version = "3.12.0"; + version = "3.13.0"; }; rspec-core = { dependencies = ["rspec-support"]; @@ -309,10 +360,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0l95bnjxdabrn79hwdhn2q1n7mn26pj7y1w5660v5qi81x458nqm"; + sha256 = "0k252n7s80bvjvpskgfm285a3djjjqyjcarlh3aq7a4dx2s94xsm"; type = "gem"; }; - version = "3.12.2"; + version = "3.13.0"; }; rspec-expectations = { dependencies = ["diff-lcs" "rspec-support"]; @@ -320,10 +371,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "05j44jfqlv7j2rpxb5vqzf9hfv7w8ba46wwgxwcwd8p0wzi1hg89"; + sha256 = "0022nxs9gqfhx35n4klibig770n0j31pnkd8anz00yvrvkdghk41"; type = "gem"; }; - version = "3.12.3"; + version = "3.13.1"; }; rspec-mocks = { dependencies = ["diff-lcs" "rspec-support"]; @@ -331,20 +382,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1hfm17xakfvwya236graj6c2arr4sb9zasp35q5fykhyz8mhs0w2"; + sha256 = "0f3vgp43hajw716vmgjv6f4ar6f97zf50snny6y3fy9kkj4qjw88"; type = "gem"; }; - version = "3.12.5"; + version = "3.13.1"; }; rspec-support = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1ky86j3ksi26ng9ybd7j0qsdf1lpr8mzrmn98yy9gzv801fvhsgr"; + sha256 = "03z7gpqz5xkw9rf53835pa8a9vgj4lic54rnix9vfwmp2m7pv1s8"; type = "gem"; }; - version = "3.12.1"; + version = "3.13.1"; }; rspec-terraspace = { dependencies = ["activesupport" "memoist" "rainbow" "rspec" "zeitwerk"]; @@ -367,16 +418,26 @@ }; version = "2.3.2"; }; + strscan = { + groups = ["default"]; + platforms = []; + source = { + remotes = ["https://rubygems.org"]; + sha256 = "0mamrl7pxacbc79ny5hzmakc9grbjysm3yy6119ppgsg44fsif01"; + type = "gem"; + }; + version = "3.1.0"; + }; terraspace = { dependencies = ["activesupport" "cli-format" "deep_merge" "dotenv" "dsl_evaluator" "eventmachine-tail" "graph" "hcl_parser" "memoist" "rainbow" "render_me_pretty" "rexml" "rspec-terraspace" "terraspace-bundler" "thor" "tty-tree" "zeitwerk" "zip_folder"]; groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1zhcdaiq0sgk2gcy4krkzm4qrvcaibkf5n755qgqgcp1f1b0w6gl"; + sha256 = "1zmnp71fwcj453cafmb8iicbk93flk98wh0wdk0q9xd3mgm3qh6x"; type = "gem"; }; - version = "2.2.8"; + version = "2.2.17"; }; terraspace-bundler = { dependencies = ["activesupport" "aws-sdk-s3" "dsl_evaluator" "memoist" "nokogiri" "rainbow" "rubyzip" "thor" "zeitwerk"]; @@ -404,20 +465,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0k7j2wn14h1pl4smibasw0bp66kg626drxb59z7rzflch99cd4rg"; + sha256 = "1vq1fjp45az9hfp6fxljhdrkv75cvbab1jfrwcw738pnsiqk8zps"; type = "gem"; }; - version = "1.2.2"; + version = "1.3.1"; }; tilt = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0bmjgbv8158klwp2r3klxjwaj93nh1sbl4xvj9wsha0ic478avz7"; + sha256 = "0kds7wkxmb038cwp6ravnwn8k65ixc68wpm8j5jx5bhx8ndg4x6z"; type = "gem"; }; - version = "2.2.0"; + version = "2.4.0"; }; tty-tree = { groups = ["default"]; @@ -445,10 +506,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ck6bj7wa73dkdh13735jl06k6cfny98glxjkas82aivlmyzqqbk"; + sha256 = "08cfb35232p9s1r4jqv8wacv38vxh699mgbr9y03ga89gx9lipqp"; type = "gem"; }; - version = "2.6.8"; + version = "2.6.16"; }; zip_folder = { dependencies = ["rubyzip"]; From 937dec535e9b391f0c6e7977283d5119a13a022c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 20 Jul 2024 09:18:28 +0200 Subject: [PATCH 17/93] python312Packages.zha: 0.0.20 -> 0.0.23 Diff: https://github.com/zigpy/zha/compare/refs/tags/0.0.20...0.0.23 Changelog: https://github.com/zigpy/zha/releases/tag/0.0.23 --- pkgs/development/python-modules/zha/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/zha/default.nix b/pkgs/development/python-modules/zha/default.nix index 358a475f6fcf..9de893dbc215 100644 --- a/pkgs/development/python-modules/zha/default.nix +++ b/pkgs/development/python-modules/zha/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { pname = "zha"; - version = "0.0.20"; + version = "0.0.23"; pyproject = true; disabled = pythonOlder "3.12"; @@ -35,7 +35,7 @@ buildPythonPackage rec { owner = "zigpy"; repo = "zha"; rev = "refs/tags/${version}"; - hash = "sha256-kmTOWHREdzXfgDPPs91GfQCgpmkUshwGtscOTT1WGns="; + hash = "sha256-a0rr8pJCoVtDR3iNCDpLZnapetzNHMj8uCu667lNcGE="; }; postPatch = '' From 5698911fb6d8adf44d89b3eddb8a247257689985 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Sun, 21 Jul 2024 08:59:21 -0700 Subject: [PATCH 18/93] lyx: format default.nix --- pkgs/applications/misc/lyx/default.nix | 37 +++++++++++++++++++------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix index dc79cc5922fb..d4cc2cacdb35 100644 --- a/pkgs/applications/misc/lyx/default.nix +++ b/pkgs/applications/misc/lyx/default.nix @@ -1,5 +1,15 @@ -{ fetchurl, lib, mkDerivation, pkg-config, python3, file, bc -, qtbase, qtsvg, hunspell, makeWrapper #, mythes, boost +{ + fetchurl, + lib, + mkDerivation, + pkg-config, + python3, + file, + bc, + qtbase, + qtsvg, + hunspell, + makeWrapper, # , mythes, boost }: mkDerivation rec { @@ -18,17 +28,27 @@ mkDerivation rec { ''; # LaTeX is used from $PATH, as people often want to have it with extra pkgs - nativeBuildInputs = [ pkg-config makeWrapper python3 qtbase ]; + nativeBuildInputs = [ + pkg-config + makeWrapper + python3 + qtbase + ]; buildInputs = [ - qtbase qtsvg file/*for libmagic*/ bc + qtbase + qtsvg + file # for libmagic + bc hunspell # enchant ]; configureFlags = [ "--enable-qt5" #"--without-included-boost" - /* Boost is a huge dependency from which 1.4 MB of libs would be used. - Using internal boost stuff only increases executable by around 0.2 MB. */ + /* + Boost is a huge dependency from which 1.4 MB of libs would be used. + Using internal boost stuff only increases executable by around 0.2 MB. + */ #"--without-included-mythes" # such a small library isn't worth a separate package ]; @@ -36,9 +56,7 @@ mkDerivation rec { doCheck = true; # python is run during runtime to do various tasks - qtWrapperArgs = [ - " --prefix PATH : ${python3}/bin" - ]; + qtWrapperArgs = [ " --prefix PATH : ${python3}/bin" ]; meta = with lib; { description = "WYSIWYM frontend for LaTeX, DocBook"; @@ -48,4 +66,3 @@ mkDerivation rec { platforms = platforms.linux; }; } - From 130e9b54f4727984a3960682b6247baaf34b0fce Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Sun, 21 Jul 2024 09:10:46 -0700 Subject: [PATCH 19/93] lyx: 2.3.7-1 -> 2.4.1 --- pkgs/applications/misc/lyx/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix index d4cc2cacdb35..bf3c3b06dc83 100644 --- a/pkgs/applications/misc/lyx/default.nix +++ b/pkgs/applications/misc/lyx/default.nix @@ -13,20 +13,14 @@ }: mkDerivation rec { - version = "2.3.7-1"; + version = "2.4.1"; pname = "lyx"; src = fetchurl { - url = "ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/${pname}-${version}.tar.xz"; - sha256 = "sha256-Ob6IZPuGs06IMQ5w+4Dl6eKWYB8IVs8WGqCUFxcY2O0="; + url = "ftp://ftp.lyx.org/pub/lyx/stable/2.4.x/${pname}-${version}.tar.xz"; + hash = "sha256-dN4ooH7zeqlHG8mWLbGCFSolMQx9H0f2drubxj2XE8U="; }; - # Needed with GCC 12 - postPatch = '' - sed '1i#include ' -i src/lyxfind.cpp - sed '1i#include ' -i src/insets/InsetListings.cpp - ''; - # LaTeX is used from $PATH, as people often want to have it with extra pkgs nativeBuildInputs = [ pkg-config From 891337632834cbff4057faecabe5bc7006d4c22c Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jul 2024 18:55:06 +0000 Subject: [PATCH 20/93] vsce: 2.28.0 -> 2.31.1 --- pkgs/development/tools/vsce/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/vsce/default.nix b/pkgs/development/tools/vsce/default.nix index a5002fdabc37..3ad734efdce9 100644 --- a/pkgs/development/tools/vsce/default.nix +++ b/pkgs/development/tools/vsce/default.nix @@ -12,16 +12,16 @@ buildNpmPackage rec { pname = "vsce"; - version = "2.28.0"; + version = "2.31.1"; src = fetchFromGitHub { owner = "microsoft"; repo = "vscode-vsce"; rev = "v${version}"; - hash = "sha256-LMePEsNU62oSp/aaeUZY7A+0rTHiYOBqWBiqSpXUJOY="; + hash = "sha256-VXZBuaJn0VGpq1sIwsp+OcYErYShTCcU/FnTgDHmf7g="; }; - npmDepsHash = "sha256-Ml65YY4vqzntgCP9FoEGpR5rMkYL+alN9pSpbvR28E0="; + npmDepsHash = "sha256-Ftf6m5gRcYnkYfRx9vUys9uax8pwyyjUbfw3am8WriA="; postPatch = '' substituteInPlace package.json --replace '"version": "0.0.0"' '"version": "${version}"' From 25a0df8f0aa3a4d0b752faaa33a6b7d31f32e1f8 Mon Sep 17 00:00:00 2001 From: d-brasher <175485311+d-brasher@users.noreply.github.com> Date: Sat, 13 Jul 2024 14:41:10 +0200 Subject: [PATCH 21/93] maintainers: add d-brasher --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 862305f35381..e8f878512652 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -4686,6 +4686,11 @@ githubId = 3179832; name = "D. Bohdan"; }; + d-brasher = { + github = "d-brasher"; + githubId = 175485311; + name = "D. Brasher"; + }; dbrgn = { email = "nix@dbrgn.ch"; github = "dbrgn"; From 51b146b238ac0267ef5ddad0c33c4762d253135d Mon Sep 17 00:00:00 2001 From: d-brasher <175485311+d-brasher@users.noreply.github.com> Date: Mon, 15 Jul 2024 13:23:00 +0200 Subject: [PATCH 22/93] revolver: init at 0.2.4-unstable-2020-09-30 --- .../re/revolver/no-external-call.patch | 16 ++++ pkgs/by-name/re/revolver/package.nix | 94 +++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 pkgs/by-name/re/revolver/no-external-call.patch create mode 100644 pkgs/by-name/re/revolver/package.nix diff --git a/pkgs/by-name/re/revolver/no-external-call.patch b/pkgs/by-name/re/revolver/no-external-call.patch new file mode 100644 index 000000000000..9142edd79b19 --- /dev/null +++ b/pkgs/by-name/re/revolver/no-external-call.patch @@ -0,0 +1,16 @@ +Replace call to "revolver" with call to internal function. +Useful when "revolver" is not defined in PATH. +--- a/revolver ++++ b/revolver +@@ -255,9 +255,9 @@ + ### + function _revolver_demo() { + for style in "${(@k)_revolver_spinners[@]}"; do +- revolver --style $style start $style ++ _revolver --style $style start $style + sleep 2 +- revolver stop ++ _revolver stop + done + } + diff --git a/pkgs/by-name/re/revolver/package.nix b/pkgs/by-name/re/revolver/package.nix new file mode 100644 index 000000000000..37eac352fd82 --- /dev/null +++ b/pkgs/by-name/re/revolver/package.nix @@ -0,0 +1,94 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, + zsh, + installShellFiles, + ncurses, + nix-update-script, + testers, + runCommand, +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "revolver"; + version = "0.2.4-unstable-2020-09-30"; + + src = fetchFromGitHub { + owner = "molovo"; + repo = "revolver"; + rev = "6424e6cb14da38dc5d7760573eb6ecb2438e9661"; + hash = "sha256-2onqjtPIsgiEJj00oP5xXGkPZGQpGPVwcBOhmicqKcs="; + }; + + strictDeps = true; + doInstallCheck = true; + + nativeBuildInputs = [ installShellFiles ]; + buildInputs = [ + zsh + ncurses + ]; + nativeInstallCheckInputs = [ zsh ]; + + patches = [ ./no-external-call.patch ]; + + postPatch = '' + substituteInPlace revolver \ + --replace-fail "tput cols" "${ncurses}/bin/tput cols" + ''; + + installPhase = '' + runHook preInstall + + install -D revolver $out/bin/revolver + + runHook postInstall + ''; + + postInstall = '' + installShellCompletion --cmd revolver --zsh revolver.zsh-completion + ''; + + installCheckPhase = '' + runHook preInstallCheck + + PATH=$PATH:$out/bin revolver --help + + runHook postInstallCheck + ''; + + passthru = { + tests = { + demo = runCommand "revolver-demo" { nativeBuildInputs = [ finalAttrs.finalPackage ]; } '' + export HOME="$TEMPDIR" + + # Drop stdout, redirect stderr to stdout and check if it's not empty + exec 9>&1 + echo "Running revolver demo..." + if [[ $(revolver demo 2>&1 1>/dev/null | tee >(cat - >&9)) ]]; then + exit 1 + fi + echo "Demo done!" + + mkdir $out + ''; + version = testers.testVersion { + package = finalAttrs.finalPackage; + # Wrong '0.2.0' version in the code + version = "0.2.0"; + }; + }; + updateScript = nix-update-script { }; + }; + + meta = { + description = "Progress spinner for ZSH scripts"; + homepage = "https://github.com/molovo/revolver"; + downloadPage = "https://github.com/molovo/revolver/releases"; + license = lib.licenses.mit; + mainProgram = "revolver"; + inherit (zsh.meta) platforms; + maintainers = with lib.maintainers; [ d-brasher ]; + }; +}) From d088a5df05393566893295082877ef93f18a6dd2 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jul 2024 20:40:24 +0000 Subject: [PATCH 23/93] atmos: 1.83.1 -> 1.85.0 --- pkgs/applications/networking/cluster/atmos/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/atmos/default.nix b/pkgs/applications/networking/cluster/atmos/default.nix index 03d181325ac7..ab481ba74cb3 100644 --- a/pkgs/applications/networking/cluster/atmos/default.nix +++ b/pkgs/applications/networking/cluster/atmos/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "atmos"; - version = "1.83.1"; + version = "1.85.0"; src = fetchFromGitHub { owner = "cloudposse"; repo = pname; rev = "v${version}"; - sha256 = "sha256-B1s+9oLShbrziYm9P8xE5UPwxTchlGPUmjYSWGhsGjY="; + sha256 = "sha256-nIW7Wt4mThxjnHHF+rD6q9vZ7KsB//nSpkWtkiTo16Y="; }; - vendorHash = "sha256-dklmWu+PHSEeQM2MWBkYMiyw5rX9S8SI3l86nst6v9E="; + vendorHash = "sha256-swQN0WjVfLo/LjZrvjX46CnfBGnrVzLj8Cv4IP0eL7Y="; ldflags = [ "-s" "-w" "-X github.com/cloudposse/atmos/cmd.Version=v${version}" ]; From 3551b911dc9b8b543349b924ea5de283252c66a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Chocholat=C3=BD?= Date: Sun, 21 Jul 2024 23:54:19 +0200 Subject: [PATCH 24/93] =?UTF-8?q?junction:=201.7=20=E2=86=92=201.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update homepage link --- pkgs/applications/misc/junction/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/junction/default.nix b/pkgs/applications/misc/junction/default.nix index 66658cfe7402..cf03a315b2cf 100644 --- a/pkgs/applications/misc/junction/default.nix +++ b/pkgs/applications/misc/junction/default.nix @@ -17,13 +17,13 @@ stdenv.mkDerivation rec { pname = "junction"; - version = "1.7"; + version = "1.8"; src = fetchFromGitHub { owner = "sonnyp"; repo = "junction"; rev = "v${version}"; - hash = "sha256-qPseu2rzK6xp7eb/SrWK6fML/6xh4raP0MEreyZgqVI="; + hash = "sha256-0zY6Dp0aKHtBHSTiGbI5o6876BsARbo8/BbArl0RaMY="; fetchSubmodules = true; }; @@ -65,7 +65,7 @@ stdenv.mkDerivation rec { meta = with lib; { mainProgram = "re.sonny.Junction"; description = "Choose the application to open files and links"; - homepage = "https://apps.gnome.org/en/app/re.sonny.Junction/"; + homepage = "https://apps.gnome.org/Junction/"; license = licenses.gpl3Only; maintainers = with maintainers; [ hqurve ]; platforms = platforms.linux; From dd89048f0962030ed2b7dc1da802436d9e34a011 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 21 Jul 2024 22:57:01 +0000 Subject: [PATCH 25/93] cartridges: 2.8.5 -> 2.9.3 --- pkgs/by-name/ca/cartridges/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ca/cartridges/package.nix b/pkgs/by-name/ca/cartridges/package.nix index eeb20dbfda77..6e0352d0ce93 100644 --- a/pkgs/by-name/ca/cartridges/package.nix +++ b/pkgs/by-name/ca/cartridges/package.nix @@ -15,14 +15,14 @@ }: python3Packages.buildPythonApplication rec { pname = "cartridges"; - version = "2.8.5"; + version = "2.9.3"; pyproject = false; src = fetchFromGitHub { owner = "kra-mo"; repo = "cartridges"; - rev = "v${version}"; - hash = "sha256-7T+q3T8z8SCpAn3ayodZeETOsTwL+hhVWzY2JyBEoi4="; + rev = "refs/tags/v${version}"; + hash = "sha256-37i8p6KaS/G7ybw850XYaPiG83/Lffn/+21xVk5xva0="; }; # TODO: remove this when #286814 hits master From 965a4f51f01c99ea34c708ed883f10eaeaed4bec Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 22 Jul 2024 00:12:39 +0000 Subject: [PATCH 26/93] skaffold: 2.12.0 -> 2.13.0 --- pkgs/development/tools/skaffold/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/skaffold/default.nix b/pkgs/development/tools/skaffold/default.nix index da1a2db8c86c..4bf5f21ce104 100644 --- a/pkgs/development/tools/skaffold/default.nix +++ b/pkgs/development/tools/skaffold/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "skaffold"; - version = "2.12.0"; + version = "2.13.0"; src = fetchFromGitHub { owner = "GoogleContainerTools"; repo = "skaffold"; rev = "v${version}"; - hash = "sha256-q57n5Jo682u/YK+5bgYqMufjPuPOPsBgJzxSl1fdqxA="; + hash = "sha256-zcGMKxC2BIg2KPxmGG9UUJzpMdAQbZ8zDGtYyF1T7ZQ="; }; vendorHash = null; From 98b1681e6b366d10b421710ac29776e9d9ef403d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 22 Jul 2024 04:50:56 +0000 Subject: [PATCH 27/93] where-is-my-sddm-theme: 1.10.0 -> 1.11.0 --- pkgs/by-name/wh/where-is-my-sddm-theme/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/wh/where-is-my-sddm-theme/package.nix b/pkgs/by-name/wh/where-is-my-sddm-theme/package.nix index 02b5f797cc4d..9862909bf575 100644 --- a/pkgs/by-name/wh/where-is-my-sddm-theme/package.nix +++ b/pkgs/by-name/wh/where-is-my-sddm-theme/package.nix @@ -34,13 +34,13 @@ lib.checkListOfEnum "where-is-my-sddm-theme: variant" validVariants variants stdenvNoCC.mkDerivation (finalAttrs: { pname = "where-is-my-sddm-theme"; - version = "1.10.0"; + version = "1.11.0"; src = fetchFromGitHub { owner = "stepanzubkov"; repo = "where-is-my-sddm-theme"; rev = "refs/tags/v${finalAttrs.version}"; - hash = "sha256-hv0s2ZnfLE3DJ60G6ZL/Z+sXth9plzjlUNwII8TMuOo="; + hash = "sha256-EzO+MTz1PMmgeKyw65aasetmjUCpvilcvePt6HJZrpo="; }; propagatedUserEnvPkgs = From 8505fc5ba9f8acdc33c23d93a25aad38791c197b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 22 Jul 2024 10:10:58 +0000 Subject: [PATCH 28/93] openvas-scanner: 23.5.1 -> 23.6.0 --- pkgs/by-name/op/openvas-scanner/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/op/openvas-scanner/package.nix b/pkgs/by-name/op/openvas-scanner/package.nix index d3b352eec84e..a554b6403dff 100644 --- a/pkgs/by-name/op/openvas-scanner/package.nix +++ b/pkgs/by-name/op/openvas-scanner/package.nix @@ -31,13 +31,13 @@ stdenv.mkDerivation rec { pname = "openvas-scanner"; - version = "23.5.1"; + version = "23.6.0"; src = fetchFromGitHub { owner = "greenbone"; repo = "openvas-scanner"; rev = "refs/tags/v${version}"; - hash = "sha256-jIPSQUdW+v0SV6sINkLujqZPysZSdaqHa5+sxTRdpH4="; + hash = "sha256-VIjkrlE39eq8a7Kgj4QZSZ5R9bAnw0oodUc8m/4bSCQ="; }; nativeBuildInputs = [ From 809fd9cbacae25ef4f560fef6d5bbf90bb58a8e8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 22 Jul 2024 10:13:51 +0000 Subject: [PATCH 29/93] kyverno-chainsaw: 0.2.6 -> 0.2.7 --- pkgs/by-name/ky/kyverno-chainsaw/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ky/kyverno-chainsaw/package.nix b/pkgs/by-name/ky/kyverno-chainsaw/package.nix index fe83e66e7d42..f7035840d813 100644 --- a/pkgs/by-name/ky/kyverno-chainsaw/package.nix +++ b/pkgs/by-name/ky/kyverno-chainsaw/package.nix @@ -11,16 +11,16 @@ buildGoModule rec { pname = "kyverno-chainsaw"; - version = "0.2.6"; + version = "0.2.7"; src = fetchFromGitHub { owner = "kyverno"; repo = "chainsaw"; rev = "v${version}"; - hash = "sha256-UnLsy+htNG7DWU1Qw9HJZOPshq4L7YCtXSkh4jZe/XA="; + hash = "sha256-Ft3xWXUu57DHKTDyvtIvYExauP/La0xWu2rjbpcvxzM="; }; - vendorHash = "sha256-UQCn5GKhhfHsHIOqYYVkKP76e2NTRtwjw2VvCwRPUB4="; + vendorHash = "sha256-ilQOf1GMVmf9FhwfMuK+eGFOnqmL+kW/ma+/KaTWqc4="; ldflags = [ "-s" From 9ad82deefe3d74d6af1f3519c8d70aed58be9874 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 17 Jun 2024 00:41:34 +0530 Subject: [PATCH 30/93] kondo: install shell completion --- pkgs/applications/misc/kondo/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/kondo/default.nix b/pkgs/applications/misc/kondo/default.nix index eba5799a9172..03fc56ceb016 100644 --- a/pkgs/applications/misc/kondo/default.nix +++ b/pkgs/applications/misc/kondo/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromGitHub }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles }: rustPlatform.buildRustPackage rec { pname = "kondo"; @@ -13,6 +13,15 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-WF4GHj/5VYrTUh1E3t29zbpSLjJ6g7RWVpLYqg9msZg="; + nativeBuildInputs = [ installShellFiles ]; + + postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' + installShellCompletion --cmd kondo \ + --bash <($out/bin/kondo --completions bash) \ + --fish <($out/bin/kondo --completions fish) \ + --zsh <($out/bin/kondo --completions zsh) + ''; + meta = with lib; { description = "Save disk space by cleaning unneeded files from software projects"; homepage = "https://github.com/tbillington/kondo"; From 28b47f459819c35cec10f7dba6c7d1a7b4f59577 Mon Sep 17 00:00:00 2001 From: Robert Medeiros Date: Mon, 22 Jul 2024 17:26:17 -0400 Subject: [PATCH 31/93] iroh: 0.20.0 -> 0.21.0 --- pkgs/applications/networking/iroh/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/iroh/default.nix b/pkgs/applications/networking/iroh/default.nix index b0eb919cb4c2..c976b7f82628 100644 --- a/pkgs/applications/networking/iroh/default.nix +++ b/pkgs/applications/networking/iroh/default.nix @@ -7,16 +7,16 @@ rustPlatform.buildRustPackage rec { pname = "iroh"; - version = "0.20.0"; + version = "0.21.0"; src = fetchFromGitHub { owner = "n0-computer"; repo = pname; rev = "v${version}"; - hash = "sha256-1ke1S5IBrg8XYO67iUaH0T4dA59TkyqelsghIK+TuyM="; + hash = "sha256-g/x5lVVrm1NrJbqmhza/wryEwuXHh1tDBf+x6vL+2n0="; }; - cargoHash = "sha256-O6HHZtZes8BO2XuCMdVuuHphzYiqkS5axbYIxsGZw6k="; + cargoHash = "sha256-Sp2yMF/M3SuNB1DDQ79Lau5IxtSM1NPLJi9TnHWqnuc="; buildInputs = lib.optionals stdenv.isDarwin ( with darwin.apple_sdk.frameworks; [ From dbdea8f80a96a4bd69e714778f4f8ac802a7dba7 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Sat, 13 Jul 2024 18:54:45 -0500 Subject: [PATCH 32/93] protoc-gen-elixir: init at 0.12.0 --- pkgs/by-name/pr/protoc-gen-elixir/package.nix | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pkgs/by-name/pr/protoc-gen-elixir/package.nix diff --git a/pkgs/by-name/pr/protoc-gen-elixir/package.nix b/pkgs/by-name/pr/protoc-gen-elixir/package.nix new file mode 100644 index 000000000000..8e38f3317646 --- /dev/null +++ b/pkgs/by-name/pr/protoc-gen-elixir/package.nix @@ -0,0 +1,44 @@ +{ + beamPackages, + fetchFromGitHub, + lib, +}: +beamPackages.mixRelease rec { + pname = "protoc-gen-elixir"; + version = "0.12.0"; + + src = fetchFromGitHub { + owner = "elixir-protobuf"; + repo = "protobuf"; + rev = "refs/tags/v${version}"; + hash = "sha256-wLU3iM9jI/Zc96/HfPUjNvjteGryWos6IobIb/4zqpw="; + }; + + mixFodDeps = beamPackages.fetchMixDeps { + inherit version src; + pname = "protoc-gen-elixir-deps"; + + hash = "sha256-H7yiBHoxuiqWcNbWwPU5X0Nnv8f6nM8z/ZAfZAGPZjE="; + }; + + postBuild = '' + mix do escript.build + ''; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + cp protoc-gen-elixir $out/bin + + runHook postInstall + ''; + + meta = { + description = "A protoc plugin to generate Elixir code"; + mainProgram = "protoc-gen-elixir"; + homepage = "https://github.com/elixir-protobuf/protobuf"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ mattpolzin ]; + }; +} From 55ce6e0bb5a58522390013a9a3553410cfdbc19e Mon Sep 17 00:00:00 2001 From: Spencer Heywood Date: Tue, 23 Jul 2024 09:51:07 -0600 Subject: [PATCH 33/93] beeper-bridge-manager: init 0.12.0 --- .../be/beeper-bridge-manager/package.nix | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pkgs/by-name/be/beeper-bridge-manager/package.nix diff --git a/pkgs/by-name/be/beeper-bridge-manager/package.nix b/pkgs/by-name/be/beeper-bridge-manager/package.nix new file mode 100644 index 000000000000..17030eb6ccd9 --- /dev/null +++ b/pkgs/by-name/be/beeper-bridge-manager/package.nix @@ -0,0 +1,27 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "bbctl"; + version = "0.12.0"; + + src = fetchFromGitHub { + owner = "beeper"; + repo = "bridge-manager"; + rev = "refs/tags/v${version}"; + hash = "sha256-xaBLI5Y7PxHbmlwD72AKNrgnz3D+3WVhb2GJr5cmyfs="; + }; + + vendorHash = "sha256-VnqihTEGfrLxRfuscrWWBbhZ/tr8BhVnCd+FKblW5gI="; + + meta = { + description = "Tool for running self-hosted bridges with the Beeper Matrix server. "; + homepage = "https://github.com/beeper/bridge-manager"; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.heywoodlh ]; + mainProgram = "bbctl"; + changelog = "https://github.com/beeper/bridge-manager/releases/tag/v{version}"; + }; +} From 91e8e86a0f532e561a32b76578453dfeefe55705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliv=C3=A9r=20Falvai?= Date: Tue, 23 Jul 2024 22:05:27 +0200 Subject: [PATCH 34/93] ia-writer-quattro: install variable font too --- pkgs/by-name/ia/ia-writer-quattro/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/ia/ia-writer-quattro/package.nix b/pkgs/by-name/ia/ia-writer-quattro/package.nix index 2f103f7cdbb7..2a3cdd5feccd 100644 --- a/pkgs/by-name/ia/ia-writer-quattro/package.nix +++ b/pkgs/by-name/ia/ia-writer-quattro/package.nix @@ -17,6 +17,7 @@ stdenvNoCC.mkDerivation { mkdir -p $out/share/fonts/truetype cp -R $src/iA\ Writer\ Quattro/Static/*.ttf $out/share/fonts/truetype + cp -R $src/iA\ Writer\ Quattro/Variable/*.ttf $out/share/fonts/truetype runHook postInstall ''; From 1699f1d24cb237b48e12045a7e32368c786c270c Mon Sep 17 00:00:00 2001 From: jaredmontoya <49511278+jaredmontoya@users.noreply.github.com> Date: Tue, 23 Jul 2024 23:35:48 +0200 Subject: [PATCH 35/93] ear2ctl: add nix-update-script --- pkgs/by-name/ea/ear2ctl/package.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ea/ear2ctl/package.nix b/pkgs/by-name/ea/ear2ctl/package.nix index 4d4e038f85f0..24f7b4649690 100644 --- a/pkgs/by-name/ea/ear2ctl/package.nix +++ b/pkgs/by-name/ea/ear2ctl/package.nix @@ -1,4 +1,11 @@ -{ lib, rustPlatform, fetchFromGitLab, pkg-config, dbus }: +{ + lib, + rustPlatform, + fetchFromGitLab, + pkg-config, + dbus, + nix-update-script, +}: rustPlatform.buildRustPackage rec { pname = "ear2ctl"; @@ -17,6 +24,8 @@ rustPlatform.buildRustPackage rec { buildInputs = [ dbus ]; + passthru.updateScript = nix-update-script { }; + meta = { description = "Linux controller for the Nothing Ear (2)"; homepage = "https://gitlab.com/bharadwaj-raju/ear2ctl"; From 0c5419df39ad8d955f3a447107facb7595558656 Mon Sep 17 00:00:00 2001 From: chayleaf Date: Wed, 24 Jul 2024 08:49:17 +0700 Subject: [PATCH 36/93] gradle: expose gradle-unwrapped in passthru --- pkgs/development/tools/build-managers/gradle/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/tools/build-managers/gradle/default.nix b/pkgs/development/tools/build-managers/gradle/default.nix index 7567b3e3dba1..1522411656cd 100644 --- a/pkgs/development/tools/build-managers/gradle/default.nix +++ b/pkgs/development/tools/build-managers/gradle/default.nix @@ -211,6 +211,7 @@ rec { passthru = { fetchDeps = callPackage ./fetch-deps.nix { inherit mitm-cache; }; inherit (gradle) jdk; + unwrapped = gradle; }; meta = gradle.meta // { From 16c1c57ea502c7445ed0f632aaa46c3a94723e83 Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Tue, 9 Jul 2024 11:40:26 +0800 Subject: [PATCH 37/93] pixi: 0.24.2 -> 0.26.1 --- pkgs/by-name/pi/pixi/Cargo.lock | 778 ++++++++++++++++++++----------- pkgs/by-name/pi/pixi/package.nix | 8 +- 2 files changed, 511 insertions(+), 275 deletions(-) diff --git a/pkgs/by-name/pi/pixi/Cargo.lock b/pkgs/by-name/pi/pixi/Cargo.lock index 50e299718e76..caf8c8ea08df 100644 --- a/pkgs/by-name/pi/pixi/Cargo.lock +++ b/pkgs/by-name/pi/pixi/Cargo.lock @@ -83,6 +83,12 @@ dependencies = [ "alloc-no-stdlib", ] +[[package]] +name = "allocator-api2" +version = "0.2.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" + [[package]] name = "android-tzdata" version = "0.1.1" @@ -153,6 +159,15 @@ version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +[[package]] +name = "arbitrary" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" +dependencies = [ + "derive_arbitrary", +] + [[package]] name = "archspec" version = "0.1.3" @@ -450,6 +465,14 @@ dependencies = [ "backtrace", ] +[[package]] +name = "barrier_cell" +version = "0.1.0" +dependencies = [ + "thiserror", + "tokio", +] + [[package]] name = "base64" version = "0.13.1" @@ -676,7 +699,7 @@ dependencies = [ [[package]] name = "cache-key" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "hex", "seahash", @@ -780,9 +803,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.4" +version = "4.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +checksum = "64acc1846d54c1fe936a78dc189c34e28d3f5afc348403f28ecf53660b9b8462" dependencies = [ "clap_builder", "clap_derive", @@ -800,9 +823,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.2" +version = "4.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +checksum = "6fb8393d67ba2e7bfaf28a23458e4e2b543cc73a99595511eb207fdb8aede942" dependencies = [ "anstream", "anstyle", @@ -821,10 +844,20 @@ dependencies = [ ] [[package]] -name = "clap_derive" -version = "4.5.4" +name = "clap_complete_nushell" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +checksum = "1accf1b463dee0d3ab2be72591dccdab8bef314958340447c882c4c72acfe2a3" +dependencies = [ + "clap", + "clap_complete", +] + +[[package]] +name = "clap_derive" +version = "4.5.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -1029,6 +1062,20 @@ dependencies = [ "parking_lot_core 0.9.10", ] +[[package]] +name = "dashmap" +version = "6.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "804c8821570c3f8b70230c2ba75ffa5c0f9a4189b9a432b6656c536712acae28" +dependencies = [ + "cfg-if", + "crossbeam-utils", + "hashbrown 0.14.5", + "lock_api", + "once_cell", + "parking_lot_core 0.9.10", +] + [[package]] name = "data-encoding" version = "2.6.0" @@ -1073,6 +1120,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive_arbitrary" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + [[package]] name = "dialoguer" version = "0.11.0" @@ -1127,10 +1185,21 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "displaydoc" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + [[package]] name = "distribution-filename" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "pep440_rs", "platform-tags", @@ -1144,13 +1213,12 @@ dependencies = [ [[package]] name = "distribution-types" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", "cache-key", "distribution-filename", "fs-err", - "indexmap 2.2.6", "itertools 0.13.0", "once_cell", "pep440_rs", @@ -1360,12 +1428,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] -name = "file_url" -version = "0.1.2" +name = "fd-lock" +version = "4.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1042c5fdc9f2cf548a139ccd0985fa2460d796f99b08574f72f1f53d179e6591" +checksum = "7e5768da2206272c81ef0b5e951a41862938a6070da63bcea197899942d3b947" dependencies = [ - "itertools 0.12.1", + "cfg-if", + "rustix 0.38.34", + "windows-sys 0.52.0", +] + +[[package]] +name = "file_url" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0d1df57145d7cda57c95c44a2d64c24f579e2d50b8f4f7a779287293ad3adc0" +dependencies = [ + "itertools 0.13.0", "percent-encoding", "thiserror", "typed-path", @@ -1400,6 +1479,24 @@ dependencies = [ "miniz_oxide", ] +[[package]] +name = "float-cmp" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" +dependencies = [ + "num-traits", +] + +[[package]] +name = "fluent-uri" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "17c704e9dbe1ddd863da1e6ff3567795087b1eb201ce80d8fa81162e1516500d" +dependencies = [ + "bitflags 1.3.2", +] + [[package]] name = "fnv" version = "1.0.7" @@ -1634,21 +1731,6 @@ version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" -[[package]] -name = "git2" -version = "0.18.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "232e6a7bfe35766bf715e55a88b39a700596c0ccfd88cd3680b4cdb40d66ef70" -dependencies = [ - "bitflags 2.5.0", - "libc", - "libgit2-sys", - "log", - "openssl-probe", - "openssl-sys", - "url", -] - [[package]] name = "glob" version = "0.3.1" @@ -1748,6 +1830,16 @@ dependencies = [ "tracing", ] +[[package]] +name = "halfbrown" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8588661a8607108a5ca69cab034063441a0413a0b041c13618a7dd348021ef6f" +dependencies = [ + "hashbrown 0.14.5", + "serde", +] + [[package]] name = "hashbrown" version = "0.12.3" @@ -1762,6 +1854,10 @@ name = "hashbrown" version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +dependencies = [ + "ahash 0.8.11", + "allocator-api2", +] [[package]] name = "heck" @@ -2215,7 +2311,7 @@ dependencies = [ [[package]] name = "install-wheel-rs" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "configparser", "csv", @@ -2231,7 +2327,7 @@ dependencies = [ "pypi-types", "reflink-copy", "regex", - "rustc-hash", + "rustc-hash 2.0.0", "serde", "serde_json", "sha2", @@ -2241,7 +2337,7 @@ dependencies = [ "uv-fs", "uv-normalize", "walkdir", - "zip", + "zip 0.6.6", ] [[package]] @@ -2338,15 +2434,27 @@ dependencies = [ [[package]] name = "json-patch" -version = "1.4.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec9ad60d674508f3ca8f380a928cfe7b096bc729c4e2dbfe3852bc45da3ab30b" +checksum = "5b1fb8864823fad91877e6caea0baca82e49e8db50f8e5c9f9a453e27d3330fc" dependencies = [ + "jsonptr", "serde", "serde_json", "thiserror", ] +[[package]] +name = "jsonptr" +version = "0.4.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c6e529149475ca0b2820835d3dce8fcc41c6b943ca608d32f35b449255e4627" +dependencies = [ + "fluent-uri", + "serde", + "serde_json", +] + [[package]] name = "jsonwebtoken" version = "9.3.0" @@ -2415,26 +2523,76 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +[[package]] +name = "lexical-core" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2cde5de06e8d4c2faabc400238f9ae1c74d5412d03a7bd067645ccbc47070e46" +dependencies = [ + "lexical-parse-float", + "lexical-parse-integer", + "lexical-util", + "lexical-write-float", + "lexical-write-integer", +] + +[[package]] +name = "lexical-parse-float" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f" +dependencies = [ + "lexical-parse-integer", + "lexical-util", + "static_assertions", +] + +[[package]] +name = "lexical-parse-integer" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9" +dependencies = [ + "lexical-util", + "static_assertions", +] + +[[package]] +name = "lexical-util" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc" +dependencies = [ + "static_assertions", +] + +[[package]] +name = "lexical-write-float" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accabaa1c4581f05a3923d1b4cfd124c329352288b7b9da09e766b0668116862" +dependencies = [ + "lexical-util", + "lexical-write-integer", + "static_assertions", +] + +[[package]] +name = "lexical-write-integer" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1b6f3d1f4422866b68192d62f77bc5c700bee84f3069f2469d7bc8c77852446" +dependencies = [ + "lexical-util", + "static_assertions", +] + [[package]] name = "libc" version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" -[[package]] -name = "libgit2-sys" -version = "0.16.2+1.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee4126d8b4ee5c9d9ea891dd875cfdc1e9d0950437179104b183d7d8a74d24e8" -dependencies = [ - "cc", - "libc", - "libssh2-sys", - "libz-sys", - "openssl-sys", - "pkg-config", -] - [[package]] name = "libloading" version = "0.8.3" @@ -2461,32 +2619,6 @@ dependencies = [ "libc", ] -[[package]] -name = "libssh2-sys" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dc8a030b787e2119a731f1951d6a773e2280c660f8ec4b0f5e1505a386e71ee" -dependencies = [ - "cc", - "libc", - "libz-sys", - "openssl-sys", - "pkg-config", - "vcpkg", -] - -[[package]] -name = "libz-sys" -version = "1.1.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" -dependencies = [ - "cc", - "libc", - "pkg-config", - "vcpkg", -] - [[package]] name = "line-wrap" version = "0.2.0" @@ -2531,6 +2663,12 @@ dependencies = [ "scopeguard", ] +[[package]] +name = "lockfree-object-pool" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e" + [[package]] name = "log" version = "0.4.21" @@ -2912,9 +3050,9 @@ dependencies = [ [[package]] name = "once-map" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ - "dashmap", + "dashmap 5.5.3", "futures", "tokio", ] @@ -2963,15 +3101,6 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" -[[package]] -name = "openssl-src" -version = "300.3.0+3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eba8804a1c5765b18c4b3f907e6897ebabeedebc9830e1a0046c4a4cf44663e1" -dependencies = [ - "cc", -] - [[package]] name = "openssl-sys" version = "0.9.102" @@ -2980,7 +3109,6 @@ checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2" dependencies = [ "cc", "libc", - "openssl-src", "pkg-config", "vcpkg", ] @@ -3151,7 +3279,7 @@ dependencies = [ [[package]] name = "pep440_rs" version = "0.6.0" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "once_cell", "rkyv", @@ -3163,7 +3291,7 @@ dependencies = [ [[package]] name = "pep508_rs" version = "0.6.0" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "derivative", "once_cell", @@ -3282,16 +3410,18 @@ dependencies = [ [[package]] name = "pixi" -version = "0.24.2" +version = "0.26.1" dependencies = [ "ahash 0.8.11", "assert_matches", "async-once-cell", + "barrier_cell", "cfg-if", "chrono", "clap", "clap-verbosity-flag", "clap_complete", + "clap_complete_nushell", "concat-idents", "console", "crossbeam-channel", @@ -3302,6 +3432,7 @@ dependencies = [ "distribution-filename", "distribution-types", "dunce", + "fd-lock", "flate2", "fs_extra", "futures", @@ -3374,13 +3505,13 @@ dependencies = [ "uv-distribution", "uv-git", "uv-installer", - "uv-interpreter", "uv-normalize", "uv-resolver", + "uv-toolchain", "uv-types", "winapi", "xxhash-rust", - "zip", + "zip 0.6.6", ] [[package]] @@ -3402,9 +3533,9 @@ dependencies = [ [[package]] name = "platform-tags" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ - "rustc-hash", + "rustc-hash 2.0.0", "serde", "thiserror", ] @@ -3538,12 +3669,12 @@ dependencies = [ [[package]] name = "pubgrub" version = "0.2.1" -source = "git+https://github.com/astral-sh/pubgrub?rev=0e684a874c9fb8f74738cd8875524c80e3d4820b#0e684a874c9fb8f74738cd8875524c80e3d4820b" +source = "git+https://github.com/astral-sh/pubgrub?rev=b4435e2f3af10dab2336a0345b35dcd622699d06#b4435e2f3af10dab2336a0345b35dcd622699d06" dependencies = [ "indexmap 2.2.6", "log", "priority-queue", - "rustc-hash", + "rustc-hash 1.1.0", "thiserror", ] @@ -3565,11 +3696,11 @@ dependencies = [ [[package]] name = "pypi-types" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "chrono", - "git2", "indexmap 2.2.6", + "itertools 0.13.0", "mailparse", "once_cell", "pep440_rs", @@ -3660,24 +3791,21 @@ dependencies = [ [[package]] name = "rattler" -version = "0.26.4" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d5504e8afc260cceebb79886032ac146c9344c55fbaf9034ca45a0c00b7447" +checksum = "ba9b88912f9f10739d0e75f455d956129402c444b38a8c87538965d4f7495c1c" dependencies = [ "anyhow", - "bytes", - "chrono", "clap", "console", "digest", "dirs", "fs-err", "futures", - "fxhash", "humantime", "indexmap 2.2.6", "indicatif", - "itertools 0.12.1", + "itertools 0.13.0", "memchr", "memmap2 0.9.4", "once_cell", @@ -3697,7 +3825,6 @@ dependencies = [ "tempfile", "thiserror", "tokio", - "tokio-stream", "tracing", "url", "uuid", @@ -3705,16 +3832,15 @@ dependencies = [ [[package]] name = "rattler_cache" -version = "0.1.0" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdad5b1a62c97fe6acbad6f1421eed77bf75f736a5af44a18f0e46d6d1cd5c81" +checksum = "a2b48c3e9525109c28607b33eb47284d93415d443c14c594d868a99fe5612782" dependencies = [ "anyhow", - "chrono", "digest", "dirs", "fxhash", - "itertools 0.12.1", + "itertools 0.13.0", "parking_lot 0.12.3", "rattler_conda_types", "rattler_digest", @@ -3730,16 +3856,16 @@ dependencies = [ [[package]] name = "rattler_conda_types" -version = "0.25.2" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65d6d35c484af9b1a3ce13ace90de388c8a21b1f832bf2ee97b5681a94178326" +checksum = "31342292e067dee0ce26b8c8827908ed24c340b28986a851c7f8a8440a4dfe48" dependencies = [ "chrono", "file_url", "fxhash", "glob", "hex", - "itertools 0.12.1", + "itertools 0.13.0", "lazy-regex", "nom", "purl", @@ -3750,6 +3876,7 @@ dependencies = [ "serde_json", "serde_repr", "serde_with", + "simd-json", "smallvec", "strum", "thiserror", @@ -3760,9 +3887,9 @@ dependencies = [ [[package]] name = "rattler_digest" -version = "0.19.4" +version = "0.19.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf69475918dd44152f7df690b13f2909f34cc762ae18a2e2c55824b546de161" +checksum = "eeb0228f734983274fb6938844123e88aa55158d53ead37e8ae3deb641fe05aa" dependencies = [ "blake2", "digest", @@ -3777,22 +3904,20 @@ dependencies = [ [[package]] name = "rattler_lock" -version = "0.22.12" +version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bb54f27b97a03b9b2921bd18967947bc5788a8d653fcd6b6bdd18dad192312f" +checksum = "785ed485e3dab9b6796d4d92adb8808e9b26e21a5ffa04e39530949ca85c68d9" dependencies = [ "chrono", "file_url", "fxhash", "indexmap 2.2.6", - "itertools 0.12.1", + "itertools 0.13.0", "pep440_rs", "pep508_rs", - "purl", "rattler_conda_types", "rattler_digest", "serde", - "serde_json", "serde_repr", "serde_with", "serde_yaml", @@ -3802,9 +3927,9 @@ dependencies = [ [[package]] name = "rattler_macros" -version = "0.19.3" +version = "0.19.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10cef20e8356ea6840294e5754c6a8663b0eb1b97f29d517642f0f99215a2483" +checksum = "b4961d74ca0a15a62c83e439dfd9f440f35f8c31dfb71afe990b2d8fbf916f7a" dependencies = [ "quote", "syn 2.0.66", @@ -3812,28 +3937,25 @@ dependencies = [ [[package]] name = "rattler_networking" -version = "0.20.8" +version = "0.20.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c582ad6d82b397d1e1522910b34dc052bbed4dedc0eed7fb640024de0dc6f5f6" +checksum = "0fec041e559f2b4cb21556816f10b3da174932f49280f335b21563d06d2a4737" dependencies = [ "anyhow", "async-trait", "base64 0.22.1", - "bytes", "chrono", "dirs", "fslock", - "futures", "getrandom", "google-cloud-auth", "http 1.1.0", - "itertools 0.12.1", + "itertools 0.13.0", "keyring", "netrc-rs", - "pin-project-lite", "reqwest 0.12.4", "reqwest-middleware", - "retry-policies", + "retry-policies 0.4.0", "serde", "serde_json", "thiserror", @@ -3843,9 +3965,9 @@ dependencies = [ [[package]] name = "rattler_package_streaming" -version = "0.21.3" +version = "0.21.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "390c453b80d7904362e121c89f29aee796fb4d38cc7b24fe7ba9e583ef77a27b" +checksum = "1f6953df9956ee53d1569787742d26db5559f64bbaa06363260acc484bf00751" dependencies = [ "bzip2", "chrono", @@ -3863,15 +3985,15 @@ dependencies = [ "tokio", "tokio-util", "url", - "zip", + "zip 2.1.3", "zstd", ] [[package]] name = "rattler_repodata_gateway" -version = "0.20.5" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "810de4b4ef0c75087b77b6425caf869ee435ee392950f71800ec21ac512e576b" +checksum = "d4ff7c7c1093f9268a98788e5dc54f278266c8c1422aaceb5fa92abbd5fb568d" dependencies = [ "anyhow", "async-compression", @@ -3880,7 +4002,7 @@ dependencies = [ "bytes", "cache_control", "chrono", - "dashmap", + "dashmap 6.0.1", "dirs", "file_url", "futures", @@ -3889,15 +4011,15 @@ dependencies = [ "http-cache-semantics", "humansize", "humantime", - "itertools 0.12.1", + "itertools 0.13.0", "json-patch", "libc", "md-5", "memmap2 0.9.4", "ouroboros", "parking_lot 0.12.3", - "percent-encoding", "pin-project-lite", + "rattler_cache", "rattler_conda_types", "rattler_digest", "rattler_networking", @@ -3921,13 +4043,13 @@ dependencies = [ [[package]] name = "rattler_shell" -version = "0.20.9" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e17c8a64079dc3a7b8b0070e0d7c4bee4008bf16d799b8b621a9aa88968650c6" +checksum = "ee99375f452b121ed0612da5ff8a4f56cc3706e0548dc36315d109b5d31d4a37" dependencies = [ "enum_dispatch", "indexmap 2.2.6", - "itertools 0.12.1", + "itertools 0.13.0", "rattler_conda_types", "serde_json", "shlex", @@ -3939,16 +4061,17 @@ dependencies = [ [[package]] name = "rattler_solve" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d62f673fe9f9198b4d3235da314d727eff59515cc4db9b0e2452e9bbe959433d" +checksum = "46253b2995c30aa7ca38ae495a3cec45eb2d164697661f69687ae76dadd47cdd" dependencies = [ "chrono", "futures", - "itertools 0.12.1", + "itertools 0.13.0", "rattler_conda_types", "rattler_digest", "resolvo", + "serde", "tempfile", "thiserror", "tracing", @@ -3957,9 +4080,9 @@ dependencies = [ [[package]] name = "rattler_virtual_packages" -version = "0.19.15" +version = "0.19.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ae1f4c940a73181b636a2957e665f1c7caeed443ef468ca31d380417f4b52bd" +checksum = "81e0d3f960081736895ec2ab3819dc4336e9160973ed47ce4a5ac1a3759422de" dependencies = [ "archspec", "libloading", @@ -4040,6 +4163,26 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ref-cast" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + [[package]] name = "reflink-copy" version = "0.1.17" @@ -4113,13 +4256,14 @@ dependencies = [ [[package]] name = "requirements-txt" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "distribution-types", "fs-err", "pep508_rs", "pypi-types", "regex", + "thiserror", "tracing", "unscanny", "url", @@ -4256,7 +4400,7 @@ dependencies = [ "parking_lot 0.11.2", "reqwest 0.12.4", "reqwest-middleware", - "retry-policies", + "retry-policies 0.3.0", "tokio", "tracing", "wasm-timer", @@ -4264,9 +4408,9 @@ dependencies = [ [[package]] name = "resolvo" -version = "0.5.0" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7b73dc355efbb88c372550b92bf17d36bf555ecf319a4783a5b8b7c34488bc5" +checksum = "09f13bb82d6362074f2b2d858bb316dfb2a9940c7e33a9ccd0168ba4f6a247b2" dependencies = [ "ahash 0.8.11", "bitvec", @@ -4289,6 +4433,15 @@ dependencies = [ "rand", ] +[[package]] +name = "retry-policies" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5875471e6cab2871bc150ecb8c727db5113c9338cc3354dc5ee3425b6aa40a1c" +dependencies = [ + "rand", +] + [[package]] name = "ring" version = "0.17.8" @@ -4405,6 +4558,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" + [[package]] name = "rustc_version" version = "0.4.0" @@ -4883,6 +5042,28 @@ dependencies = [ "libc", ] +[[package]] +name = "simd-adler32" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" + +[[package]] +name = "simd-json" +version = "0.13.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "570c430b3d902ea083097e853263ae782dfe40857d93db019a12356c8e8143fa" +dependencies = [ + "getrandom", + "halfbrown", + "lexical-core", + "ref-cast", + "serde", + "serde_json", + "simdutf8", + "value-trait", +] + [[package]] name = "simdutf8" version = "0.1.4" @@ -5029,20 +5210,20 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" dependencies = [ "strum_macros", ] [[package]] name = "strum_macros" -version = "0.26.2" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "rustversion", @@ -5196,6 +5377,12 @@ dependencies = [ "xattr", ] +[[package]] +name = "target-lexicon" +version = "0.12.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2" + [[package]] name = "tempfile" version = "3.10.1" @@ -5313,9 +5500,9 @@ checksum = "b130bd8a58c163224b44e217b4239ca7b927d82bf6cc2fea1fc561d15056e3f7" [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", @@ -5332,9 +5519,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", @@ -5554,9 +5741,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "typed-path" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6069e2cc1d241fd4ff5fa067e8882996fcfce20986d078696e05abccbcf27b43" +checksum = "e8a3023f4683cd1a846dbd2666e8c34f54338ee5cebae578cda981a87cecd7aa" [[package]] name = "typeid" @@ -5684,7 +5871,7 @@ dependencies = [ [[package]] name = "uv-auth" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", "async-trait", @@ -5705,7 +5892,7 @@ dependencies = [ [[package]] name = "uv-build" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", "distribution-types", @@ -5717,7 +5904,7 @@ dependencies = [ "pep508_rs", "pypi-types", "regex", - "rustc-hash", + "rustc-hash 2.0.0", "serde", "serde_json", "tempfile", @@ -5727,7 +5914,7 @@ dependencies = [ "tracing", "uv-configuration", "uv-fs", - "uv-interpreter", + "uv-toolchain", "uv-types", "uv-virtualenv", ] @@ -5735,7 +5922,7 @@ dependencies = [ [[package]] name = "uv-cache" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "cache-key", "directories", @@ -5744,7 +5931,7 @@ dependencies = [ "nanoid", "pypi-types", "rmp-serde", - "rustc-hash", + "rustc-hash 2.0.0", "serde", "tempfile", "tracing", @@ -5757,7 +5944,7 @@ dependencies = [ [[package]] name = "uv-client" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", "async-trait", @@ -5772,6 +5959,7 @@ dependencies = [ "html-escape", "http 1.1.0", "install-wheel-rs", + "itertools 0.13.0", "pep440_rs", "pep508_rs", "platform-tags", @@ -5784,7 +5972,6 @@ dependencies = [ "serde", "serde_json", "sys-info", - "tempfile", "thiserror", "tl", "tokio", @@ -5804,13 +5991,13 @@ dependencies = [ [[package]] name = "uv-configuration" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ - "distribution-types", "either", "pep508_rs", "platform-tags", - "rustc-hash", + "pypi-types", + "rustc-hash 2.0.0", "serde", "serde_json", "tracing", @@ -5821,40 +6008,44 @@ dependencies = [ [[package]] name = "uv-dispatch" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", "distribution-types", "futures", "install-wheel-rs", "itertools 0.13.0", - "rustc-hash", + "pypi-types", + "rustc-hash 2.0.0", "tracing", "uv-build", "uv-cache", "uv-client", "uv-configuration", "uv-distribution", + "uv-git", "uv-installer", - "uv-interpreter", "uv-resolver", + "uv-toolchain", "uv-types", ] [[package]] name = "uv-distribution" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", - "cache-key", "distribution-filename", "distribution-types", + "either", "fs-err", "futures", + "glob", "install-wheel-rs", "nanoid", "once_cell", + "path-absolutize", "pep440_rs", "pep508_rs", "platform-tags", @@ -5862,12 +6053,14 @@ dependencies = [ "reqwest 0.12.4", "reqwest-middleware", "rmp-serde", - "rustc-hash", + "rustc-hash 2.0.0", "serde", "tempfile", "thiserror", "tokio", "tokio-util", + "toml", + "toml_edit 0.22.13", "tracing", "url", "uv-cache", @@ -5878,13 +6071,14 @@ dependencies = [ "uv-git", "uv-normalize", "uv-types", - "zip", + "uv-warnings", + "zip 0.6.6", ] [[package]] name = "uv-extract" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "async-compression", "async_zip", @@ -5893,20 +6087,20 @@ dependencies = [ "md-5", "pypi-types", "rayon", - "rustc-hash", + "rustc-hash 2.0.0", "sha2", "thiserror", "tokio", "tokio-tar", "tokio-util", "tracing", - "zip", + "zip 0.6.6", ] [[package]] name = "uv-fs" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "backoff", "cachedir", @@ -5928,20 +6122,16 @@ dependencies = [ [[package]] name = "uv-git" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", - "base64 0.22.1", "cache-key", "cargo-util", + "dashmap 5.5.3", "fs-err", - "git2", - "glob", - "hmac", - "home", - "rand", "reqwest 0.12.4", - "sha1", + "reqwest-middleware", + "thiserror", "tokio", "tracing", "url", @@ -5951,7 +6141,7 @@ dependencies = [ [[package]] name = "uv-installer" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", "async-channel", @@ -5966,8 +6156,8 @@ dependencies = [ "platform-tags", "pypi-types", "rayon", - "requirements-txt", - "rustc-hash", + "rustc-hash 2.0.0", + "same-file", "serde", "tempfile", "thiserror", @@ -5981,17 +6171,84 @@ dependencies = [ "uv-extract", "uv-fs", "uv-git", - "uv-interpreter", "uv-normalize", + "uv-toolchain", "uv-types", "uv-warnings", "walkdir", ] [[package]] -name = "uv-interpreter" +name = "uv-normalize" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" +dependencies = [ + "rkyv", + "serde", +] + +[[package]] +name = "uv-resolver" +version = "0.0.1" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" +dependencies = [ + "anyhow", + "cache-key", + "chrono", + "dashmap 5.5.3", + "derivative", + "distribution-filename", + "distribution-types", + "either", + "futures", + "indexmap 2.2.6", + "install-wheel-rs", + "itertools 0.13.0", + "once-map", + "owo-colors", + "path-slash", + "pep440_rs", + "pep508_rs", + "petgraph", + "platform-tags", + "pubgrub", + "pypi-types", + "requirements-txt", + "rkyv", + "rustc-hash 2.0.0", + "same-file", + "serde", + "textwrap", + "thiserror", + "tokio", + "tokio-stream", + "toml_edit 0.22.13", + "tracing", + "url", + "uv-client", + "uv-configuration", + "uv-distribution", + "uv-git", + "uv-normalize", + "uv-toolchain", + "uv-types", + "uv-warnings", +] + +[[package]] +name = "uv-state" +version = "0.0.1" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" +dependencies = [ + "directories", + "fs-err", + "tempfile", +] + +[[package]] +name = "uv-toolchain" +version = "0.0.1" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", "cache-key", @@ -6012,6 +6269,7 @@ dependencies = [ "same-file", "serde", "serde_json", + "target-lexicon", "tempfile", "thiserror", "tokio-util", @@ -6028,77 +6286,10 @@ dependencies = [ "winapi", ] -[[package]] -name = "uv-normalize" -version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" -dependencies = [ - "rkyv", - "serde", -] - -[[package]] -name = "uv-resolver" -version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" -dependencies = [ - "anstream", - "anyhow", - "cache-key", - "chrono", - "dashmap", - "derivative", - "distribution-filename", - "distribution-types", - "either", - "futures", - "indexmap 2.2.6", - "install-wheel-rs", - "itertools 0.13.0", - "once-map", - "once_cell", - "owo-colors", - "pep440_rs", - "pep508_rs", - "petgraph", - "platform-tags", - "pubgrub", - "pypi-types", - "requirements-txt", - "rkyv", - "rustc-hash", - "serde", - "textwrap", - "thiserror", - "tokio", - "tokio-stream", - "tracing", - "url", - "uv-cache", - "uv-client", - "uv-configuration", - "uv-distribution", - "uv-git", - "uv-interpreter", - "uv-normalize", - "uv-types", - "uv-warnings", -] - -[[package]] -name = "uv-state" -version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" -dependencies = [ - "directories", - "fs-err", - "tempfile", -] - [[package]] name = "uv-types" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anyhow", "distribution-types", @@ -6106,24 +6297,25 @@ dependencies = [ "pep440_rs", "pep508_rs", "pypi-types", - "rustc-hash", + "rustc-hash 2.0.0", "thiserror", "url", "uv-cache", "uv-configuration", - "uv-interpreter", + "uv-git", "uv-normalize", + "uv-toolchain", ] [[package]] name = "uv-version" -version = "0.2.4" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +version = "0.2.18" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" [[package]] name = "uv-virtualenv" version = "0.0.4" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "fs-err", "itertools 0.13.0", @@ -6133,19 +6325,19 @@ dependencies = [ "thiserror", "tracing", "uv-fs", - "uv-interpreter", + "uv-toolchain", "uv-version", ] [[package]] name = "uv-warnings" version = "0.0.1" -source = "git+https://github.com/astral-sh/uv?rev=65b17f6e81125064ea04c5cfef685516ab660cf5#65b17f6e81125064ea04c5cfef685516ab660cf5" +source = "git+https://github.com/astral-sh/uv?tag=0.2.18#13b0beb56fdc607c1f38d820dbf8c95c8fd0ce84" dependencies = [ "anstream", "once_cell", "owo-colors", - "rustc-hash", + "rustc-hash 2.0.0", ] [[package]] @@ -6154,6 +6346,18 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +[[package]] +name = "value-trait" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dad8db98c1e677797df21ba03fca7d3bf9bec3ca38db930954e4fe6e1ea27eb4" +dependencies = [ + "float-cmp", + "halfbrown", + "itoa", + "ryu", +] + [[package]] name = "vcpkg" version = "0.2.15" @@ -6761,6 +6965,38 @@ dependencies = [ "time", ] +[[package]] +name = "zip" +version = "2.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775a2b471036342aa69bc5a602bc889cb0a06cda00477d0c69566757d5553d39" +dependencies = [ + "arbitrary", + "crc32fast", + "crossbeam-utils", + "displaydoc", + "flate2", + "indexmap 2.2.6", + "memchr", + "thiserror", + "time", + "zopfli", +] + +[[package]] +name = "zopfli" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946" +dependencies = [ + "bumpalo", + "crc32fast", + "lockfree-object-pool", + "log", + "once_cell", + "simd-adler32", +] + [[package]] name = "zstd" version = "0.13.1" diff --git a/pkgs/by-name/pi/pixi/package.nix b/pkgs/by-name/pi/pixi/package.nix index 19206ad0146b..e6b4c5578392 100644 --- a/pkgs/by-name/pi/pixi/package.nix +++ b/pkgs/by-name/pi/pixi/package.nix @@ -13,21 +13,21 @@ rustPlatform.buildRustPackage rec { pname = "pixi"; - version = "0.24.2"; + version = "0.26.1"; src = fetchFromGitHub { owner = "prefix-dev"; repo = "pixi"; rev = "v${version}"; - hash = "sha256-Qlr4CcrCq29ig3FPFWCR5oOtFrbREm/7zyGXUB3XL98="; + hash = "sha256-N8nNB+FOD8n+W7jFYhq9JoEnLOq6xLMLBC77DiK3RLU="; }; cargoLock = { lockFile = ./Cargo.lock; outputHashes = { "async_zip-0.0.17" = "sha256-Q5fMDJrQtob54CTII3+SXHeozy5S5s3iLOzntevdGOs="; - "cache-key-0.0.1" = "sha256-lJJqjxyAzGQKZi6RtzZ7A9pCAOyIJnstHoS8jlUWeGA="; - "pubgrub-0.2.1" = "sha256-mAPyo2R996ymzCt6TAX2G7xU1C3vDGjYF0z7R8lI1yg="; + "cache-key-0.0.1" = "sha256-tg3zRakZsnf7xBjs5tSlkmhkhHp5HGs6dwrTmdZBTl4="; + "pubgrub-0.2.1" = "sha256-6tr+HATYSn1A1uVJwmz40S4yLDOJlX8vEokOOtdFG0M="; }; }; From df73d2d4c79eb6dddaaf341a85e6c890eb16f26f Mon Sep 17 00:00:00 2001 From: ghpzin Date: Wed, 24 Jul 2024 17:28:09 +0300 Subject: [PATCH 38/93] python3Packages.etebase: 0.31.6 -> 0.31.7, fix build with Python 3.12 - update to 0.31.7 for patches to apply - add patch updating cpython to 0.7.2 to fix build with Python 3.12 - add patch updating flapigen to 0.6.1 to remove git dependency from Cargo.lock --- .../python-modules/etebase/default.nix | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/etebase/default.nix b/pkgs/development/python-modules/etebase/default.nix index bb23e85534b8..ffdad6347628 100644 --- a/pkgs/development/python-modules/etebase/default.nix +++ b/pkgs/development/python-modules/etebase/default.nix @@ -12,23 +12,39 @@ openssl, Security, msgpack, + fetchpatch, }: buildPythonPackage rec { pname = "etebase"; - version = "0.31.6"; + version = "0.31.7"; src = fetchFromGitHub { owner = "etesync"; repo = "etebase-py"; rev = "v${version}"; - hash = "sha256-T61nPW3wjBRjmJ81w59T1b/Kxrwwqvyj3gILE9OF/5Q="; + hash = "sha256-ZNUUp/0fGJxL/Rt8sAZ864rg8uCcNybIYSk4POt0vqg="; }; + # https://github.com/etesync/etebase-py/pull/54 + patches = [ + # fix python 3.12 build + (fetchpatch { + url = "https://github.com/etesync/etebase-py/commit/898eb3aca1d4eb30d4aeae15e35d0bc45dd7b3c8.patch"; + hash = "sha256-0BDUTztiC4MiwwNEDFtfc5ruc69Qk+svepQZRixNJgA="; + }) + # replace flapigen git dependency in Cargo.lock + (fetchpatch { + url = "https://github.com/etesync/etebase-py/commit/7e9e4244a144dd46383d8be950d3df79e28eb069.patch"; + hash = "sha256-8EH8Sc3UnmuCrSwDf3+as218HiG2Ed3r+FCMrUi5YrI="; + }) + ]; + cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - hash = "sha256-wrMNtcaLAsWBVeJbYbYo+Xmobl01lnUbR9NUqqUzUgU="; + hash = "sha256-We19laZd6b2fLSPNLegyNp0eQSeCvUJeTIXqvG7o08c="; + inherit patches; }; format = "pyproject"; From c860316dbc98af49af350e9ef487a646d15d262c Mon Sep 17 00:00:00 2001 From: Jason Yundt Date: Sun, 21 Jul 2024 20:15:34 -0400 Subject: [PATCH 39/93] vcpkg: fix binaries not being able to find libstdc++ Before this change, if you tried to run a binary that was installed by vcpkg, then you would get this error: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory This change prevents that error from happening. Fixes #317553. --- pkgs/by-name/vc/vcpkg/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/vc/vcpkg/package.nix b/pkgs/by-name/vc/vcpkg/package.nix index 74e16ebf8465..f92719cb0cc7 100644 --- a/pkgs/by-name/vc/vcpkg/package.nix +++ b/pkgs/by-name/vc/vcpkg/package.nix @@ -27,6 +27,9 @@ stdenvNoCC.mkDerivation (finalAttrs: { --replace-fail "arm-linux-gnueabihf-as" "armv7l-unknown-linux-gnueabihf-as" \ --replace-fail "arm-linux-gnueabihf-gcc" "armv7l-unknown-linux-gnueabihf-gcc" \ --replace-fail "arm-linux-gnueabihf-g++" "armv7l-unknown-linux-gnueabihf-g++" + # If we don’t turn this off, then you won’t be able to run binaries that + # are installed by vcpkg. + find triplets -name '*linux*.cmake' -exec bash -c 'echo "set(X_VCPKG_RPATH_KEEP_SYSTEM_PATHS ON)" >> "$1"' -- {} \; ''; installPhase = '' From 9781a9bc61c1cc236afae416e3cd56ad533db44b Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 14 Jul 2024 06:07:15 +0200 Subject: [PATCH 40/93] bsc: 3.1.0 -> 3.3.4 --- pkgs/tools/compression/bsc/default.nix | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/pkgs/tools/compression/bsc/default.nix b/pkgs/tools/compression/bsc/default.nix index 38f53dcb8000..1f41f4e37847 100644 --- a/pkgs/tools/compression/bsc/default.nix +++ b/pkgs/tools/compression/bsc/default.nix @@ -1,34 +1,31 @@ { lib, stdenv, fetchFromGitHub, openmp }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "bsc"; - version = "3.1.0"; + version = "3.3.4"; src = fetchFromGitHub { owner = "IlyaGrebnov"; repo = "libbsc"; - rev = version; - sha256 = "0c0jmirh9y23kyi1jnrm13sa3xsjn54jazfr84ag45pai279fciz"; + rev = "refs/tags/v${finalAttrs.version}"; + sha256 = "sha256-reGg5xvoZBbNFFYPPyT2P1LA7oSCUIm9NIDjXyvkP9Q="; }; enableParallelBuilding = true; buildInputs = lib.optional stdenv.isDarwin openmp; - postPatch = '' - substituteInPlace makefile \ - --replace 'g++' '$(CXX)' - ''; - - makeFlags = [ "PREFIX=$(out)" ]; + makeFlags = [ + "CC=$(CXX)" + "PREFIX=${placeholder "out"}" + ]; meta = with lib; { description = "High performance block-sorting data compression library"; homepage = "http://libbsc.com/"; maintainers = with maintainers; [ sigmanificient ]; - # Later commits changed the licence to Apache2 (no release yet, though) - license = with licenses; [ lgpl3Plus ]; + license = lib.licenses.asl20; platforms = platforms.unix; mainProgram = "bsc"; }; -} +}) From 4f38c82774438a57bd4c236288b49772dc44835d Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Thu, 25 Jul 2024 18:36:03 +0200 Subject: [PATCH 41/93] bsc: migrate to by-name --- .../bsc/default.nix => by-name/bs/bsc/package.nix} | 9 +++++++-- pkgs/top-level/all-packages.nix | 4 ---- 2 files changed, 7 insertions(+), 6 deletions(-) rename pkgs/{tools/compression/bsc/default.nix => by-name/bs/bsc/package.nix} (84%) diff --git a/pkgs/tools/compression/bsc/default.nix b/pkgs/by-name/bs/bsc/package.nix similarity index 84% rename from pkgs/tools/compression/bsc/default.nix rename to pkgs/by-name/bs/bsc/package.nix index 1f41f4e37847..48a1c8f994de 100644 --- a/pkgs/tools/compression/bsc/default.nix +++ b/pkgs/by-name/bs/bsc/package.nix @@ -1,4 +1,9 @@ -{ lib, stdenv, fetchFromGitHub, openmp }: +{ + lib, + stdenv, + fetchFromGitHub, + llvmPackages, +}: stdenv.mkDerivation (finalAttrs: { pname = "bsc"; @@ -13,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; - buildInputs = lib.optional stdenv.isDarwin openmp; + buildInputs = lib.optional stdenv.isDarwin llvmPackages.openmp; makeFlags = [ "CC=$(CXX)" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5f0f259e4170..41c3cfd95bf5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6437,10 +6437,6 @@ with pkgs; boltbrowser = callPackage ../tools/misc/boltbrowser { }; - bsc = callPackage ../tools/compression/bsc { - inherit (llvmPackages) openmp; - }; - bzip2 = callPackage ../tools/compression/bzip2 { }; bzip2_1_1 = callPackage ../tools/compression/bzip2/1_1.nix { }; From 7c57f195d45154f96a76a2afe2edf8f24e86dc96 Mon Sep 17 00:00:00 2001 From: redyf Date: Wed, 24 Jul 2024 12:23:44 -0300 Subject: [PATCH 42/93] =?UTF-8?q?tmuxPlugins.tmux-floax:=20init=20at=20uns?= =?UTF-8?q?table-2024-07-24=20Co-authored-by:=20=C3=A9clairevoyant=20<8480?= =?UTF-8?q?00+eclairevoyant@users.noreply.github.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/misc/tmux-plugins/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index e049f92c3041..926d2d08a3cb 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -707,6 +707,26 @@ in rec { }; }; + tmux-floax = mkTmuxPlugin { + pluginName = "tmux-floax"; + rtpFilePath = "floax.tmux"; + version = "0-unstable-2024-07-24"; + src = fetchFromGitHub { + owner = "omerxx"; + repo = "tmux-floax"; + rev = "46c0a6a8c3cf79b83d1b338f547acbbd1d306301"; + hash = "sha256-bALZfVWcoAzcTeWwkBHhi7TzUQJicOBTNdeJh3O/Bj8="; + }; + meta = { + description = "Floating pane for Tmux"; + homepage = "https://github.com/omerxx/tmux-floax"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ redyf ]; + mainProgram = "tmux-floax"; + platforms = lib.platforms.all; + }; + }; + tmux-fzf = mkTmuxPlugin { pluginName = "tmux-fzf"; rtpFilePath = "main.tmux"; From c6c6314b5f23d918b930bb69f224ef1cf1a3fb27 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 25 Jul 2024 23:13:29 +0200 Subject: [PATCH 43/93] ray: 2.32.0 -> 2.33.0 Diff: https://github.com/ray-project/ray/compare/ray-2.33.0...ray-2.32.0 Changelog: https://github.com/ray-project/ray/releases/tag/ray-2.33.0 --- .../python-modules/ray/binary-hashes.nix | 6 +- .../python-modules/ray/default.nix | 114 +++++++++--------- 2 files changed, 60 insertions(+), 60 deletions(-) diff --git a/pkgs/development/python-modules/ray/binary-hashes.nix b/pkgs/development/python-modules/ray/binary-hashes.nix index 98c442139dca..609e6c12288d 100644 --- a/pkgs/development/python-modules/ray/binary-hashes.nix +++ b/pkgs/development/python-modules/ray/binary-hashes.nix @@ -1,11 +1,11 @@ { cp310 = { - hash = "sha256-YlQ2hoW5MjQkOJ4L2/GsomlyX3rkNDjdC82hZ0RwzGw="; + hash = "sha256-cHxgTJS5t5nQXi//EWtyUHhGelZbbd5mOs9cegeaj58="; }; cp311 = { - hash = "sha256-VhbwU8sSccbuybGCPGeEF+lXv9fGGtVs1+e4S5vOURI="; + hash = "sha256-+rj/xdcVHe23UOzZ6YbTq7ULMgYTyjeN5peNoa3NMVc="; }; cp312 = { - hash = "sha256-EYug39E5RXG8W8x7aQTajcbFmvq8FZiXxdiSKV3htBE="; + hash = "sha256-4GWQJp0OUjt2X+Hw+E0HpWv04TN8HlSkIoEHsHIrfe0="; }; } diff --git a/pkgs/development/python-modules/ray/default.nix b/pkgs/development/python-modules/ray/default.nix index 69fbb8cae968..9430001fff90 100644 --- a/pkgs/development/python-modules/ray/default.nix +++ b/pkgs/development/python-modules/ray/default.nix @@ -1,58 +1,62 @@ { + lib, + buildPythonPackage, + pythonOlder, + pythonAtLeast, + python, + fetchPypi, + autoPatchelfHook, + + # dependencies aiohttp, aiohttp-cors, - aiorwlock, aiosignal, attrs, - autoPatchelfHook, - buildPythonPackage, - fetchPypi, click, cloudpickle, colorama, colorful, cython, - dm-tree, - fastapi, filelock, frozenlist, - fsspec, gpustat, grpcio, - gym, jsonschema, - lib, - lz4, - matplotlib, msgpack, numpy, opencensus, packaging, - pandas, - py-spy, prometheus-client, psutil, - pyarrow, pydantic, - python, - pythonAtLeast, - pythonOlder, + py-spy, pyyaml, requests, - scikit-image, - scipy, setproctitle, smart-open, + virtualenv, + + # optional-dependencies + fsspec, + pandas, + pyarrow, + dm-tree, + gym, + lz4, + matplotlib, + scikit-image, + scipy, + aiorwlock, + fastapi, starlette, + uvicorn, tabulate, tensorboardx, - uvicorn, - virtualenv, }: let pname = "ray"; - version = "2.32.0"; + version = "2.33.0"; in buildPythonPackage rec { inherit pname version; @@ -76,39 +80,6 @@ buildPythonPackage rec { // binary-hash ); - passthru.optional-dependencies = rec { - data-deps = [ - pandas - pyarrow - fsspec - ]; - - serve-deps = [ - aiorwlock - fastapi - pandas - starlette - uvicorn - ]; - - tune-deps = [ - tabulate - tensorboardx - ]; - - rllib-deps = tune-deps ++ [ - dm-tree - gym - lz4 - matplotlib - scikit-image - pyyaml - scipy - ]; - - air-deps = data-deps ++ serve-deps ++ tune-deps ++ rllib-deps; - }; - nativeBuildInputs = [ autoPatchelfHook ]; @@ -121,10 +92,10 @@ buildPythonPackage rec { ]; dependencies = [ - attrs aiohttp aiohttp-cors aiosignal + attrs click cloudpickle colorama @@ -139,10 +110,10 @@ buildPythonPackage rec { numpy opencensus packaging - py-spy prometheus-client psutil pydantic + py-spy pyyaml requests setproctitle @@ -150,6 +121,35 @@ buildPythonPackage rec { virtualenv ]; + optional-dependencies = rec { + air-deps = data-deps ++ serve-deps ++ tune-deps ++ rllib-deps; + data-deps = [ + fsspec + pandas + pyarrow + ]; + rllib-deps = tune-deps ++ [ + dm-tree + gym + lz4 + matplotlib + pyyaml + scikit-image + scipy + ]; + serve-deps = [ + aiorwlock + fastapi + pandas + starlette + uvicorn + ]; + tune-deps = [ + tabulate + tensorboardx + ]; + }; + postInstall = '' chmod +x $out/${python.sitePackages}/ray/core/src/ray/{gcs/gcs_server,raylet/raylet} ''; From 91b0679e7cba0990c91808286df6778b99a8ade0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 26 Jul 2024 11:24:22 +0000 Subject: [PATCH 44/93] codeql: 2.18.0 -> 2.18.1 --- pkgs/development/tools/analysis/codeql/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/codeql/default.nix b/pkgs/development/tools/analysis/codeql/default.nix index 8143a6bfd58e..27c11ffb2eaa 100644 --- a/pkgs/development/tools/analysis/codeql/default.nix +++ b/pkgs/development/tools/analysis/codeql/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "codeql"; - version = "2.18.0"; + version = "2.18.1"; dontConfigure = true; dontBuild = true; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { src = fetchzip { url = "https://github.com/github/codeql-cli-binaries/releases/download/v${version}/codeql.zip"; - hash = "sha256-wmBsPSwuFUnipLodxtr9xGhWKjBrn3NQ/X1QpxvlRf4="; + hash = "sha256-X/Sg5+UGl0DJ5LL42tlQt3NIfTJc4nH1AySeLJQsZkk="; }; nativeBuildInputs = [ From 0b3345ed486ce0f36f093f72c891ccf5a215e13a Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Fri, 26 Jul 2024 11:30:13 +0200 Subject: [PATCH 45/93] python312Packages.cmsis-svd: 0.4 -> 0.4-unstable-2024-01-25 --- .../python-modules/cmsis-svd/default.nix | 38 ++++++++++++------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/cmsis-svd/default.nix b/pkgs/development/python-modules/cmsis-svd/default.nix index 030b6d282276..b3197b6f89ef 100644 --- a/pkgs/development/python-modules/cmsis-svd/default.nix +++ b/pkgs/development/python-modules/cmsis-svd/default.nix @@ -2,33 +2,43 @@ lib, buildPythonPackage, fetchFromGitHub, + setuptools, six, + lxml, }: -buildPythonPackage rec { +buildPythonPackage { pname = "cmsis-svd"; - version = "0.4"; - format = "setuptools"; + version = "0.4-unstable-2024-01-25"; + pyproject = true; src = fetchFromGitHub { - owner = "posborne"; - repo = pname; - rev = "python-${version}"; - sha256 = "01f2z01gqgx0risqnbrlaqj49fmly30zbwsf7rr465ggnl2c04r0"; + owner = "cmsis-svd"; + repo = "cmsis-svd"; + rev = "38d21d30abd0d4c2f34fd79d83b34392ed4bb7a3"; + hash = "sha256-lFA0sNHVj4a4+EwOTmFUbM/nhmzJ4mx4GvT6Ykutakk="; }; - preConfigure = '' + preBuild = '' cd python ''; - propagatedBuildInputs = [ six ]; + build-system = [ setuptools ]; - pythonImportsCheck = [ "cmsis_svd" ]; + dependencies = [ + six + lxml + ]; - meta = with lib; { + pythonImportsCheck = [ + "cmsis_svd" + "cmsis_svd.parser" + ]; + + meta = { description = "CMSIS SVD parser"; - homepage = "https://github.com/posborne/cmsis-svd"; - maintainers = with maintainers; [ dump_stack ]; - license = licenses.asl20; + homepage = "https://github.com/cmsis-svd/cmsis-svd"; + maintainers = [ lib.maintainers.dump_stack ]; + license = lib.licenses.asl20; }; } From 44c84dc783309e3e948387783a3a85b108dfcc00 Mon Sep 17 00:00:00 2001 From: hellodword <46193371+hellodword@users.noreply.github.com> Date: Sat, 27 Jul 2024 03:38:58 +0000 Subject: [PATCH 46/93] restic: 0.16.5 -> 0.17.0 --- pkgs/tools/backup/restic/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/backup/restic/default.nix b/pkgs/tools/backup/restic/default.nix index 198a5dda0593..5f802f487903 100644 --- a/pkgs/tools/backup/restic/default.nix +++ b/pkgs/tools/backup/restic/default.nix @@ -1,15 +1,15 @@ { stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles, makeWrapper -, nixosTests, rclone }: +, nixosTests, rclone, python3 }: buildGoModule rec { pname = "restic"; - version = "0.16.5"; + version = "0.17.0"; src = fetchFromGitHub { owner = "restic"; repo = "restic"; rev = "v${version}"; - hash = "sha256-WwySXQU8eoyQRcI+zF+pIIKLEFheTnqkPTw0IZeUrhA="; + hash = "sha256-fd67ZehmgHHd+R/V4hJCREWoY3lFKSTfvbLRgJ0PSAM="; }; patches = [ @@ -17,12 +17,14 @@ buildGoModule rec { ./0001-Skip-testing-restore-with-permission-failure.patch ]; - vendorHash = "sha256-VZTX0LPZkqN4+OaaIkwepbGwPtud8Cu7Uq7t1bAUC8M="; + vendorHash = "sha256-tU2msDHktlU0SvvxLQCU64p8DpL8B0QiliVCuHlLTHQ="; subPackages = [ "cmd/restic" ]; nativeBuildInputs = [ installShellFiles makeWrapper ]; + nativeCheckInputs = [ python3 ]; + passthru.tests.restic = nixosTests.restic; postPatch = '' From e31b67579830d4c42149358a9d8e6742f5f42fc6 Mon Sep 17 00:00:00 2001 From: Philipp Arras Date: Fri, 26 Jul 2024 17:32:57 +0200 Subject: [PATCH 47/93] python3Packages.nuclear: init at 2.2.5 --- .../python-modules/nuclear/default.nix | 54 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 56 insertions(+) create mode 100644 pkgs/development/python-modules/nuclear/default.nix diff --git a/pkgs/development/python-modules/nuclear/default.nix b/pkgs/development/python-modules/nuclear/default.nix new file mode 100644 index 000000000000..ac7d35419835 --- /dev/null +++ b/pkgs/development/python-modules/nuclear/default.nix @@ -0,0 +1,54 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pytestCheckHook, + colorama, + mock, + pyyaml, + pydantic, + backoff, + setuptools, +}: + +buildPythonPackage rec { + pname = "nuclear"; + version = "2.2.5"; + pyproject = true; + + src = fetchFromGitHub { + owner = "igrek51"; + repo = "nuclear"; + rev = version; + hash = "sha256-JuO7BKmlQE6bWKqy1QvX5U4A9YkKu/4ouTSJh9R7JGo="; + }; + + build-system = [ setuptools ]; + dependencies = [ + colorama + pyyaml + ]; + + nativeCheckInputs = [ + pytestCheckHook + mock + pydantic + backoff + ]; + disabledTestPaths = [ + # Disabled because test tries to install bash in a non-NixOS way + "tests/autocomplete/test_bash_install.py" + ]; + disabledTests = [ + # Setting the time zone in nix sandbox does not work - to be investigated + "test_context_logger" + ]; + pythonImportsCheck = [ "nuclear" ]; + + meta = with lib; { + homepage = "https://igrek51.github.io/nuclear/"; + description = "Binding glue for CLI Python applications"; + license = licenses.mit; + maintainers = with maintainers; [ parras ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7c5ac7cbb3fc..745e9a234b3c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9163,6 +9163,8 @@ self: super: with self; { ntplib = callPackage ../development/python-modules/ntplib { }; + nuclear = callPackage ../development/python-modules/nuclear { }; + nuitka = callPackage ../development/python-modules/nuitka { }; nuheat = callPackage ../development/python-modules/nuheat { }; From b09e79ff25e75a48b5e40ba34b83dc15d6f1d951 Mon Sep 17 00:00:00 2001 From: Philipp Arras Date: Fri, 26 Jul 2024 17:33:51 +0200 Subject: [PATCH 48/93] python3Packages.wat: init at 0.1.2 --- .../python-modules/wat/default.nix | 38 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 40 insertions(+) create mode 100644 pkgs/development/python-modules/wat/default.nix diff --git a/pkgs/development/python-modules/wat/default.nix b/pkgs/development/python-modules/wat/default.nix new file mode 100644 index 000000000000..7ea81661648f --- /dev/null +++ b/pkgs/development/python-modules/wat/default.nix @@ -0,0 +1,38 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pytestCheckHook, + nuclear, + pydantic, + setuptools, +}: + +buildPythonPackage rec { + pname = "wat"; + version = "0.1.2"; + pyproject = true; + + src = fetchFromGitHub { + owner = "igrek51"; + repo = "wat"; + rev = version; + hash = "sha256-ibbWM2L/GoJVg8RxtsBSBn/qA+KIkC5+wq5YH6mtiUs="; + }; + + build-system = [ setuptools ]; + + nativeCheckInputs = [ + pytestCheckHook + nuclear + pydantic + ]; + pythonImportsCheck = [ "wat" ]; + + meta = with lib; { + homepage = "https://igrek51.github.io/wat/"; + description = "Deep inspection of python objects"; + license = licenses.mit; + maintainers = with maintainers; [ parras ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 745e9a234b3c..e46d97c5d3f2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17185,6 +17185,8 @@ self: super: with self; { wasmerPackages = pkgs.recurseIntoAttrs (callPackage ../development/python-modules/wasmer { }); inherit (self.wasmerPackages) wasmer wasmer-compiler-cranelift wasmer-compiler-llvm wasmer-compiler-singlepass; + wat = callPackage ../development/python-modules/wat { }; + watchdog = callPackage ../development/python-modules/watchdog { inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices; }; From 6eaf51a92bead420cf24eff43709dcb53938ef0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 27 Jul 2024 18:30:53 +0200 Subject: [PATCH 49/93] git-blame-ignore-revs: add nvidia formatting commit --- .git-blame-ignore-revs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index f6ffeb9b122a..d83dc1efe44f 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs @@ -153,3 +153,6 @@ bdfde18037f8d9f9b641a4016c8ada4dc4cbf856 # nixos/ollama: format with nixfmt-rfc-style (#329561) 246d1ee533810ac1946d863bbd9de9b525818d56 + +# nixos/nvidia: apply nixfmt-rfc-style (#313440) +fbdcdde04a7caa007e825a8b822c75fab9adb2d6 From 83c0ed1fe86dc01a724cf4fcda4c507126ade05b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 27 Jul 2024 18:31:03 +0200 Subject: [PATCH 50/93] nixos/nvidia: drop nvidia-vaapi-driver from 32bit drivers nvidia-vaapi-driver is designed to work with firefox which is 64bit only. On my system this adds almost 600 MiB closure size. --- nixos/modules/hardware/video/nvidia.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix index 1aa79166dee7..b4e833186e55 100644 --- a/nixos/modules/hardware/video/nvidia.nix +++ b/nixos/modules/hardware/video/nvidia.nix @@ -472,7 +472,6 @@ in hardware.graphics = { extraPackages = [ pkgs.nvidia-vaapi-driver ]; - extraPackages32 = [ pkgs.pkgsi686Linux.nvidia-vaapi-driver ]; }; environment.systemPackages = From a2f0e411c4c5e38ff37a66fade93e8e79d841bf7 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 27 Jul 2024 17:32:26 +0000 Subject: [PATCH 51/93] nerdfetch: 8.1.2 -> 8.2.0 --- pkgs/by-name/ne/nerdfetch/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ne/nerdfetch/package.nix b/pkgs/by-name/ne/nerdfetch/package.nix index 35f74f1b52cd..447e46586eda 100644 --- a/pkgs/by-name/ne/nerdfetch/package.nix +++ b/pkgs/by-name/ne/nerdfetch/package.nix @@ -5,13 +5,13 @@ }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "nerdfetch"; - version = "8.1.2"; + version = "8.2.0"; src = fetchFromGitHub { owner = "ThatOneCalculator"; repo = "NerdFetch"; rev = "v${finalAttrs.version}"; - hash = "sha256-hKs/Of6GIQ9Xtav7VfL+2DzMNpgUoDk5C/2lqldd/So="; + hash = "sha256-fSITel2WhlmKx+wMNKfur3zDqKYJs5+AZNJBd2MtGRw="; }; dontUnpack = true; From 3dbc8510ccb48e4cec20f5ca7700349d70a0bd75 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 20:47:59 +0200 Subject: [PATCH 52/93] python311Packages.python-barbicanclient: build manpage with sphinxHook --- .../python-barbicanclient/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pkgs/development/python-modules/python-barbicanclient/default.nix b/pkgs/development/python-modules/python-barbicanclient/default.nix index cefe9412e86e..e1e1952f153b 100644 --- a/pkgs/development/python-modules/python-barbicanclient/default.nix +++ b/pkgs/development/python-modules/python-barbicanclient/default.nix @@ -4,6 +4,7 @@ cliff, fetchFromGitea, keystoneauth1, + openstackdocstheme, oslo-i18n, oslo-serialization, oslo-utils, @@ -12,6 +13,8 @@ requests-mock, requests, setuptools, + sphinxcontrib-apidoc, + sphinxHook, stestr, }: @@ -32,11 +35,22 @@ buildPythonPackage rec { env.PBR_VERSION = version; + postPatch = '' + # Disable rsvgconverter not needed to build manpage + substituteInPlace doc/source/conf.py \ + --replace-fail "'sphinxcontrib.rsvgconverter'," "#'sphinxcontrib.rsvgconverter'," + ''; + build-system = [ + openstackdocstheme pbr setuptools + sphinxHook + sphinxcontrib-apidoc ]; + sphinxBuilders = [ "man" ]; + dependencies = [ cliff keystoneauth1 From 8ed7bb6b07da3450cab8e22fb703d601bf9e5b52 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 20:48:43 +0200 Subject: [PATCH 53/93] python311Packages.python-designateclient: build manpage with sphinxHook --- .../python-modules/python-designateclient/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/python-designateclient/default.nix b/pkgs/development/python-modules/python-designateclient/default.nix index 20cbf04e6ba2..fa2a61d85aa4 100644 --- a/pkgs/development/python-modules/python-designateclient/default.nix +++ b/pkgs/development/python-modules/python-designateclient/default.nix @@ -5,6 +5,7 @@ fetchFromGitea, jsonschema, keystoneauth1, + openstackdocstheme, osc-lib, oslo-serialization, oslo-utils, @@ -14,6 +15,8 @@ requests-mock, requests, setuptools, + sphinxHook, + sphinxcontrib-apidoc, stestr, }: @@ -35,10 +38,15 @@ buildPythonPackage rec { env.PBR_VERSION = version; build-system = [ + openstackdocstheme pbr setuptools + sphinxHook + sphinxcontrib-apidoc ]; + sphinxBuilders = [ "man" ]; + dependencies = [ debtcollector jsonschema From d2aa861baf2fa5c611ac7ffa9280162dda1ab2f2 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 20:51:13 +0200 Subject: [PATCH 54/93] python311Packages.cliff: use pyproject = true --- pkgs/development/python-modules/cliff/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/cliff/default.nix b/pkgs/development/python-modules/cliff/default.nix index cca72fa51ef0..88c01daa680c 100644 --- a/pkgs/development/python-modules/cliff/default.nix +++ b/pkgs/development/python-modules/cliff/default.nix @@ -11,6 +11,7 @@ prettytable, pyparsing, pyyaml, + setuptools, stevedore, sphinx, callPackage, @@ -19,7 +20,7 @@ buildPythonPackage rec { pname = "cliff"; version = "4.7.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; @@ -32,13 +33,14 @@ buildPythonPackage rec { rm test-requirements.txt ''; - nativeBuildInputs = [ + build-system = [ installShellFiles openstackdocstheme + setuptools sphinx ]; - propagatedBuildInputs = [ + dependencies = [ autopage cmd2 importlib-metadata From e0f2264c14212a6682ce41eeae6e77c750fd97c7 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 20:51:28 +0200 Subject: [PATCH 55/93] python311Packages.cliff: use sphinxHook --- pkgs/development/python-modules/cliff/default.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/cliff/default.nix b/pkgs/development/python-modules/cliff/default.nix index 88c01daa680c..416a34be304d 100644 --- a/pkgs/development/python-modules/cliff/default.nix +++ b/pkgs/development/python-modules/cliff/default.nix @@ -5,7 +5,6 @@ autopage, cmd2, importlib-metadata, - installShellFiles, openstackdocstheme, pbr, prettytable, @@ -13,7 +12,7 @@ pyyaml, setuptools, stevedore, - sphinx, + sphinxHook, callPackage, }: @@ -34,12 +33,13 @@ buildPythonPackage rec { ''; build-system = [ - installShellFiles openstackdocstheme setuptools - sphinx + sphinxHook ]; + sphinxBuilders = [ "man" ]; + dependencies = [ autopage cmd2 @@ -51,11 +51,6 @@ buildPythonPackage rec { stevedore ]; - postInstall = '' - sphinx-build -a -E -d doc/build/doctrees -b man doc/source doc/build/man - installManPage doc/build/man/cliff.1 - ''; - # check in passthru.tests.pytest to escape infinite recursion with stestr doCheck = false; From 91f804f53fe8456c11bad3f503eff959c6c2d673 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 20:57:18 +0200 Subject: [PATCH 56/93] python311Packages.python-manilaclient: use sphinxHook --- .../python-modules/python-manilaclient/default.nix | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/python-manilaclient/default.nix b/pkgs/development/python-modules/python-manilaclient/default.nix index c3256d0d5447..a0bac66c204a 100644 --- a/pkgs/development/python-modules/python-manilaclient/default.nix +++ b/pkgs/development/python-modules/python-manilaclient/default.nix @@ -2,7 +2,6 @@ lib, buildPythonPackage, fetchPypi, - installShellFiles, pbr, openstackdocstheme, oslo-config, @@ -12,7 +11,7 @@ prettytable, requests, simplejson, - sphinx, + sphinxHook, sphinxcontrib-programoutput, babel, osc-lib, @@ -32,12 +31,13 @@ buildPythonPackage rec { }; nativeBuildInputs = [ - installShellFiles openstackdocstheme - sphinx + sphinxHook sphinxcontrib-programoutput ]; + sphinxBuilders = [ "man" ]; + propagatedBuildInputs = [ pbr oslo-config @@ -53,12 +53,6 @@ buildPythonPackage rec { debtcollector ]; - postInstall = '' - export PATH=$out/bin:$PATH - sphinx-build -a -E -d doc/build/doctrees -b man doc/source doc/build/man - installManPage doc/build/man/python-manilaclient.1 - ''; - # Checks moved to 'passthru.tests' to workaround infinite recursion doCheck = false; From 65d7a89e6027664a039327e9be49b306f216b5ce Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:16:01 +0200 Subject: [PATCH 57/93] python311Packages.python-openstackclient: use sphinxHook --- .../python-openstackclient/default.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix index fc48197864ab..e77afb78c81b 100644 --- a/pkgs/development/python-modules/python-openstackclient/default.nix +++ b/pkgs/development/python-modules/python-openstackclient/default.nix @@ -3,7 +3,6 @@ buildPythonPackage, fetchPypi, ddt, - installShellFiles, openstackdocstheme, osc-lib, pbr, @@ -11,7 +10,7 @@ python-keystoneclient, python-novaclient, requests-mock, - sphinx, + sphinxHook, sphinxcontrib-apidoc, stestr, }: @@ -27,12 +26,13 @@ buildPythonPackage rec { }; nativeBuildInputs = [ - installShellFiles openstackdocstheme - sphinx + sphinxHook sphinxcontrib-apidoc ]; + sphinxBuilders = [ "man" ]; + propagatedBuildInputs = [ osc-lib pbr @@ -41,11 +41,6 @@ buildPythonPackage rec { python-novaclient ]; - postInstall = '' - sphinx-build -a -E -d doc/build/doctrees -b man doc/source doc/build/man - installManPage doc/build/man/openstack.1 - ''; - nativeCheckInputs = [ ddt stestr From 47ee8653476c3a2c6d5275b7f89758f9eaac6b96 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:00:23 +0200 Subject: [PATCH 58/93] python311Packages.python-openstackclient: use pyproject = true --- .../python-modules/python-openstackclient/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-openstackclient/default.nix b/pkgs/development/python-modules/python-openstackclient/default.nix index e77afb78c81b..50aa590d6b6a 100644 --- a/pkgs/development/python-modules/python-openstackclient/default.nix +++ b/pkgs/development/python-modules/python-openstackclient/default.nix @@ -10,6 +10,7 @@ python-keystoneclient, python-novaclient, requests-mock, + setuptools, sphinxHook, sphinxcontrib-apidoc, stestr, @@ -18,22 +19,23 @@ buildPythonPackage rec { pname = "python-openstackclient"; version = "6.6.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-u+8e00gpxBBSsuyiZIDinKH3K+BY0UMNpTQexExPKVw="; }; - nativeBuildInputs = [ + build-system = [ openstackdocstheme + setuptools sphinxHook sphinxcontrib-apidoc ]; sphinxBuilders = [ "man" ]; - propagatedBuildInputs = [ + dependencies = [ osc-lib pbr python-cinderclient @@ -48,7 +50,9 @@ buildPythonPackage rec { ]; checkPhase = '' + runHook preCheck stestr run + runHook postCheck ''; pythonImportsCheck = [ "openstackclient" ]; From 121acd22cd4ab1424af44942a0c9b2b1f68abe59 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:02:18 +0200 Subject: [PATCH 59/93] python311Packages.python-barbicanclient: add meta.mainProgram --- .../development/python-modules/python-barbicanclient/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/python-barbicanclient/default.nix b/pkgs/development/python-modules/python-barbicanclient/default.nix index e1e1952f153b..7188c8381605 100644 --- a/pkgs/development/python-modules/python-barbicanclient/default.nix +++ b/pkgs/development/python-modules/python-barbicanclient/default.nix @@ -79,6 +79,7 @@ buildPythonPackage rec { homepage = "https://opendev.org/openstack/python-barbicanclient"; description = "Client library for OpenStack Barbican API"; license = lib.licenses.asl20; + mainProgram = "barbican"; maintainers = lib.teams.openstack.members; }; } From 870a1c76b4888bbce40135db086efc68e9953574 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:08:04 +0200 Subject: [PATCH 60/93] python311Packages.python-heatclient: build manpage with sphinxHook --- .../python-modules/python-heatclient/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/python-heatclient/default.nix b/pkgs/development/python-modules/python-heatclient/default.nix index d2cefc90b58d..898640cb2cb6 100644 --- a/pkgs/development/python-modules/python-heatclient/default.nix +++ b/pkgs/development/python-modules/python-heatclient/default.nix @@ -5,6 +5,7 @@ fetchPypi, iso8601, keystoneauth1, + openstackdocstheme, osc-lib, oslo-i18n, oslo-serialization, @@ -16,6 +17,7 @@ pyyaml, requests, requests-mock, + sphinxHook, stestr, testscenarios, }: @@ -32,6 +34,13 @@ buildPythonPackage rec { hash = "sha256-B1F40HYHFF91mkxwySR/kqCvlwLLtBgqwUvw2byOc9g="; }; + nativeBuildInputs = [ + openstackdocstheme + sphinxHook + ]; + + sphinxBuilders = [ "man" ]; + propagatedBuildInputs = [ cliff iso8601 From fbf47577433a1ff8ad9bbee19421d03101bbca98 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:09:08 +0200 Subject: [PATCH 61/93] python311Packages.python-heatclient: use pyproject = true --- .../python-modules/python-heatclient/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-heatclient/default.nix b/pkgs/development/python-modules/python-heatclient/default.nix index 898640cb2cb6..b8d4563a4d33 100644 --- a/pkgs/development/python-modules/python-heatclient/default.nix +++ b/pkgs/development/python-modules/python-heatclient/default.nix @@ -17,6 +17,7 @@ pyyaml, requests, requests-mock, + setuptools, sphinxHook, stestr, testscenarios, @@ -25,7 +26,7 @@ buildPythonPackage rec { pname = "python-heatclient"; version = "3.5.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -34,14 +35,15 @@ buildPythonPackage rec { hash = "sha256-B1F40HYHFF91mkxwySR/kqCvlwLLtBgqwUvw2byOc9g="; }; - nativeBuildInputs = [ + build-system = [ openstackdocstheme + setuptools sphinxHook ]; sphinxBuilders = [ "man" ]; - propagatedBuildInputs = [ + dependencies = [ cliff iso8601 keystoneauth1 @@ -63,10 +65,14 @@ buildPythonPackage rec { ]; checkPhase = '' + runHook preCheck + stestr run -e <(echo " heatclient.tests.unit.test_common_http.HttpClientTest.test_get_system_ca_file heatclient.tests.unit.test_deployment_utils.TempURLSignalTest.test_create_temp_url ") + + runHook postCheck ''; pythonImportsCheck = [ "heatclient" ]; From 70a09d3c3c0d2893f2c7e6ae7b64e0c91aa308e4 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:11:53 +0200 Subject: [PATCH 62/93] python311Packages.python-ironicclient: build manpage with sphinxHook --- .../python-modules/python-ironicclient/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/python-modules/python-ironicclient/default.nix b/pkgs/development/python-modules/python-ironicclient/default.nix index 13cd6f4749ee..cab2feede92d 100644 --- a/pkgs/development/python-modules/python-ironicclient/default.nix +++ b/pkgs/development/python-modules/python-ironicclient/default.nix @@ -6,6 +6,7 @@ dogpile-cache, jsonschema, keystoneauth1, + openstackdocstheme, openstacksdk, osc-lib, oslo-utils, @@ -15,6 +16,8 @@ pyyaml, requests, requests-mock, + sphinxcontrib-apidoc, + sphinxHook, stestr, stevedore, }: @@ -29,6 +32,14 @@ buildPythonPackage rec { hash = "sha256-Blx0pr73uZA8eHd2iZ9WY+aozBFWsQhWpxoQKtjtJSk="; }; + nativeBuildInputs = [ + openstackdocstheme + sphinxcontrib-apidoc + sphinxHook + ]; + + sphinxBuilders = [ "man" ]; + propagatedBuildInputs = [ cliff dogpile-cache From 8a4ee285d037d9ba6eedc45bef0c3be50b7e7a2d Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:12:44 +0200 Subject: [PATCH 63/93] python311Packages.ironicclient: use pyproject = true --- .../python-modules/python-ironicclient/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-ironicclient/default.nix b/pkgs/development/python-modules/python-ironicclient/default.nix index cab2feede92d..2936c3ec2f4c 100644 --- a/pkgs/development/python-modules/python-ironicclient/default.nix +++ b/pkgs/development/python-modules/python-ironicclient/default.nix @@ -16,6 +16,7 @@ pyyaml, requests, requests-mock, + setuptools, sphinxcontrib-apidoc, sphinxHook, stestr, @@ -25,22 +26,23 @@ buildPythonPackage rec { pname = "python-ironicclient"; version = "5.7.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-Blx0pr73uZA8eHd2iZ9WY+aozBFWsQhWpxoQKtjtJSk="; }; - nativeBuildInputs = [ + build-system = [ openstackdocstheme + setuptools sphinxcontrib-apidoc sphinxHook ]; sphinxBuilders = [ "man" ]; - propagatedBuildInputs = [ + dependencies = [ cliff dogpile-cache jsonschema @@ -62,7 +64,9 @@ buildPythonPackage rec { ]; checkPhase = '' + runHook preCheck stestr run + runHook postCheck ''; pythonImportsCheck = [ "ironicclient" ]; From 5e44eda33b950f7b664d1ebe8f95a3af625d4016 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:13:55 +0200 Subject: [PATCH 64/93] python311Packages.python-manilaclient: use pyproject = true --- .../python-modules/python-manilaclient/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-manilaclient/default.nix b/pkgs/development/python-modules/python-manilaclient/default.nix index a0bac66c204a..bb444dd15ab2 100644 --- a/pkgs/development/python-modules/python-manilaclient/default.nix +++ b/pkgs/development/python-modules/python-manilaclient/default.nix @@ -11,6 +11,7 @@ prettytable, requests, simplejson, + setuptools, sphinxHook, sphinxcontrib-programoutput, babel, @@ -23,22 +24,23 @@ buildPythonPackage rec { pname = "python-manilaclient"; version = "4.9.1"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-TebykdG0fkeC+5Vs9eiwuJpXam41gg8gR4F2poYKDhI="; }; - nativeBuildInputs = [ + build-system = [ openstackdocstheme + setuptools sphinxHook sphinxcontrib-programoutput ]; sphinxBuilders = [ "man" ]; - propagatedBuildInputs = [ + dependencies = [ pbr oslo-config oslo-log From 62440ea31a5706e307730ad6eaa2d659da72ac82 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:24:37 +0200 Subject: [PATCH 65/93] python311Packages.debtcollector: build manpage with sphinxHook --- .../python-modules/debtcollector/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/debtcollector/default.nix b/pkgs/development/python-modules/debtcollector/default.nix index 5174c46c444a..e5583dd0b1ad 100644 --- a/pkgs/development/python-modules/debtcollector/default.nix +++ b/pkgs/development/python-modules/debtcollector/default.nix @@ -2,8 +2,10 @@ lib, buildPythonPackage, fetchPypi, + openstackdocstheme, pbr, six, + sphinxHook, wrapt, callPackage, }: @@ -18,7 +20,13 @@ buildPythonPackage rec { hash = "sha256-KokX0lsOHx0NNl08HG7Px6UiselxbooaSpFRJvfM6m8="; }; - nativeBuildInputs = [ pbr ]; + nativeBuildInputs = [ + openstackdocstheme + pbr + sphinxHook + ]; + + sphinxBuilders = [ "man" ]; propagatedBuildInputs = [ six From 731c5e4410159ac8a87b48bad7d9f4b44159c823 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:25:17 +0200 Subject: [PATCH 66/93] python311Packages.debtcollector: use pyproject = true --- pkgs/development/python-modules/debtcollector/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/debtcollector/default.nix b/pkgs/development/python-modules/debtcollector/default.nix index e5583dd0b1ad..d9b2011b17f2 100644 --- a/pkgs/development/python-modules/debtcollector/default.nix +++ b/pkgs/development/python-modules/debtcollector/default.nix @@ -5,6 +5,7 @@ openstackdocstheme, pbr, six, + setuptools, sphinxHook, wrapt, callPackage, @@ -13,22 +14,23 @@ buildPythonPackage rec { pname = "debtcollector"; version = "3.0.0"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-KokX0lsOHx0NNl08HG7Px6UiselxbooaSpFRJvfM6m8="; }; - nativeBuildInputs = [ + build-system = [ openstackdocstheme pbr + setuptools sphinxHook ]; sphinxBuilders = [ "man" ]; - propagatedBuildInputs = [ + dependencies = [ six wrapt ]; From c827fea0813c67020a6e200c9f2978738a2c1170 Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sat, 27 Jul 2024 21:34:25 +0200 Subject: [PATCH 67/93] python311Packages.openstacksdk: build manpage with sphinxHook --- .../python-modules/openstacksdk/default.nix | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/openstacksdk/default.nix b/pkgs/development/python-modules/openstacksdk/default.nix index afd98f1f61ed..5bf0f23accba 100644 --- a/pkgs/development/python-modules/openstacksdk/default.nix +++ b/pkgs/development/python-modules/openstacksdk/default.nix @@ -11,12 +11,14 @@ keystoneauth1, munch, netifaces, + openstackdocstheme, os-service-types, pbr, pythonOlder, pyyaml, requestsexceptions, setuptools, + sphinxHook, }: buildPythonPackage rec { @@ -26,12 +28,29 @@ buildPythonPackage rec { disabled = pythonOlder "3.7"; + outputs = [ + "out" + "man" + ]; + src = fetchPypi { inherit pname version; hash = "sha256-BghpDKN8pzMnsPo3YdF+ZTlb43/yALhzXY8kJ3tPSYA="; }; - build-system = [ setuptools ]; + postPatch = '' + # Disable rsvgconverter not needed to build manpage + substituteInPlace doc/source/conf.py \ + --replace-fail "'sphinxcontrib.rsvgconverter'," "#'sphinxcontrib.rsvgconverter'," + ''; + + build-system = [ + openstackdocstheme + setuptools + sphinxHook + ]; + + sphinxBuilders = [ "man" ]; dependencies = [ platformdirs From adb69e7d5899756df80b61d30f108bc9031987e5 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 28 Jul 2024 03:25:12 +0000 Subject: [PATCH 68/93] skopeo: 1.15.2 -> 1.16.0 --- pkgs/development/tools/skopeo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/skopeo/default.nix b/pkgs/development/tools/skopeo/default.nix index fa9dbcb7666f..6e78caf84ff0 100644 --- a/pkgs/development/tools/skopeo/default.nix +++ b/pkgs/development/tools/skopeo/default.nix @@ -18,13 +18,13 @@ buildGoModule rec { pname = "skopeo"; - version = "1.15.2"; + version = "1.16.0"; src = fetchFromGitHub { rev = "v${version}"; owner = "containers"; repo = "skopeo"; - hash = "sha256-qE6c7+NMGmz1zDqtEfAQQp/gQ0FP034q8wVCdHZ1wY8="; + hash = "sha256-M9BRsW3mNIRAr+yXSmoPNNoEY/XrCFNt+m2PtTuJUO4="; }; outputs = [ "out" "man" ]; From 9be35dff51c4cba8846ef5c162de1433a21cc1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Sch=C3=BCtz?= Date: Sat, 30 Mar 2024 10:16:19 +0100 Subject: [PATCH 69/93] mysqlBackup: use rsyncable compression --- nixos/modules/services/backup/mysql-backup.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/backup/mysql-backup.nix b/nixos/modules/services/backup/mysql-backup.nix index 00381be4b75d..e3fa7f45844f 100644 --- a/nixos/modules/services/backup/mysql-backup.nix +++ b/nixos/modules/services/backup/mysql-backup.nix @@ -20,7 +20,7 @@ let ''; backupDatabaseScript = db: '' dest="${cfg.location}/${db}.gz" - if ${mariadb}/bin/mysqldump ${optionalString cfg.singleTransaction "--single-transaction"} ${db} | ${gzip}/bin/gzip -c > $dest.tmp; then + if ${mariadb}/bin/mysqldump ${optionalString cfg.singleTransaction "--single-transaction"} ${db} | ${gzip}/bin/gzip -c ${cfg.gzipOptions} > $dest.tmp; then mv $dest.tmp $dest echo "Backed up to $dest" else @@ -78,6 +78,14 @@ in Whether to create database dump in a single transaction ''; }; + + gzipOptions = mkOption { + default = "--no-name --rsyncable"; + type = types.str; + description = '' + Command line options to use when invoking `gzip`. + ''; + }; }; }; From 06f41b2e3bef6e5691a9718a3b1e1a4c11cd2e3f Mon Sep 17 00:00:00 2001 From: Anthony ROUSSEL Date: Sun, 28 Jul 2024 11:13:10 +0200 Subject: [PATCH 70/93] python311Packages.tempest: relax defusedxml --- pkgs/development/python-modules/tempest/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/tempest/default.nix b/pkgs/development/python-modules/tempest/default.nix index 66b7e1aee3db..77326c7152c1 100644 --- a/pkgs/development/python-modules/tempest/default.nix +++ b/pkgs/development/python-modules/tempest/default.nix @@ -42,6 +42,8 @@ buildPythonPackage rec { hash = "sha256-l4qKbTfQRWiRsoHN9fiAAiGMGP+q3gwRH1pMSXV/eSU="; }; + pythonRelaxDeps = [ "defusedxml" ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ From a63b8c758cca439da279afb178a8e2acb4b49027 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 28 Jul 2024 14:05:10 +0200 Subject: [PATCH 71/93] zed-editor: 0.144.4 -> 0.145.1 Diff: https://github.com/zed-industries/zed/compare/refs/tags/v0.144.4...0.145.1 Changelog: https://github.com/zed-industries/zed/releases/tag/v0.145.1 --- pkgs/by-name/ze/zed-editor/Cargo.lock | 52 +++++++++++++------------- pkgs/by-name/ze/zed-editor/package.nix | 4 +- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/pkgs/by-name/ze/zed-editor/Cargo.lock b/pkgs/by-name/ze/zed-editor/Cargo.lock index 35a55b81023d..738ab3da1c3a 100644 --- a/pkgs/by-name/ze/zed-editor/Cargo.lock +++ b/pkgs/by-name/ze/zed-editor/Cargo.lock @@ -378,6 +378,7 @@ dependencies = [ "cargo_toml", "chrono", "client", + "clock", "collections", "command_palette_hooks", "ctor", @@ -420,6 +421,7 @@ dependencies = [ "telemetry_events", "terminal", "terminal_view", + "text", "theme", "tiktoken-rs", "toml 0.8.10", @@ -2405,22 +2407,13 @@ dependencies = [ "worktree", ] -[[package]] -name = "clipboard-win" -version = "3.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fdf5e01086b6be750428ba4a40619f847eb2e95756eee84b18e06e5f0b50342" -dependencies = [ - "lazy-bytes-cast", - "winapi", -] - [[package]] name = "clock" version = "0.1.0" dependencies = [ "chrono", "parking_lot", + "serde", "smallvec", ] @@ -2479,6 +2472,7 @@ version = "0.44.0" dependencies = [ "anthropic", "anyhow", + "assistant", "async-trait", "async-tungstenite", "audio", @@ -3408,11 +3402,13 @@ dependencies = [ "ctor", "editor", "env_logger", + "feature_flags", "futures 0.3.28", "gpui", "language", "log", "lsp", + "multi_buffer", "pretty_assertions", "project", "rand 0.8.5", @@ -3617,6 +3613,7 @@ dependencies = [ "linkify", "log", "lsp", + "markdown", "multi_buffer", "ordered-float 2.10.0", "parking_lot", @@ -3990,6 +3987,7 @@ version = "0.1.0" dependencies = [ "anyhow", "client", + "collections", "db", "editor", "extension", @@ -4009,6 +4007,7 @@ dependencies = [ "theme_selector", "ui", "util", + "vim", "workspace", ] @@ -4879,7 +4878,6 @@ dependencies = [ "calloop", "calloop-wayland-source", "cbindgen", - "clipboard-win", "cocoa", "collections", "core-foundation", @@ -5071,6 +5069,7 @@ version = "0.1.0" dependencies = [ "anyhow", "client", + "extension", "fs", "futures 0.3.28", "gpui", @@ -6084,12 +6083,6 @@ dependencies = [ "workspace", ] -[[package]] -name = "lazy-bytes-cast" -version = "5.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10257499f089cd156ad82d0a9cd57d9501fa2c989068992a97eb3c27836f206b" - [[package]] name = "lazy_static" version = "1.4.0" @@ -8085,6 +8078,7 @@ dependencies = [ "serde_json", "settings", "sha2 0.10.7", + "shellexpand 2.1.2", "shlex", "similar", "smol", @@ -8226,6 +8220,7 @@ version = "0.1.0" dependencies = [ "anyhow", "collections", + "futures 0.3.28", "prost", "prost-build", "serde", @@ -8317,10 +8312,13 @@ dependencies = [ "assistant", "editor", "gpui", + "repl", "search", "settings", "ui", + "util", "workspace", + "zed_actions", ] [[package]] @@ -8527,7 +8525,6 @@ dependencies = [ "client", "dev_server_projects", "editor", - "feature_flags", "fuzzy", "gpui", "language", @@ -8705,6 +8702,7 @@ dependencies = [ "image", "language", "log", + "multi_buffer", "project", "runtimelib", "schemars", @@ -10777,6 +10775,7 @@ dependencies = [ "gpui", "libc", "rand 0.8.5", + "release_channel", "schemars", "serde", "serde_derive", @@ -13337,6 +13336,7 @@ dependencies = [ "derive_more", "dev_server_projects", "env_logger", + "file_icons", "fs", "futures 0.3.28", "gpui", @@ -13628,7 +13628,7 @@ dependencies = [ [[package]] name = "zed" -version = "0.144.4" +version = "0.145.1" dependencies = [ "activity_indicator", "anyhow", @@ -13756,7 +13756,7 @@ dependencies = [ [[package]] name = "zed_dart" -version = "0.0.2" +version = "0.0.3" dependencies = [ "zed_extension_api 0.0.6", ] @@ -13770,7 +13770,7 @@ dependencies = [ [[package]] name = "zed_elixir" -version = "0.0.5" +version = "0.0.6" dependencies = [ "zed_extension_api 0.0.6", ] @@ -13870,9 +13870,9 @@ dependencies = [ [[package]] name = "zed_php" -version = "0.0.6" +version = "0.1.1" dependencies = [ - "zed_extension_api 0.0.4", + "zed_extension_api 0.0.6", ] [[package]] @@ -13906,7 +13906,7 @@ dependencies = [ [[package]] name = "zed_svelte" -version = "0.0.1" +version = "0.0.3" dependencies = [ "zed_extension_api 0.0.6", ] @@ -13948,9 +13948,9 @@ dependencies = [ [[package]] name = "zed_zig" -version = "0.1.3" +version = "0.1.4" dependencies = [ - "zed_extension_api 0.0.7", + "zed_extension_api 0.0.6", ] [[package]] diff --git a/pkgs/by-name/ze/zed-editor/package.nix b/pkgs/by-name/ze/zed-editor/package.nix index b85496958f30..b6d8cd3ec00b 100644 --- a/pkgs/by-name/ze/zed-editor/package.nix +++ b/pkgs/by-name/ze/zed-editor/package.nix @@ -35,13 +35,13 @@ assert withGLES -> stdenv.isLinux; rustPlatform.buildRustPackage rec { pname = "zed"; - version = "0.144.4"; + version = "0.145.1"; src = fetchFromGitHub { owner = "zed-industries"; repo = "zed"; rev = "refs/tags/v${version}"; - hash = "sha256-F/44NjoBCH2und9VVayE0wxrrOtcFoP5yuvxgxCkxuM="; + hash = "sha256-fO1VT2LiZa9XkQxP7QcEG9uCTtEm3soces7FCFwosbU="; fetchSubmodules = true; }; From 7dbb0ece0ba1f5fa6e7064ae36d24a7be6af5537 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 28 Jul 2024 12:42:52 +0000 Subject: [PATCH 72/93] clash-meta: 1.18.6 -> 1.18.7 --- pkgs/by-name/mi/mihomo/package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/mi/mihomo/package.nix b/pkgs/by-name/mi/mihomo/package.nix index 50529dec4b77..dc7c362bc5a3 100644 --- a/pkgs/by-name/mi/mihomo/package.nix +++ b/pkgs/by-name/mi/mihomo/package.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "mihomo"; - version = "1.18.6"; + version = "1.18.7"; src = fetchFromGitHub { owner = "MetaCubeX"; repo = "mihomo"; rev = "v${version}"; - hash = "sha256-h/H5T9UBCp/gXM+c5muRs8luz3LoHofBGwP3jofQ9Qg="; + hash = "sha256-+9tVkMOOGwdmOXhoXanOpp8/7TEGGLR2aTeOsw+FzKc="; }; - vendorHash = "sha256-lBHL4vD+0JDOlc6SWFsj0cerE/ypImoh8UFbL736SmA="; + vendorHash = "sha256-wbJgJY1EH3ajmoWXWRCSpD2C0eknajkwD1DaQz2EsUU="; excludedPackages = [ "./test" ]; From f7e86daecf6eb6cc7c45e2921bf28f14a8a8f6a4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sun, 28 Jul 2024 12:54:02 +0000 Subject: [PATCH 73/93] redpanda-client: 24.1.10 -> 24.1.13 --- pkgs/servers/redpanda/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/redpanda/default.nix b/pkgs/servers/redpanda/default.nix index 307e762881a4..09b8828069c8 100644 --- a/pkgs/servers/redpanda/default.nix +++ b/pkgs/servers/redpanda/default.nix @@ -6,12 +6,12 @@ , stdenv }: let - version = "24.1.10"; + version = "24.1.13"; src = fetchFromGitHub { owner = "redpanda-data"; repo = "redpanda"; rev = "v${version}"; - sha256 = "sha256-HouhxCy0eQx4A4TF1id8XA7JEzDwzLfYre6MxufCeBM="; + sha256 = "sha256-7XDtQYuAVo3WvL59KHrROYlRH68/tAAU/7IGwtTS/+Q="; }; in buildGoModule rec { From 04ec4905b2b00d02228fe59de5df8f50430e90c9 Mon Sep 17 00:00:00 2001 From: jaredmontoya <49511278+jaredmontoya@users.noreply.github.com> Date: Sun, 28 Jul 2024 15:02:42 +0200 Subject: [PATCH 74/93] markdownlint-cli2: set meta.mainProgram --- pkgs/tools/text/markdownlint-cli2/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/text/markdownlint-cli2/default.nix b/pkgs/tools/text/markdownlint-cli2/default.nix index 90a4b871cbc1..d98d3a9f29c6 100644 --- a/pkgs/tools/text/markdownlint-cli2/default.nix +++ b/pkgs/tools/text/markdownlint-cli2/default.nix @@ -52,5 +52,6 @@ stdenvNoCC.mkDerivation (finalAttrs: { homepage = "https://github.com/DavidAnson/markdownlint-cli2"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ natsukium ]; + mainProgram = "markdownlint-cli2"; }; }) From a93cfa6bc08df9400fe3c0209e773cee50bf95d8 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sun, 28 Jul 2024 15:13:55 +0200 Subject: [PATCH 75/93] python3Packages.lottie: init at 0.7.0 Signed-off-by: Sefa Eyeoglu --- .../python-modules/lottie/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/lottie/default.nix diff --git a/pkgs/development/python-modules/lottie/default.nix b/pkgs/development/python-modules/lottie/default.nix new file mode 100644 index 000000000000..a1ced236e8c8 --- /dev/null +++ b/pkgs/development/python-modules/lottie/default.nix @@ -0,0 +1,30 @@ +{ + lib, + buildPythonPackage, + distutils, + fetchPypi, + setuptools, +}: +buildPythonPackage rec { + pname = "lottie"; + version = "0.7.0"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + hash = "sha256-oyQvi6NwUfvddQPs0WggOgjkrybxe+LsygimSvHn08E="; + }; + + build-system = [ setuptools ]; + + dependencies = [ distutils ]; + + pythonImportsCheck = [ "lottie" ]; + + meta = with lib; { + description = "Framework to work with lottie files and telegram animated stickers (tgs)"; + homepage = "https://gitlab.com/mattbas/python-lottie/"; + license = licenses.agpl3Plus; + maintainers = with maintainers; [ Scrumplex ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7c5ac7cbb3fc..85186cb6ef06 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7235,6 +7235,8 @@ self: super: with self; { losant-rest = callPackage ../development/python-modules/losant-rest { }; + lottie = callPackage ../development/python-modules/lottie { }; + lpc-checksum = callPackage ../development/python-modules/lpc-checksum { }; lrcalc-python = callPackage ../development/python-modules/lrcalc-python { }; From 613997a28dd418d87b0887660bb668974c135a5e Mon Sep 17 00:00:00 2001 From: Gliczy <129636582+Gliczy@users.noreply.github.com> Date: Sun, 28 Jul 2024 16:18:11 +0200 Subject: [PATCH 76/93] signal-desktop: 7.16.0 -> 7.17.0 --- .../instant-messengers/signal-desktop/signal-desktop.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop.nix index 26d43cf11da0..ebe2cbc9d9a2 100644 --- a/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop.nix +++ b/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop.nix @@ -2,7 +2,7 @@ callPackage ./generic.nix { } rec { pname = "signal-desktop"; dir = "Signal"; - version = "7.16.0"; + version = "7.17.0"; url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop/signal-desktop_${version}_amd64.deb"; - hash = "sha256-DfPQb3TGhVVZ7webNoMmyhjhRKKO3lWf12ZIpi7D7tc="; + hash = "sha256-4Yp81aBY01cVZ/KDSqPO3R3HglLup/+sczQ5XNtQn84="; } From de2d116ddde78c550471b890eea3cb1fae6b4a7a Mon Sep 17 00:00:00 2001 From: Gliczy <129636582+Gliczy@users.noreply.github.com> Date: Sun, 28 Jul 2024 16:19:19 +0200 Subject: [PATCH 77/93] signal-desktop-beta: 7.17.0-beta.1 ->7.18.0-beta.1 --- .../instant-messengers/signal-desktop/signal-desktop-beta.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-beta.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-beta.nix index c251258772bf..79c501a2e6ce 100644 --- a/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-beta.nix +++ b/pkgs/applications/networking/instant-messengers/signal-desktop/signal-desktop-beta.nix @@ -2,7 +2,7 @@ callPackage ./generic.nix { } rec { pname = "signal-desktop-beta"; dir = "Signal Beta"; - version = "7.17.0-beta.1"; + version = "7.18.0-beta.1"; url = "https://updates.signal.org/desktop/apt/pool/s/signal-desktop-beta/signal-desktop-beta_${version}_amd64.deb"; - hash = "sha256-sK42Bqh+j4b8SduZk6eMhgBhRMG0q/ee5lAqFYVc4Tg="; + hash = "sha256-ZNFssB0SiNAAW7SupxNqdbEtEpemrv+IoyfdWVKu8CI="; } From 5f87ed0810977bae280d87e3443e1c97bd0f0339 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 27 Jul 2024 12:49:20 +0200 Subject: [PATCH 78/93] python312Packages.svgutils: drop nose dependency --- .../python-modules/svgutils/default.nix | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/svgutils/default.nix b/pkgs/development/python-modules/svgutils/default.nix index 307b6f689a74..40e50d9b9a0f 100644 --- a/pkgs/development/python-modules/svgutils/default.nix +++ b/pkgs/development/python-modules/svgutils/default.nix @@ -2,11 +2,10 @@ lib, buildPythonPackage, fetchFromGitHub, - pythonOlder, + fetchpatch2, setuptools, lxml, pytestCheckHook, - nose, }: buildPythonPackage rec { @@ -25,13 +24,24 @@ buildPythonPackage rec { dependencies = [ lxml ]; - doCheck = pythonOlder "3.12"; + patches = [ + # Remove nose dependency, see: https://github.com/btel/svg_utils/pull/131 - nativeCheckInputs = [ - pytestCheckHook - nose + # this first commit is required, as isort moved nose imports + (fetchpatch2 { + url = "https://github.com/btel/svg_utils/commit/48b078a729aeb6b1160142ab65157474c95a61b6.patch?full_index=1"; + hash = "sha256-9toOFfNkgGF3TvM340vYOTkuSEHBeiyBRSGqqobfiqI="; + }) + + # migrate to pytest + (fetchpatch2 { + url = "https://github.com/btel/svg_utils/commit/931a80220be7c0efa2fc6e1d47858d69a08df85e.patch?full_index=1"; + hash = "sha256-SMv0i8p3s57TDn6NM17RrHF9kVgsy2YJJ0KEBQKn2J0="; + }) ]; + nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "svgutils" ]; meta = with lib; { From 55d80185de4e5cdd6edbddc5ea2b76faf6bd22d0 Mon Sep 17 00:00:00 2001 From: Markus Theil Date: Wed, 24 Jul 2024 19:39:47 +0200 Subject: [PATCH 79/93] hostapd: 2.10 -> 2.11 Upstream Changes: * Wi-Fi Easy Connect - add support for DPP release 3 - allow Configurator parameters to be provided during config exchange * HE/IEEE 802.11ax/Wi-Fi 6 - various fixes * EHT/IEEE 802.11be/Wi-Fi 7 - add preliminary support * SAE: add support for fetching the password from a RADIUS server * support OpenSSL 3.0 API changes * support background radar detection and CAC with some additional drivers * support RADIUS ACL/PSK check during 4-way handshake (wpa_psk_radius=3) * EAP-SIM/AKA: support IMSI privacy * improve 4-way handshake operations - use Secure=1 in message 3 during PTK rekeying * OCV: do not check Frequency Segment 1 Channel Number for 160 MHz cases to avoid interoperability issues * support new SAE AKM suites with variable length keys * support new AKM for 802.1X/EAP with SHA384 * extend PASN support for secure ranging * FT: Use SHA256 to derive PMKID for AKM 00-0F-AC:3 (FT-EAP) - this is based on additional details being added in the IEEE 802.11 standard - the new implementation is not backwards compatible * improved ACS to cover additional channel types/bandwidths * extended Multiple BSSID support * fix beacon protection with FT protocol (incorrect BIGTK was provided) * support unsynchronized service discovery (USD) * add preliminary support for RADIUS/TLS * add support for explicit SSID protection in 4-way handshake (a mitigation for CVE-2023-52424; disabled by default for now, can be enabled with ssid_protection=1) * fix SAE H2E rejected groups validation to avoid downgrade attacks * use stricter validation for some RADIUS messages * a large number of other fixes, cleanup, and extensions Changelog: http://w1.fi/cgit/hostap/tree/hostapd/ChangeLog?id=d945ddd368085f255e68328f2d3b020ceea359af Signed-off-by: Markus Theil --- ...essage-Authenticator-attribute-in-MA.patch | 101 ------------------ pkgs/os-specific/linux/hostapd/default.nix | 53 +-------- 2 files changed, 3 insertions(+), 151 deletions(-) delete mode 100644 pkgs/os-specific/linux/hostapd/0007-RADIUS-Require-Message-Authenticator-attribute-in-MA.patch diff --git a/pkgs/os-specific/linux/hostapd/0007-RADIUS-Require-Message-Authenticator-attribute-in-MA.patch b/pkgs/os-specific/linux/hostapd/0007-RADIUS-Require-Message-Authenticator-attribute-in-MA.patch deleted file mode 100644 index e895e4792567..000000000000 --- a/pkgs/os-specific/linux/hostapd/0007-RADIUS-Require-Message-Authenticator-attribute-in-MA.patch +++ /dev/null @@ -1,101 +0,0 @@ -From 58097123ec5ea6f8276b38cb9b07669ec368a6c1 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Sun, 17 Mar 2024 10:42:56 +0200 -Subject: [PATCH 7/8] RADIUS: Require Message-Authenticator attribute in MAC - ACL cases - -hostapd required Message-Authenticator attribute to be included in EAP -authentication cases, but that requirement was not in place for MAC ACL -cases. Start requiring Message-Authenticator attribute for MAC ACL by -default. Unlike the EAP case, this can still be disabled with -radius_require_message_authenticator=1 to maintain compatibility with -some RADIUS servers when used in a network where the connection to such -a server is secure. - -Signed-off-by: Jouni Malinen ---- - hostapd/config_file.c | 3 +++ - hostapd/hostapd.conf | 11 +++++++++++ - src/ap/ap_config.c | 1 + - src/ap/ap_config.h | 1 + - src/ap/ieee802_11_auth.c | 4 +++- - 5 files changed, 19 insertions(+), 1 deletion(-) - -diff --git a/hostapd/config_file.c b/hostapd/config_file.c -index 96c28aea2..3fb059770 100644 ---- a/hostapd/config_file.c -+++ b/hostapd/config_file.c -@@ -2988,6 +2988,9 @@ static int hostapd_config_fill(struct hostapd_config *conf, - #endif /* CONFIG_RADIUS_TLS */ - } else if (os_strcmp(buf, "radius_retry_primary_interval") == 0) { - bss->radius->retry_primary_interval = atoi(pos); -+ } else if (os_strcmp(buf, -+ "radius_require_message_authenticator") == 0) { -+ bss->radius_require_message_authenticator = atoi(pos); - } else if (os_strcmp(buf, "radius_acct_interim_interval") == 0) { - bss->acct_interim_interval = atoi(pos); - } else if (os_strcmp(buf, "radius_request_cui") == 0) { -diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf -index e3367b708..3f0e66beb 100644 ---- a/hostapd/hostapd.conf -+++ b/hostapd/hostapd.conf -@@ -1620,6 +1620,17 @@ own_ip_addr=127.0.0.1 - # currently used secondary server is still working. - #radius_retry_primary_interval=600 - -+# Message-Authenticator attribute requirement for non-EAP cases -+# hostapd requires Message-Authenticator attribute to be included in all cases -+# where RADIUS is used for EAP authentication. This is also required for cases -+# where RADIUS is used for MAC ACL (macaddr_acl=2) by default, but that case -+# can be configured to not require this for compatibility with RADIUS servers -+# that do not include the attribute. This is not recommended due to potential -+# security concerns, but can be used as a temporary workaround in networks where -+# the connection to the RADIUS server is secure. -+# 0 = Do not require Message-Authenticator in MAC ACL response -+# 1 = Require Message-Authenticator in all authentication cases (default) -+#radius_require_message_authenticator=1 - - # Interim accounting update interval - # If this is set (larger than 0) and acct_server is configured, hostapd will -diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c -index 32b04ab35..0b5a16ef9 100644 ---- a/src/ap/ap_config.c -+++ b/src/ap/ap_config.c -@@ -122,6 +122,7 @@ void hostapd_config_defaults_bss(struct hostapd_bss_config *bss) - #endif /* CONFIG_IEEE80211R_AP */ - - bss->radius_das_time_window = 300; -+ bss->radius_require_message_authenticator = 1; - - bss->anti_clogging_threshold = 5; - bss->sae_sync = 5; -diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h -index fda937ecf..ced2181ab 100644 ---- a/src/ap/ap_config.h -+++ b/src/ap/ap_config.h -@@ -309,6 +309,7 @@ struct hostapd_bss_config { - struct hostapd_ip_addr own_ip_addr; - char *nas_identifier; - struct hostapd_radius_servers *radius; -+ int radius_require_message_authenticator; - int acct_interim_interval; - int radius_request_cui; - struct hostapd_radius_attr *radius_auth_req_attr; -diff --git a/src/ap/ieee802_11_auth.c b/src/ap/ieee802_11_auth.c -index cc38044d8..913a99597 100644 ---- a/src/ap/ieee802_11_auth.c -+++ b/src/ap/ieee802_11_auth.c -@@ -508,7 +508,9 @@ hostapd_acl_recv_radius(struct radius_msg *msg, struct radius_msg *req, - wpa_printf(MSG_DEBUG, "Found matching Access-Request for RADIUS " - "message (id=%d)", query->radius_id); - -- if (radius_msg_verify(msg, shared_secret, shared_secret_len, req, 0)) { -+ if (radius_msg_verify( -+ msg, shared_secret, shared_secret_len, req, -+ hapd->conf->radius_require_message_authenticator)) { - wpa_printf(MSG_INFO, "Incoming RADIUS packet did not have " - "correct authenticator - dropped\n"); - return RADIUS_RX_INVALID_AUTHENTICATOR; --- -2.45.1 - diff --git a/pkgs/os-specific/linux/hostapd/default.nix b/pkgs/os-specific/linux/hostapd/default.nix index 5988dc0436dc..10abb04f776f 100644 --- a/pkgs/os-specific/linux/hostapd/default.nix +++ b/pkgs/os-specific/linux/hostapd/default.nix @@ -2,7 +2,6 @@ lib, stdenv, fetchurl, - fetchpatch, pkg-config, libnl, openssl, @@ -12,11 +11,11 @@ stdenv.mkDerivation rec { pname = "hostapd"; - version = "2.10"; + version = "2.11"; src = fetchurl { url = "https://w1.fi/releases/${pname}-${version}.tar.gz"; - sha256 = "sha256-IG58eZtnhXLC49EgMCOHhLxKn4IyOwFWtMlGbxSYkV0="; + sha256 = "sha256-Kz+stjL9T2XjL0v4Kna0tyxQH5laT2LjMCGf567RdHo="; }; nativeBuildInputs = [ pkg-config ]; @@ -29,53 +28,6 @@ stdenv.mkDerivation rec { url = "https://raw.githubusercontent.com/openwrt/openwrt/eefed841b05c3cd4c65a78b50ce0934d879e6acf/package/network/services/hostapd/patches/300-noscan.patch"; sha256 = "08p5frxhpq1rp2nczkscapwwl8g9nc4fazhjpxic5bcbssc3sb00"; }) - - # Backported security patches for CVE-2024-3596 (https://blastradius.fail), - # these can be removed when updating to 2.11. - - # RADIUS: Allow Message-Authenticator attribute as the first attribute - (fetchpatch { - url = "https://w1.fi/cgit/hostap/patch/?id=adac846bd0e258a0aa50750bbd2b411fa0085c46"; - hash = "sha256-1jfSeVGL5tyZn8F2wpQ7KwaQaEKWsCOW/bavovMcdz4="; - }) - - # RADIUS server: Place Message-Authenticator attribute as the first one - (fetchpatch { - url = "https://w1.fi/cgit/hostap/patch/?id=54abb0d3cf35894e7d86e3f7555e95b106306803"; - hash = "sha256-fVhQlOVETttVf1M9iKrXJrv7mxpxSjCt3w8kndRal08="; - }) - - # hostapd: Move Message-Authenticator attribute to be the first one in req - (fetchpatch { - url = "https://w1.fi/cgit/hostap/patch/?id=37fe8e48ab44d44fe3cf5dd8f52cb0a10be0cd17"; - hash = "sha256-3eoAkXhieO3f0R5PTlH6g5wcgo/aLQN6XcPSITGgciE="; - }) - - # RADIUS DAS: Move Message-Authenticator attribute to be the first one - (fetchpatch { - url = "https://w1.fi/cgit/hostap/patch/?id=f54157077f799d84ce26bed6ad6b01c4a16e31cf"; - hash = "sha256-dcaghKbKNFVSN6ONNaFt1s0S35mkqox2aykiExEXyPQ="; - }) - - # Require Message-Authenticator in Access-Reject even without EAP-Message - (fetchpatch { - url = "https://w1.fi/cgit/hostap/patch/?id=934b0c3a45ce0726560ccefbd992a9d385c36385"; - hash = "sha256-9GquP/+lsghF81nMhOuRwlSz/pEnmk+mSex8aM3/qdA="; - }) - - # RADIUS: Require Message-Authenticator attribute in MAC ACL cases - #(fetchpatch { - # url = "https://w1.fi/cgit/hostap/patch/?id=58097123ec5ea6f8276b38cb9b07669ec368a6c1"; - # hash = "sha256-mW+PAeAkNcrlFPsjxLvZ/1Smq6H6KXq5Le3HuLA2KKw="; - #}) - # Needed to be fixed to apply correctly: - ./0007-RADIUS-Require-Message-Authenticator-attribute-in-MA.patch - - # RADIUS: Check Message-Authenticator if it is present even if not required - (fetchpatch { - url = "https://w1.fi/cgit/hostap/patch/?id=f302d9f9646704cce745734af21d540baa0da65f"; - hash = "sha256-6i0cq5YBm2w03yMrdYGaEqe1dTsmokZWOs4WPFX36qo="; - }) ]; outputs = [ "out" "man" ]; @@ -137,6 +89,7 @@ stdenv.mkDerivation rec { CONFIG_IEEE80211N=y CONFIG_IEEE80211AC=y CONFIG_IEEE80211AX=y + CONFIG_IEEE80211BE=y '' + lib.optionalString (sqlite != null) '' CONFIG_SQLITE=y ''; From 238488db8a3c71c5cdeaecee01aa894837a1a650 Mon Sep 17 00:00:00 2001 From: Markus Theil Date: Wed, 24 Jul 2024 19:40:16 +0200 Subject: [PATCH 80/93] wpa_supplicant: 2.10 -> 2.11 Upstream Changes: * Wi-Fi Easy Connect - add support for DPP release 3 - allow Configurator parameters to be provided during config exchange * MACsec - add support for GCM-AES-256 cipher suite - remove incorrect EAP Session-Id length constraint - add hardware offload support for additional drivers * HE/IEEE 802.11ax/Wi-Fi 6 - support BSS color updates - various fixes * EHT/IEEE 802.11be/Wi-Fi 7 - add preliminary support * support OpenSSL 3.0 API changes * improve EAP-TLS support for TLSv1.3 * EAP-SIM/AKA: support IMSI privacy * improve mitigation against DoS attacks when PMF is used * improve 4-way handshake operations - discard unencrypted EAPOL frames in additional cases - use Secure=1 in message 2 during PTK rekeying * OCV: do not check Frequency Segment 1 Channel Number for 160 MHz cases to avoid interoperability issues * support new SAE AKM suites with variable length keys * support new AKM for 802.1X/EAP with SHA384 * improve cross-AKM roaming with driver-based SME/BSS selection * PASN - extend support for secure ranging - allow PASN implementation to be used with external programs for Wi-Fi Aware * FT: Use SHA256 to derive PMKID for AKM 00-0F-AC:3 (FT-EAP) - this is based on additional details being added in the IEEE 802.11 standard - the new implementation is not backwards compatible, but PMKSA caching with FT-EAP was, and still is, disabled by default * support a pregenerated MAC (mac_addr=3) as an alternative mechanism for using per-network random MAC addresses * EAP-PEAP: require Phase 2 authentication by default (phase2_auth=1) to improve security for still unfortunately common invalid configurations that do not set ca_cert * extend SCS support for QoS Characteristics * extend MSCS support * support unsynchronized service discovery (USD) * add support for explicit SSID protection in 4-way handshake (a mitigation for CVE-2023-52424; disabled by default for now, can be enabled with ssid_protection=1) - in addition, verify SSID after key setup when beacon protection is used * fix SAE H2E rejected groups validation to avoid downgrade attacks * a large number of other fixes, cleanup, and extensions Changelog: http://w1.fi/cgit/hostap/tree/wpa_supplicant/ChangeLog?id=d945ddd368085f255e68328f2d3b020ceea359af Signed-off-by: Markus Theil --- ...1-Implement-read-only-mode-for-ssids.patch | 130 ------------------ ...que-IDs-for-networks-and-credentials.patch | 32 ----- .../linux/wpa_supplicant/default.nix | 14 +- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 4 - 5 files changed, 4 insertions(+), 177 deletions(-) delete mode 100644 pkgs/os-specific/linux/wpa_supplicant/0001-Implement-read-only-mode-for-ssids.patch delete mode 100644 pkgs/os-specific/linux/wpa_supplicant/Use-unique-IDs-for-networks-and-credentials.patch diff --git a/pkgs/os-specific/linux/wpa_supplicant/0001-Implement-read-only-mode-for-ssids.patch b/pkgs/os-specific/linux/wpa_supplicant/0001-Implement-read-only-mode-for-ssids.patch deleted file mode 100644 index d459de8a7f39..000000000000 --- a/pkgs/os-specific/linux/wpa_supplicant/0001-Implement-read-only-mode-for-ssids.patch +++ /dev/null @@ -1,130 +0,0 @@ -From 99ae610f0ae3608a12c864caedf396f14e68327d Mon Sep 17 00:00:00 2001 -From: Maximilian Bosch -Date: Fri, 19 Feb 2021 19:44:21 +0100 -Subject: [PATCH] Implement read-only mode for ssids - -With this change it's possible to define `network=`-sections in a second -config file specified via `-I` without having changes written to -`/etc/wpa_supplicant.conf`. - -This is helpful on e.g. NixOS to allow both declarative (i.e. read-only) -and imperative (i.e. mutable) networks. ---- - wpa_supplicant/config.h | 2 +- - wpa_supplicant/config_file.c | 5 +++-- - wpa_supplicant/config_none.c | 2 +- - wpa_supplicant/config_ssid.h | 2 ++ - wpa_supplicant/wpa_supplicant.c | 8 ++++---- - 5 files changed, 11 insertions(+), 8 deletions(-) - -diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h -index 6a297ecfe..adaf4d398 100644 ---- a/wpa_supplicant/config.h -+++ b/wpa_supplicant/config.h -@@ -1614,7 +1614,7 @@ const char * wpa_config_get_global_field_name(unsigned int i, int *no_var); - * - * Each configuration backend needs to implement this function. - */ --struct wpa_config * wpa_config_read(const char *name, struct wpa_config *cfgp); -+struct wpa_config * wpa_config_read(const char *name, struct wpa_config *cfgp, int ro); - - /** - * wpa_config_write - Write or update configuration data -diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c -index 77c326df5..d5ed051b9 100644 ---- a/wpa_supplicant/config_file.c -+++ b/wpa_supplicant/config_file.c -@@ -373,7 +373,7 @@ static int wpa_config_process_blob(struct wpa_config *config, FILE *f, - #endif /* CONFIG_NO_CONFIG_BLOBS */ - - --struct wpa_config * wpa_config_read(const char *name, struct wpa_config *cfgp) -+struct wpa_config * wpa_config_read(const char *name, struct wpa_config *cfgp, int ro) - { - FILE *f; - char buf[512], *pos; -@@ -415,6 +415,7 @@ struct wpa_config * wpa_config_read(const char *name, struct wpa_config *cfgp) - while (wpa_config_get_line(buf, sizeof(buf), f, &line, &pos)) { - if (os_strcmp(pos, "network={") == 0) { - ssid = wpa_config_read_network(f, &line, id++); -+ ssid->ro = ro; - if (ssid == NULL) { - wpa_printf(MSG_ERROR, "Line %d: failed to " - "parse network block.", line); -@@ -1591,7 +1592,7 @@ int wpa_config_write(const char *name, struct wpa_config *config) - } - - for (ssid = config->ssid; ssid; ssid = ssid->next) { -- if (ssid->key_mgmt == WPA_KEY_MGMT_WPS || ssid->temporary) -+ if (ssid->key_mgmt == WPA_KEY_MGMT_WPS || ssid->temporary || ssid->ro) - continue; /* do not save temporary networks */ - if (wpa_key_mgmt_wpa_psk(ssid->key_mgmt) && !ssid->psk_set && - !ssid->passphrase) -diff --git a/wpa_supplicant/config_none.c b/wpa_supplicant/config_none.c -index 2aac28fa3..02191b425 100644 ---- a/wpa_supplicant/config_none.c -+++ b/wpa_supplicant/config_none.c -@@ -17,7 +17,7 @@ - #include "base64.h" - - --struct wpa_config * wpa_config_read(const char *name, struct wpa_config *cfgp) -+struct wpa_config * wpa_config_read(const char *name, struct wpa_config *cfgp, int ro) - { - struct wpa_config *config; - -diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h -index d5c5c00a9..fd80c079c 100644 ---- a/wpa_supplicant/config_ssid.h -+++ b/wpa_supplicant/config_ssid.h -@@ -93,6 +93,8 @@ struct wpa_ssid { - */ - int id; - -+ int ro; -+ - /** - * priority - Priority group - * -diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c -index 911d79d17..cb0cb99b1 100644 ---- a/wpa_supplicant/wpa_supplicant.c -+++ b/wpa_supplicant/wpa_supplicant.c -@@ -1052,14 +1052,14 @@ int wpa_supplicant_reload_configuration(struct wpa_supplicant *wpa_s) - - if (wpa_s->confname == NULL) - return -1; -- conf = wpa_config_read(wpa_s->confname, NULL); -+ conf = wpa_config_read(wpa_s->confname, NULL, 0); - if (conf == NULL) { - wpa_msg(wpa_s, MSG_ERROR, "Failed to parse the configuration " - "file '%s' - exiting", wpa_s->confname); - return -1; - } - if (wpa_s->confanother && -- !wpa_config_read(wpa_s->confanother, conf)) { -+ !wpa_config_read(wpa_s->confanother, conf, 1)) { - wpa_msg(wpa_s, MSG_ERROR, - "Failed to parse the configuration file '%s' - exiting", - wpa_s->confanother); -@@ -5638,7 +5638,7 @@ static int wpa_supplicant_init_iface(struct wpa_supplicant *wpa_s, - #else /* CONFIG_BACKEND_FILE */ - wpa_s->confname = os_strdup(iface->confname); - #endif /* CONFIG_BACKEND_FILE */ -- wpa_s->conf = wpa_config_read(wpa_s->confname, NULL); -+ wpa_s->conf = wpa_config_read(wpa_s->confname, NULL, 0); - if (wpa_s->conf == NULL) { - wpa_printf(MSG_ERROR, "Failed to read or parse " - "configuration '%s'.", wpa_s->confname); -@@ -5646,7 +5646,7 @@ static int wpa_supplicant_init_iface(struct wpa_supplicant *wpa_s, - } - wpa_s->confanother = os_rel2abs_path(iface->confanother); - if (wpa_s->confanother && -- !wpa_config_read(wpa_s->confanother, wpa_s->conf)) { -+ !wpa_config_read(wpa_s->confanother, wpa_s->conf, 1)) { - wpa_printf(MSG_ERROR, - "Failed to read or parse configuration '%s'.", - wpa_s->confanother); --- -2.29.2 - diff --git a/pkgs/os-specific/linux/wpa_supplicant/Use-unique-IDs-for-networks-and-credentials.patch b/pkgs/os-specific/linux/wpa_supplicant/Use-unique-IDs-for-networks-and-credentials.patch deleted file mode 100644 index 09e5b3673ac4..000000000000 --- a/pkgs/os-specific/linux/wpa_supplicant/Use-unique-IDs-for-networks-and-credentials.patch +++ /dev/null @@ -1,32 +0,0 @@ -The id and cred_id variables are reset to 0 every time the -wpa_config_read function is called, which is fine as long as it is only -called once. However, this is not the case when using both the -c and -I -options to specify two config files. - -This is a problem because the GUI, since eadfeb0e93748eb396ae62012b92d21a7f533646, -relies on the network IDs being unique (and increasing), and might get -into an infinite loop otherwise. - -This is solved by simply making the variables static. ---- - wpa_supplicant/config_file.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c -index 6db5010db..c996e3916 100644 ---- a/wpa_supplicant/config_file.c -+++ b/wpa_supplicant/config_file.c -@@ -297,8 +297,8 @@ struct wpa_config * wpa_config_read(const char *name, struct wpa_config *cfgp) - struct wpa_ssid *ssid, *tail, *head; - struct wpa_cred *cred, *cred_tail, *cred_head; - struct wpa_config *config; -- int id = 0; -- int cred_id = 0; -+ static int id = 0; -+ static int cred_id = 0; - - if (name == NULL) - return NULL; --- -2.34.1 - diff --git a/pkgs/os-specific/linux/wpa_supplicant/default.nix b/pkgs/os-specific/linux/wpa_supplicant/default.nix index e63bbd7a3fc0..f163978b9512 100644 --- a/pkgs/os-specific/linux/wpa_supplicant/default.nix +++ b/pkgs/os-specific/linux/wpa_supplicant/default.nix @@ -3,28 +3,19 @@ , dbusSupport ? !stdenv.hostPlatform.isStatic, dbus , withReadline ? true, readline , withPcsclite ? !stdenv.hostPlatform.isStatic, pcsclite -, readOnlyModeSSIDs ? false }: with lib; stdenv.mkDerivation rec { - version = "2.10"; + version = "2.11"; pname = "wpa_supplicant"; src = fetchurl { url = "https://w1.fi/releases/${pname}-${version}.tar.gz"; - sha256 = "sha256-IN965RVLODA1X4q0JpEjqHr/3qWf50/pKSqR0Nfhey8="; + sha256 = "sha256-kS6gb3TjCo42+7aAZNbN/yGNjVkdsPxddd7myBrH/Ao="; }; - patches = [ - # Fix a bug when using two config files - ./Use-unique-IDs-for-networks-and-credentials.patch - ] ++ lib.optionals readOnlyModeSSIDs [ - # Allow read-only networks - ./0001-Implement-read-only-mode-for-ssids.patch - ]; - # TODO: Patch epoll so that the dbus actually responds # TODO: Figure out how to get privsep working, currently getting SIGBUS extraConfig = '' @@ -49,6 +40,7 @@ stdenv.mkDerivation rec { CONFIG_HT_OVERRIDES=y CONFIG_IEEE80211AC=y CONFIG_IEEE80211AX=y + CONFIG_IEEE80211BE=y CONFIG_IEEE80211N=y CONFIG_IEEE80211R=y CONFIG_IEEE80211W=y diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index c657e766e71c..446a52b7d4a2 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1494,6 +1494,7 @@ mapAliases ({ wordpress6_1 = throw "'wordpress6_1' has been removed in favor of the latest version"; # Added 2023-10-10 wordpress6_2 = throw "'wordpress6_2' has been removed in favor of the latest version"; # Added 2023-10-10 wormhole-rs = magic-wormhole-rs; # Added 2022-05-30. preserve, reason: Arch package name, main binary name + wpa_supplicant_ro_ssids = lib.trivial.warn "Deprecated package: Please use wpa_supplicant instead. Read-only SSID patches are now upstream!" wpa_supplicant; wrapLisp_old = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07 wmii_hg = wmii; wrapGAppsHook = wrapGAppsHook3; # Added 2024-03-26 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9dbd51473876..efaa79c6825e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27763,10 +27763,6 @@ with pkgs; wpa_supplicant = callPackage ../os-specific/linux/wpa_supplicant { }; - wpa_supplicant_ro_ssids = wpa_supplicant.override { - readOnlyModeSSIDs = true; - }; - wpa_supplicant_gui = libsForQt5.callPackage ../os-specific/linux/wpa_supplicant/gui.nix { }; xf86_input_cmt = callPackage ../os-specific/linux/xf86-input-cmt { }; From 934c6da35ec28433c61db331d70bea9131f45ffe Mon Sep 17 00:00:00 2001 From: magnouvean Date: Sun, 28 Jul 2024 18:28:43 +0200 Subject: [PATCH 81/93] vscode-extensions.csharpier.csharpier-vscode: init 1.7.3 --- .../editors/vscode/extensions/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 3d2342d99fdb..219d6b6b9909 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -1099,6 +1099,23 @@ let }; }; + csharpier.csharpier-vscode = buildVscodeMarketplaceExtension { + mktplcRef = { + name = "csharpier-vscode"; + publisher = "csharpier"; + version = "1.7.3"; + hash = "sha256-/ZLjnlLl6xmgEazdCbnuE6UuuV1tDwAjpxz+vmBuYHE="; + }; + meta = { + changelog = "https://marketplace.visualstudio.com/items/csharpier.csharpier-vscode/changelog"; + description = "CSharpier code formatter for Visual Studio Code"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=csharpier.csharpier-vscode"; + homepage = "https://github.com/belav/csharpier"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.magnouvean ]; + }; + }; + cweijan.dbclient-jdbc = buildVscodeMarketplaceExtension { mktplcRef = { name = "dbclient-jdbc"; From 90c3231e9e24dc202a47c33fd1248e56177253c6 Mon Sep 17 00:00:00 2001 From: magnouvean Date: Sun, 28 Jul 2024 18:47:04 +0200 Subject: [PATCH 82/93] vscode-extensions.ms-dotnettools.vscode-dotnet-runtime: init 2.1.1 --- .../editors/vscode/extensions/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 219d6b6b9909..7f8005f7ebfa 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -3126,6 +3126,23 @@ let ms-dotnettools.csdevkit = callPackage ./ms-dotnettools.csdevkit { }; ms-dotnettools.csharp = callPackage ./ms-dotnettools.csharp { }; + ms-dotnettools.vscode-dotnet-runtime = buildVscodeMarketplaceExtension { + mktplcRef = { + name = "vscode-dotnet-runtime"; + publisher = "ms-dotnettools"; + version = "2.1.1"; + hash = "sha256-k14bjWITPDduJi79W59SnMV2TFNRCeAymhs6u1Y0vzk="; + }; + meta = { + changelog = "https://marketplace.visualstudio.com/items/ms-dotnettools.vscode-dotnet-runtime/changelog"; + description = "Provides a way for other Visual Studio Code extensions to install local versions of .NET SDK/Runtime"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-runtime"; + homepage = "https://github.com/dotnet/vscode-dotnet-runtime"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.magnouvean ]; + }; + }; + ms-kubernetes-tools.vscode-kubernetes-tools = buildVscodeMarketplaceExtension { mktplcRef = { name = "vscode-kubernetes-tools"; From 79b30f904c34d66a29a47e49bf44fab1a502c516 Mon Sep 17 00:00:00 2001 From: magnouvean Date: Sun, 28 Jul 2024 18:56:32 +0200 Subject: [PATCH 83/93] vscode-extensions.ms-dotnettools.vscodeintellicode-csharp: init 2.1.11 --- .../editors/vscode/extensions/default.nix | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 7f8005f7ebfa..42bd907eb6b9 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -3143,6 +3143,55 @@ let }; }; + ms-dotnettools.vscodeintellicode-csharp = buildVscodeMarketplaceExtension { + mktplcRef = + let + sources = { + "x86_64-linux" = { + arch = "linux-x64"; + hash = "sha256-oQMwzQuW5vjxtDboRCeiEO5aytsAY6rb14JDTmK3JPg="; + }; + "x86_64-darwin" = { + arch = "darwin-x64"; + hash = "sha256-/9+qtLDNYUFvdoehit3BihA38p6RqJ7na5Q27xxpZk0="; + }; + "aarch64-linux" = { + arch = "linux-arm64"; + hash = "sha256-JqLlYMKyTXaEzuTPPxVaO8WJiuCUN+9xBzyA6+aYdSc="; + }; + "aarch64-darwin" = { + arch = "darwin-arm64"; + hash = "sha256-dhiUePePkO3MxRQ5UP+lOxRax503JlERe/GWJ8pPUIg="; + }; + }; + in + { + name = "vscodeintellicode-csharp"; + publisher = "ms-dotnettools"; + version = "2.1.11"; + } + // sources.${stdenv.system}; + nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ]; + buildInputs = [ + stdenv.cc.cc.lib + zlib + ]; + meta = { + changelog = "https://marketplace.visualstudio.com/items/ms-dotnettools.vscodeintellicode-csharp/changelog"; + description = "AI-assisted development features for C# in Visual Studio Code"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscodeintellicode-csharp"; + homepage = "https://github.com/MicrosoftDocs/intellicode"; + license = lib.licenses.unfree; + maintainers = [ lib.maintainers.magnouvean ]; + platforms = [ + "x86_64-linux" + "x86_64-darwin" + "aarch64-darwin" + "aarch64-linux" + ]; + }; + }; + ms-kubernetes-tools.vscode-kubernetes-tools = buildVscodeMarketplaceExtension { mktplcRef = { name = "vscode-kubernetes-tools"; From a0fe0bf949ae5cb557708b5769c0460fe7741af7 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 27 Jul 2024 04:53:13 +0200 Subject: [PATCH 84/93] python312Packages.changefinder: drop nose dependency --- .../python-modules/changefinder/default.nix | 16 ++++++++++------ .../changefinder/fix_test_invocation.patch | 13 +++++++++++++ 2 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 pkgs/development/python-modules/changefinder/fix_test_invocation.patch diff --git a/pkgs/development/python-modules/changefinder/default.nix b/pkgs/development/python-modules/changefinder/default.nix index fc34238f00ec..4405fa8a8525 100644 --- a/pkgs/development/python-modules/changefinder/default.nix +++ b/pkgs/development/python-modules/changefinder/default.nix @@ -2,7 +2,7 @@ , buildPythonPackage , fetchFromGitHub , setuptools -, nose +, pytestCheckHook , numpy , scipy , statsmodels @@ -20,17 +20,21 @@ buildPythonPackage { hash = "sha256-1If0gIsMU8673fKSSHVMvDgR1UnYgM/4HiyvZJ9T6VM="; }; - nativeBuildInputs = [ - setuptools - ]; + patches = [ ./fix_test_invocation.patch ]; - propagatedBuildInputs = [ - nose # not actually required during runtime, but specified as required in `setup.py` + build-system = [ setuptools ]; + + pythonRemoveDeps = [ "nose" ]; + + dependencies = [ numpy scipy statsmodels ]; + nativeCheckInputs = [ pytestCheckHook ]; + pytestFlagsArray = [ "test/test.py" ]; + pythonImportsCheck = [ "changefinder" ]; meta = with lib; { diff --git a/pkgs/development/python-modules/changefinder/fix_test_invocation.patch b/pkgs/development/python-modules/changefinder/fix_test_invocation.patch new file mode 100644 index 000000000000..f02e2e36d4b5 --- /dev/null +++ b/pkgs/development/python-modules/changefinder/fix_test_invocation.patch @@ -0,0 +1,13 @@ +diff --git a/test/test.py b/test/test.py +index 85a9f4e..a5f44fd 100644 +--- a/test/test.py ++++ b/test/test.py +@@ -4,7 +4,7 @@ import numpy as np + + + class TestChangeFinder(): +- def setup(self): ++ def setup_method(self): + self._term = 30 + self._smooth = 7 + self._order = 1 From 4d89948fb6124bba15d4e418358e852c129c485a Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 28 Jul 2024 19:59:53 +0200 Subject: [PATCH 85/93] python312Packages.prison: drop nose dependency --- pkgs/development/python-modules/prison/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/prison/default.nix b/pkgs/development/python-modules/prison/default.nix index 32d7a9ead8c6..5abb41f26910 100644 --- a/pkgs/development/python-modules/prison/default.nix +++ b/pkgs/development/python-modules/prison/default.nix @@ -2,14 +2,15 @@ lib, buildPythonPackage, fetchFromGitHub, + setuptools, six, - nose, + pytestCheckHook, }: buildPythonPackage rec { pname = "prison"; version = "0.1.3"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "betodealmeida"; @@ -18,9 +19,11 @@ buildPythonPackage rec { hash = "sha256-qor40vUQeTdlO3vwug3GGNX5vkNaF0H7EWlRdsY4bvc="; }; - propagatedBuildInputs = [ six ]; + build-system = [ setuptools ]; - nativeCheckInputs = [ nose ]; + dependencies = [ six ]; + + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Rison encoder/decoder"; From 98dc7a18aa9f391f410317b5d97a96bc04b4a02d Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sun, 28 Jul 2024 18:03:15 +0000 Subject: [PATCH 86/93] google-chrome: 126.0.6478.182 -> 127.0.6533.72 This update includes 22 security fixes. [$11000][349198731] High CVE-2024-6988: Use after free in Downloads. Reported by lime(@limeSec_) from TIANGONG Team of Legendsec at QI-ANXIN Group on 2024-06-25 [$8000][349342289] High CVE-2024-6989: Use after free in Loader. Reported by Anonymous on 2024-06-25 [TBD][346618785] High CVE-2024-6991: Use after free in Dawn. Reported by wgslfuzz on 2024-06-12 [$8000][339686368] Medium CVE-2024-6994: Heap buffer overflow in Layout. Reported by Huang Xilin of Ant Group Light-Year Security Lab on 2024-05-10 [$6000][343938078] Medium CVE-2024-6995: Inappropriate implementation in Fullscreen. Reported by Alesandro Ortiz on 2024-06-01 [$5000][333708039] Medium CVE-2024-6996: Race in Frames. Reported by Louis Jannett (Ruhr University Bochum) on 2024-04-10 [$3000][325293263] Medium CVE-2024-6997: Use after free in Tabs. Reported by Sven Dysthe (@svn-dys) on 2024-02-15 [$2000][340098902] Medium CVE-2024-6998: Use after free in User Education. Reported by Sven Dysthe (@svn-dys) on 2024-05-13 [$2000][340893685] Medium CVE-2024-6999: Inappropriate implementation in FedCM. Reported by Alesandro Ortiz on 2024-05-15 [$500][339877158] Medium CVE-2024-7000: Use after free in CSS. Reported by Anonymous on 2024-05-11 [TBD][347509736] Medium CVE-2024-7001: Inappropriate implementation in HTML. Reported by Jake Archibald on 2024-06-17 [$2000][338233148] Low CVE-2024-7003: Inappropriate implementation in FedCM. Reported by Alesandro Ortiz on 2024-05-01 [TBD][40063014] Low CVE-2024-7004: Insufficient validation of untrusted input in Safe Browsing. Reported by Anonymous on 2023-02-10 [TBD][40068800] Low CVE-2024-7005: Insufficient validation of untrusted input in Safe Browsing. Reported by Umar Farooq on 2023-08-04 --- pkgs/by-name/go/google-chrome/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/go/google-chrome/package.nix b/pkgs/by-name/go/google-chrome/package.nix index 87ff8448d626..ceb56e99adbf 100644 --- a/pkgs/by-name/go/google-chrome/package.nix +++ b/pkgs/by-name/go/google-chrome/package.nix @@ -64,11 +64,11 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "google-chrome"; - version = "126.0.6478.182"; + version = "127.0.6533.72"; src = fetchurl { url = "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${finalAttrs.version}-1_amd64.deb"; - hash = "sha256-izz3oEJAScI1MV3pBHLzwxCKs6M+rTORernvLv3sBYA="; + hash = "sha256-DpEYK/6SEaNfEa8uzGhXhALSSxt51X9X5ksaia8srJg="; }; nativeBuildInputs = [ patchelf makeWrapper ]; From 117a1c494c62d4f0ab486b136c3b7bb598e20490 Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Sun, 28 Jul 2024 23:35:24 +0530 Subject: [PATCH 87/93] google-chrome: add changelog link to make it easier for reviewers Look for Chrome Desktop Stable update in the posts to see the changelog --- pkgs/by-name/go/google-chrome/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/go/google-chrome/package.nix b/pkgs/by-name/go/google-chrome/package.nix index ceb56e99adbf..7e3749e5db1d 100644 --- a/pkgs/by-name/go/google-chrome/package.nix +++ b/pkgs/by-name/go/google-chrome/package.nix @@ -157,6 +157,7 @@ in stdenv.mkDerivation (finalAttrs: { meta = { description = "Freeware web browser developed by Google"; homepage = "https://www.google.com/chrome/browser/"; + changelog = "https://chromereleases.googleblog.com/"; license = lib.licenses.unfree; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; maintainers = with lib.maintainers; [ jnsgruk johnrtitor ]; From 1ca6fcb4cd7824ea20b4712306f2f327033a6bff Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 28 Jul 2024 19:44:42 +0200 Subject: [PATCH 88/93] python312Packages.kserve: 0.13.0 -> 0.13.1 Diff: https://github.com/kserve/kserve/compare/refs/tags/v0.13.0...v0.13.1 Changelog: https://github.com/kserve/kserve/releases/tag/v0.13.1 --- .../python-modules/kserve/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/kserve/default.nix b/pkgs/development/python-modules/kserve/default.nix index 962ba7d8375c..bb071fc3f0aa 100644 --- a/pkgs/development/python-modules/kserve/default.nix +++ b/pkgs/development/python-modules/kserve/default.nix @@ -3,8 +3,12 @@ buildPythonPackage, pythonOlder, fetchFromGitHub, + + # build-system deprecation, poetry-core, + + # dependencies async-timeout, cloudevents, fastapi, @@ -17,12 +21,16 @@ prometheus-client, protobuf, psutil, + pydantic, python-dateutil, + pyyaml, ray, six, tabulate, timing-asgi, uvicorn, + + # checks avro, azure-storage-blob, azure-storage-file-share, @@ -30,13 +38,14 @@ botocore, google-cloud-storage, grpcio-testing, + pytest-asyncio, pytestCheckHook, tomlkit, }: buildPythonPackage rec { pname = "kserve"; - version = "0.13.0"; + version = "0.13.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -45,7 +54,7 @@ buildPythonPackage rec { owner = "kserve"; repo = "kserve"; rev = "refs/tags/v${version}"; - hash = "sha256-Fu+1AR7FU4EQ+PhMneHFr3at3N9cN7V24wm/VOfY8GA="; + hash = "sha256-wGS001PK+k21oCOaQCiAtytTDjfe0aiTVJ9spyOucYA="; }; sourceRoot = "${src.name}/python/kserve"; @@ -68,7 +77,9 @@ buildPythonPackage rec { prometheus-client protobuf psutil + pydantic python-dateutil + pyyaml ray six tabulate @@ -96,6 +107,7 @@ buildPythonPackage rec { botocore google-cloud-storage grpcio-testing + pytest-asyncio pytestCheckHook tomlkit ]; From 37662197d4ec69323ed6ce6a97eb7b34bfc6ac9b Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 28 Jul 2024 21:27:22 +0200 Subject: [PATCH 89/93] python312Packages.zha: disable flaky tests --- pkgs/development/python-modules/zha/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/zha/default.nix b/pkgs/development/python-modules/zha/default.nix index 9de893dbc215..01101670ef54 100644 --- a/pkgs/development/python-modules/zha/default.nix +++ b/pkgs/development/python-modules/zha/default.nix @@ -102,6 +102,12 @@ buildPythonPackage rec { "test_sinope_time" "test_siren_timed_off" "test_zha_group_light_entity" + # flaky, either due to race conditions or timeouts + "test_zha_group_switch_entity" + "test_zha_group_fan_entity" + "test_startup_concurrency_limit" + "test_fan_ikea" + "test_background" ]; disabledTestPaths = [ "tests/test_cluster_handlers.py" ]; From c5a8ba9bcafae1edf426d4f8f079eefce3b8f741 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 28 Jul 2024 15:29:27 -0400 Subject: [PATCH 90/93] picom: fix cross compilation, set strictDeps --- pkgs/by-name/pi/picom/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/pi/picom/package.nix b/pkgs/by-name/pi/picom/package.nix index 676ac95fb512..8074e38cf501 100644 --- a/pkgs/by-name/pi/picom/package.nix +++ b/pkgs/by-name/pi/picom/package.nix @@ -43,6 +43,8 @@ stdenv.mkDerivation (finalAttrs: { fetchSubmodules = true; }; + strictDeps = true; + nativeBuildInputs = [ asciidoc docbook_xml_dtd_45 @@ -51,7 +53,6 @@ stdenv.mkDerivation (finalAttrs: { meson ninja pkg-config - uthash ]; buildInputs = [ @@ -69,6 +70,7 @@ stdenv.mkDerivation (finalAttrs: { libxslt pcre2 pixman + uthash xcbutil xcbutilimage xcbutilrenderutil From 86f523c59d9fe05d97f3bec95e646f5d7e71ffa5 Mon Sep 17 00:00:00 2001 From: maralorn Date: Sun, 28 Jul 2024 21:37:39 +0200 Subject: [PATCH 91/93] nix-output-monitor: 2.1.2 -> 2.1.3 --- pkgs/tools/nix/nix-output-monitor/generated-package.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/nix/nix-output-monitor/generated-package.nix b/pkgs/tools/nix/nix-output-monitor/generated-package.nix index 35b1f473cb2d..4e76a5194107 100644 --- a/pkgs/tools/nix/nix-output-monitor/generated-package.nix +++ b/pkgs/tools/nix/nix-output-monitor/generated-package.nix @@ -9,10 +9,10 @@ }: mkDerivation { pname = "nix-output-monitor"; - version = "2.1.2"; + version = "2.1.3"; src = fetchzip { - url = "https://code.maralorn.de/maralorn/nix-output-monitor/archive/v2.1.2.tar.gz"; - sha256 = "192h67myibpc2bw5ng60qi4m9jyjd9cf14aba4ps44ayjw95wkc0"; + url = "https://code.maralorn.de/maralorn/nix-output-monitor/archive/v2.1.3.tar.gz"; + sha256 = "1xm40pp9lqj2hlwk3ds9zyjd4yqsis2a2ac5kn19z60glxvaijvx"; }; isLibrary = true; isExecutable = true; From 398bb0d3ef2c44b90c2cf3fc7b0fc66e820c4d61 Mon Sep 17 00:00:00 2001 From: Lorenz Brun Date: Sun, 28 Jul 2024 22:33:37 +0200 Subject: [PATCH 92/93] obj-magic: init at unstable-2020-09-20 (#306627) Co-authored-by: Sandro --- pkgs/by-name/ob/obj-magic/package.nix | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pkgs/by-name/ob/obj-magic/package.nix diff --git a/pkgs/by-name/ob/obj-magic/package.nix b/pkgs/by-name/ob/obj-magic/package.nix new file mode 100644 index 000000000000..4f120323d0a3 --- /dev/null +++ b/pkgs/by-name/ob/obj-magic/package.nix @@ -0,0 +1,38 @@ +{ lib +, stdenv +, fetchFromGitHub +}: + +stdenv.mkDerivation { + pname = "obj-magic"; + version = "0.5-unstable-2020-09-20"; + + src = fetchFromGitHub { + owner = "tapio"; + repo = "obj-magic"; + rev = "f25c9b78cee6529a3295ed314d1c200677dc56c0"; + hash = "sha256-4A8TasyLOh6oz21/AwBbE5s3055EPftFh8mymrveTvY="; + }; + + buildPhase = '' + runHook preBuild + ./make.sh + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + install -D obj-magic $out/bin/obj-magic + runHook postInstall + ''; + + meta = { + description = "Command line tool for manipulating Wavefront OBJ 3D meshes"; + homepage = "https://github.com/tapio/obj-magic"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ lorenz ]; + platforms = lib.platforms.unix; + mainProgram = "obj-magic"; + }; +} + From cd11c4bba3b17d3c7b1eb339f49be2ea759bbe8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 27 Jul 2024 20:21:13 +0200 Subject: [PATCH 93/93] buildFHSEnv: replace all chroot occurences with generic names Co-authored-by: Atemu --- .../build-fhsenv-bubblewrap/buildFHSEnv.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix b/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix index ffd19cfd4a8a..c00aff0b2288 100644 --- a/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix +++ b/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix @@ -51,7 +51,7 @@ let # list of packages which are for x86 (only multiPkgs, only for x86_64 hosts) multiPaths = multiPkgs pkgsi686Linux; - # base packages of the chroot + # base packages of the fhsenv # these match the host's architecture, glibc_multi is used for multilib # builds. glibcLocales must be before glibc or glibc_multi as otherwiese # the wrong LOCALE_ARCHIVE will be used where only C.UTF-8 is available. @@ -84,7 +84,7 @@ let ''; etcProfile = writeText "profile" '' - export PS1='${name}-chrootenv:\u@\h:\w\$ ' + export PS1='${name}-fhsenv:\u@\h:\w\$ ' export LOCALE_ARCHIVE='/usr/lib/locale/locale-archive' export LD_LIBRARY_PATH="/run/opengl-driver/lib:/run/opengl-driver-32/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" export PATH="/run/wrappers/bin:/usr/bin:/usr/sbin:$PATH" @@ -123,8 +123,8 @@ let ${profile} ''; - # Compose /etc for the chroot environment - etcPkg = runCommandLocal "${name}-chrootenv-etc" { } '' + # Compose /etc for the fhs environment + etcPkg = runCommandLocal "${name}-fhs-etc" { } '' mkdir -p $out/etc pushd $out/etc @@ -215,7 +215,7 @@ let then setupLibDirsTarget else setupLibDirsMulti; - # the target profile is the actual profile that will be used for the chroot + # the target profile is the actual profile that will be used for the fhs setupTargetProfile = '' mkdir -m0755 usr pushd usr