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:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user