python3Packages.synthetic-home: init at 5.0.2

Library for managing synthetic home device registry

https://github.com/allenporter/synthetic-home
This commit is contained in:
Fabian Affolter
2026-04-13 00:52:18 +02:00
parent 2610f08d3d
commit bcc3b7065c
2 changed files with 57 additions and 0 deletions
@@ -0,0 +1,55 @@
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
mashumaro,
pytest-asyncio,
pytestCheckHook,
python-slugify,
pyyaml,
setuptools,
syrupy,
}:
buildPythonPackage (finalAttrs: {
pname = "synthetic-home";
version = "5.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "allenporter";
repo = "synthetic-home";
tag = finalAttrs.version;
hash = "sha256-u5suLTK7Cdp6IKVxnmiw8p+xQiXV5nfc6QUvpqCyxTk=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
mashumaro
];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
python-slugify
pyyaml
syrupy
];
pythonImportsCheck = [ "synthetic_home" ];
preCheck = ''
export PATH="$PATH:$out/bin";
'';
meta = {
description = "Library for managing synthetic home device registry";
homepage = "https://github.com/allenporter/synthetic-home";
changelog = "https://github.com/allenporter/synthetic-home/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
})
+2
View File
@@ -18904,6 +18904,8 @@ self: super: with self; {
synology-srm = callPackage ../development/python-modules/synology-srm { };
synthetic-home = callPackage ../development/python-modules/synthetic-home { };
syrupy = callPackage ../development/python-modules/syrupy { };
syslog-rfc5424-formatter = callPackage ../development/python-modules/syslog-rfc5424-formatter { };