mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.knx-telegram-store: init at 0.4.0
This commit is contained in:
parent
8c49ee78b8
commit
6f8e12d290
2 changed files with 63 additions and 0 deletions
|
|
@ -0,0 +1,61 @@
|
|||
{
|
||||
aiosqlite,
|
||||
asyncpg,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pytest-asyncio,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
setuptools,
|
||||
sqlalchemy,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "knx-telegram-store";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "XKNX";
|
||||
repo = "knx-telegram-store";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-t4Bmm5n9+XSBiR2Rvm6UKAKweH9fQuZwaNqG1W2q3Co=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
postgres = [
|
||||
asyncpg
|
||||
sqlalchemy
|
||||
];
|
||||
sqlite = [
|
||||
aiosqlite
|
||||
sqlalchemy
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
]
|
||||
++ finalAttrs.passthru.optional-dependencies.sqlite;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"knx_telegram_store"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Standalone, host-agnostic Python library for KNX telegram persistence";
|
||||
homepage = "https://github.com/XKNX/knx-telegram-store";
|
||||
changelog = "https://github.com/XKNX/knx-telegram-store/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
})
|
||||
|
|
@ -8633,6 +8633,8 @@ self: super: with self; {
|
|||
|
||||
knx-frontend = callPackage ../development/python-modules/knx-frontend { };
|
||||
|
||||
knx-telegram-store = callPackage ../development/python-modules/knx-telegram-store { };
|
||||
|
||||
kokoro = callPackage ../development/python-modules/kokoro { };
|
||||
|
||||
kombu = callPackage ../development/python-modules/kombu { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue