Files
nixpkgs/pkgs/development/python-modules/evolutionhttp/default.nix
2026-10-08 18:51:01 +02:00

51 lines
855 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
# build-system
hatchling,
# dependencies
aiohttp,
pyserial-asyncio-fast,
pyserial,
# tests
mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "evolutionhttp";
version = "0.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-idsvna8V3o2LDmcxMSrWr4AioiW0zjnKevpE0X922AA=";
};
build-system = [ hatchling ];
dependencies = [
aiohttp
pyserial
pyserial-asyncio-fast
];
nativeCheckInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "evolutionhttp" ];
meta = {
description = "HTTP client for controlling a Bryant Evolution HVAC system";
homepage = "https://github.com/danielsmyers/evolutionhttp";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ hexa ];
};
}