mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #326363 from dotlambda/python3Packages.eq3btsmart
home-assistant: support eq3btsmart component
This commit is contained in:
commit
299bc2263b
62
pkgs/development/python-modules/construct-typing/default.nix
Normal file
62
pkgs/development/python-modules/construct-typing/default.nix
Normal file
@ -0,0 +1,62 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
construct,
|
||||
typing-extensions,
|
||||
arrow,
|
||||
cloudpickle,
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
ruamel-yaml,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "construct-typing";
|
||||
version = "0.6.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "timrid";
|
||||
repo = "construct-typing";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zXpxu+VUcepEoAPLQnSlMCZkt8fDsMCLS0HBKhaYD20=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonRelaxDeps = [ "construct" ];
|
||||
|
||||
dependencies = [
|
||||
construct
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"construct-stubs"
|
||||
"construct_typed"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
arrow
|
||||
cloudpickle
|
||||
numpy
|
||||
pytestCheckHook
|
||||
ruamel-yaml
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# tests fail with construct>=2.10.70
|
||||
"test_bitsinteger"
|
||||
"test_bytesinteger"
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/timrid/construct-typing/releases/tag/v${version}";
|
||||
description = "Extension for the python package 'construct' that adds typing features";
|
||||
homepage = "https://github.com/timrid/construct-typing";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
47
pkgs/development/python-modules/eq3btsmart/default.nix
Normal file
47
pkgs/development/python-modules/eq3btsmart/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
bleak,
|
||||
construct,
|
||||
construct-typing,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "eq3btsmart";
|
||||
version = "1.1.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EuleMitKeule";
|
||||
repo = "eq3btsmart";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-7kJqPygX2Oc7fz31qZWrS1ZA+kANZr8vxOwarUzgp/M=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
bleak
|
||||
construct
|
||||
construct-typing
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "eq3btsmart" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/EuleMitKeule/eq3btsmart/releases/tag/${version}";
|
||||
description = "Python library that allows interaction with eQ-3 Bluetooth smart thermostats";
|
||||
homepage = "https://github.com/EuleMitKeule/eq3btsmart";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -1140,6 +1140,7 @@
|
||||
bluetooth-auto-recovery
|
||||
bluetooth-data-tools
|
||||
dbus-fast
|
||||
eq3btsmart
|
||||
esphome-dashboard-api
|
||||
fnv-hash-fast
|
||||
ha-ffmpeg
|
||||
@ -1154,7 +1155,7 @@
|
||||
sqlalchemy
|
||||
webrtc-noise-gain
|
||||
zeroconf
|
||||
]; # missing inputs: eq3btsmart
|
||||
];
|
||||
"escea" = ps: with ps; [
|
||||
pescea
|
||||
];
|
||||
@ -5400,6 +5401,7 @@
|
||||
"environment_canada"
|
||||
"epion"
|
||||
"epson"
|
||||
"eq3btsmart"
|
||||
"escea"
|
||||
"esphome"
|
||||
"eufylife_ble"
|
||||
|
@ -2487,6 +2487,8 @@ self: super: with self; {
|
||||
|
||||
construct-classes = callPackage ../development/python-modules/construct-classes { };
|
||||
|
||||
construct-typing = callPackage ../development/python-modules/construct-typing { };
|
||||
|
||||
consul = callPackage ../development/python-modules/consul { };
|
||||
|
||||
container-inspector = callPackage ../development/python-modules/container-inspector { };
|
||||
@ -3928,6 +3930,8 @@ self: super: with self; {
|
||||
|
||||
epson-projector = callPackage ../development/python-modules/epson-projector { };
|
||||
|
||||
eq3btsmart = callPackage ../development/python-modules/eq3btsmart { };
|
||||
|
||||
equinox = callPackage ../development/python-modules/equinox { };
|
||||
|
||||
eradicate = callPackage ../development/python-modules/eradicate { };
|
||||
|
Loading…
Reference in New Issue
Block a user