mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 15:11:30 +00:00
python3Packages.aiomelcloudhome: init at 0.1.9
This commit is contained in:
53
pkgs/development/python-modules/aiomelcloudhome/default.nix
Normal file
53
pkgs/development/python-modules/aiomelcloudhome/default.nix
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
aiohttp,
|
||||
pydantic,
|
||||
tenacity,
|
||||
yarl,
|
||||
aresponses,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
syrupy,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "aiomelcloudhome";
|
||||
version = "0.1.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "erwindouna";
|
||||
repo = "aiomelcloudhome";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-aYaV7+Lj7LShO0HqoUjSFAMTOHY5piMdSACOVizGgco=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
pydantic
|
||||
tenacity
|
||||
yarl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "aiomelcloudhome" ];
|
||||
|
||||
meta = {
|
||||
description = "Asynchronous Python client for the Melcloud Home API";
|
||||
homepage = "https://github.com/erwindouna/aiomelcloudhome";
|
||||
changelog = "https://github.com/erwindouna/aiomelcloudhome/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.jamiemagee ];
|
||||
};
|
||||
})
|
||||
@@ -422,6 +422,8 @@ self: super: with self; {
|
||||
|
||||
aiomealie = callPackage ../development/python-modules/aiomealie { };
|
||||
|
||||
aiomelcloudhome = callPackage ../development/python-modules/aiomelcloudhome { };
|
||||
|
||||
aiomisc = callPackage ../development/python-modules/aiomisc { };
|
||||
|
||||
aiomisc-pytest = callPackage ../development/python-modules/aiomisc-pytest { };
|
||||
|
||||
Reference in New Issue
Block a user