mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
98cd0a1791
An HTTP client for controlling a Bryant Evolution HVAC system.
49 lines
810 B
Nix
49 lines
810 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
|
|
# build-system
|
|
hatchling,
|
|
|
|
# dependencies
|
|
aiofiles,
|
|
aiohttp,
|
|
|
|
# tests
|
|
mock,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "evolutionhttp";
|
|
version = "0.0.18";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-LZ9IQJ2qVdCbhOECbPOjikeJA0aGKLdZURG6tjIrkT4=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
aiofiles
|
|
aiohttp
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "evolutionhttp" ];
|
|
|
|
meta = with lib; {
|
|
description = "An HTTP client for controlling a Bryant Evolution HVAC system";
|
|
homepage = "https://github.com/danielsmyers/evolutionhttp";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ hexa ];
|
|
};
|
|
}
|