mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
cdabf26e66
https://github.com/esphome/aioesphomeapi/releases/tag/v18.0.0 https://github.com/esphome/aioesphomeapi/releases/tag/v18.0.1 https://github.com/esphome/aioesphomeapi/releases/tag/v18.0.2 https://github.com/esphome/aioesphomeapi/releases/tag/v18.0.3 https://github.com/esphome/aioesphomeapi/releases/tag/v18.0.4 https://github.com/esphome/aioesphomeapi/releases/tag/v18.0.5 https://github.com/esphome/aioesphomeapi/releases/tag/v18.0.6 https://github.com/esphome/aioesphomeapi/releases/tag/v18.0.7 https://github.com/esphome/aioesphomeapi/compare/refs/tags/v17.2.0...v18.0.7 Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
55 lines
1 KiB
Nix
55 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, async-timeout
|
|
, chacha20poly1305-reuseable
|
|
, mock
|
|
, noiseprotocol
|
|
, protobuf
|
|
, pytest-asyncio
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, zeroconf
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aioesphomeapi";
|
|
version = "18.0.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "esphome";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Jgu9NEFY74Z0mZ2Cz4uaHG0gfywa2nF/H8G1j9YAyrw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
async-timeout
|
|
chacha20poly1305-reuseable
|
|
noiseprotocol
|
|
protobuf
|
|
zeroconf
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
pytest-asyncio
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"aioesphomeapi"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python Client for ESPHome native API";
|
|
homepage = "https://github.com/esphome/aioesphomeapi";
|
|
changelog = "https://github.com/esphome/aioesphomeapi/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ fab hexa ];
|
|
};
|
|
}
|