diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 516d4817bedf..fe3e6ed29f07 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -17878,6 +17878,12 @@ github = "merrkry"; githubId = 124278440; }; + mert-kurttutan = { + email = "mert-kurttutan@gmail.com"; + name = "Mert Kurttutan"; + github = "mert-kurttutan"; + githubId = 88637659; + }; messemar = { email = "martin.messer@cyberus-technology.de"; name = "messemar"; @@ -27442,6 +27448,12 @@ github = "tembleking"; githubId = 2988780; }; + temidaradev = { + name = "temidaradev"; + email = "temidaradev@proton.me"; + github = "temidaradev"; + githubId = 118509044; + }; tengkuizdihar = { name = "Tengku Izdihar"; email = "tengkuizdihar@gmail.com"; diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 6cd174fabc2b..d9ac409599f6 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -2250,6 +2250,30 @@ in ''; }; + prompt = lib.mkOption { + default = null; + type = with lib.types; nullOr str; + description = '' + Set individual prompt message for interactive mode. + By setting this option, you can set a message to be shown by the + {option}`security.pam.u2f.settings.interactive` option. + + Requires {option}`security.pam.u2f.settings.interactive` to be set to `true`. + ''; + }; + + cue_prompt = lib.mkOption { + default = null; + type = with lib.types; nullOr str; + description = '' + Set individual prompt message for cue mode. + By setting this option, you can set a message to be shown by the + {option}`security.pam.u2f.settings.cue` option. + + Requires {option}`security.pam.u2f.settings.cue` to be set to `true`. + ''; + }; + cue = lib.mkOption { default = false; type = lib.types.bool; diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py index 534efa8877e2..3e917a7cf48f 100644 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py @@ -243,6 +243,38 @@ def run( return subprocess.run(cmd, check=True, text=True, stdout=stdout, stderr=sys.stderr) +def bootctl_varlink_call(method: str, parameters: dict[str, Any]) -> dict[str, Any]: + # Spawn bootctl as a Varlink server on stdio, mirroring what varlinkctl + # does when given an executable path. We cannot talk to a running + # systemd-bootctl.socket because that would use bootctl from the booted + # system rather than the closure we are switching to, does not let us set + # SYSTEMD_ESP_PATH/SYSTEMD_XBOOTLDR_PATH, and is unavailable inside + # nixos-enter anyway. + env = os.environ | { + "SYSTEMD_VARLINK_LISTEN": "-", + "SYSTEMD_ESP_PATH": str(EFI_SYS_MOUNT_POINT), + } + if BOOT_MOUNT_POINT != EFI_SYS_MOUNT_POINT: + env["SYSTEMD_XBOOTLDR_PATH"] = str(BOOT_MOUNT_POINT) + + proc = subprocess.Popen( + [f"{SYSTEMD}/bin/bootctl"], + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + stderr=sys.stderr, + env=env, + ) + assert proc.stdin is not None and proc.stdout is not None + request = json.dumps({"method": method, "parameters": parameters}).encode() + out, _ = proc.communicate(request + b"\0") + reply, _, _ = out.partition(b"\0") + if not reply: + raise RuntimeError( + f"bootctl exited with status {proc.returncode} without a Varlink reply" + ) + return json.loads(reply) + + def generation_dir(profile: str | None, generation: int) -> Path: if profile: return Path( @@ -479,55 +511,29 @@ def install_bootloader(args: argparse.Namespace) -> None: + ["install"] ) else: - # Update bootloader to latest if needed - available_out = run( - [f"{SYSTEMD}/bin/bootctl", "--version"], stdout=subprocess.PIPE - ).stdout.split()[2] - installed_out = run( - [f"{SYSTEMD}/bin/bootctl", f"--esp-path={EFI_SYS_MOUNT_POINT}", "status"], - stdout=subprocess.PIPE, - ).stdout + # Let bootctl compare versions itself. Over Varlink, an already + # current binary comes back as an io.systemd.System error carrying + # ESTALE, which we can tell apart from real failures. + params: dict[str, Any] = {"operation": "update"} + if not CAN_TOUCH_EFI_VARIABLES: + params["touchVariables"] = False + if GRACEFUL: + params["graceful"] = True + reply = bootctl_varlink_call("io.systemd.BootControl.Install", params) - # See status_binaries() in systemd bootctl.c for code which generates this - # Matches - # Available Boot Loaders on ESP: - # ESP: /boot (/dev/disk/by-partuuid/9b39b4c4-c48b-4ebf-bfea-a56b2395b7e0) - # File: └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 255.2) - # But also: - # Available Boot Loaders on ESP: - # ESP: /boot (/dev/disk/by-partuuid/9b39b4c4-c48b-4ebf-bfea-a56b2395b7e0) - # File: ├─/EFI/systemd/HashTool.efi - # └─/EFI/systemd/systemd-bootx64.efi (systemd-boot 255.2) - installed_match = re.search( - r"^\W+.*/EFI/(?:BOOT|systemd)/.*\.efi \(systemd-boot ([\d.]+[^)]*)\)$", - installed_out, - re.IGNORECASE | re.MULTILINE, - ) - - available_match = re.search(r"^\((.*)\)$", available_out) - - if installed_match is None: - raise Exception( - "Could not find any previously installed systemd-boot. If you are switching to systemd-boot from a different bootloader, you need to run `nixos-rebuild switch --install-bootloader`" - ) - - if available_match is None: - raise Exception("could not determine systemd-boot version") - - installed_version = installed_match.group(1) - available_version = available_match.group(1) - - if installed_version < available_version: - print( - "updating systemd-boot from %s to %s" - % (installed_version, available_version), - file=sys.stderr, - ) - run( - [f"{SYSTEMD}/bin/bootctl", f"--esp-path={EFI_SYS_MOUNT_POINT}"] - + bootctl_flags - + ["update"] - ) + error = reply.get("error") + if error is not None: + error_params = reply.get("parameters") or {} + if ( + error == "io.systemd.System" + and error_params.get("errno") == errno.ESTALE + ): + # Same or newer boot loader version already in place. + pass + else: + raise RuntimeError( + f"bootctl update failed: {error} {json.dumps(error_params)}" + ) (BOOT_MOUNT_POINT / NIXOS_DIR).mkdir(parents=True, exist_ok=True) (BOOT_MOUNT_POINT / "loader/entries").mkdir(parents=True, exist_ok=True) diff --git a/nixos/tests/matrix/matrix-authentication-service.nix b/nixos/tests/matrix/matrix-authentication-service.nix index 7fac403e8421..2e93652b495e 100644 --- a/nixos/tests/matrix/matrix-authentication-service.nix +++ b/nixos/tests/matrix/matrix-authentication-service.nix @@ -67,7 +67,7 @@ in name = "matrix-authentication-service-upstream"; meta = { - maintainers = pkgs.matrix-authentication-service.meta.maintainers ++ lib.teams.matrix.members; + teams = [ lib.teams.matrix ]; }; nodes = { diff --git a/nixos/tests/systemd-boot.nix b/nixos/tests/systemd-boot.nix index e001f11ce3a3..f36d3870f98e 100644 --- a/nixos/tests/systemd-boot.nix +++ b/nixos/tests/systemd-boot.nix @@ -478,7 +478,6 @@ in return machine.succeed("/run/current-system/bin/switch-to-configuration boot 2>&1") output = switch() - assert "updating systemd-boot from ${oldVersion} to " in output, "Couldn't find systemd-boot update message" assert 'to "/boot/EFI/systemd/systemd-bootx64.efi"' in output, "systemd-boot not copied to to /boot/EFI/systemd/systemd-bootx64.efi" assert 'to "/boot/EFI/BOOT/BOOTX64.EFI"' in output, "systemd-boot not copied to to /boot/EFI/BOOT/BOOTX64.EFI" @@ -489,9 +488,12 @@ in "mv /boot/EFI/BOOT/bootx64.efi.new /boot/EFI/BOOT/bootx64.efi", ) output = switch() - assert "updating systemd-boot from ${oldVersion} to " in output, "Couldn't find systemd-boot update message" assert 'to "/boot/EFI/systemd/systemd-bootx64.efi"' in output, "systemd-boot not copied to to /boot/EFI/systemd/systemd-bootx64.efi" assert 'to "/boot/EFI/BOOT/BOOTX64.EFI"' in output, "systemd-boot not copied to to /boot/EFI/BOOT/BOOTX64.EFI" + + with subtest("Test that switching with an up-to-date bootloader is a no-op"): + output = machine.succeed("/run/current-system/bin/switch-to-configuration boot 2>&1") + assert "same boot loader version in place already" in output, "Expected bootctl to skip already-current binary" ''; } ); diff --git a/pkgs/applications/editors/vscode/extensions/anthropic.claude-code/default.nix b/pkgs/applications/editors/vscode/extensions/anthropic.claude-code/default.nix index 554f417f9cfb..68e79bb14248 100644 --- a/pkgs/applications/editors/vscode/extensions/anthropic.claude-code/default.nix +++ b/pkgs/applications/editors/vscode/extensions/anthropic.claude-code/default.nix @@ -21,26 +21,26 @@ vscode-utils.buildVscodeMarketplaceExtension (finalAttrs: { sources = { "x86_64-linux" = { arch = "linux-x64"; - hash = "sha256-wlsp+GNwhobe7RW2RsBAiSyAjhzJ7w5r9U6LCCpiBA0="; + hash = "sha256-fgIxS3c3+teMTMCXzRINFuV1aebJAQFIXfXC7Q2zHhg="; }; "aarch64-linux" = { arch = "linux-arm64"; - hash = "sha256-emj4el3Sy0bWMp+XaU96cS0rOP/b2kthmUHDpuhbinM="; + hash = "sha256-LdSx/7CspsT5hff6oQKRFmxQS+vi0kpvCgbcq8OQSAA="; }; "x86_64-darwin" = { arch = "darwin-x64"; - hash = "sha256-zbfo97wQmyrN1QWbP/ZyAcJrYc5TbTge7WncLt+HOcg="; + hash = "sha256-ct7RcbzKHiZ/PRl42IFoHroR4i4gDVuHSX1t4FDN+R0="; }; "aarch64-darwin" = { arch = "darwin-arm64"; - hash = "sha256-NScb6fr1OIr1jCo8Gdi71r84e2uT2mrO75JBVPFgdek="; + hash = "sha256-N/AeA4E0tSHH3lrPhuyqPDl5nE+aNK/ntsW4ai+Sf5s="; }; }; in { name = "claude-code"; publisher = "anthropic"; - version = "2.1.196"; + version = "2.1.197"; } // sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system ${stdenvNoCC.hostPlatform.system}"); diff --git a/pkgs/by-name/am/amp-cli/package.nix b/pkgs/by-name/am/amp-cli/package.nix index d74fdc80035b..783ddb154cfb 100644 --- a/pkgs/by-name/am/amp-cli/package.nix +++ b/pkgs/by-name/am/amp-cli/package.nix @@ -27,7 +27,7 @@ let in stdenvNoCC.mkDerivation (finalAttrs: { pname = "amp-cli"; - version = "0.0.1782120930-g64087b"; + version = "0.0.1782851652-gfd0e56"; src = finalAttrs.passthru.sources.${stdenvNoCC.hostPlatform.system}; @@ -78,10 +78,10 @@ stdenvNoCC.mkDerivation (finalAttrs: { url = "https://static.ampcode.com/cli/${finalAttrs.version}/amp-${platform}.gz"; hash = { - x86_64-linux = "sha256-Ye1ch/mmhFelSv77Yy+fbpiBUlXzInACp2Hux+CLQzk="; - aarch64-linux = "sha256-cGV6tqiaHDjSCjhlSgAf0wIcOXY0Y78G2IT0ZQ5uuNk="; - x86_64-darwin = "sha256-5UmALYPSfUceumD4puKbMY+VwUsmAojHuu3pNXxVOr4="; - aarch64-darwin = "sha256-zzpPWKfYHAEXLNvAucVOwm0HE8Ui3Ai31XMs+utlXF4="; + x86_64-linux = "sha256-uLHPYfZyQAj562Zoq9ooTEBuQxCcAPBbsf9plhvn+TQ="; + aarch64-linux = "sha256-1hUKxNMJrh3m8G/4BpRrZSWaKTzQajFmtgayv04E5mM="; + x86_64-darwin = "sha256-BeQFup4s33TJnIvpsDsgUA9USWrlV+lQdSmR/FSfbis="; + aarch64-darwin = "sha256-AfiAUS8KAnGE/a3Q3mZV5Fa0htf2t1HP0LrC9vx1YF0="; } .${system'}; } diff --git a/pkgs/by-name/ch/checkov/package.nix b/pkgs/by-name/ch/checkov/package.nix index 4580028b3ebb..7437070891d8 100644 --- a/pkgs/by-name/ch/checkov/package.nix +++ b/pkgs/by-name/ch/checkov/package.nix @@ -35,14 +35,14 @@ let in python3.pkgs.buildPythonApplication (finalAttrs: { pname = "checkov"; - version = "3.3.0"; + version = "3.3.6"; pyproject = true; src = fetchFromGitHub { owner = "bridgecrewio"; repo = "checkov"; tag = finalAttrs.version; - hash = "sha256-1hm3ZNvrO+U3PWb5gBSwKSXgOHQLU4avncSZOH/ijCM="; + hash = "sha256-4wOFbEv1MVVuMpYQLs+oHQxCLw/tk++yTiR+yyLiCa8="; }; pythonRelaxDeps = [ diff --git a/pkgs/by-name/cl/claude-code/manifest.json b/pkgs/by-name/cl/claude-code/manifest.json index b9a90d778bd2..d7cbad9eea6a 100644 --- a/pkgs/by-name/cl/claude-code/manifest.json +++ b/pkgs/by-name/cl/claude-code/manifest.json @@ -1,47 +1,47 @@ { - "version": "2.1.196", - "commit": "a4ca500badcac68511fb5f04303e32e4360f3dfb", - "buildDate": "2026-06-29T01:55:28Z", + "version": "2.1.197", + "commit": "c8fd8048f30950a21d28734718275aa7e97f5143", + "buildDate": "2026-06-29T19:16:30Z", "platforms": { "darwin-arm64": { "binary": "claude", - "checksum": "6fc6e61ab7582c2bf241225ff90d9f79e91d69380cb9589fc9dedd3a30070f5a", - "size": 225782608 + "checksum": "8cc0c4d1e4eb1dca3b0cc92ab02ee3505de764e023f8c901761c167b72041fb8", + "size": 227251472 }, "darwin-x64": { "binary": "claude", - "checksum": "32c74d66e27b9ca77aea638fc46cb11c90470bd0d294b2a981065da8896d1ee0", - "size": 235139408 + "checksum": "5e8a57cc7a92377f0744fa4c79191cf93d4b26c79cb919b07a407511fed1be26", + "size": 235288016 }, "linux-arm64": { "binary": "claude", - "checksum": "05aa9189d335d1e921ca9608acd699193e661559aff56704456ce5bda6fd4dd8", - "size": 242203376 + "checksum": "fb48473c467c27615ac799a754f4ef0b68c363e4596cefbb59c3815d51a0cc8a", + "size": 242334448 }, "linux-x64": { "binary": "claude", - "checksum": "eb933c6dd5534db89b83ba09009d5c0932bd1395f7e3bb0f34ba37eec37bbade", - "size": 245373752 + "checksum": "f54e69cbc89b2da61a415700af7ff52a147e862517d4f1b0eecf768448cf7f83", + "size": 245517112 }, "linux-arm64-musl": { "binary": "claude", - "checksum": "0591ff8e1378d3773c85456d0c812bf79b333cac2d06396cd076ecfc75022ba4", - "size": 235451576 + "checksum": "acb885610ba06d90c46206ded9b14121bc30e96affecbfb3c37d511bf02af2bd", + "size": 235582648 }, "linux-x64-musl": { "binary": "claude", - "checksum": "fa7e93303ea5eda7defce9f70f360c1f951b06f9f36b03296baffbade512049f", - "size": 240058752 + "checksum": "2f610c0f81341052426981b5dc59277a33e6ec3df924071b24edbc05e6a096dc", + "size": 240202112 }, "win32-x64": { "binary": "claude.exe", - "checksum": "180d7b279455e8b89d4353a5146447be2f80b80fb0db14bdc6dd9cb98c0aef09", - "size": 235977376 + "checksum": "038bd9fe90c60304601e19751269a50d62925c541dd6a2b3da5274549e9416ee", + "size": 236121248 }, "win32-arm64": { "binary": "claude.exe", - "checksum": "882ed64ae93385067bff7b1e1d1975898f1cbca739dff322e0e370cd2db3e6ed", - "size": 230444704 + "checksum": "8d2baeaf77b0e79ea33cf5ce78a37e64804c3a26d63d35355a830fda404a4f61", + "size": 230588064 } } } diff --git a/pkgs/by-name/da/dalfox/package.nix b/pkgs/by-name/da/dalfox/package.nix index f20c03219d1e..1d0872f47438 100644 --- a/pkgs/by-name/da/dalfox/package.nix +++ b/pkgs/by-name/da/dalfox/package.nix @@ -1,10 +1,13 @@ { lib, - buildGoModule, fetchFromGitHub, + openssl, + pkg-config, + rustPlatform, + versionCheckHook, }: -buildGoModule (finalAttrs: { +rustPlatform.buildRustPackage (finalAttrs: { pname = "dalfox"; version = "3.1.2"; @@ -15,20 +18,24 @@ buildGoModule (finalAttrs: { hash = "sha256-0amVlnLwwb7YAUbTce9gRmjv3W1FMgc2/XZQKCettTY="; }; - vendorHash = null; + cargoHash = "sha256-pxlUEGCrJjoakAVpXFq2q73wEWiODsHvdax12quDlec="; - ldflags = [ - "-w" - "-s" - ]; + nativeBuildInputs = [ pkg-config ]; - # Tests require network access + buildInputs = [ openssl ]; + + nativeInstallCheckInputs = [ versionCheckHook ]; + + # Many unit tests perform live HTTP requests / OOB interactsh lookups and + # fail in the sandbox. doCheck = false; + doInstallCheck = true; + meta = { - description = "Tool for analysing parameter and XSS scanning"; + description = "Tool for analyzing parameter and XSS scanning"; homepage = "https://github.com/hahwul/dalfox"; - changelog = "https://github.com/hahwul/dalfox/releases/tag/v${finalAttrs.version}"; + changelog = "https://github.com/hahwul/dalfox/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "dalfox"; diff --git a/pkgs/by-name/du/dumpifs/package.nix b/pkgs/by-name/du/dumpifs/package.nix index 6966e375bd7c..c01a80115082 100644 --- a/pkgs/by-name/du/dumpifs/package.nix +++ b/pkgs/by-name/du/dumpifs/package.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: { ]; postUnpack = '' - rm source/{dumpifs,exMifsLzo,uuu,zzz} + rm ${finalAttrs.src.name}/{dumpifs,exMifsLzo,uuu,zzz} ''; patches = [ ./package.patch ]; diff --git a/pkgs/by-name/gc/gcx/package.nix b/pkgs/by-name/gc/gcx/package.nix index a5bcefec7be5..9cc520404eac 100644 --- a/pkgs/by-name/gc/gcx/package.nix +++ b/pkgs/by-name/gc/gcx/package.nix @@ -9,16 +9,16 @@ buildGoModule (finalAttrs: { pname = "gcx"; - version = "0.4.0"; + version = "0.4.2"; src = fetchFromGitHub { owner = "grafana"; repo = "gcx"; tag = "v${finalAttrs.version}"; - hash = "sha256-6ZKlNLtP3dwPAIXGnupIk0wuXs+qMy2d2OreKfKJlxM="; + hash = "sha256-Gf05N13ZJLjB55eCcIfXIoJn3CVAAR5mcFyEq8s+RxY="; }; - vendorHash = "sha256-FzhQfooCApBsnNH/cZYFfy3m4cDSBVX9ueaWfhTgx1k="; + vendorHash = "sha256-JioNpEqGFxD6Gg84ZZ/9OrETxTGn2V+HMlGGiiZfeIo="; subPackages = [ "cmd/gcx" ]; diff --git a/pkgs/by-name/gi/git-machete/package.nix b/pkgs/by-name/gi/git-machete/package.nix index d3a7763334ef..4fc954b08a34 100644 --- a/pkgs/by-name/gi/git-machete/package.nix +++ b/pkgs/by-name/gi/git-machete/package.nix @@ -9,14 +9,14 @@ python3.pkgs.buildPythonApplication (finalAttrs: { pname = "git-machete"; - version = "3.41.0"; + version = "3.44.0"; pyproject = true; src = fetchFromGitHub { owner = "virtuslab"; repo = "git-machete"; tag = "v${finalAttrs.version}"; - hash = "sha256-3BofEBgHgtdpQeaMx1BaNtDQ/HmX3GYagKOVHGq1+os="; + hash = "sha256-3yUzHzhc6qHw8jPbO9ZMsffhXgEyAlT2NzYCuC9/qsc="; }; build-system = with python3.pkgs; [ setuptools ]; diff --git a/pkgs/by-name/gi/git-mit/package.nix b/pkgs/by-name/gi/git-mit/package.nix index adb4c7f12c76..7b30aecb3479 100644 --- a/pkgs/by-name/gi/git-mit/package.nix +++ b/pkgs/by-name/gi/git-mit/package.nix @@ -9,7 +9,7 @@ }: let - version = "6.4.3"; + version = "6.5.2"; in rustPlatform.buildRustPackage { pname = "git-mit"; @@ -19,10 +19,10 @@ rustPlatform.buildRustPackage { owner = "PurpleBooth"; repo = "git-mit"; tag = "v${version}"; - hash = "sha256-Id7S0qE1020pPMoyCl8jkHWrbdOb6FZHLNsqRvwjpf8="; + hash = "sha256-5tVNCvaNxW9Ko+x2GWi3fMpyuwxgjMNLTED6gvxagnI="; }; - cargoHash = "sha256-edKtumK9HGIXHy/ZdxZ1+lxYi+cS5G129E+WK9/JE10="; + cargoHash = "sha256-gSvFdvW+XW0MGFkwAkVrcC1ETjoGaFJxioD9ENEpml4="; nativeBuildInputs = [ pkg-config ]; diff --git a/pkgs/by-name/go/gotenberg/package.nix b/pkgs/by-name/go/gotenberg/package.nix index 45dd66b54510..1f1ebbe5b267 100644 --- a/pkgs/by-name/go/gotenberg/package.nix +++ b/pkgs/by-name/go/gotenberg/package.nix @@ -24,7 +24,7 @@ let in buildGo126Module (finalAttrs: { pname = "gotenberg"; - version = "8.33.0"; + version = "8.34.0"; outputs = [ "out" @@ -35,10 +35,10 @@ buildGo126Module (finalAttrs: { owner = "gotenberg"; repo = "gotenberg"; tag = "v${finalAttrs.version}"; - hash = "sha256-hTG2O8F/0FdKVKHQsFf027OJU60moey4qkMHUwIQ8xM="; + hash = "sha256-HFRymNfhQOBzXBWZhiujr8sn4m/hpfjcBGg/3/C67DU="; }; - vendorHash = "sha256-E0PVPuSxXtacxaFLrrIVFEre5C/woj3VUckLIdrQWoI="; + vendorHash = "sha256-njyxP+1S1ebaF9xJ1kBL9HrTWMTdEhu8MwUF6FYKHvs="; postPatch = '' find ./pkg -name '*_test.go' -exec sed -i -e 's#/tests#${finalAttrs.src}#g' {} \; diff --git a/pkgs/by-name/ic/icinga2/package.nix b/pkgs/by-name/ic/icinga2/package.nix index c0230cffa753..0f75802365bd 100644 --- a/pkgs/by-name/ic/icinga2/package.nix +++ b/pkgs/by-name/ic/icinga2/package.nix @@ -33,13 +33,13 @@ stdenv.mkDerivation (finalAttrs: { pname = "icinga2${nameSuffix}"; - version = "2.16.2"; + version = "2.16.3"; src = fetchFromGitHub { owner = "icinga"; repo = "icinga2"; rev = "v${finalAttrs.version}"; - hash = "sha256-+9NveqbvOsw9ipoWCk5HA0ykVZS8WxBTuOzdoSb8HH8="; + hash = "sha256-0gKNHtSc6uaabDHujlUKrcZfx6wz0vDp7Z4YMSem4iY="; }; patches = [ diff --git a/pkgs/by-name/jw/jwx/package.nix b/pkgs/by-name/jw/jwx/package.nix index 6ce0302271fa..e43423d5ab58 100644 --- a/pkgs/by-name/jw/jwx/package.nix +++ b/pkgs/by-name/jw/jwx/package.nix @@ -6,16 +6,16 @@ buildGoModule (finalAttrs: { pname = "jwx"; - version = "4.0.2"; + version = "4.1.0"; src = fetchFromGitHub { owner = "lestrrat-go"; repo = "jwx"; tag = "v${finalAttrs.version}"; - hash = "sha256-CGBQF//smVUt1/SQkxvZJ+7zlAhAuxVtO3WWWHCSvII="; + hash = "sha256-+u2PR1L66cua6iGer9qYlnPpfYt1j9cZ0PSrWntpYp0="; }; - vendorHash = "sha256-g+kawcxLJdR77kkR6pJoRKe48kV+/kS33gYjOY30pAc="; + vendorHash = "sha256-dxC00wr51c48yxdCUWsL44RMmk+pBmqXkUQqjP90GNU="; sourceRoot = "${finalAttrs.src.name}/cmd/jwx"; diff --git a/pkgs/by-name/ki/kitty-themes/package.nix b/pkgs/by-name/ki/kitty-themes/package.nix index 61d68f4ba1b0..dad3f76181f6 100644 --- a/pkgs/by-name/ki/kitty-themes/package.nix +++ b/pkgs/by-name/ki/kitty-themes/package.nix @@ -7,13 +7,13 @@ stdenvNoCC.mkDerivation { pname = "kitty-themes"; - version = "0-unstable-2026-06-08"; + version = "0-unstable-2026-06-29"; src = fetchFromGitHub { owner = "kovidgoyal"; repo = "kitty-themes"; - rev = "6f27c71721e4eb6702630f6e57fe16baacd76aa0"; - hash = "sha256-IDXRlup2naBmCSlPYdjrgL/m4FAhkf4IEAiLsMUdepQ="; + rev = "f54e894cce7c2232c8af9a82f85dca874e496da1"; + hash = "sha256-XYL/7Sr3Ct1n4lnji06I2EM4EQU3cNJuWbAadSz8PAE="; }; dontConfigure = true; diff --git a/pkgs/by-name/ko/kopuz/package.nix b/pkgs/by-name/ko/kopuz/package.nix new file mode 100644 index 000000000000..4ec960fb4865 --- /dev/null +++ b/pkgs/by-name/ko/kopuz/package.nix @@ -0,0 +1,136 @@ +{ + lib, + stdenv, + rustPlatform, + pkg-config, + cmake, + openssl, + tailwindcss_4, + dioxus-cli, + yt-dlp, + fetchFromGitHub, + libopus, + # Linux only + wrapGAppsHook3, + webkitgtk_4_1, + gtk3, + libsoup_3, + glib-networking, + alsa-lib, + xdotool, + wayland, + dbus, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + __structuredAttrs = true; + + pname = "kopuz"; + version = "0.6.0"; + + src = fetchFromGitHub { + owner = "Kopuz-org"; + repo = "kopuz"; + tag = "v${finalAttrs.version}"; + hash = "sha256-+HT76hfgTEkEVV1wn2r97PshoRJ08r4fTrExmQDuymg="; + }; + + cargoHash = "sha256-lTGrwN2CGbmOgrjjbqrizNWPQoxWrEbDkcjhjMergoE="; + + nativeBuildInputs = [ + pkg-config + cmake + tailwindcss_4 + dioxus-cli + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + wrapGAppsHook3 + ]; + + buildInputs = [ + libopus + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + webkitgtk_4_1 + gtk3 + libsoup_3 + glib-networking + alsa-lib + openssl + xdotool + wayland + dbus + ]; + + buildPhase = '' + runHook preBuild + + tailwindcss -i tailwind.css -o kopuz/assets/tailwind.css --minify + + ${lib.optionalString stdenv.hostPlatform.isDarwin '' + mkdir -p "$TMPDIR/fake-bin" + cat > "$TMPDIR/fake-bin/codesign" << 'CODESIGN_EOF' + #!/bin/sh + exec true + CODESIGN_EOF + chmod +x "$TMPDIR/fake-bin/codesign" + export PATH="$TMPDIR/fake-bin:$PATH" + ''} + + dx build --release --platform desktop -p kopuz --offline --frozen + + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + + mkdir -p $out/bin + + ${ + if stdenv.hostPlatform.isLinux then + '' + cp -r target/dx/kopuz/release/linux/app/* $out/bin/ + + install -Dm644 data/com.temidaradev.kopuz.desktop \ + $out/share/applications/com.temidaradev.kopuz.desktop + substituteInPlace $out/share/applications/com.temidaradev.kopuz.desktop \ + + install -Dm644 data/com.temidaradev.kopuz.metainfo.xml \ + $out/share/metainfo/com.temidaradev.kopuz.metainfo.xml + + install -Dm644 kopuz/assets/logo.png \ + $out/share/icons/hicolor/256x256/apps/com.temidaradev.kopuz.png + '' + else + '' + # Dioxus outputs the bundle at macos/Kopuz.app (capitalised, no app/ subdir) + cp -r target/dx/kopuz/release/macos/Kopuz.app $out/bin/kopuz.app + # Symlink whatever binary dioxus placed in MacOS/ (name may differ in case) + macBin=$(find $out/bin/kopuz.app/Contents/MacOS -maxdepth 1 -type f | head -1) + ln -s "$macBin" $out/bin/kopuz + '' + } + + runHook postInstall + ''; + + preFixup = lib.optionalString stdenv.hostPlatform.isLinux '' + gappsWrapperArgs+=( + --chdir $out/bin + --prefix PATH : ${lib.makeBinPath [ yt-dlp ]} + ) + ''; + + meta = { + description = "Fast, modern music player with Jellyfin and local library support"; + homepage = "https://github.com/Kopuz-org/kopuz"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ + temidaradev + NotAShelf + ]; + platforms = lib.platforms.linux ++ lib.platforms.darwin; + mainProgram = "kopuz"; + }; +}) diff --git a/pkgs/by-name/le/ledger-live-desktop/package.nix b/pkgs/by-name/le/ledger-live-desktop/package.nix index 4ad0adf69705..90d9826a1584 100644 --- a/pkgs/by-name/le/ledger-live-desktop/package.nix +++ b/pkgs/by-name/le/ledger-live-desktop/package.nix @@ -8,11 +8,11 @@ let pname = "ledger-live-desktop"; - version = "4.8.0"; + version = "4.10.0"; src = fetchurl { url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage"; - hash = "sha256-9S2Iuxqe6YpuV3lXqirO4b1J71EkTZW1wSmxv7Qg3uY="; + hash = "sha256-Wxgv40Gg7FpUNOClO63h5grybZIptw2U9KuQV6F0Lcg="; }; appimageContents = appimageTools.extractType2 { diff --git a/pkgs/by-name/ll/llama-cpp/package.nix b/pkgs/by-name/ll/llama-cpp/package.nix index 00848f3d83ca..6bfc3ffbed05 100644 --- a/pkgs/by-name/ll/llama-cpp/package.nix +++ b/pkgs/by-name/ll/llama-cpp/package.nix @@ -81,7 +81,7 @@ let in effectiveStdenv.mkDerivation (finalAttrs: { pname = "llama-cpp"; - version = "9747"; + version = "9842"; outputs = [ "out" @@ -92,7 +92,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { owner = "ggml-org"; repo = "llama.cpp"; tag = "b${finalAttrs.version}"; - hash = "sha256-ecXJxidnlQRAyDftYIcTrER5U3+YQ+XfvAxA29pj+uI="; + hash = "sha256-wtaHsVOyCNCITABe1TvDo/MiWpNlH2YqZewBDxERtt4="; leaveDotGit = true; postFetch = '' git -C "$out" rev-parse --short HEAD > $out/COMMIT @@ -125,7 +125,7 @@ effectiveStdenv.mkDerivation (finalAttrs: { ++ [ openssl ]; npmRoot = "tools/ui"; - npmDepsHash = "sha256-0dctM/apI3ysMIEVBaBXO9hZMWskpJpNpOws1gwiOYc="; + npmDepsHash = "sha256-X1DZgmhS/zHTqDT5zq0kywwntthcJ9vRXeqyO3zz6UU="; npmDeps = fetchNpmDeps { name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps"; inherit (finalAttrs) src patches; diff --git a/pkgs/by-name/ln/lnd/package.nix b/pkgs/by-name/ln/lnd/package.nix index 13bb7e007a82..8a1c6e54808c 100644 --- a/pkgs/by-name/ln/lnd/package.nix +++ b/pkgs/by-name/ln/lnd/package.nix @@ -23,16 +23,16 @@ buildGoModule (finalAttrs: { pname = "lnd"; - version = "0.21.0-beta"; + version = "0.21.1-beta"; src = fetchFromGitHub { owner = "lightningnetwork"; repo = "lnd"; rev = "v${finalAttrs.version}"; - hash = "sha256-Sbg80Bn5PqrNQ23OEeSN5+s71NeJl/ENFtH+OGYZS1c="; + hash = "sha256-LOP5vyffwxzXRI16Jgfjb+JykHcNWrGApM27frYUoPw="; }; - vendorHash = "sha256-dTKonSAFc/iRhBtlUqhznX+ljRfJ0gqv8m7d1Ue6Mi4="; + vendorHash = "sha256-7fssqutcagEv6JKxwaAp9g3TtxHnQ34Kyln4DIhxjSQ="; subPackages = [ "cmd/lncli" diff --git a/pkgs/by-name/ma/matrix-authentication-service/package.nix b/pkgs/by-name/ma/matrix-authentication-service/package.nix index 9d063b4fa960..38b359752e54 100644 --- a/pkgs/by-name/ma/matrix-authentication-service/package.nix +++ b/pkgs/by-name/ma/matrix-authentication-service/package.nix @@ -113,7 +113,7 @@ rustPlatform.buildRustPackage (finalAttrs: { homepage = "https://github.com/element-hq/matrix-authentication-service"; changelog = "https://github.com/element-hq/matrix-authentication-service/releases/tag/v${finalAttrs.version}"; license = lib.licenses.agpl3Only; - maintainers = with lib.maintainers; [ teutat3s ]; + teams = [ lib.teams.matrix ]; mainProgram = "mas-cli"; }; }) diff --git a/pkgs/by-name/md/mdbook-linkcheck2/package.nix b/pkgs/by-name/md/mdbook-linkcheck2/package.nix index dc9ae64f3899..8a3acf3e211d 100644 --- a/pkgs/by-name/md/mdbook-linkcheck2/package.nix +++ b/pkgs/by-name/md/mdbook-linkcheck2/package.nix @@ -2,25 +2,39 @@ lib, fetchFromGitHub, rustPlatform, - testers, - mdbook-linkcheck2, + cacert, + versionCheckHook, + nix-update-script, }: + rustPlatform.buildRustPackage (finalAttrs: { pname = "mdbook-linkcheck2"; version = "0.12.2"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "marxin"; repo = "mdbook-linkcheck2"; tag = "v${finalAttrs.version}"; - sha256 = "sha256-D0pteKtmBDkqcaonbNzL6tyo97x+qQhn6oY88+4VGFE="; + hash = "sha256-D0pteKtmBDkqcaonbNzL6tyo97x+qQhn6oY88+4VGFE="; }; cargoHash = "sha256-XY1epCro/BqHm95HVP1eK0oVLSPYjD2hU7IdiEkgNMM="; - doCheck = false; # tries to access network to test broken web link functionality + propagatedNativeBuildInputs = [ cacert ]; - passthru.tests.version = testers.testVersion { package = mdbook-linkcheck2; }; + checkFlags = map (t: "--skip=${t}") [ + "check_all_links_in_a_valid_book" + "correctly_find_broken_links" + ]; + + # see https://github.com/NixOS/nixpkgs/pull/531531#pullrequestreview-4492334034 + # should be dropped in the next update + doInstallCheck = false; + nativeInstallCheckInputs = [ versionCheckHook ]; + + passthru.updateScript = nix-update-script { }; meta = { description = "Backend for mdbook which will check your links for you"; @@ -29,6 +43,7 @@ rustPlatform.buildRustPackage (finalAttrs: { license = lib.licenses.mit; maintainers = with lib.maintainers; [ scandiravian + stepbrobd ]; }; }) diff --git a/pkgs/by-name/pd/pdk-ciel/package.nix b/pkgs/by-name/pd/pdk-ciel/package.nix index 517086ba4c4c..3eb3f69a63ae 100644 --- a/pkgs/by-name/pd/pdk-ciel/package.nix +++ b/pkgs/by-name/pd/pdk-ciel/package.nix @@ -6,14 +6,14 @@ python3Packages.buildPythonApplication (finalAttrs: { pname = "ciel"; - version = "2.5.1"; + version = "2.6.0"; pyproject = true; src = fetchFromGitHub { owner = "fossi-foundation"; repo = "ciel"; tag = finalAttrs.version; - hash = "sha256-O2HgkRzTWd8GjMEkQZw9F4Re7zYIxZ+gPjs3gwy4DqE="; + hash = "sha256-koN65VQLGXvVmVd8hNJvbDn7R/4EHg/sNaHvWDWW4DM="; }; build-system = [ python3Packages.poetry-core ]; diff --git a/pkgs/by-name/pl/plezy/package.nix b/pkgs/by-name/pl/plezy/package.nix index ea0434432b95..36952fbf6120 100644 --- a/pkgs/by-name/pl/plezy/package.nix +++ b/pkgs/by-name/pl/plezy/package.nix @@ -27,13 +27,13 @@ let pname = "plezy"; - version = "2.7.1"; + version = "2.8.0"; src = fetchFromGitHub { owner = "edde746"; repo = "plezy"; tag = version; - hash = "sha256-lzq0a7zxKpRwLM6T2VeD4A+qbW55bkwmtBN0bc6Lq4g="; + hash = "sha256-NvBCh++teOB0uNyy71NmOFwCQvkg9/v9Rx+76UybLQo="; }; simdutf = fetchurl { @@ -152,7 +152,7 @@ let src = fetchurl { url = "https://github.com/edde746/plezy/releases/download/${version}/plezy-macos.dmg"; - hash = "sha256-tkkZWwMK3SHzkB2r/JDj+JPggXHFGSinMn8ZtKyRUMU="; + hash = "sha256-eN8CJ/yaV4wln6fN2lJqJnn+RvW+ZiD3oCDhjQjyBvU="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/pr/prusa-slicer/package.nix b/pkgs/by-name/pr/prusa-slicer/package.nix index 2529acf23b33..5292f59478b9 100644 --- a/pkgs/by-name/pr/prusa-slicer/package.nix +++ b/pkgs/by-name/pr/prusa-slicer/package.nix @@ -62,14 +62,14 @@ let in clangStdenv.mkDerivation (finalAttrs: { pname = "prusa-slicer"; - version = "2.9.5"; + version = "2.9.6"; # Build with clang even on Linux, because GCC uses absolutely obscene amounts of memory # on this particular code base (OOM with 32GB memory and --cores 16 on GCC, succeeds # with --cores 32 on clang). src = fetchFromGitHub { owner = "prusa3d"; repo = "PrusaSlicer"; - hash = "sha256-tVC/hIykg0flc9HgB4ddJqUEVolZ4Lu/Cx5I10Z2eCI="; + hash = "sha256-SXNIyAncnPU6Zac8/plM32sPBgj9Uj9eVDL3NBu+IL4="; rev = "version_${finalAttrs.version}"; }; diff --git a/pkgs/by-name/qi/qidi-studio/package.nix b/pkgs/by-name/qi/qidi-studio/package.nix index b316f1eaa172..c45e9637967d 100644 --- a/pkgs/by-name/qi/qidi-studio/package.nix +++ b/pkgs/by-name/qi/qidi-studio/package.nix @@ -7,11 +7,11 @@ }: let pname = "qidi-studio"; - version = "2.06.00.51"; + version = "2.07.01.57"; src = fetchurl { url = "https://github.com/QIDITECH/QIDIStudio/releases/download/v${version}/QIDIStudio_v0${version}_Ubuntu24.AppImage"; - hash = "sha256-Qb/NbyjOCtIg74O5yPxX9Jq0Hf92hJXo9RqQTQh/ESM="; + hash = "sha256-hMkA8rlMOzV1t4aEi3KLrgeWUIgO+CVjwIM6mwM8pGA="; }; appimageContents = appimageTools.extract { diff --git a/pkgs/by-name/ri/rime-wanxiang/package.nix b/pkgs/by-name/ri/rime-wanxiang/package.nix index ef2a83f0a359..89a8ddad195e 100644 --- a/pkgs/by-name/ri/rime-wanxiang/package.nix +++ b/pkgs/by-name/ri/rime-wanxiang/package.nix @@ -7,13 +7,13 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "rime-wanxiang"; - version = "15.14.2"; + version = "15.16.0"; src = fetchFromGitHub { owner = "amzxyz"; repo = "rime_wanxiang"; tag = "v" + finalAttrs.version; - hash = "sha256-OSOnMt9kk0wc1uGAxzp7Fa8OLNs89feKTqKZj4iu/1Y="; + hash = "sha256-+7Ao0Mr+vNeMUTA5DXldQD9ruA1wVA1QcU5CUk39Q9c="; }; installPhase = '' diff --git a/pkgs/by-name/ru/run0-sudo-shim/package.nix b/pkgs/by-name/ru/run0-sudo-shim/package.nix index 937d0da8bfae..e9e8eb0ff4c4 100644 --- a/pkgs/by-name/ru/run0-sudo-shim/package.nix +++ b/pkgs/by-name/ru/run0-sudo-shim/package.nix @@ -5,22 +5,31 @@ nix-update-script, coreutils, polkit-stdin-agent, + installShellFiles, + versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "run0-sudo-shim"; - version = "1.3.1"; + version = "1.4.2"; src = fetchFromGitHub { owner = "LordGrimmauld"; repo = "run0-sudo-shim"; tag = finalAttrs.version; - hash = "sha256-QkDoEBgcWh/eKX8jxctMNEy08Sf8kpxXFhWbsygTWz8="; + hash = "sha256-J/I7VPXpOwNtEk9H+lbZVT+xJYBsSKgnMlwzlVIJSWk="; }; - cargoHash = "sha256-ly2e2x1Z1XEXblGqWi+/r5q2FmvpekVfzGVGm+S1xio="; + cargoHash = "sha256-JfxMmYgYLKxVqj8H0/qRGn9z8XNoNpPK3RcIhb/RKOc="; __structuredAttrs = true; + nativeBuildInputs = [ + installShellFiles + versionCheckHook + ]; + + doInstallCheck = true; + env = { POLKIT_STDIN_AGENT = lib.getExe polkit-stdin-agent; TRUE = lib.getExe' coreutils "true"; @@ -28,6 +37,10 @@ rustPlatform.buildRustPackage (finalAttrs: { postInstall = '' ln -s $out/bin/run0-sudo-shim $out/bin/sudo + installManPage target/tmp/run0-sudo-shim/manpage/* + installShellCompletion \ + target/tmp/run0-sudo-shim/completion/sudo.{bash,fish} \ + --zsh target/tmp/run0-sudo-shim/completion/_sudo ''; passthru.updateScript = nix-update-script { }; diff --git a/pkgs/by-name/sk/skaffold/package.nix b/pkgs/by-name/sk/skaffold/package.nix index 5d6ebf6c067b..485ce51bbb1e 100644 --- a/pkgs/by-name/sk/skaffold/package.nix +++ b/pkgs/by-name/sk/skaffold/package.nix @@ -8,13 +8,13 @@ buildGoModule (finalAttrs: { pname = "skaffold"; - version = "2.21.0"; + version = "2.23.0"; src = fetchFromGitHub { owner = "GoogleContainerTools"; repo = "skaffold"; rev = "v${finalAttrs.version}"; - hash = "sha256-ny1iWispfR9V4SBhTTn8e8lShi2X+HLjVT6RcqigCR8="; + hash = "sha256-mFJOveUkOJC7bIzxrjQgDKhCf0WvOTgSDqBSIVgZZzw="; }; vendorHash = null; diff --git a/pkgs/by-name/sl/sleuthkit/package.nix b/pkgs/by-name/sl/sleuthkit/package.nix index d91930eaa07f..85e26a31d01f 100644 --- a/pkgs/by-name/sl/sleuthkit/package.nix +++ b/pkgs/by-name/sl/sleuthkit/package.nix @@ -67,11 +67,11 @@ stdenv.mkDerivation (finalAttrs: { export ANT_ARGS="-Doffline=true -Ddefault-jar-location=$IVY_HOME/lib" # pre-positioning these jar files allows -Doffline=true to work - mkdir -p source/{bindings,case-uco}/java $IVY_HOME - cp -r ${finalAttrs.rdeps}/bindings/java/lib source/bindings/java - chmod -R 755 source/bindings/java - cp -r ${finalAttrs.rdeps}/case-uco/java/lib source/case-uco/java - chmod -R 755 source/case-uco/java + mkdir -p ${finalAttrs.src.name}/{bindings,case-uco}/java $IVY_HOME + cp -r ${finalAttrs.rdeps}/bindings/java/lib ${finalAttrs.src.name}/bindings/java + chmod -R 755 ${finalAttrs.src.name}/bindings/java + cp -r ${finalAttrs.rdeps}/case-uco/java/lib ${finalAttrs.src.name}/case-uco/java + chmod -R 755 ${finalAttrs.src.name}/case-uco/java cp -r ${finalAttrs.rdeps}/lib $IVY_HOME chmod -R 755 $IVY_HOME ''; diff --git a/pkgs/by-name/sn/snowflake/package.nix b/pkgs/by-name/sn/snowflake/package.nix index d91f0ebf0de7..819f410a2d9c 100644 --- a/pkgs/by-name/sn/snowflake/package.nix +++ b/pkgs/by-name/sn/snowflake/package.nix @@ -6,7 +6,7 @@ buildGoModule (finalAttrs: { pname = "snowflake"; - version = "2.13.1"; + version = "2.14.1"; src = fetchFromGitLab { domain = "gitlab.torproject.org"; @@ -14,10 +14,10 @@ buildGoModule (finalAttrs: { owner = "anti-censorship/pluggable-transports"; repo = "snowflake"; rev = "v${finalAttrs.version}"; - sha256 = "sha256-XbBlUEkv0ptrb+X+oPDRCvy6HE6XHgSSLwFTXw071pU="; + sha256 = "sha256-MvV1kP+Xm3a4Q8+YZLwC9vpVK54ltb73cRkJhReSA2U="; }; - vendorHash = "sha256-bhv7soUyZnIG+AS1mMH38GZEG74tDk/ap7cQr6k4Pzs="; + vendorHash = "sha256-onxJDRURyQIA+t4PbuIk14VkVUFnuALTteF9nfMZuBY="; meta = { description = "System to defeat internet censorship"; diff --git a/pkgs/by-name/st/stalwart_0_16/package.nix b/pkgs/by-name/st/stalwart_0_16/package.nix index 311ba8536bb2..608ae1d9a6ab 100644 --- a/pkgs/by-name/st/stalwart_0_16/package.nix +++ b/pkgs/by-name/st/stalwart_0_16/package.nix @@ -112,6 +112,12 @@ rustPlatform.buildRustPackage (finalAttrs: { ++ lib.optionals withFoundationdb [ "foundationdb" ] ++ lib.optionals stalwartEnterprise [ "enterprise" ]; + cargoBuildFlags = [ + "-p" + "stalwart" + ]; + cargoTestFlags = finalAttrs.cargoBuildFlags; + doCheck = true; nativeCheckInputs = [ openssl diff --git a/pkgs/by-name/us/usage/package.nix b/pkgs/by-name/us/usage/package.nix index 7dfe44e304d4..07f36b5dde3e 100644 --- a/pkgs/by-name/us/usage/package.nix +++ b/pkgs/by-name/us/usage/package.nix @@ -12,16 +12,16 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "usage"; - version = "3.5.0"; + version = "3.5.3"; src = fetchFromGitHub { owner = "jdx"; repo = "usage"; tag = "v${finalAttrs.version}"; - hash = "sha256-ZXjOuf8xjKtFnxzrb4mU6TBae75Nyl6zGllT9orbNMY="; + hash = "sha256-j5aS+zjGyQhUNv59GACMwZuSpN/jBzZNbe2VoBfxF/Y="; }; - cargoHash = "sha256-78lTRHIy1VYJP3dxljfrsMh1MXT7dyVw2yxHNrGJJk0="; + cargoHash = "sha256-xAENsXf/VW4nkRiXIA9DppD/PyjoU3fxu4UNPYGYTho="; postPatch = '' substituteInPlace ./examples/*.sh \ diff --git a/pkgs/by-name/xa/xaos/package.nix b/pkgs/by-name/xa/xaos/package.nix index ff631444d357..dae3ccd98241 100644 --- a/pkgs/by-name/xa/xaos/package.nix +++ b/pkgs/by-name/xa/xaos/package.nix @@ -12,10 +12,9 @@ in stdenv.mkDerivation (finalAttrs: { pname = "xaos"; version = "4.3.5"; - outputs = [ - "out" - "man" - ]; + + __structuredAttrs = true; + strictDeps = true; src = fetchFromGitHub { owner = "xaos-project"; @@ -45,23 +44,20 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' substituteInPlace src/include/config.h \ --replace-fail "/usr/share/XaoS" "${datapath}" + '' + + lib.optionalString stdenv.hostPlatform.isDarwin '' + substituteInPlace XaoS.pro \ + --replace-fail \ + "QMAKE_APPLE_DEVICE_ARCHS = x86_64 arm64" \ + "QMAKE_APPLE_DEVICE_ARCHS = ${if stdenv.hostPlatform.isAarch64 then "arm64" else "x86_64"}" ''; desktopItems = [ "xdg/xaos.desktop" ]; - installPhase = '' - runHook preInstall - - install -D bin/xaos "$out/bin/xaos" - + postInstall = '' mkdir -p "${datapath}" cp -r tutorial examples catalogs "${datapath}" - install -D "xdg/xaos.png" "$out/share/icons/xaos.png" - - install -D doc/xaos.6 "$man/man6/xaos.6" - - runHook postInstall ''; meta = finalAttrs.src.meta // { @@ -69,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: { mainProgram = "xaos"; homepage = "https://xaos-project.github.io/"; license = lib.licenses.gpl2Plus; - platforms = [ "x86_64-linux" ]; + platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ coolcuber ]; }; }) diff --git a/pkgs/by-name/zi/zigbee2mqtt/package.nix b/pkgs/by-name/zi/zigbee2mqtt/package.nix index 8311c4f3ba47..ddf527f7b93e 100644 --- a/pkgs/by-name/zi/zigbee2mqtt/package.nix +++ b/pkgs/by-name/zi/zigbee2mqtt/package.nix @@ -14,20 +14,20 @@ }: stdenv.mkDerivation (finalAttrs: { pname = "zigbee2mqtt"; - version = "2.12.0"; + version = "2.12.1"; src = fetchFromGitHub { owner = "Koenkk"; repo = "zigbee2mqtt"; tag = finalAttrs.version; - hash = "sha256-R5r8aJmIF3FLc4+wESLoNw+xeE6ixSYy2xcg1gIX2YA="; + hash = "sha256-DTL27AcPmAI5XEEHb2S74LYWm4f6kUASsTmQeGftDzM="; }; pnpmDeps = fetchPnpmDeps { inherit (finalAttrs) pname version src; pnpm = pnpm_10; fetcherVersion = 4; - hash = "sha256-/cNV0PHxoR8P7JXSArPq2hziQnwH5n858SzQhktvXus="; + hash = "sha256-RI6tz8pyqYg/L6wSc0Rt5ZqHT8aktReyVjNgISPqKRQ="; }; nativeBuildInputs = [ diff --git a/pkgs/development/python-modules/boto3-stubs/default.nix b/pkgs/development/python-modules/boto3-stubs/default.nix index 604908d6d0ab..a3b4e459a23d 100644 --- a/pkgs/development/python-modules/boto3-stubs/default.nix +++ b/pkgs/development/python-modules/boto3-stubs/default.nix @@ -358,13 +358,13 @@ buildPythonPackage (finalAttrs: { pname = "boto3-stubs"; - version = "1.43.37"; + version = "1.43.38"; pyproject = true; src = fetchPypi { pname = "boto3_stubs"; inherit (finalAttrs) version; - hash = "sha256-Fr5uizegW2n+8iLKxmBJwnYhr+6zlpvI7uBMcdZ/rtU="; + hash = "sha256-VXAQCPqRDWCqKlk6owfRIchakaiSyyQYK8+OxB8pqfU="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/hstspreload/default.nix b/pkgs/development/python-modules/hstspreload/default.nix index 67a4e364e18c..a45d43089bc5 100644 --- a/pkgs/development/python-modules/hstspreload/default.nix +++ b/pkgs/development/python-modules/hstspreload/default.nix @@ -7,14 +7,14 @@ buildPythonPackage (finalAttrs: { pname = "hstspreload"; - version = "2026.6.1"; + version = "2026.7.1"; pyproject = true; src = fetchFromGitHub { owner = "sethmlarson"; repo = "hstspreload"; tag = finalAttrs.version; - hash = "sha256-9YkMEu3ll2hRYrkiIo6mIdRIYoOLrtjv3B4Jq9wfgOo="; + hash = "sha256-nq9dr8Jd+OvRCXLOQbarXTnUg4QISEty7wvi/P2YUU8="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/iamdata/default.nix b/pkgs/development/python-modules/iamdata/default.nix index 3a17e9616c6b..06331d262a0f 100644 --- a/pkgs/development/python-modules/iamdata/default.nix +++ b/pkgs/development/python-modules/iamdata/default.nix @@ -8,14 +8,14 @@ buildPythonPackage (finalAttrs: { pname = "iamdata"; - version = "0.1.202606301"; + version = "0.1.202607011"; pyproject = true; src = fetchFromGitHub { owner = "cloud-copilot"; repo = "iam-data-python"; tag = "v${finalAttrs.version}"; - hash = "sha256-hTRttoUj5hDoNbvw2tOysRZNwITZImNIfYPDP7qbhOs="; + hash = "sha256-Qa6n4ZR3OGErk59R16FifHJNVWzrFPCEZkktSFU+OKk="; }; __darwinAllowLocalNetworking = true; diff --git a/pkgs/development/python-modules/llama-cloud/default.nix b/pkgs/development/python-modules/llama-cloud/default.nix index db6c820a0cd8..9c20619fa6e4 100644 --- a/pkgs/development/python-modules/llama-cloud/default.nix +++ b/pkgs/development/python-modules/llama-cloud/default.nix @@ -25,13 +25,13 @@ buildPythonPackage (finalAttrs: { pname = "llama-cloud"; - version = "2.9.0"; + version = "2.10.0"; pyproject = true; src = fetchPypi { pname = "llama_cloud"; inherit (finalAttrs) version; - hash = "sha256-yNRVw2Vdelkpn3N7lmhyEpRGi76LPyL3pAsbF16oUcU="; + hash = "sha256-KzoEcyQVCM/yadbb/GkWNHrjL3csYsMSW3aFbwfMUBw="; }; postPatch = '' diff --git a/pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix b/pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix index c2f1d0baa7f1..8aa585a8d1ce 100644 --- a/pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-abstractions/default.nix @@ -14,14 +14,14 @@ buildPythonPackage (finalAttrs: { pname = "microsoft-kiota-abstractions"; - version = "1.11.6"; + version = "1.11.7"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-abstractions-v${finalAttrs.version}"; - hash = "sha256-hhYQsNcy+jVVmKiDuB1nGpx+aA7toM6WDFoU5Vnu5Vs="; + hash = "sha256-Fd9XSO3H1Au8y+Acft5to7hi7QNwWcmP0/NeWZlufjg="; }; sourceRoot = "${finalAttrs.src.name}/packages/abstractions/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix b/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix index 0fa9c9743652..c852aa291716 100644 --- a/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-authentication-azure/default.nix @@ -16,14 +16,14 @@ buildPythonPackage (finalAttrs: { pname = "microsoft-kiota-authentication-azure"; - version = "1.11.6"; + version = "1.11.7"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-authentication-azure-v${finalAttrs.version}"; - hash = "sha256-hhYQsNcy+jVVmKiDuB1nGpx+aA7toM6WDFoU5Vnu5Vs="; + hash = "sha256-Fd9XSO3H1Au8y+Acft5to7hi7QNwWcmP0/NeWZlufjg="; }; sourceRoot = "${finalAttrs.src.name}/packages/authentication/azure/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-http/default.nix b/pkgs/development/python-modules/microsoft-kiota-http/default.nix index 128abade58b3..a12063bcf6d0 100644 --- a/pkgs/development/python-modules/microsoft-kiota-http/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-http/default.nix @@ -16,14 +16,14 @@ buildPythonPackage (finalAttrs: { pname = "microsoft-kiota-http"; - version = "1.11.6"; + version = "1.11.7"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-http-v${finalAttrs.version}"; - hash = "sha256-hhYQsNcy+jVVmKiDuB1nGpx+aA7toM6WDFoU5Vnu5Vs="; + hash = "sha256-Fd9XSO3H1Au8y+Acft5to7hi7QNwWcmP0/NeWZlufjg="; }; sourceRoot = "${finalAttrs.src.name}/packages/http/httpx/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix index 1d39a5b99acb..295f052c8097 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-form/default.nix @@ -13,14 +13,14 @@ buildPythonPackage (finalAttrs: { pname = "microsoft-kiota-serialization-form"; - version = "1.11.6"; + version = "1.11.7"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-form-v${finalAttrs.version}"; - hash = "sha256-hhYQsNcy+jVVmKiDuB1nGpx+aA7toM6WDFoU5Vnu5Vs="; + hash = "sha256-Fd9XSO3H1Au8y+Acft5to7hi7QNwWcmP0/NeWZlufjg="; }; sourceRoot = "${finalAttrs.src.name}/packages/serialization/form/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix index ca39e6a8824f..9f2ce27fed5a 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-json/default.nix @@ -13,14 +13,14 @@ buildPythonPackage (finalAttrs: { pname = "microsoft-kiota-serialization-json"; - version = "1.11.6"; + version = "1.11.7"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-json-v${finalAttrs.version}"; - hash = "sha256-hhYQsNcy+jVVmKiDuB1nGpx+aA7toM6WDFoU5Vnu5Vs="; + hash = "sha256-Fd9XSO3H1Au8y+Acft5to7hi7QNwWcmP0/NeWZlufjg="; }; sourceRoot = "${finalAttrs.src.name}/packages/serialization/json/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix index 1b081aa9a210..c69d9b592d02 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-multipart/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "microsoft-kiota-serialization-multipart"; - version = "1.11.6"; + version = "1.11.7"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-multipart-v${version}"; - hash = "sha256-hhYQsNcy+jVVmKiDuB1nGpx+aA7toM6WDFoU5Vnu5Vs="; + hash = "sha256-Fd9XSO3H1Au8y+Acft5to7hi7QNwWcmP0/NeWZlufjg="; }; sourceRoot = "${src.name}/packages/serialization/multipart/"; diff --git a/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix b/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix index bae91e5e83ec..8293507d456e 100644 --- a/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix +++ b/pkgs/development/python-modules/microsoft-kiota-serialization-text/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "microsoft-kiota-serialization-text"; - version = "1.11.6"; + version = "1.11.7"; pyproject = true; src = fetchFromGitHub { owner = "microsoft"; repo = "kiota-python"; tag = "microsoft-kiota-serialization-text-v${version}"; - hash = "sha256-hhYQsNcy+jVVmKiDuB1nGpx+aA7toM6WDFoU5Vnu5Vs="; + hash = "sha256-Fd9XSO3H1Au8y+Acft5to7hi7QNwWcmP0/NeWZlufjg="; }; sourceRoot = "${src.name}/packages/serialization/text/"; diff --git a/pkgs/development/python-modules/mypy-boto3/default.nix b/pkgs/development/python-modules/mypy-boto3/default.nix index 5bc2ef9d3c91..d39b1d63dd10 100644 --- a/pkgs/development/python-modules/mypy-boto3/default.nix +++ b/pkgs/development/python-modules/mypy-boto3/default.nix @@ -51,8 +51,8 @@ in "sha256-KNFTnweHO/8xVFHLcjBP0USqBQfc5BQjj+JBEGlM7kI="; mypy-boto3-acm = - buildMypyBoto3Package "acm" "1.43.29" - "sha256-vZdnq48mhv+8MGFL+X3Q5x7TUT8JH1rKNjvK1tlo0g8="; + buildMypyBoto3Package "acm" "1.43.38" + "sha256-m4sUtL3riEkcXGeWgD0vAkKx78R2SYrwHycxz1Fjxw8="; mypy-boto3-acm-pca = buildMypyBoto3Package "acm-pca" "1.43.0" @@ -147,8 +147,8 @@ in "sha256-0QMHGUpHVdAUf8hw4RtgU3wManp26riDDbx49a9929U="; mypy-boto3-autoscaling = - buildMypyBoto3Package "autoscaling" "1.43.0" - "sha256-8Wme8qFuxcX74RuNmGl+9mszIpPXh5bcttMRoeqN7ww="; + buildMypyBoto3Package "autoscaling" "1.43.38" + "sha256-xpwzqlkGC3ZCKuCMLZ5DvZAuPCQCRdwpccVuhsmaOWY="; mypy-boto3-autoscaling-plans = buildMypyBoto3Package "autoscaling-plans" "1.43.0" @@ -207,8 +207,8 @@ in "sha256-51MoyiVhP371RZ8pD0N38qenWpsW3HTn4PL/6Hd8Ki8="; mypy-boto3-cleanrooms = - buildMypyBoto3Package "cleanrooms" "1.43.13" - "sha256-y9b/pwcRa4VFZ0v0rDwzdzYTnCyn6lgeNmk9JTLRtEI="; + buildMypyBoto3Package "cleanrooms" "1.43.38" + "sha256-m7y4NwYn4tNtJ2V8wlXSkOMdhTrNFZUWXc8g1yqLFGA="; mypy-boto3-cloud9 = buildMypyBoto3Package "cloud9" "1.43.0" @@ -223,8 +223,8 @@ in "sha256-Ula0Hx4jZ6JVlT9v4P88bmtQSYyFtofeZiN9vAILqxw="; mypy-boto3-cloudformation = - buildMypyBoto3Package "cloudformation" "1.43.23" - "sha256-5uR0CjqWzTHzthGWM/IkolEZ4i2CSGGb0joju66Mp6g="; + buildMypyBoto3Package "cloudformation" "1.43.38" + "sha256-u0rjspNF01rMTNE1gCrxMlA85Ve1Ma0KGb7FzHuCGjo="; mypy-boto3-cloudfront = buildMypyBoto3Package "cloudfront" "1.43.8" @@ -255,16 +255,16 @@ in "sha256-PVskBSuwqSfNybHDtLLfVpDG0dwR/Q1LhrHz1imsR8A="; mypy-boto3-cloudwatch = - buildMypyBoto3Package "cloudwatch" "1.43.37" - "sha256-OXmuNkF7rntBEHJWv4CLoCLBguB/RilcYdUJaPCQ1W0="; + buildMypyBoto3Package "cloudwatch" "1.43.38" + "sha256-3STwHJJpbVZa1ACznoyPLvYMpBGL7xxS1+5h0bx40+Y="; mypy-boto3-codeartifact = buildMypyBoto3Package "codeartifact" "1.43.0" "sha256-CubsXd2HL6MvlyE5z1pnAacMWILCRnlWE0cZODrVeJk="; mypy-boto3-codebuild = - buildMypyBoto3Package "codebuild" "1.43.0" - "sha256-2w+09jNgnpl3wQSKfnz7vsaQBVy+puyOsvimwa/axgg="; + buildMypyBoto3Package "codebuild" "1.43.38" + "sha256-Gc/u06NkA6juz5ji9jPs3Z8xp/GVrKEwhFqL0jGedaU="; mypy-boto3-codecatalyst = buildMypyBoto3Package "codecatalyst" "1.43.0" @@ -335,8 +335,8 @@ in "sha256-6FyB/VCGsMYDBFUu0VzWpge94lASfg6CVewhkmpxycQ="; mypy-boto3-connect = - buildMypyBoto3Package "connect" "1.43.34" - "sha256-NOESFHTxOOYkpkV3Eer4M0Ag7jYA0eZvIdGzQUZlrAg="; + buildMypyBoto3Package "connect" "1.43.38" + "sha256-EpBR0OFb96qnM0+ToMfr9KyB7oTy7FkNAZqqIbEKG9w="; mypy-boto3-connect-contact-lens = buildMypyBoto3Package "connect-contact-lens" "1.43.0" @@ -443,8 +443,8 @@ in "sha256-dXNkOcMonYrBh4yzeubd+v3mW42s9XpmpfvgbtgoJgY="; mypy-boto3-ec2 = - buildMypyBoto3Package "ec2" "1.43.37" - "sha256-f2PTD4ft+tjN3+RBVpI8kY8I6QwMWscGFXIB7YUm6eI="; + buildMypyBoto3Package "ec2" "1.43.38" + "sha256-nPuU8WL2p1bFewTf+X+V5joyTJ3wWRnaYYgIoAjt0Vw="; mypy-boto3-ec2-instance-connect = buildMypyBoto3Package "ec2-instance-connect" "1.43.0" @@ -459,16 +459,16 @@ in "sha256-02BUkAFhr9sT8ohkJJFPYNni0O9/UI/G0GUee/Kx5Dw="; mypy-boto3-ecs = - buildMypyBoto3Package "ecs" "1.43.37" - "sha256-ym5rilQYYSdP29ZaGS23KbD0fCORWLJj14YWlpq1SpI="; + buildMypyBoto3Package "ecs" "1.43.38" + "sha256-cC5wmNdGFHsl1HBxsKcoAxEe1PBe2ps7T7rNPoH8AHs="; mypy-boto3-efs = buildMypyBoto3Package "efs" "1.43.23" "sha256-11KpPRxGId76g/I4jXwMQ55kwGEQVsasgvMUXsiLbM4="; mypy-boto3-eks = - buildMypyBoto3Package "eks" "1.43.33" - "sha256-ryLZyMekjwdF6LGgNkQ5m6ocEm1DFys/U7QJl/sst3k="; + buildMypyBoto3Package "eks" "1.43.38" + "sha256-d8nAhWJTMytBpPwwp0kVjxmeX+l7mFZzd2NfNBNmaIY="; mypy-boto3-elastic-inference = buildMypyBoto3Package "elastic-inference" "1.36.0" @@ -946,8 +946,8 @@ in "sha256-rkVxsY4MQ+eB3uQhD3kI7bBpCHiDVcQDNUXA5zUyeok="; mypy-boto3-network-firewall = - buildMypyBoto3Package "network-firewall" "1.43.0" - "sha256-23FKHmxHWa7mgIWe0SRxbBzO6LZNdNkaU1XOqqI8knw="; + buildMypyBoto3Package "network-firewall" "1.43.38" + "sha256-kkxtrL98SOemo4LBPn5d2U0R0a5Yb9C0XBGTqAhRurM="; mypy-boto3-networkmanager = buildMypyBoto3Package "networkmanager" "1.43.0" @@ -1310,8 +1310,8 @@ in "sha256-V1og1LY/ORrXbfFVs4vF8LYe30/kvG71F3rWwXmNSJ4="; mypy-boto3-sso-admin = - buildMypyBoto3Package "sso-admin" "1.43.1" - "sha256-1LtstuBIeRytha3ExMzo17fE4TUe2zVQq9ud8rGfFwM="; + buildMypyBoto3Package "sso-admin" "1.43.38" + "sha256-XItUg7rif3WcSEFp5+7vLqibBz9j43OpmA+whTlu/iM="; mypy-boto3-sso-oidc = buildMypyBoto3Package "sso-oidc" "1.43.0" diff --git a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix index 107cb41190a8..6336ce199f81 100644 --- a/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix +++ b/pkgs/development/python-modules/tencentcloud-sdk-python/default.nix @@ -9,14 +9,14 @@ buildPythonPackage (finalAttrs: { pname = "tencentcloud-sdk-python"; - version = "3.1.123"; + version = "3.1.125"; pyproject = true; src = fetchFromGitHub { owner = "TencentCloud"; repo = "tencentcloud-sdk-python"; tag = finalAttrs.version; - hash = "sha256-rX55rckAb3+rVobAKc3arWU99njl2VLEXYdLcdNI+5g="; + hash = "sha256-Z0I7hpHu1zfzDMKdiS+wOckUEdLM+uEcumAcWKrRf1Q="; }; build-system = [ setuptools ]; diff --git a/pkgs/development/python-modules/tt-perf-report/default.nix b/pkgs/development/python-modules/tt-perf-report/default.nix new file mode 100644 index 000000000000..1535db15f8aa --- /dev/null +++ b/pkgs/development/python-modules/tt-perf-report/default.nix @@ -0,0 +1,50 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + + # build-system + setuptools, + wheel, + + # dependencies + matplotlib, + pandas, +}: + +buildPythonPackage (finalAttrs: { + pname = "tt-perf-report"; + version = "1.2.4"; + pyproject = true; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "tenstorrent"; + repo = "tt-perf-report"; + tag = "v${finalAttrs.version}"; + hash = "sha256-cSlQ9Byv9LzKc4gS3QLeq3bHdmIVpl8AeK3Gh0mNDAQ="; + }; + + build-system = [ + setuptools + wheel + ]; + + dependencies = [ + matplotlib + pandas + ]; + + pythonRelaxDeps = [ "matplotlib" ]; + + pythonImportsCheck = [ "tt_perf_report" ]; + + meta = { + description = "Tool for analyzing performance traces from Metal operations"; + homepage = "https://github.com/tenstorrent/tt-perf-report"; + changelog = "https://github.com/tenstorrent/tt-perf-report/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ mert-kurttutan ]; + mainProgram = "tt-perf-report"; + }; +}) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 91bea44bf1a7..b30adcd27ea4 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -861,13 +861,15 @@ let # enable temporary caching of the last request_key() result KEYS_REQUEST_CACHE = yes; # randomized slab caches - RANDOM_KMALLOC_CACHES = whenAtLeast "6.6" yes; + RANDOM_KMALLOC_CACHES = whenBetween "6.6" "7.2" yes; + KMALLOC_PARTITION_CACHES = whenAtLeast "7.2" yes; + KMALLOC_PARTITION_RANDOM = whenAtLeast "7.2" yes; # NIST SP800-90A DRBG modes - enabled by most distributions # and required by some out-of-tree modules (ShuffleCake) # This does not include the NSA-backdoored Dual-EC mode from the same NIST publication. - CRYPTO_DRBG_HASH = yes; - CRYPTO_DRBG_CTR = yes; + CRYPTO_DRBG_HASH = whenOlder "7.2" yes; + CRYPTO_DRBG_CTR = whenOlder "7.2" yes; # Enable KFENCE # See: https://docs.kernel.org/dev-tools/kfence.html diff --git a/pkgs/os-specific/linux/kernel/kernels-org.json b/pkgs/os-specific/linux/kernel/kernels-org.json index 1850e03a312b..b1bbd932a1ee 100644 --- a/pkgs/os-specific/linux/kernel/kernels-org.json +++ b/pkgs/os-specific/linux/kernel/kernels-org.json @@ -1,7 +1,7 @@ { "testing": { - "version": "7.1-rc7", - "hash": "sha256:1jncfqvbiwsvvhiqs23paiy7xvsbmqcpxj02jwvy0albp16kfxd7", + "version": "7.2-rc1", + "hash": "sha256:1gpwr6n3cc2hqg36gy9g9w4rxawpz3y126j752z4zyls6h80b43v", "lts": false }, "6.1": { diff --git a/pkgs/shells/fish/plugins/forgit.nix b/pkgs/shells/fish/plugins/forgit.nix index f21eb8c2d5f2..682dbfb3256e 100644 --- a/pkgs/shells/fish/plugins/forgit.nix +++ b/pkgs/shells/fish/plugins/forgit.nix @@ -6,13 +6,13 @@ buildFishPlugin rec { pname = "forgit"; - version = "26.05.0"; + version = "26.07.0"; src = fetchFromGitHub { owner = "wfxr"; repo = "forgit"; rev = version; - hash = "sha256-EFbzrVgLfVO+dEEQ1vZUcZkIszZFCktYjQjwkBVrHQI="; + hash = "sha256-Ks/kUuQLtzKLjwIDpfkh6pL90aII8Rfh8ijxDmlFvmg="; }; postInstall = '' diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 467fcdfb9c96..fe310669b717 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -20423,6 +20423,8 @@ self: super: with self; { tt-flash = callPackage ../development/python-modules/tt-flash { }; + tt-perf-report = callPackage ../development/python-modules/tt-perf-report { }; + tt-tools-common = callPackage ../development/python-modules/tt-tools-common { }; ttach = callPackage ../development/python-modules/ttach { };