diff --git a/lib/licenses/licenses.nix b/lib/licenses/licenses.nix index be6156e37c28..5e7460330087 100644 --- a/lib/licenses/licenses.nix +++ b/lib/licenses/licenses.nix @@ -475,6 +475,11 @@ lib.mapAttrs mkLicense ( fullName = "CeCILL-C Free Software License Agreement"; }; + cfitsio = { + spdxId = "CFITSIO"; + fullName = "CFITSIO License"; + }; + classpathException20 = { spdxId = "Classpath-exception-2.0"; fullName = "Classpath exception 2.0"; diff --git a/lib/trivial.nix b/lib/trivial.nix index fcd9a8791dcf..fd48a0456b66 100644 --- a/lib/trivial.nix +++ b/lib/trivial.nix @@ -1101,11 +1101,10 @@ in ``` */ functionArgs = - f: - if f ? __functor then - f.__functionArgs or (functionArgs (f.__functor f)) - else - builtins.functionArgs f; + let + functionArgs = builtins.functionArgs; + in + f: if f ? __functor then f.__functionArgs or (functionArgs (f.__functor f)) else functionArgs f; /** Check whether something is a function or something @@ -1123,7 +1122,11 @@ in isFunction : Any -> Bool ``` */ - isFunction = f: builtins.isFunction f || (f ? __functor && isFunction (f.__functor f)); + isFunction = + let + isFunction = builtins.isFunction; + in + f: isFunction f || (f ? __functor && isFunction (f.__functor f)); /** `mirrorFunctionArgs f g` creates a new function `g'` with the same behavior as `g` (`g' x == g x`) diff --git a/nixos/modules/tasks/filesystems/bcachefs.nix b/nixos/modules/tasks/filesystems/bcachefs.nix index 481773991206..bb338bc992c9 100644 --- a/nixos/modules/tasks/filesystems/bcachefs.nix +++ b/nixos/modules/tasks/filesystems/bcachefs.nix @@ -273,6 +273,10 @@ in "bcachefs" = "${cfg.package}/bin/bcachefs"; "mount.bcachefs" = "${cfg.package}/bin/mount.bcachefs"; }; + boot.initrd.systemd.storePaths = [ + # Used by the ExecStart= in bcachefs-wait-devices@.service. + "${cfg.package}/sbin/bcachefs" + ]; boot.initrd.extraUtilsCommands = lib.mkIf (!config.boot.initrd.systemd.enable) '' copy_bin_and_libs ${cfg.package}/bin/bcachefs copy_bin_and_libs ${cfg.package}/bin/mount.bcachefs @@ -285,6 +289,7 @@ in commonFunctions + lib.concatStrings (lib.mapAttrsToList openCommand bootFs) ); + boot.initrd.systemd.packages = [ cfg.package ]; boot.initrd.systemd.services = lib.mapAttrs' (mkUnits "/sysroot") bootFs; }) diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 0f566310a4c4..4e02b29c2c77 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -968,13 +968,13 @@ "vendorHash": "sha256-OAd8SeTqTrH0kMoM2LsK3vM2PI23b3gl57FaJYM9hM0=" }, "newrelic_newrelic": { - "hash": "sha256-m8KZQUmDyMTR3S1BC5nmo15j5TUDV3ZZsy4hg16VZlc=", + "hash": "sha256-UByjO3/TE/b3kncFVMuTpWvTfC5Oof+Z5+9KdOEs7JU=", "homepage": "https://registry.terraform.io/providers/newrelic/newrelic", "owner": "newrelic", "repo": "terraform-provider-newrelic", - "rev": "v3.87.1", + "rev": "v3.87.3", "spdx": "MPL-2.0", - "vendorHash": "sha256-W/a04lDiPVh/tkcWz9eJp/pupI46cXxqukdv1h17xYY=" + "vendorHash": "sha256-2nDiNYX8iwu4u5gaaIYJC8a/Jw/MBdTgNxmyw+RLB+c=" }, "ns1-terraform_ns1": { "hash": "sha256-MX/Wd9Lztjn7uwDzJjs4bsSSp0PFzUgsu4jXke9jHL8=", diff --git a/pkgs/applications/networking/instant-messengers/gajim/default.nix b/pkgs/applications/networking/instant-messengers/gajim/default.nix index 6026917dedbe..881228e04072 100644 --- a/pkgs/applications/networking/instant-messengers/gajim/default.nix +++ b/pkgs/applications/networking/instant-messengers/gajim/default.nix @@ -43,14 +43,14 @@ python3.pkgs.buildPythonApplication rec { pname = "gajim"; - version = "2.4.5"; + version = "2.4.6"; src = fetchFromGitLab { domain = "dev.gajim.org"; owner = "gajim"; repo = "gajim"; tag = version; - hash = "sha256-5daPMlC2Ejfi5UXsRLaLWwEZHHEC0szbfkqavIisoUQ="; + hash = "sha256-QHfJ52uMDlE/rqqy7y2JIQLMOPaTp7eh4DEsPLBx6p8="; }; pyproject = true; diff --git a/pkgs/by-name/bi/bitwarden-desktop/package.nix b/pkgs/by-name/bi/bitwarden-desktop/package.nix index 1409c8e06c67..625f84e55eff 100644 --- a/pkgs/by-name/bi/bitwarden-desktop/package.nix +++ b/pkgs/by-name/bi/bitwarden-desktop/package.nix @@ -33,13 +33,13 @@ let in buildNpmPackage' rec { pname = "bitwarden-desktop"; - version = "2026.2.1"; + version = "2026.3.1"; src = fetchFromGitHub { owner = "bitwarden"; repo = "clients"; rev = "desktop-v${version}"; - hash = "sha256-BiL9ugimdDKIzIoehGqdBfJkTOjbOMl8XV+0g/aGS/k="; + hash = "sha256-ecaCHk04N9h0RP8gK0o+MLgYS6Linsqi7AaC86hwQ3U="; }; patches = [ @@ -55,6 +55,10 @@ buildNpmPackage' rec { ]; postPatch = '' + # https://github.com/bitwarden/clients/pull/20480 + substituteInPlace package-lock.json apps/desktop/desktop_native/napi/package.json \ + --replace-fail '"@napi-rs/cli": "3.5.1"' '"@napi-rs/cli": "3.2.0"' + # remove code under unfree license rm -r bitwarden_license @@ -79,12 +83,9 @@ buildNpmPackage' rec { "--legacy-peer-deps" ]; - npmRebuildFlags = [ - # FIXME one of the esbuild versions fails to download @esbuild/linux-x64 - "--ignore-scripts" - ]; npmWorkspace = "apps/desktop"; - npmDepsHash = "sha256-S34Lxr9dH9wjBmpDYA530z2/HiY4D4b/3rswWDqsrFU="; + npmDepsFetcherVersion = 2; + npmDepsHash = "sha256-1t4CSd1NDC1medTTFHSzX9ZkgHqPG2L//yjaloH47z0="; cargoDeps = rustPlatform.fetchCargoVendor { inherit @@ -94,7 +95,7 @@ buildNpmPackage' rec { cargoRoot patches ; - hash = "sha256-qK7cwrTzGKgHdaxaGcpR6bKJP/Tai2F+KFLu/PI6qqA="; + hash = "sha256-d9Iv7OekHOteH1lyAuyj/EzfU/KSCW6ATx83foOW3IE="; }; cargoRoot = "apps/desktop/desktop_native"; @@ -165,7 +166,11 @@ buildNpmPackage' rec { ]; checkFlags = [ + # fails in zbus "--skip=password::password::tests::test" + # requires some debug feature to be enabled + "--skip=storage::serialization::tests::test_keydata_from_corrupted_bytes" + "--skip=storage::serialization::tests::test_keydata_from_empty_bytes" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--skip=clipboard::tests::test_write_read" diff --git a/pkgs/by-name/cf/cfitsio/package.nix b/pkgs/by-name/cf/cfitsio/package.nix index fea31a4e330d..8fa03db0bf78 100644 --- a/pkgs/by-name/cf/cfitsio/package.nix +++ b/pkgs/by-name/cf/cfitsio/package.nix @@ -73,7 +73,7 @@ stdenv.mkDerivation (finalAttrs: { }; meta = { - homepage = "https://heasarc.gsfc.nasa.gov/fitsio/"; + homepage = "https://heasarc.gsfc.nasa.gov/docs/software/fitsio/"; description = "Library for reading and writing FITS data files"; longDescription = '' CFITSIO is a library of C and Fortran subroutines for reading and @@ -85,7 +85,7 @@ stdenv.mkDerivation (finalAttrs: { FITS files. ''; changelog = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/docs/changes.txt"; - license = lib.licenses.mit; + license = lib.licenses.cfitsio; maintainers = with lib.maintainers; [ returntoreality xbreak diff --git a/pkgs/by-name/dp/dprint/plugins/dprint-plugin-biome.nix b/pkgs/by-name/dp/dprint/plugins/dprint-plugin-biome.nix index 25b86d598cac..0bcf9e5f4371 100644 --- a/pkgs/by-name/dp/dprint/plugins/dprint-plugin-biome.nix +++ b/pkgs/by-name/dp/dprint/plugins/dprint-plugin-biome.nix @@ -1,7 +1,7 @@ { mkDprintPlugin }: mkDprintPlugin { description = "Biome (JS/TS/JSON) wrapper plugin"; - hash = "sha256-ccPkzEV0Gtzi6iKq6oIREvIccEFvHec06XxoUWufDZc="; + hash = "sha256-k+o4eiLwzoCF6MPX0dEn/3modSwvFYFuzMe47cdJWo8="; initConfig = { configExcludes = [ "**/node_modules" ]; configKey = "biome"; @@ -17,6 +17,6 @@ mkDprintPlugin { }; pname = "dprint-plugin-biome"; updateUrl = "https://plugins.dprint.dev/dprint/biome/latest.json"; - url = "https://plugins.dprint.dev/biome-0.12.10.wasm"; - version = "0.12.10"; + url = "https://plugins.dprint.dev/biome-0.12.11.wasm"; + version = "0.12.11"; } diff --git a/pkgs/by-name/fi/firebase-tools/package.nix b/pkgs/by-name/fi/firebase-tools/package.nix index 5c6a6b1f6dc7..990743c533c3 100644 --- a/pkgs/by-name/fi/firebase-tools/package.nix +++ b/pkgs/by-name/fi/firebase-tools/package.nix @@ -11,17 +11,17 @@ buildNpmPackage rec { pname = "firebase-tools"; - version = "15.17.0"; + version = "15.18.0"; nodejs = nodejs_22; src = fetchFromGitHub { owner = "firebase"; repo = "firebase-tools"; tag = "v${version}"; - hash = "sha256-rj3EeqdgERZnTLMoAMNWoG1FAX/4IcRmDk7+PsFpBXA="; + hash = "sha256-bsCBDiHOkov3OgjGy29wmZVXDBX6AmH34wNYOPve6uI="; }; - npmDepsHash = "sha256-J0sPjtPd+T4DbcxHAyUh6RKCxnC5SxgrX3VfDlz3AQA="; + npmDepsHash = "sha256-qJezxPI1ao6/G4Ku7qjOFbdEaJohAH+7DWeP9QY/jOs="; # No more package-lock.json in upstream src postPatch = '' diff --git a/pkgs/by-name/ho/homebridge/package.nix b/pkgs/by-name/ho/homebridge/package.nix index 43a82b3e2957..afc14f348b94 100644 --- a/pkgs/by-name/ho/homebridge/package.nix +++ b/pkgs/by-name/ho/homebridge/package.nix @@ -6,16 +6,16 @@ buildNpmPackage (finalAttrs: { pname = "homebridge"; - version = "2.0.1"; + version = "2.0.2"; src = fetchFromGitHub { owner = "homebridge"; repo = "homebridge"; tag = "v${finalAttrs.version}"; - hash = "sha256-JHeyyPh2ePIrUhqfo1Cb4pNf+lB3ldE6NR0OunbLuKk="; + hash = "sha256-bs7h9qHAWPNEqomTbit2LBtM5yLHQnFLjCMJ/ybHxHU="; }; - npmDepsHash = "sha256-zJ9WPnhtC0rnyT5dqPfC/eg+TRlKlDDQW3XYx67pl5s="; + npmDepsHash = "sha256-/1mIwWFa6L7bLao0/Q3I+nniVt5crVa8ufuvkYeoJUY="; meta = { description = "Lightweight emulator of iOS HomeKit API"; diff --git a/pkgs/by-name/iw/iwe/package.nix b/pkgs/by-name/iw/iwe/package.nix index fac827819b3d..0c482f107696 100644 --- a/pkgs/by-name/iw/iwe/package.nix +++ b/pkgs/by-name/iw/iwe/package.nix @@ -8,16 +8,16 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "iwe"; - version = "0.0.70"; + version = "0.1.3"; src = fetchFromGitHub { owner = "iwe-org"; repo = "iwe"; tag = "iwe-v${finalAttrs.version}"; - hash = "sha256-ehRth5vBUjswn9oM97WuMYvHs0LohXBwrdN23VRELa0="; + hash = "sha256-2mFCujePThwqOnXNF9x1Hyv9KRme44gtTcy8frziNXo="; }; - cargoHash = "sha256-rQre02fRRcf0FCmRpWh1UHsvCpp/iLqCA4QHvSZYBwA="; + cargoHash = "sha256-8l7cTW8riEa1nFjftc5lnEQcY9gz4dYli9FQBZ5SFT8="; cargoBuildFlags = [ "--package=iwe" diff --git a/pkgs/by-name/ma/mailpit/package.nix b/pkgs/by-name/ma/mailpit/package.nix index 2f83a2a169dd..4af3b4aa66d8 100644 --- a/pkgs/by-name/ma/mailpit/package.nix +++ b/pkgs/by-name/ma/mailpit/package.nix @@ -83,13 +83,15 @@ buildGoModule (finalAttrs: { passthru = { tests = { - inherit (nixosTests) mailpit; # cannot use versionCheckHook due to the extra --no-release-check flag # for workarounds and other solutions see https://github.com/NixOS/nixpkgs/pull/486143#discussion_r2754533347 version = testers.testVersion { package = mailpit; command = "mailpit version --no-release-check"; }; + } + // lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) { + inherit (nixosTests) mailpit; }; updateScript = { diff --git a/pkgs/by-name/ma/mailpit/source.nix b/pkgs/by-name/ma/mailpit/source.nix index 5b19c38381bf..bb8737aef7fe 100644 --- a/pkgs/by-name/ma/mailpit/source.nix +++ b/pkgs/by-name/ma/mailpit/source.nix @@ -1,6 +1,6 @@ { - version = "1.29.7"; - hash = "sha256-nd52Kf7wRJXSrLPgrYQ5VjUWFARObRRAJe3nIW19wZU="; - npmDepsHash = "sha256-s71BVJpim593GknE1XyBCb4sQwY8fKpAH7q/e/0Nmg0="; - vendorHash = "sha256-mGlzb4Q6nWew13Io8fAtR+3u4w1vjj4ssUaBJ9sjz6A="; + version = "1.30.0"; + hash = "sha256-lUynHDFfbX9BxwTdREbgAMil7S3+vwAl05myzMEWgGQ="; + npmDepsHash = "sha256-snWhjSy9au81bJZwjh/KVvchjEaJJ05HYhyh3V8/Y5g="; + vendorHash = "sha256-LMjS0YxRTvHZ8U10BOST/5Zthqhoi5OxngWWB+2CSeQ="; } diff --git a/pkgs/by-name/mu/music-assistant-desktop/package.nix b/pkgs/by-name/mu/music-assistant-desktop/package.nix new file mode 100644 index 000000000000..7f425820f709 --- /dev/null +++ b/pkgs/by-name/mu/music-assistant-desktop/package.nix @@ -0,0 +1,109 @@ +{ + lib, + stdenv, + rustPlatform, + + fetchFromGitHub, + fetchYarnDeps, + + # nativeBuildInputs + cargo-tauri, + nodejs, + pkg-config, + yarnBuildHook, + yarnConfigHook, + yarnInstallHook, + wrapGAppsHook3, + + # buildInputs + openssl, + alsa-lib, + atk, + dbus, + glib-networking, + libappindicator-gtk3, + llvmPackages, + pulseaudio, + gtk3, + webkitgtk_4_1, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "music-assistant-desktop"; + version = "0.3.6"; + + src = fetchFromGitHub { + owner = "music-assistant"; + repo = "desktop-app"; + tag = finalAttrs.version; + hash = "sha256-GL9Cpk6NDhRV0npVXwGjR3Dm0H/uo9cD4ebaI751VLM="; + }; + + # hide update feature + postPatch = '' + substituteInPlace src-tauri/src/lib.rs \ + --replace-fail \ + "let update =" \ + "// let update =" \ + --replace-fail \ + "&update," \ + "// &update," \ + ''; + + cargoRoot = "src-tauri"; + buildAndTestSubdir = finalAttrs.cargoRoot; + + cargoHash = "sha256-rd0kvUTAi4fOh3hxCY1cmkkLWsxNPxVmPVzB9uEv/8c="; + + yarnOfflineCache = fetchYarnDeps { + yarnLock = finalAttrs.src + "/yarn.lock"; + hash = "sha256-dOJ5ETRodpnuaI+L2wckNU0XANUcjqzvdqw/cd5sJC4="; + }; + + nativeBuildInputs = [ + cargo-tauri.hook + nodejs + pkg-config + yarnBuildHook + yarnConfigHook + yarnInstallHook + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ wrapGAppsHook3 ]; + + buildInputs = [ + openssl + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + alsa-lib + atk + dbus + glib-networking + libappindicator-gtk3 + pulseaudio + gtk3 + webkitgtk_4_1 + ]; + + preFixup = lib.optionalString stdenv.hostPlatform.isLinux '' + gappsWrapperArgs+=( + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libappindicator-gtk3 ]}" + ) + ''; + + env = { + # `LIBCLANG_PATH` is needed to build `coreaudio-sys` on darwin + LIBCLANG_PATH = lib.optionalString stdenv.hostPlatform.isDarwin "${lib.getLib llvmPackages.libclang}/lib"; + }; + + __structuredAttrs = true; + strictDeps = true; + + meta = { + description = "Official companion desktop app for Music Assistant"; + homepage = "https://github.com/music-assistant/desktop-app"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ nim65s ]; + mainProgram = "music-assistant-companion"; + platforms = lib.platforms.all; + }; +}) diff --git a/pkgs/by-name/om/omnictl/package.nix b/pkgs/by-name/om/omnictl/package.nix index 0149f028048e..bd5941f7c637 100644 --- a/pkgs/by-name/om/omnictl/package.nix +++ b/pkgs/by-name/om/omnictl/package.nix @@ -8,16 +8,16 @@ buildGoModule rec { pname = "omnictl"; - version = "1.7.1"; + version = "1.7.3"; src = fetchFromGitHub { owner = "siderolabs"; repo = "omni"; rev = "v${version}"; - hash = "sha256-3nqyhJnJgOyegLtJchqoo6BtGbvvRaGxwo28Ef1gb4k="; + hash = "sha256-c2dYVXYH12YAvfxiCA1Rl/9y/FD7fMBEBQvvc4TmBYA="; }; - vendorHash = "sha256-6Yy/qEcZb4nheCplXmYo65NUJzImEQpRW/+g0rA3VW4="; + vendorHash = "sha256-QstTh4deaanljpFm6zEkm6ykGhUeTjK3Az9w8JROiWY="; ldflags = [ "-s" diff --git a/pkgs/by-name/op/open-policy-agent/package.nix b/pkgs/by-name/op/open-policy-agent/package.nix index 5182077189b4..13e3b8758f3b 100644 --- a/pkgs/by-name/op/open-policy-agent/package.nix +++ b/pkgs/by-name/op/open-policy-agent/package.nix @@ -14,13 +14,13 @@ assert buildGoModule (finalAttrs: { pname = "open-policy-agent"; - version = "1.16.0"; + version = "1.16.2"; src = fetchFromGitHub { owner = "open-policy-agent"; repo = "opa"; tag = "v${finalAttrs.version}"; - hash = "sha256-mZpD0hkrm74HzIVM+xcp55nADi/+oOiJ9/WPIyWsmAg="; + hash = "sha256-f9t/BB0ldSUTaApjM75W9nw7jRC8Hp1t/KFRM/ky67s="; }; vendorHash = "sha256-m+Mb2Llny7O9cfn8Js7MEaeYM9zC/CwWBAuliWE7G1E="; diff --git a/pkgs/by-name/sp/spamassassin/package.nix b/pkgs/by-name/sp/spamassassin/package.nix index e4f44f650320..0a2031455183 100644 --- a/pkgs/by-name/sp/spamassassin/package.nix +++ b/pkgs/by-name/sp/spamassassin/package.nix @@ -97,6 +97,9 @@ perlPackages.buildPerlPackage rec { mkdir -p $HOME mkdir t/log # pre-create to avoid race conditions + #401737: Sometimes we get: Failed tests: 2, 4-5, 7-9 + rm t/spamd_ssl.t + # https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8068 checkFlagsArray+=(TEST_FILES='$(shell find t -name *.t -not -name spamd_ssl_accept_fail.t)') ''; diff --git a/pkgs/development/compilers/llvm/default.nix b/pkgs/development/compilers/llvm/default.nix index c4157e9d66fe..24277a2ec882 100644 --- a/pkgs/development/compilers/llvm/default.nix +++ b/pkgs/development/compilers/llvm/default.nix @@ -28,9 +28,9 @@ let "21.1.8".officialRelease.sha256 = "sha256-pgd8g9Yfvp7abjCCKSmIn1smAROjqtfZaJkaUkBSKW0="; "22.1.5".officialRelease.sha256 = "sha256-eunfMOH+HVpefZJ+CG7hXDoM+pi6iYvHpD3DoSAsjoE="; "23.0.0-git".gitRelease = { - rev = "084a5acf5a076aa32c04cbcdca25c27fc75d8e6d"; - rev-version = "23.0.0-unstable-2026-05-10"; - sha256 = "sha256-xSyanVzsHokSrxhixUW3ovREeojTX7pedlBoaFpbtXQ="; + rev = "e9122d11ff92f2f343668cc759081496a130a943"; + rev-version = "23.0.0-unstable-2026-05-17"; + sha256 = "sha256-dnfnxQJ6Ye3wW3FOqZbaY0t/vuSapqc8c85oItGD4D8="; }; } // llvmVersions; diff --git a/pkgs/development/ocaml-modules/dockerfile/default.nix b/pkgs/development/ocaml-modules/dockerfile/default.nix index 5ef6e3835ad6..6f354a16c5f6 100644 --- a/pkgs/development/ocaml-modules/dockerfile/default.nix +++ b/pkgs/development/ocaml-modules/dockerfile/default.nix @@ -10,13 +10,13 @@ buildDunePackage (finalAttrs: { pname = "dockerfile"; - version = "8.3.4"; + version = "8.3.9"; src = fetchFromGitHub { owner = "ocurrent"; repo = "ocaml-dockerfile"; tag = finalAttrs.version; - hash = "sha256-q8yzuRkGVe/t0N0HFLFqOPNyvWSxf4WHApZVk1CG1qw="; + hash = "sha256-O2+kjQnjKSYFZM28RwAUTnNlvEW2CrfdMjT9J8LcPcc="; }; propagatedBuildInputs = [ diff --git a/pkgs/development/ocaml-modules/ocb-stubblr/default.nix b/pkgs/development/ocaml-modules/ocb-stubblr/default.nix index b7b93ebd5e5a..3ca59f130788 100644 --- a/pkgs/development/ocaml-modules/ocb-stubblr/default.nix +++ b/pkgs/development/ocaml-modules/ocb-stubblr/default.nix @@ -11,12 +11,12 @@ stdenv.mkDerivation rec { pname = "ocaml${ocaml.version}-ocb-stubblr"; - version = "0.1.0"; + version = "0.1.1"; src = fetchzip { url = "https://github.com/pqwy/ocb-stubblr/releases/download/v${version}/ocb-stubblr-${version}.tbz"; name = "src.tar.bz"; - sha256 = "0hpds1lkq4j8wgslv7hnirgfrjmqi36h5rarpw9mwf24gfp5ays2"; + hash = "sha256-Zd9a2EFT5j944xCFmWD4Td21VB7uGHZoNE4yvgfI9y0="; }; patches = [ ./pkg-config.patch ]; diff --git a/pkgs/development/ocaml-modules/ocb-stubblr/pkg-config.patch b/pkgs/development/ocaml-modules/ocb-stubblr/pkg-config.patch index d86b3f8da9f1..2be484974d4e 100644 --- a/pkgs/development/ocaml-modules/ocb-stubblr/pkg-config.patch +++ b/pkgs/development/ocaml-modules/ocb-stubblr/pkg-config.patch @@ -1,6 +1,6 @@ ---- a/src/ocb_stubblr.ml 1970-01-01 00:00:01.000000000 +0000 -+++ b/src/ocb_stubblr.ml 2016-12-04 11:10:10.000000000 +0000 -@@ -31,20 +31,9 @@ +--- a/src/ocb_stubblr.ml ++++ b/src/ocb_stubblr.ml +@@ -31,21 +31,8 @@ (* XXX Would be nice to move pkg-config results to a build artefact. *) @@ -12,8 +12,10 @@ - let var = "PKG_CONFIG_PATH" - - let path () = -- Lazy.force opam_prefix / "lib" / "pkgconfig" :: -- (try [Sys.getenv var] with Not_found -> []) |> String.concat ~sep:":" +- let opam = Lazy.force opam_prefix +- and rest = try [Sys.getenv var] with Not_found -> [] in +- opam/"lib"/"pkgconfig" :: opam/"share"/"pkgconfig" :: rest +- |> String.concat ~sep:":" - let run ~flags package = - let cmd = strf "%s=%s pkg-config %s %s 2>/dev/null" @@ -22,4 +24,3 @@ + package (String.concat ~sep:" " flags) in try `Res (run_and_read cmd) with Failure _ -> `Nonexistent end - diff --git a/pkgs/development/python-modules/aioamazondevices/default.nix b/pkgs/development/python-modules/aioamazondevices/default.nix index 5072a31cd6cb..5aebb9f9f0fb 100644 --- a/pkgs/development/python-modules/aioamazondevices/default.nix +++ b/pkgs/development/python-modules/aioamazondevices/default.nix @@ -1,10 +1,9 @@ { aiohttp, - anyio, beautifulsoup4, buildPythonPackage, - colorlog, fetchFromGitHub, + httpx, langcodes, lib, orjson, @@ -16,27 +15,27 @@ buildPythonPackage rec { pname = "aioamazondevices"; - version = "13.4.3"; + version = "13.5.0"; pyproject = true; src = fetchFromGitHub { owner = "chemelli74"; repo = "aioamazondevices"; tag = "v${version}"; - hash = "sha256-AH5edWwVEMo/TpnVbcOEC/oYI4DOQ5nqFfoFKeoI3Ok="; + hash = "sha256-+71t47H4/idWeef8Nf+4TVHB0xEe5mWCQ271ECm3jOg="; }; build-system = [ poetry-core ]; dependencies = [ aiohttp - anyio beautifulsoup4 - colorlog + httpx langcodes orjson python-dateutil - ]; + ] + ++ httpx.optional-dependencies.http2; pythonImportsCheck = [ "aioamazondevices" ]; diff --git a/pkgs/development/tools/ocaml/camlp5/default.nix b/pkgs/development/tools/ocaml/camlp5/default.nix index 38fd24135427..72cdbe9d8e10 100644 --- a/pkgs/development/tools/ocaml/camlp5/default.nix +++ b/pkgs/development/tools/ocaml/camlp5/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation ( in { - version = if lib.versionAtLeast ocaml.version "4.12" && !legacy then "8.04.00" else "7.14"; + version = if lib.versionAtLeast ocaml.version "4.12" && !legacy then "8.05.00" else "7.14"; pname = "ocaml${ocaml.version}-camlp5"; @@ -35,7 +35,7 @@ stdenv.mkDerivation ( "rel${builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version}"; hash = { - "8.04.00" = "sha256-5IQVGm/tqEzXmZmSYGbGqX+KN9nQLQgw+sBP+F2keXo="; + "8.05.00" = "sha256-Y7d72gAxtyAQOIvLGua6Pib+FCoeMlbRYa9vzc+9hRo="; "8.03.2" = "sha256-nz+VfGR/6FdBvMzPPpVpviAXXBWNqM3Ora96Yzx964o="; "7.14" = "sha256-/ORtS0uc/GN+g3y6N5ftjL4OBSqV6iswLRbfpeNCprU="; } @@ -81,7 +81,7 @@ stdenv.mkDerivation ( meta = { broken = - lib.versionAtLeast ocaml.version "5.04" && !lib.versionAtLeast finalAttrs.version "8.04.00"; + lib.versionAtLeast ocaml.version "5.04" && !lib.versionAtLeast finalAttrs.version "8.05.00"; description = "Preprocessor-pretty-printer for OCaml"; longDescription = '' Camlp5 is a preprocessor and pretty-printer for OCaml programs. diff --git a/pkgs/os-specific/linux/kernel/zen-kernels.nix b/pkgs/os-specific/linux/kernel/zen-kernels.nix index 04fcd61b297a..6ab5cfa0a397 100644 --- a/pkgs/os-specific/linux/kernel/zen-kernels.nix +++ b/pkgs/os-specific/linux/kernel/zen-kernels.nix @@ -18,7 +18,7 @@ in buildLinux ( args // rec { - version = "7.0.8"; + version = "7.0.9"; pname = "linux-zen"; modDirVersion = lib.versions.pad 3 "${version}-${suffix}"; isZen = true; @@ -27,7 +27,7 @@ buildLinux ( owner = "zen-kernel"; repo = "zen-kernel"; rev = "v${version}-${suffix}"; - sha256 = "xuzWN+GvsY/EiIwKd+QgUsRVVkM7KQb3i11oyhy2KaQ="; + sha256 = "vu6rRldDBp/N6kkMzZEgz9aMsGa/VWPdnkZTCF/Yobo="; }; # This is based on the following source: diff --git a/pkgs/servers/home-assistant/custom-components/browser-mod/package.nix b/pkgs/servers/home-assistant/custom-components/browser-mod/package.nix index 0b6ee61243eb..4f6912a79dcd 100644 --- a/pkgs/servers/home-assistant/custom-components/browser-mod/package.nix +++ b/pkgs/servers/home-assistant/custom-components/browser-mod/package.nix @@ -10,13 +10,13 @@ buildHomeAssistantComponent rec { owner = "thomasloven"; domain = "browser_mod"; - version = "2.13.2"; + version = "2.13.3"; src = fetchFromGitHub { inherit owner; repo = "hass-browser_mod"; tag = "v${version}"; - hash = "sha256-A0FxgLwm8MWFulFLL6qQmWd4DndMxg6zwqLfc/5WCbU="; + hash = "sha256-Q7+9pcV9vZ+PPXjlOezcDPtzcekXqBHgPJSwh5n9ruE="; }; nativeBuildInputs = [ @@ -27,7 +27,7 @@ buildHomeAssistantComponent rec { npmDeps = fetchNpmDeps { inherit src; - hash = "sha256-eSyHX36QeNDPUnvq13bUsO1utn4oZO3Przeoa75MoVk="; + hash = "sha256-MeB1NgQM8HvQF42AaE1XkIt0aODVACO8a0wtUFOqVW8="; }; npmBuildScript = "build"; diff --git a/pkgs/servers/http/tomcat/default.nix b/pkgs/servers/http/tomcat/default.nix index 1e0ce698e8af..43f6f752704f 100644 --- a/pkgs/servers/http/tomcat/default.nix +++ b/pkgs/servers/http/tomcat/default.nix @@ -60,17 +60,17 @@ let in { tomcat9 = common { - version = "9.0.117"; - hash = "sha256-90oLBh4rAGjsKhel4BwlCFH28w82LIEnIJoqbveVKyk="; + version = "9.0.118"; + hash = "sha256-L9Me+dqZKbh4mX9zHPJVNv6sV0FhwC2TmXJ0ccfEBrI="; }; tomcat10 = common { - version = "10.1.54"; - hash = "sha256-X81S45HmNDDbqr6RdqvWsLyXmpnsQr7ujtW/pBVuFeE="; + version = "10.1.55"; + hash = "sha256-l4oNCJA0XuxSo4yWcKjhEtTMjPjLEO9B0F1rcXiFdJU="; }; tomcat11 = common { - version = "11.0.21"; - hash = "sha256-mJAzZQx9iAN34CYwe2qwtR3q/p6OoOOY6tA4zPpidW0="; + version = "11.0.22"; + hash = "sha256-c9I5Iy8U394ieOjZMfdn7UVK7ZsBjk1wodQEwlebWZg="; }; }