Merge master into staging-next
This commit is contained in:
@@ -6986,11 +6986,11 @@
|
||||
name = "Dote";
|
||||
};
|
||||
dotlambda = {
|
||||
email = "rschuetz17@gmail.com";
|
||||
email = "nix@dotlambda.de";
|
||||
matrix = "@robert:funklause.de";
|
||||
github = "dotlambda";
|
||||
githubId = 6806011;
|
||||
name = "Robert Schütz";
|
||||
name = "ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86";
|
||||
};
|
||||
dotmobo = {
|
||||
email = "morgan.bohn@gmail.com";
|
||||
|
||||
@@ -475,9 +475,8 @@ in
|
||||
};
|
||||
|
||||
script = ''
|
||||
cp ${config.services.fwupd.package.fwupd-efi}/libexec/fwupd/efi/fwupd*.efi /run/fwupd-efi/
|
||||
chmod +w /run/fwupd-efi/fwupd*.efi
|
||||
${lib.getExe cfg.secureBoot.sbctl} sign /run/fwupd-efi/fwupd*.efi
|
||||
fwupd_efi=(${config.services.fwupd.package.fwupd-efi}/libexec/fwupd/efi/fwupd*.efi)
|
||||
${lib.getExe cfg.secureBoot.sbctl} sign -o /run/fwupd-efi/$(basename "$fwupd_efi").signed "$fwupd_efi"
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
install -D "${appimageContents}/production.desktop" "$out/share/applications/fastmail.desktop"
|
||||
substituteInPlace "$out/share/applications/fastmail.desktop" \
|
||||
--replace-fail "Exec=AppRun --no-sandbox %U" "Exec=fastmail" \
|
||||
--replace-fail "Exec=AppRun --no-sandbox %U" "Exec=fastmail %U" \
|
||||
--replace-fail "Icon=production" "Icon=fastmail" \
|
||||
|
||||
for res in 16 24 32 48 64 128 256 512 1024; do
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
automake,
|
||||
autoconf,
|
||||
libtool,
|
||||
@@ -22,6 +23,11 @@ stdenv.mkDerivation rec {
|
||||
patches = [
|
||||
# skip gmp version check for cross-compiling, our version is new enough
|
||||
./skip-gmp-check.patch
|
||||
(fetchpatch2 {
|
||||
name = "libc++-support.patch";
|
||||
url = "https://github.com/linbox-team/givaro/commit/464d53db36038c36a72bbad48c97bc141f62e161.diff?full_index=1";
|
||||
hash = "sha256-aI9PPjIQCvt9QKywxid+FVx71Buo8d6U7d+PLsKR4+k=";
|
||||
})
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -79,6 +79,11 @@
|
||||
bzip2,
|
||||
libcap,
|
||||
|
||||
# Fonts (See issue #463615)
|
||||
makeFontsConf,
|
||||
noto-fonts-cjk-sans,
|
||||
noto-fonts-cjk-serif,
|
||||
|
||||
# Necessary for USB audio devices.
|
||||
libpulseaudio,
|
||||
pulseSupport ? true,
|
||||
@@ -215,6 +220,13 @@ let
|
||||
rpath = lib.makeLibraryPath deps + ":" + lib.makeSearchPathOutput "lib" "lib64" deps;
|
||||
binpath = lib.makeBinPath deps;
|
||||
|
||||
fontsConf = makeFontsConf {
|
||||
fontDirectories = [
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
];
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -266,6 +278,7 @@ let
|
||||
--prefix PATH : "$binpath" \
|
||||
--suffix PATH : "${lib.makeBinPath [ xdg-utils ]}" \
|
||||
--prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:${addDriverRunpath.driverLink}/share" \
|
||||
--set FONTCONFIG_FILE "${finalAttrs.fontsConf}" \
|
||||
--set CHROME_WRAPPER "google-chrome-$dist" \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
|
||||
--add-flags "--simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'" \
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
@@ -37,6 +38,10 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
# Tests require a running Home Assistant instance
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex=^v([0-9]+\\.[0-9]+\\.[0-9]+)$" ];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "ha_mcp" ];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -15,23 +15,23 @@ let
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "kiro-cli";
|
||||
version = "1.25.0";
|
||||
version = "1.26.0";
|
||||
|
||||
src =
|
||||
let
|
||||
darwinDmg = fetchurl {
|
||||
url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/Kiro%20CLI.dmg";
|
||||
hash = "sha256-n9K3YVA+Chrm0i2iRoyZuk4Z8jE29ylVtK+Ym0HaXUg=";
|
||||
hash = "sha256-s3//DLCh48NgJ1JdBO2oG3iT82MjTbh98a/pRCnhRhc=";
|
||||
};
|
||||
in
|
||||
{
|
||||
x86_64-linux = fetchurl {
|
||||
url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/kirocli-x86_64-linux.tar.gz";
|
||||
hash = "sha256-iL1+1BTgSdCOEP8x7GKxenyio0u2SF6Tj/7BjXPuo5Q=";
|
||||
hash = "sha256-aB8snKmASQM9lOuyyvsqlF5TuJ7nFLd6OlUvfj25G9Q=";
|
||||
};
|
||||
aarch64-linux = fetchurl {
|
||||
url = "https://desktop-release.q.us-east-1.amazonaws.com/${finalAttrs.version}/kirocli-aarch64-linux.tar.gz";
|
||||
hash = "sha256-PQd9Mc/I5V4jYkngQt/j3rufZTb6IeN7QdZs3/9pvMc=";
|
||||
hash = "sha256-QDUgDsmUViapPViNLauAUnT/ZnlAjxxP4fnVR8+pbJE=";
|
||||
};
|
||||
x86_64-darwin = darwinDmg;
|
||||
aarch64-darwin = darwinDmg;
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "slackdump";
|
||||
version = "3.1.11";
|
||||
version = "4.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rusq";
|
||||
repo = "slackdump";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-p9d7BGWNssOwYERwWs8jer/um+wMLkMwvQcOg1pJ2eg=";
|
||||
hash = "sha256-k8NY9K57gRNLjST4alD9W0UNPK/PKI6CLGvJquj1Hko=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.IOKitTools;
|
||||
@@ -32,7 +32,7 @@ buildGoModule (finalAttrs: {
|
||||
"-skip=^${builtins.concatStringsSep "$|^" skippedTests}$"
|
||||
];
|
||||
|
||||
vendorHash = "sha256-ny+cIpmMqRbrMT65GCpVRTWlxVEcKS6D+roO+Qbq47U=";
|
||||
vendorHash = "sha256-N5NzmnpKJ8cIvaY9h6kW9dT/L7a057H+nE0gBozwsuc=";
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
|
||||
@@ -0,0 +1,204 @@
|
||||
{
|
||||
bazel_7,
|
||||
buildBazelPackage,
|
||||
curl,
|
||||
double-conversion,
|
||||
fetchFromGitHub,
|
||||
flatbuffers,
|
||||
giflib,
|
||||
gitMinimal,
|
||||
grpc,
|
||||
jsoncpp,
|
||||
lib,
|
||||
libjpeg_turbo,
|
||||
libpng,
|
||||
llvmPackages_18,
|
||||
nsync,
|
||||
protobuf,
|
||||
python3,
|
||||
snappy,
|
||||
sqlite,
|
||||
which,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
let
|
||||
# XLA requires clang 18 -- gcc and newer clang versions (e.g., 21) fail with
|
||||
# stricter template syntax checks in xla/tsl/concurrency/async_value_ref.h
|
||||
#
|
||||
# ABI comptability with other Nixpkgs stdenv-built packages can be confirmed
|
||||
# by seeing that
|
||||
#
|
||||
# ldd $(nix-build -A xla)/lib/libservice.so 2>/dev/null | grep -E '(libstdc\+\+|libc\+\+)'
|
||||
#
|
||||
# shows libstdc++ as being linked from gcc.
|
||||
clangStdenv = llvmPackages_18.stdenv;
|
||||
|
||||
pythonEnv = python3.withPackages (ps: with ps; [ numpy ]);
|
||||
|
||||
# List of system libraries to use instead of bundled versions
|
||||
# Based on TensorFlow and JAX derivations
|
||||
# Note: Excluding com_google_absl due to version incompatibilities
|
||||
# (XLA expects older abseil with string_view target)
|
||||
system_libs = [
|
||||
"curl"
|
||||
"double_conversion"
|
||||
"flatbuffers"
|
||||
"gif"
|
||||
"jsoncpp_git"
|
||||
"libjpeg_turbo"
|
||||
"nsync"
|
||||
"org_sqlite"
|
||||
"png"
|
||||
"snappy"
|
||||
"zlib"
|
||||
];
|
||||
in
|
||||
(buildBazelPackage.override { stdenv = clangStdenv; }) {
|
||||
pname = "xla";
|
||||
version = "0-unstable-2025-01-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openxla";
|
||||
repo = "xla";
|
||||
rev = "e8247c3ea1d4d7f31cf27def4c7ac6f2ce64ecd4";
|
||||
hash = "sha256-ZhgMIVs3Z4dTrkRWDqaPC/i7yJz2dsYXrZbjzqvPX3E=";
|
||||
};
|
||||
|
||||
bazel = bazel_7; # from .bazelversion
|
||||
|
||||
nativeBuildInputs = [
|
||||
gitMinimal
|
||||
pythonEnv # necessary for some patchShebang'ing
|
||||
which
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
double-conversion
|
||||
flatbuffers
|
||||
giflib
|
||||
grpc
|
||||
jsoncpp
|
||||
libjpeg_turbo
|
||||
libpng
|
||||
nsync
|
||||
protobuf
|
||||
snappy
|
||||
sqlite
|
||||
zlib
|
||||
];
|
||||
|
||||
# Remove the .bazelversion file to allow our Bazel version
|
||||
postPatch = ''
|
||||
rm -f .bazelversion
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
# Configure XLA for CPU-only build using the official configure.py script.
|
||||
# This creates a xla_configure.bazelrc file with the appropriate options.
|
||||
# Using clang which matches XLA CI environment.
|
||||
preConfigure = ''
|
||||
${lib.getExe pythonEnv} ./configure.py \
|
||||
--backend=CPU \
|
||||
--host_compiler=CLANG \
|
||||
--clang_path=${lib.getExe clangStdenv.cc}
|
||||
'';
|
||||
|
||||
# Use system libraries where possible
|
||||
env.TF_SYSTEM_LIBS = lib.concatStringsSep "," system_libs;
|
||||
|
||||
# Cannot build all of //xla/... due to missing internal-only proto targets.
|
||||
# See https://github.com/openxla/xla/issues/36720.
|
||||
bazelTargets = [
|
||||
"//xla/service:service" # Core compiler and execution service
|
||||
"//xla/client:xla_builder" # Client API for building computations
|
||||
"//xla/pjrt:pjrt_client" # PJRT runtime interface (used by JAX)
|
||||
"//xla/tools:run_hlo_module" # CLI tool for running HLO modules
|
||||
];
|
||||
|
||||
# Tests are disabled - most XLA tests are skipped in OSS builds due to tag
|
||||
# filters and size constraints. See https://github.com/openxla/xla/issues/36756.
|
||||
|
||||
bazelFlags = [
|
||||
"-c opt"
|
||||
# Use sandboxed strategy for most actions, but allow local for genrules
|
||||
# and copy actions that have issues with strict sandboxing
|
||||
"--spawn_strategy=sandboxed,local"
|
||||
"--genrule_strategy=local"
|
||||
# Disable bzlmod - XLA uses WORKSPACE for deps and bzlmod would try to
|
||||
# access the Bazel Central Registry during the build phase
|
||||
"--noenable_bzlmod"
|
||||
# Work around missing includes in bundled LLVM headers
|
||||
"--cxxopt=-include"
|
||||
"--cxxopt=cstdint"
|
||||
"--host_cxxopt=-include"
|
||||
"--host_cxxopt=cstdint"
|
||||
# Exclude mobile/iOS targets that have Bazel incompatibilities
|
||||
"--build_tag_filters=-mobile,-ios"
|
||||
];
|
||||
|
||||
removeRulesCC = false;
|
||||
# Keep most local_config_* repos (CUDA, ROCm, TensorRT stubs needed at load
|
||||
# time), but remove the ones containing machine-specific /nix/store paths
|
||||
# that make the fixed-output deps hash non-reproducible. See
|
||||
# `fetchAttrs.preInstall` below.
|
||||
removeLocal = false;
|
||||
|
||||
fetchAttrs = {
|
||||
sha256 = "sha256-OJfSqDlEC+yhWwwMwaD5HGvuHm8OWk+yQxmbH0/gZ88=";
|
||||
preInstall = ''
|
||||
rm -rf $bazelOut/external/{local_config_python,\@local_config_python.marker}
|
||||
rm -rf $bazelOut/external/{local_config_sh,\@local_config_sh.marker}
|
||||
rm -rf $bazelOut/external/{local_execution_config_python,\@local_execution_config_python.marker}
|
||||
rm -rf $bazelOut/external/{local_jdk,\@local_jdk.marker}
|
||||
'';
|
||||
};
|
||||
|
||||
buildAttrs = {
|
||||
outputs = [ "out" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/{bin,lib,include}
|
||||
''
|
||||
# Install built libraries
|
||||
+ ''
|
||||
find bazel-bin/xla -name "*.so*" -type f -exec cp {} $out/lib \;
|
||||
find bazel-bin/xla -name "*.a" -type f -exec cp {} $out/lib \;
|
||||
''
|
||||
# Install CLI tools
|
||||
+ ''
|
||||
cp bazel-bin/xla/tools/run_hlo_module $out/bin/
|
||||
''
|
||||
# Install headers
|
||||
+ ''
|
||||
find xla -name "*.h" -type f | while read header; do
|
||||
target="$out/include/$header"
|
||||
mkdir -p "$(dirname "$target")"
|
||||
cp "$header" "$target"
|
||||
done
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
};
|
||||
meta = {
|
||||
description = "Machine learning compiler for GPUs, CPUs, and ML accelerators";
|
||||
homepage = "https://github.com/openxla/xla";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ samuela ];
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = [
|
||||
# ERROR: /build/output/external/local_config_cc/BUILD: no such target
|
||||
# '@@local_config_cc//:cc-compiler-k8': target 'cc-compiler-k8' not declared in package ''
|
||||
# defined by /build/output/external/local_config_cc/BUILD
|
||||
"aarch64-linux"
|
||||
|
||||
# Bazel fails to build on darwin:
|
||||
# ERROR: no such package '@@bazel_tools~xcode_configure_extension~local_config_xcode//':
|
||||
# BUILD file not found in directory '' of external repository @@bazel_tools~xcode_configure_extension~local_config_xcode.
|
||||
# Add a BUILD file to a directory to mark it as a package.
|
||||
lib.systems.inspect.patterns.isDarwin
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -14,19 +14,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioimmich";
|
||||
version = "0.11.1";
|
||||
version = "0.12.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mib1185";
|
||||
repo = "aioimmich";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-f/zTgaLqR0WRhi7ea2djfHbI3/qz2p5lArsKNLz/Y1s=";
|
||||
hash = "sha256-ieGjdccvk97jWKP9bnE+KCkOocNJSWEOqCPxoXv5oOs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail setuptools==80.9.0 setuptools
|
||||
--replace-fail setuptools==80.10.2 setuptools
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
lib,
|
||||
async-timeout,
|
||||
buildPythonPackage,
|
||||
cython,
|
||||
dbus,
|
||||
@@ -16,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbus-fast";
|
||||
version = "3.1.2";
|
||||
version = "4.0.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "dbus-fast";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-WmVtJ/hTFTohsbxwXpBbOvDE8/pdPHX2rBurxtW+ct0=";
|
||||
hash = "sha256-XLtLRIbiB+4AKKq5ekEeBv92qmBPKEJihh0b3lHMnsg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -41,8 +40,6 @@ buildPythonPackage rec {
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [ async-timeout ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
dbus
|
||||
pytest
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "disposable-email-domains";
|
||||
version = "0.0.160";
|
||||
version = "0.0.162";
|
||||
pyproject = true;
|
||||
|
||||
# No tags on GitHub
|
||||
src = fetchPypi {
|
||||
pname = "disposable_email_domains";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-lSRgL6pg6qIdhMQ/xEhsAw4hBx0U69+dx13tclevgEI=";
|
||||
hash = "sha256-qgiH+yx9URguWMgeaTUI12RkRpmv2e4ZSl0UUoPyyrg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "onedrive-personal-sdk";
|
||||
version = "0.1.1";
|
||||
version = "0.1.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zweckj";
|
||||
repo = "onedrive-personal-sdk";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-wWFqK3JlwZRQ8l36AWR/QQccn3lEayylOs1CYuuCRro=";
|
||||
hash = "sha256-EiIDxgfYqumHdLskF1LJGelQ2omXbuHZ/+qyVy1SZZU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
let
|
||||
version = "0.5.8";
|
||||
version = "0.5.9";
|
||||
in
|
||||
buildPythonPackage {
|
||||
pname = "pdf2docx";
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage {
|
||||
owner = "ArtifexSoftware";
|
||||
repo = "pdf2docx";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-tMITDm2NkxWS+H/hhd2LlaPbyuI86ZKaALqqHJqb8V0=";
|
||||
hash = "sha256-yfxBWQ8r0mCZkk7Gtbeub5x9HBpNWXv6kW1D678hN4g=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pysmartthings";
|
||||
version = "3.5.1";
|
||||
version = "3.5.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "andrewsayre";
|
||||
repo = "pysmartthings";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-tBBmY6p0mvV/w2jJCxZq8cFjZqdWioYKljvbU/rR/fo=";
|
||||
hash = "sha256-qa+GktG49wpY5vlxEwe0GYZXz1blqok6nKHY6HjoRaQ=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytouchlinesl";
|
||||
version = "0.5.0";
|
||||
version = "0.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jnsgruk";
|
||||
repo = "pytouchlinesl";
|
||||
tag = version;
|
||||
hash = "sha256-R5XgH8A9P5KcjQL/f+E189A+iRVUIbWsmyRrnfV43v4=";
|
||||
hash = "sha256-o9/K+0ADbU9qTtjLCGM2+aBQsQDP22qdwsgimo9oKns=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha-quirks";
|
||||
version = "0.0.156";
|
||||
version = "0.0.157";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zha-device-handlers";
|
||||
tag = version;
|
||||
hash = "sha256-vVA8FmNLzatfClRTvb9pZm5SQxgSQh+iAllOl+OIo6Q=";
|
||||
hash = "sha256-3rUYF4FSEeccvoTDdOVIX3G9QwwB8D4TSnUHL2vP6/A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha";
|
||||
version = "0.0.89";
|
||||
version = "0.0.90";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zha";
|
||||
tag = version;
|
||||
hash = "sha256-mtlf8Uh2C9s5ie6aWWbRuNvmS0QbzqpCMeSf/WTW0Zw=";
|
||||
hash = "sha256-w5pWVkFDxnVzH5BX7VpfjStv1BabGTWE0aFysReWNqA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -26,14 +26,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy";
|
||||
version = "0.91.5";
|
||||
version = "0.92.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy";
|
||||
tag = version;
|
||||
hash = "sha256-nBinPaZfW04AFqtuHZ0FnIT3GS0Y5MgqSL09u1o1iCo=";
|
||||
hash = "sha256-6rbjv91mkTSEAKndDy/2a8bGpzw/5g57FEZvZdt9ARI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2026.2.1";
|
||||
version = "2026.2.2";
|
||||
components = {
|
||||
"3_day_blinds" =
|
||||
ps: with ps; [
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
@@ -16,6 +17,10 @@ buildHomeAssistantComponent rec {
|
||||
hash = "sha256-yAJbvfIH5ewRTip8whbOKxE479qAihESaiLFTnhpRkY=";
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex=^v([0-9]+\\.[0-9]+\\.[0-9]+)$" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/homeassistant-ai/ha-mcp/releases/tag/v${version}";
|
||||
description = "Home Assistant custom component for the MCP (Model Context Protocol) server";
|
||||
|
||||
@@ -265,7 +265,7 @@ let
|
||||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run update-component-packages.py after updating
|
||||
hassVersion = "2026.2.1";
|
||||
hassVersion = "2026.2.2";
|
||||
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
@@ -286,13 +286,13 @@ python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
tag = version;
|
||||
hash = "sha256-Hor050X0kBHQiZub0ioRFL4ulLUPJMR6CEh7kmFkbUA=";
|
||||
hash = "sha256-CMIoQ7po2PRnOoN+yDAjILB3sCx3o51YJWVJIZnt0eQ=";
|
||||
};
|
||||
|
||||
# Secondary source is pypi sdist for translations
|
||||
sdist = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-x8l9nVT+gsgrwUOz1B2X0JH+OuQjf279IrUKGgT7tNo=";
|
||||
hash = "sha256-QYpfN1vaB9kTbvJWp7Go/Hw7iR8A5j2lnIKcr7p9Ms4=";
|
||||
};
|
||||
|
||||
build-system = with python.pkgs; [
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-homeassistant-custom-component";
|
||||
version = "0.13.314";
|
||||
version = "0.13.315";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.13";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "MatthewFlamm";
|
||||
repo = "pytest-homeassistant-custom-component";
|
||||
tag = version;
|
||||
hash = "sha256-S7IAFz2wljnoaOTa0/oEY/sZredLPtycp2l6EyZihEE=";
|
||||
hash = "sha256-Ce+yUUgWqyY3ltcwwpkquD+EEiBmLmsZRcGqqDHZ+hI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homeassistant-stubs";
|
||||
version = "2026.2.1";
|
||||
version = "2026.2.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python.version != home-assistant.python.version;
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "KapJI";
|
||||
repo = "homeassistant-stubs";
|
||||
tag = version;
|
||||
hash = "sha256-0caa5sMel0qSKznDZTnpS9ZVhpdsIyWTXsJuEXX6i9E=";
|
||||
hash = "sha256-zTfYMzC4YM8QwRn49czSma12qWprXy2ecXivHjtz+YQ=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -46,6 +46,7 @@ PKG_PREFERENCES = {
|
||||
"numpy": "numpy",
|
||||
"ollama-hass": "ollama",
|
||||
"paho-mqtt": "paho-mqtt",
|
||||
"pyrate-limiter": "pyrate-limiter",
|
||||
"sentry-sdk": "sentry-sdk",
|
||||
"slackclient": "slack-sdk",
|
||||
"SQLAlchemy": "sqlalchemy",
|
||||
|
||||
Reference in New Issue
Block a user