home-assistant-custom-components.mypyllant: init at 0.9.9 (#467747)
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
poetry-core,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "country-list";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bulv1ne";
|
||||
repo = "country_list";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-jG2AC8c6mgWjHVBX7XW021PLPliLTwEBkN6+HSecfL4=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"tests.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"country_list"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "List of all countries with names and ISO 3166-1 codes in all languages";
|
||||
homepage = "https://github.com/bulv1ne/country_list";
|
||||
changelog = "https://github.com/bulv1ne/country_list/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ urbas ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
|
||||
# build-system
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
aiohttp,
|
||||
pydantic,
|
||||
|
||||
# tests
|
||||
aioresponses,
|
||||
country-list,
|
||||
freezegun,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
pyyaml,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mypyllant";
|
||||
version = "0.9.8";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "signalkraft";
|
||||
repo = "myPyllant";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-eneAFJ4xRL8EKj8Act/YcW7Gx0B85u0g3LTWPlI/B/0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
pydantic
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aioresponses
|
||||
country-list
|
||||
freezegun
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
pyyaml
|
||||
requests
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"myPyllant"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python library to interact with the API behind the myVAILLANT app";
|
||||
homepage = "https://github.com/signalkraft/myPyllant";
|
||||
changelog = "https://github.com/signalkraft/myPyllant/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ urbas ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
buildHomeAssistantComponent,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
|
||||
# dependencies
|
||||
mypyllant,
|
||||
voluptuous,
|
||||
|
||||
# tests
|
||||
aioresponses,
|
||||
polyfactory,
|
||||
pytest-cov-stub,
|
||||
pytest-homeassistant-custom-component,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "signalkraft";
|
||||
domain = "mypyllant";
|
||||
version = "0.9.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "signalkraft";
|
||||
repo = "mypyllant-component";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-6T8SGAP2535VqZmvSeITpMIa0SBJhnWsOKM1Y66WhHE=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
mypyllant
|
||||
voluptuous
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aioresponses
|
||||
polyfactory
|
||||
pytest-cov-stub
|
||||
pytest-homeassistant-custom-component
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Unofficial Home Assistant integration for interacting with myVAILLANT";
|
||||
changelog = "https://github.com/signalkraft/mypyllant-component/releases/tag/${src.tag}";
|
||||
homepage = "https://github.com/signalkraft/mypyllant-component";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ urbas ];
|
||||
};
|
||||
}
|
||||
@@ -3136,6 +3136,8 @@ self: super: with self; {
|
||||
|
||||
cot = callPackage ../development/python-modules/cot { inherit (pkgs) qemu; };
|
||||
|
||||
country-list = callPackage ../development/python-modules/country-list { };
|
||||
|
||||
countryguess = callPackage ../development/python-modules/countryguess { };
|
||||
|
||||
courlan = callPackage ../development/python-modules/courlan { };
|
||||
@@ -10445,6 +10447,8 @@ self: super: with self; {
|
||||
|
||||
mypy-protobuf = callPackage ../development/python-modules/mypy-protobuf { };
|
||||
|
||||
mypyllant = callPackage ../development/python-modules/mypyllant { };
|
||||
|
||||
mysql-connector = callPackage ../development/python-modules/mysql-connector { };
|
||||
|
||||
mysqlclient = callPackage ../development/python-modules/mysqlclient { };
|
||||
|
||||
Reference in New Issue
Block a user