Merge staging-next into staging
This commit is contained in:
@@ -1,108 +0,0 @@
|
||||
name: "Request: new package"
|
||||
description: "Create a package request for software that is not yet included in Nixpkgs."
|
||||
title: "Package request: PACKAGENAME"
|
||||
labels: ["0.kind: enhancement", "0.kind: packaging request", "9.needs: package (new)"]
|
||||
body:
|
||||
- type: "markdown"
|
||||
attributes:
|
||||
value: |
|
||||
<p align="center">
|
||||
<a href="https://nixos.org">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/NixOS/nixos-homepage/main/public/logo/nixos-hires.png">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/NixOS/nixos-artwork/master/logo/nixos-white.png">
|
||||
<img src="https://raw.githubusercontent.com/NixOS/nixos-homepage/main/public/logo/nixos-hires.png" width="400px" alt="NixOS logo">
|
||||
</picture>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Welcome to Nixpkgs. Please replace the **`Package request: PACKAGENAME`** template above with the correct package name (As seen in the [NixOS Package Search](https://search.nixos.org/packages)).
|
||||
|
||||
> [!TIP]
|
||||
> For instance, if you were filing a request against the missing `hello` package, your title would be as follows:
|
||||
> `Package request: hello`
|
||||
|
||||
---
|
||||
- type: "textarea"
|
||||
id: "description"
|
||||
attributes:
|
||||
label: "Describe the package"
|
||||
description: "Please include a clear and concise description of what the package is."
|
||||
validations:
|
||||
required: true
|
||||
- type: "input"
|
||||
id: "homepage"
|
||||
attributes:
|
||||
label: "Upstream homepage"
|
||||
description: "Please copy and paste a link to the package's homepage."
|
||||
validations:
|
||||
required: true
|
||||
- type: "input"
|
||||
id: "source"
|
||||
attributes:
|
||||
label: "Source URL"
|
||||
description: "Please copy and paste a link to the package's source code or binary download page."
|
||||
validations:
|
||||
required: true
|
||||
- type: "input"
|
||||
id: "license"
|
||||
attributes:
|
||||
label: "License"
|
||||
description: "Please indicate the package's license. If the package has no license, or the source code is not public, please indicate the package is `unfree`."
|
||||
validations:
|
||||
required: true
|
||||
- type: "dropdown"
|
||||
id: "platforms"
|
||||
attributes:
|
||||
label: "Platforms"
|
||||
description: "Please indicate the platforms this package compiles for. `darwin` refers to macOS. `Exotic` refers to uncommon platforms like RISC-V or 32-bit ARM; please mention in the 'Additional Context' section below if this package is supposed to compile for such exotic platforms."
|
||||
multiple: true
|
||||
options:
|
||||
- "x86_64-linux"
|
||||
- "aarch64-linux"
|
||||
- "x86_64-darwin"
|
||||
- "aarch64-darwin"
|
||||
- "Exotic"
|
||||
- type: "textarea"
|
||||
id: "additional-context"
|
||||
attributes:
|
||||
label: "Additional context"
|
||||
description: "Add any other context about the proposed module here."
|
||||
validations:
|
||||
required: false
|
||||
- type: "checkboxes"
|
||||
id: "sanity-check"
|
||||
attributes:
|
||||
label: "I assert that this issue is relevant for Nixpkgs"
|
||||
options:
|
||||
- label: "I assert that this package does not yet exist in an [open pull request](https://github.com/NixOS/nixpkgs/pulls?q=is%3Aopen+is%3Apr+label%3A%228.has%3A+package+%28new%29%22) or in [Nixpkgs Unstable](https://search.nixos.org/packages?channel=unstable)."
|
||||
required: true
|
||||
- label: "I assert that this is not a [duplicate of any known issue](https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+label%3A%220.kind%3A+packaging+request%22)."
|
||||
required: true
|
||||
- label: "I assert that I have read the [NixOS Code of Conduct](https://github.com/NixOS/.github/blob/master/CODE_OF_CONDUCT.md) and agree to abide by it."
|
||||
required: true
|
||||
- type: "markdown"
|
||||
attributes:
|
||||
value: |
|
||||
# Thank you for helping improve Nixpkgs!
|
||||
|
||||
---
|
||||
- type: "textarea"
|
||||
id: "prioritisation"
|
||||
attributes:
|
||||
label: "For this package's maintainers:"
|
||||
description: |
|
||||
**Please do not modify this text area!**
|
||||
|
||||
This template helps Nixpkgs developers know which issues should be prioritised by allowing users to vote with a :+1: reaction and also reminds them to tag this issue in their pull requests.
|
||||
This is not a guarantee that highly-requested issues will be fixed first, but it helps us to figure out what's important to users. Please react on other users' issues if you find them important.
|
||||
value: |
|
||||
|
||||
Please tag this issue in your pull request description. (i.e. `Resolves #ISSUE`.)
|
||||
|
||||
---
|
||||
|
||||
Add a :+1: [reaction] to [issues you find important].
|
||||
|
||||
[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
|
||||
[issues you find important]: https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc
|
||||
@@ -85,7 +85,6 @@ in
|
||||
|
||||
# include some popular integrations, that absolutely shouldn't break
|
||||
knx = { };
|
||||
shelly = { };
|
||||
zha = { };
|
||||
|
||||
# set up a wake-on-lan switch to test capset capability required
|
||||
@@ -108,7 +107,7 @@ in
|
||||
|
||||
# https://www.home-assistant.io/integrations/logger/
|
||||
logger = {
|
||||
default = "info";
|
||||
default = "debug";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@
|
||||
|
||||
let
|
||||
pname = "autobrr";
|
||||
version = "1.59.0";
|
||||
version = "1.60.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "autobrr";
|
||||
repo = "autobrr";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-etVhOgE8H8bWuraBepwDSZZzo9Xl819w2sT+UwpUVjM=";
|
||||
hash = "sha256-HaNaVxOtlzquKvWmUzUELtv0ZQZ+C/G5ni9/QbOlAh4=";
|
||||
};
|
||||
|
||||
autobrr-web = stdenvNoCC.mkDerivation {
|
||||
|
||||
@@ -38,12 +38,12 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "11.3.0";
|
||||
version = "11.3.1";
|
||||
pname = "geant4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cern.ch/geant4-data/releases/geant4-v${version}.tar.gz";
|
||||
hash = "sha256-HaQxiz+W+H9NR1WKMtqyabjz/JVnCAOMKOcqGAsO+6Y=";
|
||||
hash = "sha256-yTyplvbzWqQ/lI/8q6lgNGjfAd7rYvYcM7p2kifDGf4=";
|
||||
};
|
||||
|
||||
# Fix broken paths in a .pc
|
||||
|
||||
@@ -1,23 +1,24 @@
|
||||
{
|
||||
lib,
|
||||
newScope,
|
||||
stdenv,
|
||||
fetchzip,
|
||||
gfortran,
|
||||
replaceVars,
|
||||
python3,
|
||||
python3Packages,
|
||||
blas,
|
||||
lapack,
|
||||
zlib, # propagated by p4est but required by petsc
|
||||
bash,
|
||||
pkg-config,
|
||||
gfortran,
|
||||
bison,
|
||||
mpi, # generic mpi dependency
|
||||
mpiCheckPhaseHook,
|
||||
bash,
|
||||
python3,
|
||||
python3Packages,
|
||||
|
||||
# Build options
|
||||
petsc-optimized ? true,
|
||||
petsc-scalar-type ? "real",
|
||||
petsc-precision ? "double",
|
||||
debug ? false,
|
||||
scalarType ? "real",
|
||||
precision ? "double",
|
||||
mpiSupport ? true,
|
||||
fortranSupport ? true,
|
||||
pythonSupport ? false, # petsc python binding
|
||||
withExamples ? false,
|
||||
withFullDeps ? false, # full External libraries support
|
||||
@@ -26,41 +27,88 @@
|
||||
# External libraries options
|
||||
withHdf5 ? withCommonDeps,
|
||||
withMetis ? withCommonDeps,
|
||||
withScalapack ? withFullDeps,
|
||||
withZlib ? (withP4est || withPtscotch),
|
||||
withScalapack ? withCommonDeps && mpiSupport,
|
||||
withParmetis ? withFullDeps, # parmetis is unfree
|
||||
withPtscotch ? withFullDeps,
|
||||
withMumps ? withFullDeps,
|
||||
withPtscotch ? withCommonDeps && mpiSupport,
|
||||
withMumps ? withCommonDeps,
|
||||
withP4est ? withFullDeps,
|
||||
withHypre ? withCommonDeps && mpiSupport,
|
||||
withFftw ? withCommonDeps,
|
||||
withSuperLu ? withCommonDeps,
|
||||
withSuitesparse ? withCommonDeps,
|
||||
|
||||
# External libraries
|
||||
hdf5-fortran-mpi,
|
||||
blas,
|
||||
lapack,
|
||||
hdf5,
|
||||
metis,
|
||||
parmetis,
|
||||
scotch,
|
||||
scalapack,
|
||||
mumps_par,
|
||||
pkg-config,
|
||||
mumps,
|
||||
p4est,
|
||||
zlib, # propagated by p4est but required by petsc
|
||||
hypre,
|
||||
fftw,
|
||||
superlu,
|
||||
suitesparse,
|
||||
|
||||
# Used in passthru.tests
|
||||
petsc,
|
||||
}:
|
||||
assert withFullDeps -> withCommonDeps;
|
||||
|
||||
# This version of PETSc does not support a non-MPI p4est build
|
||||
assert withP4est -> (p4est.mpiSupport && mpiSupport);
|
||||
assert withP4est -> (mpiSupport && withZlib);
|
||||
|
||||
# Package parmetis depend on metis and mpi support
|
||||
assert withParmetis -> (withMetis && mpiSupport);
|
||||
|
||||
assert withPtscotch -> mpiSupport;
|
||||
assert withPtscotch -> (mpiSupport && withZlib);
|
||||
assert withScalapack -> mpiSupport;
|
||||
assert withMumps -> withScalapack;
|
||||
assert (withMumps && mpiSupport) -> withScalapack;
|
||||
assert withHypre -> mpiSupport;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
petscPackages = lib.makeScope newScope (self: {
|
||||
inherit
|
||||
# global override options
|
||||
mpiSupport
|
||||
fortranSupport
|
||||
pythonSupport
|
||||
precision
|
||||
;
|
||||
enableMpi = self.mpiSupport;
|
||||
|
||||
petscPackages = self;
|
||||
# external libraries
|
||||
mpi = self.callPackage mpi.override { };
|
||||
blas = self.callPackage blas.override { };
|
||||
lapack = self.callPackage lapack.override { };
|
||||
hdf5 = self.callPackage hdf5.override {
|
||||
fortran = gfortran;
|
||||
cppSupport = !mpiSupport;
|
||||
};
|
||||
metis = self.callPackage metis.override { };
|
||||
parmetis = self.callPackage parmetis.override { };
|
||||
scotch = self.callPackage scotch.override { };
|
||||
scalapack = self.callPackage scalapack.override { };
|
||||
mumps = self.callPackage mumps.override { };
|
||||
p4est = self.callPackage p4est.override { };
|
||||
hypre = self.callPackage hypre.override { };
|
||||
fftw = self.callPackage fftw.override { };
|
||||
superlu = self.callPackage superlu.override { };
|
||||
suitesparse = self.callPackage suitesparse.override { };
|
||||
});
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "petsc";
|
||||
version = "3.22.4";
|
||||
version = "3.23.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-${version}.tar.gz";
|
||||
hash = "sha256-8WV1ylXytkhiNa7YpWSOIpSvzLCCjdVVe5SiGfhicas=";
|
||||
url = "https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-OcI4iyDOR0YTVV+JoOhbfutoW00EmfapNaMnD/JJFsI=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
@@ -70,6 +118,7 @@ stdenv.mkDerivation rec {
|
||||
python3
|
||||
gfortran
|
||||
pkg-config
|
||||
bison
|
||||
]
|
||||
++ lib.optional mpiSupport mpi
|
||||
++ lib.optionals pythonSupport [
|
||||
@@ -79,16 +128,21 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
blas
|
||||
lapack
|
||||
petscPackages.blas
|
||||
petscPackages.lapack
|
||||
]
|
||||
++ lib.optional withHdf5 hdf5-fortran-mpi
|
||||
++ lib.optional withP4est p4est
|
||||
++ lib.optional withMetis metis
|
||||
++ lib.optional withParmetis parmetis
|
||||
++ lib.optional withPtscotch scotch
|
||||
++ lib.optional withScalapack scalapack
|
||||
++ lib.optional withMumps mumps_par;
|
||||
++ lib.optional withZlib zlib
|
||||
++ lib.optional withHdf5 petscPackages.hdf5
|
||||
++ lib.optional withP4est petscPackages.p4est
|
||||
++ lib.optional withMetis petscPackages.metis
|
||||
++ lib.optional withParmetis petscPackages.parmetis
|
||||
++ lib.optional withPtscotch petscPackages.scotch
|
||||
++ lib.optional withScalapack petscPackages.scalapack
|
||||
++ lib.optional withMumps petscPackages.mumps
|
||||
++ lib.optional withHypre petscPackages.hypre
|
||||
++ lib.optional withSuperLu petscPackages.superlu
|
||||
++ lib.optional withFftw petscPackages.fftw
|
||||
++ lib.optional withSuitesparse petscPackages.suitesparse;
|
||||
|
||||
propagatedBuildInputs = lib.optional pythonSupport python3Packages.numpy;
|
||||
|
||||
@@ -109,57 +163,39 @@ stdenv.mkDerivation rec {
|
||||
[
|
||||
"--with-blas=1"
|
||||
"--with-lapack=1"
|
||||
"--with-scalar-type=${petsc-scalar-type}"
|
||||
"--with-precision=${petsc-precision}"
|
||||
"--with-scalar-type=${scalarType}"
|
||||
"--with-precision=${precision}"
|
||||
"--with-mpi=${if mpiSupport then "1" else "0"}"
|
||||
]
|
||||
++ lib.optional pythonSupport "--with-petsc4py=1"
|
||||
++ lib.optionals mpiSupport [
|
||||
"--CC=mpicc"
|
||||
"--with-cxx=mpicxx"
|
||||
"--with-fc=mpif90"
|
||||
]
|
||||
++ lib.optionals withMetis [
|
||||
"--with-metis=1"
|
||||
"--with-metis-dir=${metis}"
|
||||
]
|
||||
++ lib.optionals withParmetis [
|
||||
"--with-parmetis=1"
|
||||
"--with-parmetis-dir=${parmetis}"
|
||||
]
|
||||
++ lib.optionals withPtscotch [
|
||||
"--with-ptscotch=1"
|
||||
"--with-ptscotch-include=${lib.getDev scotch}/include"
|
||||
"--with-ptscotch-lib=[-L${lib.getLib scotch}/lib,-lptscotch,-lptesmumps,-lptscotchparmetisv3,-lptscotcherr,-lesmumps,-lscotch,-lscotcherr]"
|
||||
]
|
||||
++ lib.optionals withScalapack [
|
||||
"--with-scalapack=1"
|
||||
"--with-scalapack-dir=${scalapack}"
|
||||
]
|
||||
++ lib.optionals withMumps [
|
||||
"--with-mumps=1"
|
||||
"--with-mumps-dir=${mumps_par}"
|
||||
]
|
||||
++ lib.optionals withP4est [
|
||||
"--with-p4est=1"
|
||||
"--with-zlib-include=${lib.getDev zlib}/include"
|
||||
"--with-zlib-lib=[-L${lib.getLib zlib}/lib,-lz]"
|
||||
]
|
||||
++ lib.optionals withHdf5 [
|
||||
"--with-hdf5=1"
|
||||
"--with-hdf5-fortran-bindings=1"
|
||||
"--with-hdf5-include=${lib.getDev hdf5-fortran-mpi}/include"
|
||||
"--with-hdf5-lib=[-L${lib.getLib hdf5-fortran-mpi}/lib,-lhdf5]"
|
||||
]
|
||||
++ lib.optionals petsc-optimized [
|
||||
++ lib.optionals (!debug) [
|
||||
"--with-debugging=0"
|
||||
"COPTFLAGS=-O3"
|
||||
"FOPTFLAGS=-O3"
|
||||
"CXXOPTFLAGS=-O3"
|
||||
"CXXFLAGS=-O3"
|
||||
];
|
||||
]
|
||||
++ lib.optional (!fortranSupport) "--with-fortran-bindings=0"
|
||||
++ lib.optional pythonSupport "--with-petsc4py=1"
|
||||
++ lib.optional withMetis "--with-metis=1"
|
||||
++ lib.optional withParmetis "--with-parmetis=1"
|
||||
++ lib.optional withPtscotch "--with-ptscotch=1"
|
||||
++ lib.optional withScalapack "--with-scalapack=1"
|
||||
++ lib.optional withMumps "--with-mumps=1"
|
||||
++ lib.optional (withMumps && !mpiSupport) "--with-mumps-serial=1"
|
||||
++ lib.optional withP4est "--with-p4est=1"
|
||||
++ lib.optional withZlib "--with-zlib=1"
|
||||
++ lib.optional withHdf5 "--with-hdf5=1"
|
||||
++ lib.optional withHypre "--with-hypre=1"
|
||||
++ lib.optional withSuperLu "--with-superlu=1"
|
||||
++ lib.optional withFftw "--with-fftw=1"
|
||||
++ lib.optional withSuitesparse "--with-suitesparse=1";
|
||||
|
||||
hardeningDisable = lib.optionals (!petsc-optimized) [
|
||||
hardeningDisable = lib.optionals debug [
|
||||
"fortify"
|
||||
"fortify3"
|
||||
];
|
||||
@@ -198,19 +234,40 @@ stdenv.mkDerivation rec {
|
||||
pythonImportsCheck = [ "petsc4py" ];
|
||||
|
||||
passthru = {
|
||||
inherit mpiSupport pythonSupport;
|
||||
inherit
|
||||
mpiSupport
|
||||
pythonSupport
|
||||
fortranSupport
|
||||
;
|
||||
petscPackages = petscPackages.overrideScope (
|
||||
final: prev: {
|
||||
petsc = finalAttrs.finalPackage;
|
||||
}
|
||||
);
|
||||
tests =
|
||||
{
|
||||
serial = petsc.override {
|
||||
mpiSupport = false;
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs stdenv.hostPlatform.isLinux {
|
||||
fullDeps = petsc.override {
|
||||
withFullDeps = true;
|
||||
withParmetis = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Portable Extensible Toolkit for Scientific computation";
|
||||
homepage = "https://petsc.org/release/";
|
||||
license = licenses.bsd2;
|
||||
license = lib.licenses.bsd2;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with maintainers; [
|
||||
maintainers = with lib.maintainers; [
|
||||
cburstedde
|
||||
qbisi
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
sowing,
|
||||
python3,
|
||||
python3Packages,
|
||||
arpack-mpi,
|
||||
@@ -17,13 +16,13 @@ assert petsc.mpiSupport;
|
||||
assert pythonSupport -> petsc.pythonSupport;
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "slepc";
|
||||
version = "3.22.2";
|
||||
version = "3.23.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "slepc";
|
||||
repo = "slepc";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-a5DmsA7NAlhrEaS43TYPk7vtDfhXLEP+5sftu2A9Yt4=";
|
||||
hash = "sha256-Z9CVZQ/Ezb1S2EkTb9amAPxaN4tiUnKrbvQIc3BnVuU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -33,11 +32,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"slepc.prefixdir,'${python3.sitePackages}'"
|
||||
|
||||
patchShebangs lib/slepc/bin
|
||||
|
||||
# Use system bfort
|
||||
substituteInPlace config/packages/sowing.py \
|
||||
--replace-fail "bfort = os.path.join(archdir,'bin','bfort')" \
|
||||
"bfort = '${sowing}/bin/bfort'"
|
||||
'';
|
||||
|
||||
# Usually this project is being built as part of a `petsc` build or as part of
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiocomelit";
|
||||
version = "0.11.1";
|
||||
version = "0.11.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "chemelli74";
|
||||
repo = "aiocomelit";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-1iXfqLxZVrw9A3W7K34pPolbwdrFPSj0zXTJT7mgpYs=";
|
||||
hash = "sha256-Hl5yUEtBFfx+p2WQssI7M+TgEiO5VvgIdWoFZMCjCUY=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioesphomeapi";
|
||||
version = "29.4.0";
|
||||
version = "29.8.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -35,7 +35,7 @@ buildPythonPackage rec {
|
||||
owner = "esphome";
|
||||
repo = "aioesphomeapi";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-KBQYLaE2J/5/VYquajknF3gCJEwRENjgkxiZahqnRZA=";
|
||||
hash = "sha256-hX0OOgLnaZOreBfb8ptNkNLzUn+S38/84DfJD423RAM=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bellows";
|
||||
version = "0.43.0";
|
||||
version = "0.44.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "bellows";
|
||||
tag = version;
|
||||
hash = "sha256-RbhFvoNYR4wHKKbbMKLP4Dsx0pIJnwBOP49waRHg0qk=";
|
||||
hash = "sha256-9CuZGorTqay09ZHrUDoorYew8vvDV6pyxMuik7/QKJ4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -19,14 +19,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bleak-esphome";
|
||||
version = "2.11.0";
|
||||
version = "2.12.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bluetooth-devices";
|
||||
repo = "bleak-esphome";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-5APHpb2h//krpgVJs6pOPLapGZFzbFKNjFxDqpNyApQ=";
|
||||
hash = "sha256-dR4KuaJWrWTVDWY11E/MRF12jCvOlC8c2flDOnkPjxw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bluetooth-auto-recovery";
|
||||
version = "1.4.4";
|
||||
version = "1.4.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "bluetooth-auto-recovery";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Sm3VLgWttMVXH+s1m1ab8kE6dHPit0GY4FVAld5Yg88=";
|
||||
hash = "sha256-yh0Gf8veT5VCk05Y7QyxoCz0NHnVRj8HJLTbnvi+9C8=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dbus-fast";
|
||||
version = "2.33.0";
|
||||
version = "2.44.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "dbus-fast";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-U6NAEhoEcphAuvaAA2en4Ka4yFHiKPINl5CvtxE7FaI=";
|
||||
hash = "sha256-r9F/3H/Bagi9QJHZDEsa80dglVE9vS1f9Cqt7CZWn8Y=";
|
||||
};
|
||||
|
||||
# The project can build both an optimized cython version and an unoptimized
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fyta-cli";
|
||||
version = "0.7.0";
|
||||
version = "0.7.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "dontinelli";
|
||||
repo = "fyta_cli";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-OgpQh7WyZynFd308TjIGkQNoy8TFu9gynbDiLueqB/0=";
|
||||
hash = "sha256-YYH15ZuRZirSFC7No1goY/afk2BGtCCykcZAnCDdq7U=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gios";
|
||||
version = "5.0.0";
|
||||
version = "6.0.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "bieniu";
|
||||
repo = "gios";
|
||||
tag = version;
|
||||
hash = "sha256-J+LCu7wMuc3dYghvkKq58GcBAa76X5IPUWe7qCQwjjI=";
|
||||
hash = "sha256-SCVyEHxTV+6+3mLh8HEutRXHV2Xt0JzOrNnIKtIcFXw=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ha-silabs-firmware-client";
|
||||
version = "0.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "ha-silabs-firmware-client";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Kip9JL9tuF7OI22elN0w2Z7Xjdaayboo8LThp4FAets=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail ', "setuptools-git-versioning<3"' "" \
|
||||
--replace-fail 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
yarl
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "ha_silabs_firmware_client" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aioresponses
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/home-assistant-libs/ha-silabs-firmware-client/releases/tag/${src.tag}";
|
||||
description = "Home Assistant client for firmwares released with silabs-firmware-builder";
|
||||
homepage = "https://github.com/home-assistant-libs/ha-silabs-firmware-client";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "habluetooth";
|
||||
version = "3.25.0";
|
||||
version = "3.38.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "habluetooth";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-+3AcxRkTU61MuUGL+dc6ETn3poDatHGr6hWN9b+cVc8=";
|
||||
hash = "sha256-eqsWm5g/D94NgoBbfh3uudcUOs4aekg4nHw2fODtTOA=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -23,16 +23,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hass-nabucasa";
|
||||
version = "0.92.0";
|
||||
version = "0.95.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
disabled = pythonOlder "3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nabucasa";
|
||||
repo = "hass-nabucasa";
|
||||
tag = version;
|
||||
hash = "sha256-OwU3HxUj8M3/3Xv+9WPNbV8sVVR8S9u9U3mSK/P+4o8=";
|
||||
hash = "sha256-KSGEgMgZ0fHot7hfT0sDl/4aZOsWT8CE+R5ebCqhLAA=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [ "acme" ];
|
||||
|
||||
@@ -3,24 +3,25 @@
|
||||
astral,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hypothesis,
|
||||
num2words,
|
||||
pdm-backend,
|
||||
pytest-timeout,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hdate";
|
||||
version = "0.11.1";
|
||||
version = "1.0.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "py-libhdate";
|
||||
repo = "py-libhdate";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Il20aKOPQi4J4hWQEMEQOnLdBSHCOu214YE6pxeYbfI=";
|
||||
hash = "sha256-J2ZbfzQdQSlnwcygwapDKkvZIx2VrlaaRe244V8Zt5c=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@@ -32,11 +33,20 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
astral
|
||||
pytz
|
||||
num2words
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
optional-dependencies = {
|
||||
astral = [ astral ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytest-timeout
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests" ];
|
||||
|
||||
@@ -45,7 +55,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module for Jewish/Hebrew date and Zmanim";
|
||||
homepage = "https://github.com/py-libhdate/py-libhdate";
|
||||
changelog = "https://github.com/py-libhdate/py-libhdate/releases/tag/v${version}";
|
||||
changelog = "https://github.com/py-libhdate/py-libhdate/blob/${src.tag}/CHANGELOG.md";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
python-dateutil,
|
||||
python-magic,
|
||||
requests,
|
||||
six,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
pytest-vcr,
|
||||
requests-mock,
|
||||
@@ -19,29 +19,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mastodon-py";
|
||||
version = "1.8.1";
|
||||
version = "2.0.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "halcy";
|
||||
repo = "Mastodon.py";
|
||||
tag = version;
|
||||
hash = "sha256-r0AAUjd2MBfZANEpyztMNyaQTlGWvWoUVjJNO1eL218=";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Sqvn7IIzkGnIjMGek1QS4pLXI+LoKykJsVnr/X1QH7U=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/addopts/d' setup.cfg
|
||||
'';
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
blurhash
|
||||
decorator
|
||||
python-dateutil
|
||||
python-magic
|
||||
requests
|
||||
six
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
@@ -54,10 +49,10 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
pytest-vcr
|
||||
requests-mock
|
||||
setuptools
|
||||
] ++ lib.flatten (builtins.attrValues optional-dependencies);
|
||||
|
||||
disabledTests = [
|
||||
@@ -70,7 +65,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "mastodon" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/halcy/Mastodon.py/blob/${src.rev}/CHANGELOG.rst";
|
||||
changelog = "https://github.com/halcy/Mastodon.py/blob/${src.tag}/CHANGELOG.rst";
|
||||
description = "Python wrapper for the Mastodon API";
|
||||
homepage = "https://github.com/halcy/Mastodon.py";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -8,35 +8,27 @@
|
||||
pytz,
|
||||
requests,
|
||||
requests-mock,
|
||||
typing-extensions,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "meteofrance-api";
|
||||
version = "1.3.0";
|
||||
version = "1.4.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hacf-fr";
|
||||
repo = "meteofrance-api";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-uSrVK6LwCDyvsjzGl4xQd8585Hl6sp2Ua9ly0wqnC1Y=";
|
||||
hash = "sha256-5zqmzPbzC9IUZ+y1FRh+u1gds/ZdGeRm5/ajQf8UKTQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
pythonRelaxDeps = [ "urllib3" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
pytz
|
||||
requests
|
||||
typing-extensions
|
||||
urllib3
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
@@ -64,10 +56,10 @@ buildPythonPackage rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to access information from the Meteo-France API";
|
||||
mainProgram = "meteofrance-api";
|
||||
homepage = "https://github.com/hacf-fr/meteofrance-api";
|
||||
changelog = "https://github.com/hacf-fr/meteofrance-api/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "meteofrance-api";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@@ -17,16 +18,27 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "msmart-ng";
|
||||
version = "2025.3.1";
|
||||
version = "2025.3.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mill1000";
|
||||
repo = "midea-msmart";
|
||||
tag = version;
|
||||
hash = "sha256-hTYqRJn/ixseHHezfTOG0UzdQmnpn4hACijYOMtwtT8=";
|
||||
hash = "sha256-M8Gl6QXj0tRN7VFDhop47vINk8MeWSyCJ9bboo3j8Go=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
# Revert <https://github.com/mill1000/midea-msmart/pull/209> until setuptools
|
||||
# implements support for <https://peps.python.org/pep-0639/>.
|
||||
name = "revert-pyproject-license-declaration-pep639-syntax.patch";
|
||||
url = "https://github.com/mill1000/midea-msmart/commit/e5d6a982135e497c251095e421d3de4686f36056.patch?full_index=1";
|
||||
hash = "sha256-+mxmFGZd04MZY2C5eo4k1lFoXsM8XyeJNazShnjAseE=";
|
||||
revert = true;
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
|
||||
@@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "music-assistant-client";
|
||||
version = "1.1.1";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "music-assistant";
|
||||
repo = "client";
|
||||
tag = version;
|
||||
hash = "sha256-KAvNPG3gMJK/iWqen35UCmSccjOkvfrmMvx4YkrOPy8=";
|
||||
hash = "sha256-i3VIRK3RUgbF5KX3U7i4WwjbLaRvg88zUH5Ly8BKEB0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "music-assistant-models";
|
||||
version = "1.1.30"; # Must be compatible with music-assistant-client package
|
||||
version = "1.1.43"; # Must be compatible with music-assistant-client package
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "music-assistant";
|
||||
repo = "models";
|
||||
tag = version;
|
||||
hash = "sha256-ZLTRHarjVFAk+tYPkgLm192rE+C82vNzqs8PmJhGSeg=";
|
||||
hash = "sha256-0SBNxpiBAKlAQe7eJTp+BwGNY52OTt37TksKrp9nfz4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nettigo-air-monitor";
|
||||
version = "4.0.0";
|
||||
version = "4.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "bieniu";
|
||||
repo = "nettigo-air-monitor";
|
||||
tag = version;
|
||||
hash = "sha256-aYlnaFim4ezZ/nOAf1m6iIfE4NGswtEmPsslfrTd5tI=";
|
||||
hash = "sha256-tGadB2v3UIgX/v3Cvx95bEOpoOtQXGizk24FelKpidc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isPy27,
|
||||
setuptools,
|
||||
requests,
|
||||
six,
|
||||
pytestCheckHook,
|
||||
@@ -13,16 +13,17 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pushover-complete";
|
||||
version = "1.2.0";
|
||||
format = "setuptools";
|
||||
disabled = isPy27;
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pushover_complete";
|
||||
inherit version;
|
||||
sha256 = "sha256-v0+JgShJMEdVXJ1xZD4UCKZzgV+uOuOstPn3nWtHDJw=";
|
||||
hash = "sha256-v0+JgShJMEdVXJ1xZD4UCKZzgV+uOuOstPn3nWtHDJw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
six
|
||||
];
|
||||
|
||||
@@ -15,14 +15,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-linkplay";
|
||||
version = "0.2.1";
|
||||
version = "0.2.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Velleman";
|
||||
repo = "python-linkplay";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-R4swSS+aOAygGRUPoJhJSutx6JEaO+QS1IL6nWEBTnw=";
|
||||
hash = "sha256-K5MDpMza5z3CYuGymXusZ5WMmmN/6rVxegiiO8RtOTc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-roborock";
|
||||
version = "2.12.2";
|
||||
version = "2.16.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
owner = "humbertogontijo";
|
||||
repo = "python-roborock";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-QAv4R4Nnn+BcPp0ktf7riKt+ZvaZTF5KI9sjjtDH3SY=";
|
||||
hash = "sha256-zQlNBQm+dBmw+kydNlqJU1D0KKuywyuNCqm0/BslWi0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
responses,
|
||||
setuptools,
|
||||
@@ -13,16 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-tado";
|
||||
version = "0.18.6";
|
||||
version = "0.18.9";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wmalgadey";
|
||||
repo = "PyTado";
|
||||
tag = version;
|
||||
hash = "sha256-pDT159TY1PEG3TLoIaNy5VVpIklclgOvFy4W5HKy7uM=";
|
||||
hash = "sha256-zGz3ySD+7zkHY/+IS2Kfrp9Y64It+rrEF7ImwbZG7ks=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -50,7 +47,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "PyTado" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python binding for Tado web API. Pythonize your central heating!";
|
||||
description = "Python binding for Tado web API";
|
||||
homepage = "https://github.com/wmalgadey/PyTado";
|
||||
changelog = "https://github.com/wmalgadey/PyTado/releases/tag/${src.tag}";
|
||||
license = licenses.gpl3Plus;
|
||||
|
||||
@@ -3,19 +3,23 @@
|
||||
buildPythonPackage,
|
||||
aiodns,
|
||||
aiohttp,
|
||||
cryptography,
|
||||
defusedxml,
|
||||
emoji,
|
||||
fetchPypi,
|
||||
gnupg,
|
||||
pyasn1,
|
||||
pyasn1-modules,
|
||||
pytestCheckHook,
|
||||
replaceVars,
|
||||
rustPlatform,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "slixmpp";
|
||||
version = "1.10.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@@ -24,25 +28,47 @@ buildPythonPackage rec {
|
||||
hash = "sha256-RrxdAVB8tChcglXOXHF8C19o5U38HxcSiDmY1tciV4o=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiodns
|
||||
aiohttp
|
||||
pyasn1
|
||||
pyasn1-modules
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
patches = [
|
||||
(replaceVars ./hardcode-gnupg-path.patch {
|
||||
inherit gnupg;
|
||||
})
|
||||
];
|
||||
|
||||
build-system = with rustPlatform; [
|
||||
cargoSetupHook
|
||||
maturinBuildHook
|
||||
];
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit pname src;
|
||||
hash = "sha256-CeuClBYEG2YCm5lnxFs5RhjIgYEOe76rzHpauLZeQR0=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
aiodns
|
||||
pyasn1
|
||||
pyasn1-modules
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
xep-0363 = [ aiohttp ];
|
||||
xep-0444-compliance = [ emoji ];
|
||||
xep-0464 = [ cryptography ];
|
||||
safer-xml-parserig = [ defusedxml ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
preCheck = ''
|
||||
# don't test against pure python version in the source tree
|
||||
rm -rf slixmpp
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
# Exclude integration tests
|
||||
"itests/"
|
||||
# Exclude live tests
|
||||
"tests/live_test.py"
|
||||
"tests/test_xep_0454.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "slixmpp" ];
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
aiofiles,
|
||||
aiohttp,
|
||||
aiolimiter,
|
||||
bleak,
|
||||
bleak-retry-connector,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchFromGitHub,
|
||||
@@ -13,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tesla-fleet-api";
|
||||
version = "0.9.13";
|
||||
version = "1.0.17";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -22,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "Teslemetry";
|
||||
repo = "python-tesla-fleet-api";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-Q+nALf5SBDjh6s6d8lZhFVIkz0vGvzRD8OgXX6v8mJY=";
|
||||
hash = "sha256-3JLC+GXFNBy7xEPuk/ajVROp6IzZ7Jul+1VyOMB7t58=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -31,6 +33,8 @@ buildPythonPackage rec {
|
||||
aiofiles
|
||||
aiohttp
|
||||
aiolimiter
|
||||
bleak
|
||||
bleak-retry-connector
|
||||
cryptography
|
||||
protobuf
|
||||
];
|
||||
@@ -43,7 +47,6 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python library for Tesla Fleet API and Teslemetry";
|
||||
homepage = "https://github.com/Teslemetry/python-tesla-fleet-api";
|
||||
changelog = "https://github.com/Teslemetry/python-tesla-fleet-api/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha-quirks";
|
||||
version = "0.0.134";
|
||||
version = "0.0.136";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zha-device-handlers";
|
||||
tag = version;
|
||||
hash = "sha256-9h9Fsn15/1fZIiZEyGPIzuyxmGs7L4PyEwH/K2cRSgU=";
|
||||
hash = "sha256-WoLs8/IqKt0rxALmObim+NnaTRq/VAecrkrbirktm+A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha";
|
||||
version = "0.0.53";
|
||||
version = "0.0.55";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zha";
|
||||
tag = version;
|
||||
hash = "sha256-EszxMIdZKmw1q9WNyeTSMaGU9or/6oBe7VGOzXMkUzg=";
|
||||
hash = "sha256-LiHJk7xVdIqNl6BTfwlch3jqQm/MvbrKSExhOR5KD0c=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-znp";
|
||||
version = "0.13.1";
|
||||
version = "0.14.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
tag = "v${version}";
|
||||
hash = "sha256-6ApwGB6VvG+XiE8U85gg/EWnYniMb+1fqmNwtHGcf/I=";
|
||||
hash = "sha256-vYB04vEFqpqrjJMS73mtYXakp7lEIJjB+tT0SF9hpWM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy";
|
||||
version = "0.77.1";
|
||||
version = "0.78.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy";
|
||||
tag = version;
|
||||
hash = "sha256-gvgGRTZc+JT0seeDyiu59Bxxp7J/gGIO0rCCtTeS9t4=";
|
||||
hash = "sha256-7ckpg1ukuASWtTdQn/P0KfXaMo5l2NyB9alCXeTarEU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -12,16 +12,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zwave-js-server-python";
|
||||
version = "0.61.0";
|
||||
version = "0.62.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
disabled = pythonOlder "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "zwave-js-server-python";
|
||||
tag = version;
|
||||
hash = "sha256-bIo+Kggk8vQHtdey36WunhTR3x8nfySVaJOyZDzKXRk=";
|
||||
hash = "sha256-V/YydWNSjZVvHeeDNMUTEtMQL6/oJvyXtTG/akELjEs=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2025.3.4";
|
||||
version = "2025.4.0";
|
||||
components = {
|
||||
"3_day_blinds" =
|
||||
ps: with ps; [
|
||||
@@ -682,6 +682,10 @@
|
||||
ps: with ps; [
|
||||
bond-async
|
||||
];
|
||||
"bosch_alarm" =
|
||||
ps: with ps; [
|
||||
bosch-alarm-mode2
|
||||
];
|
||||
"bosch_shc" =
|
||||
ps: with ps; [
|
||||
boschshcpy
|
||||
@@ -1802,6 +1806,9 @@
|
||||
"foursquare" =
|
||||
ps: with ps; [
|
||||
];
|
||||
"frankever" =
|
||||
ps: with ps; [
|
||||
];
|
||||
"free_mobile" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: freesms
|
||||
@@ -2265,18 +2272,21 @@
|
||||
"homeassistant_green" =
|
||||
ps: with ps; [
|
||||
aiohasupervisor
|
||||
ha-silabs-firmware-client
|
||||
psutil-home-assistant
|
||||
universal-silabs-flasher
|
||||
];
|
||||
"homeassistant_hardware" =
|
||||
ps: with ps; [
|
||||
aiohasupervisor
|
||||
ha-silabs-firmware-client
|
||||
universal-silabs-flasher
|
||||
];
|
||||
"homeassistant_sky_connect" =
|
||||
ps: with ps; [
|
||||
aiohasupervisor
|
||||
aiousbwatcher
|
||||
ha-silabs-firmware-client
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
universal-silabs-flasher
|
||||
@@ -2284,6 +2294,7 @@
|
||||
"homeassistant_yellow" =
|
||||
ps: with ps; [
|
||||
aiohasupervisor
|
||||
ha-silabs-firmware-client
|
||||
psutil-home-assistant
|
||||
universal-silabs-flasher
|
||||
];
|
||||
@@ -2769,9 +2780,12 @@
|
||||
jellyfin-apiclient-python
|
||||
];
|
||||
"jewish_calendar" =
|
||||
ps: with ps; [
|
||||
ps:
|
||||
with ps;
|
||||
[
|
||||
hdate
|
||||
];
|
||||
]
|
||||
++ hdate.optional-dependencies.astral;
|
||||
"joaoapps_join" =
|
||||
ps: with ps; [
|
||||
]; # missing inputs: python-join-api
|
||||
@@ -3136,6 +3150,9 @@
|
||||
ps: with ps; [
|
||||
linear-garage-door
|
||||
];
|
||||
"linkedgo" =
|
||||
ps: with ps; [
|
||||
];
|
||||
"linkplay" =
|
||||
ps: with ps; [
|
||||
python-linkplay
|
||||
@@ -3941,6 +3958,9 @@
|
||||
ps: with ps; [
|
||||
oemthermostat
|
||||
];
|
||||
"ogemray" =
|
||||
ps: with ps; [
|
||||
];
|
||||
"ohmconnect" =
|
||||
ps: with ps; [
|
||||
defusedxml
|
||||
@@ -4118,6 +4138,7 @@
|
||||
ps: with ps; [
|
||||
aiohasupervisor
|
||||
aiousbwatcher
|
||||
ha-silabs-firmware-client
|
||||
ifaddr
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
@@ -4411,6 +4432,10 @@
|
||||
"psoklahoma" =
|
||||
ps: with ps; [
|
||||
];
|
||||
"pterodactyl" =
|
||||
ps: with ps; [
|
||||
py-dactyl
|
||||
];
|
||||
"pulseaudio_loopback" =
|
||||
ps: with ps; [
|
||||
pulsectl
|
||||
@@ -4672,6 +4697,10 @@
|
||||
"remote" =
|
||||
ps: with ps; [
|
||||
];
|
||||
"remote_calendar" =
|
||||
ps: with ps; [
|
||||
ical
|
||||
];
|
||||
"remote_rpi_gpio" =
|
||||
ps: with ps; [
|
||||
gpiozero
|
||||
@@ -5435,7 +5464,6 @@
|
||||
];
|
||||
"sunweg" =
|
||||
ps: with ps; [
|
||||
sunweg
|
||||
];
|
||||
"supervisord" =
|
||||
ps: with ps; [
|
||||
@@ -6505,8 +6533,7 @@
|
||||
];
|
||||
"zengge" =
|
||||
ps: with ps; [
|
||||
bluepy
|
||||
]; # missing inputs: zengge
|
||||
];
|
||||
"zeroconf" =
|
||||
ps: with ps; [
|
||||
ifaddr
|
||||
@@ -6528,6 +6555,7 @@
|
||||
ps: with ps; [
|
||||
aiohasupervisor
|
||||
aiousbwatcher
|
||||
ha-silabs-firmware-client
|
||||
pillow
|
||||
pyserial
|
||||
universal-silabs-flasher
|
||||
@@ -6659,6 +6687,7 @@
|
||||
"bluetooth_le_tracker"
|
||||
"bmw_connected_drive"
|
||||
"bond"
|
||||
"bosch_alarm"
|
||||
"bosch_shc"
|
||||
"braviatv"
|
||||
"bring"
|
||||
@@ -7178,6 +7207,7 @@
|
||||
"prosegur"
|
||||
"proximity"
|
||||
"prusalink"
|
||||
"pterodactyl"
|
||||
"pure_energie"
|
||||
"purpleair"
|
||||
"push"
|
||||
@@ -7213,6 +7243,7 @@
|
||||
"reddit"
|
||||
"refoss"
|
||||
"remote"
|
||||
"remote_calendar"
|
||||
"renault"
|
||||
"renson"
|
||||
"reolink"
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "magico13";
|
||||
domain = "emporia_vue";
|
||||
version = "0.10.1";
|
||||
version = "0.10.2-pre";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "magico13";
|
||||
repo = "ha-emporia-vue";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-OfJvln80ek/+4PURk23REhIyUckAEZ+Ybb5rZyKs6h4=";
|
||||
hash = "sha256-mXzgd0dFwnwFCG0+9825uOrYhv2SNuLAOO1Unq6Kw/w=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "mill1000";
|
||||
domain = "midea_ac";
|
||||
version = "2025.3.0";
|
||||
version = "2025.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mill1000";
|
||||
repo = "midea-ac-py";
|
||||
tag = version;
|
||||
hash = "sha256-UJS9z+t+Tb/w7yRHKXJ6HoQ4uS1guM8PYl0OcLz4EJM=";
|
||||
hash = "sha256-oO+t0my72PwWWUAzr8blA3Q8uJyICZNcfoOHsLFL3MQ=";
|
||||
};
|
||||
|
||||
dependencies = [ msmart-ng ];
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "hbrennhaeuser";
|
||||
domain = "ntfy";
|
||||
version = "1.2.0-pre.1";
|
||||
version = "1.2.0-pre.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = "homeassistant_integration_ntfy";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cdqO8fwaEZzAEa7aVjV00OQYnmx0vJZqz7Nd9+MUHN8=";
|
||||
hash = "sha256-ydWZ4ApYQ9kyMA5A2OGXG323/7H3fa2XPiOAFBZNM30=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "wills106";
|
||||
domain = "solax_modbus";
|
||||
version = "2025.02.1";
|
||||
version = "2025.04.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wills106";
|
||||
repo = "homeassistant-solax-modbus";
|
||||
tag = version;
|
||||
hash = "sha256-xOW/jjBXw6N00yo1jE8ibU5XJ9drabBypVAL9UmNMVM=";
|
||||
hash = "sha256-kX8poctK1Q7QZnpvkOisQ47jNzXJJ2nlB1fa+Pv4AFs=";
|
||||
};
|
||||
|
||||
dependencies = [ pymodbus ];
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "hultenvp";
|
||||
domain = "solis";
|
||||
version = "3.9.0";
|
||||
version = "3.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hultenvp";
|
||||
repo = "solis-sensor";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-RgsKIav3ozWYO9CXzvhMVmvOW74L/AHGOW8OWOMFBcQ=";
|
||||
hash = "sha256-hiCgro2BDi1ZXxZu9E+m0wdHN0qnjlUvgv4pPmSb9j4=";
|
||||
};
|
||||
|
||||
dependencies = [ aiofiles ];
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "make-all";
|
||||
domain = "tuya_local";
|
||||
version = "2025.2.2";
|
||||
version = "2025.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner;
|
||||
repo = "tuya-local";
|
||||
tag = version;
|
||||
hash = "sha256-RwPbFIDXSXFzR2sck1EUvQL+1o8Ppb5clsIAHhYxX5o=";
|
||||
hash = "sha256-CkH2Njv9qdGlnEo3RP64Lz4ys62W6DxYC/TSl/lndPI=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "cdnninja";
|
||||
domain = "yoto";
|
||||
version = "1.23.2";
|
||||
version = "1.24.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cdnninja";
|
||||
repo = "yoto_ha";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-RErsZGSoBhBGg852znZq6W8oDZmDDoPTZihUBhWCO5w=";
|
||||
hash = "sha256-vlUPVKG6PAkQbROd/Pn5gf48/QWl2GAs3xGCnwX0ENU=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
|
||||
@@ -9,18 +9,18 @@
|
||||
}:
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "clock-weather-card";
|
||||
version = "2.8.10";
|
||||
version = "2.8.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pkissling";
|
||||
repo = "clock-weather-card";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ZmqtvA6kRkqkoRCBerLZXqRB1wwTF0jrc+KfigaE7Pw=";
|
||||
hash = "sha256-CZ4tv6U94HbOJ0JwLgd8Fgw2BS6ayGVhqWBK9mJ6JEk=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = src + "/yarn.lock";
|
||||
hash = "sha256-Z9UZHsmaRjaf7fIDYhNmlLU2T1l1hlFKvyEahPK3Y3E=";
|
||||
hash = "sha256-L/piPdtHFQORD3dnKG/2gnMQ2y3EXdlGMyl8yS0s7KA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -6,16 +6,16 @@
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "mini-graph-card";
|
||||
version = "0.12.1";
|
||||
version = "0.13.0-dev.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kalkih";
|
||||
repo = "mini-graph-card";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-cDgfAfS4U3ihN808KPcG+jEQR+S2Q1M5SPqOkkYwYkI=";
|
||||
hash = "sha256-JpteGI9oR2twCTvEQ8xtb55EGQw//9EVuELh4BG0BE0=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-v+DqUAMNtDruR8E0sy7uAu3jndZUHkOw2xKtpY163R8=";
|
||||
npmDepsHash = "sha256-Mg58i0L1e1YwBd81WwVgB56P7EYaq3FnMysIrgu0+qQ=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
@@ -129,12 +129,12 @@ let
|
||||
});
|
||||
|
||||
google-genai = super.google-genai.overridePythonAttrs (old: rec {
|
||||
version = "1.1.0";
|
||||
version = "1.7.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "googleapis";
|
||||
repo = "python-genai";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-CszKr2dvo0dLMAD/FZHSosCczeAFDD0xxKysGNv4RxM=";
|
||||
hash = "sha256-vmrFPE7H9s9varrP0s6WK4opoU1hREH7rVVjrKiXY5E=";
|
||||
};
|
||||
});
|
||||
|
||||
@@ -283,28 +283,6 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
pyopenweathermap = super.pyopenweathermap.overridePythonAttrs (old: rec {
|
||||
version = "0.2.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "freekode";
|
||||
repo = "pyopenweathermap";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-UcnELAJf0Ltf0xJOlyzsHb4HQGSBTJ+/mOZ/XSTkA0w=";
|
||||
};
|
||||
});
|
||||
|
||||
pyrail = super.pyrail.overridePythonAttrs (rec {
|
||||
version = "0.0.3";
|
||||
src = fetchPypi {
|
||||
pname = "pyrail";
|
||||
inherit version;
|
||||
hash = "sha256-XxcVcRXMjYAKevANAqNJkGDUWfxDaLqgCL6XL9Lhsf4=";
|
||||
};
|
||||
env.CI_JOB_ID = version;
|
||||
build-system = [ self.setuptools ];
|
||||
dependencies = [ self.requests ];
|
||||
});
|
||||
|
||||
# snmp component does not support pysnmp 7.0+
|
||||
pysnmp = super.pysnmp.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "6.2.6";
|
||||
@@ -375,6 +353,16 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
wolf-comm = super.wolf-comm.overridePythonAttrs (rec {
|
||||
version = "0.0.23";
|
||||
src = fetchFromGitHub {
|
||||
owner = "janrothkegel";
|
||||
repo = "wolf-comm";
|
||||
tag = version;
|
||||
hash = "sha256-LpehooW3vmohiyMwOQTFNLiNCsaLKelWQxQk8bl+y1k=";
|
||||
};
|
||||
});
|
||||
|
||||
# internal python packages only consumed by home-assistant itself
|
||||
hass-web-proxy-lib = self.callPackage ./python-modules/hass-web-proxy-lib { };
|
||||
home-assistant-frontend = self.callPackage ./frontend.nix { };
|
||||
@@ -405,7 +393,7 @@ let
|
||||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run update-component-packages.py after updating
|
||||
hassVersion = "2025.3.4";
|
||||
hassVersion = "2025.4.0";
|
||||
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
@@ -426,47 +414,20 @@ python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
tag = version;
|
||||
hash = "sha256-g1t9xAjrSSePyAloTQ2qwxAGEXJUTWX2zIZmAvlGGa8=";
|
||||
hash = "sha256-AEJQueoHLp6xRFYVQ9cwSMFvlgwrMGJ1JUMnosk2qHg=";
|
||||
};
|
||||
|
||||
# Secondary source is pypi sdist for translations
|
||||
sdist = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-MIh8FMTKZVEZ/zC+Av8fykTpz9kkXgZZfnsuOZbgP0M=";
|
||||
hash = "sha256-wflwLkqTXaBh1flSVNJcA5KChipRCzZD7nb7VaK2EPM=";
|
||||
};
|
||||
|
||||
build-system = with python.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"aiohttp"
|
||||
"aiozoneinfo"
|
||||
"attrs"
|
||||
"bcrypt"
|
||||
"ciso8601"
|
||||
"cryptography"
|
||||
"fnv-hash-fast"
|
||||
"hass-nabucasa"
|
||||
"httpx"
|
||||
"jinja2"
|
||||
"orjson"
|
||||
"pillow"
|
||||
"propcache"
|
||||
"pyjwt"
|
||||
"pyopenssl"
|
||||
"pyyaml"
|
||||
"requests"
|
||||
"securetar"
|
||||
"sqlalchemy"
|
||||
"typing-extensions"
|
||||
"ulid-transform"
|
||||
"urllib3"
|
||||
"uv"
|
||||
"voluptuous-openapi"
|
||||
"yarl"
|
||||
"zeroconf"
|
||||
];
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
# extract translations from pypi sdist
|
||||
prePatch = ''
|
||||
@@ -499,6 +460,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
aiohttp-cors
|
||||
aiohttp-fast-zlib
|
||||
aiozoneinfo
|
||||
annotatedyaml
|
||||
astral
|
||||
async-interrupt
|
||||
atomicwrites-homeassistant
|
||||
@@ -511,20 +473,28 @@ python.pkgs.buildPythonApplication rec {
|
||||
cronsim
|
||||
cryptography
|
||||
fnv-hash-fast
|
||||
ha-ffmpeg
|
||||
hass-nabucasa
|
||||
hassil
|
||||
home-assistant-bluetooth
|
||||
home-assistant-intents
|
||||
httpx
|
||||
ifaddr
|
||||
jinja2
|
||||
lru-dict
|
||||
mutagen
|
||||
numpy
|
||||
orjson
|
||||
packaging
|
||||
pillow
|
||||
propcache
|
||||
psutil-home-assistant
|
||||
pyjwt
|
||||
pymicro-vad
|
||||
pyopenssl
|
||||
pyspeex-noise
|
||||
python-slugify
|
||||
pyturbojpeg
|
||||
pyyaml
|
||||
requests
|
||||
securetar
|
||||
@@ -538,7 +508,9 @@ python.pkgs.buildPythonApplication rec {
|
||||
voluptuous
|
||||
voluptuous-openapi
|
||||
voluptuous-serialize
|
||||
webrtc-models
|
||||
yarl
|
||||
zeroconf
|
||||
# REQUIREMENTS in homeassistant/auth/mfa_modules/totp.py and homeassistant/auth/mfa_modules/notify.py
|
||||
pyotp
|
||||
pyqrcode
|
||||
|
||||
@@ -8,7 +8,7 @@ buildPythonPackage rec {
|
||||
# the frontend version corresponding to a specific home-assistant version can be found here
|
||||
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
||||
pname = "home-assistant-frontend";
|
||||
version = "20250306.0";
|
||||
version = "20250401.0";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_frontend";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-Nsh5zCyD72bjQ89BW5lmHdyWW9rxo+v2AW5fSOux/OA=";
|
||||
hash = "sha256-EgNXMXVjGnNB4Q1U1HDXMNhJcMaVC9W1w2g4W83INOY=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "home-assistant-intents";
|
||||
version = "2025.3.5";
|
||||
version = "2025.3.28";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||
repo = "intents-package";
|
||||
rev = "refs/tags/${version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-4FYmj6EqcNxPzXJVM0svyJIoeMSBnINNfvOda4B9Jic=";
|
||||
hash = "sha256-p1AQYwlMas6GLzg4ZsypDaUsQs74drKqfXA8uJ2K+xw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
@@ -62,6 +62,9 @@ buildPythonPackage rec {
|
||||
"intents/tests"
|
||||
];
|
||||
|
||||
# requires hassil 3.0.0, but Home Assistant is stuck on 2.2.3
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/home-assistant/intents/releases/tag/${version}";
|
||||
description = "Intents to be used with Home Assistant";
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-homeassistant-custom-component";
|
||||
version = "0.13.223";
|
||||
version = "0.13.232";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "MatthewFlamm";
|
||||
repo = "pytest-homeassistant-custom-component";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-mt8byu88r76cVkZlu8LSiInm/jwboauo6YblY2aTulA=";
|
||||
hash = "sha256-LHdkU89YzILPZFf/EgnCdPCG4tk1s5V7tpDsNtEaAak=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
@@ -6058,6 +6058,8 @@ self: super: with self; {
|
||||
|
||||
ha-philipsjs = callPackage ../development/python-modules/ha-philipsjs { };
|
||||
|
||||
ha-silabs-firmware-client = callPackage ../development/python-modules/ha-silabs-firmware-client { };
|
||||
|
||||
habanero = callPackage ../development/python-modules/habanero { };
|
||||
|
||||
habiticalib = callPackage ../development/python-modules/habiticalib { };
|
||||
|
||||
Reference in New Issue
Block a user