python3Packages.pytouchlinesl: init at 0.1.0

This commit is contained in:
Jon Seager 2024-08-23 15:41:17 +01:00
parent d5e130e437
commit 606b49a303
No known key found for this signature in database
2 changed files with 53 additions and 0 deletions

View file

@ -0,0 +1,51 @@
{
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lib,
nix-update-script,
pydantic,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "pytouchlinesl";
version = "0.1.1";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "jnsgruk";
repo = "pytouchlinesl";
rev = "refs/tags/${version}";
hash = "sha256-xyAy5QtNox1ZeXGQEYXWiEIQKSNQSnRTqr0kgQRmdcg=";
};
build-system = [ setuptools ];
dependencies = [
aiohttp
pydantic
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "pytouchlinesl" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "A Python API client for Roth's TouchlineSL API";
homepage = "https://github.com/jnsgruk/pytouchlinesl";
changelog = "https://github.com/jnsgruk/pytouchlinesl/releases/tag/${src.rev}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ jnsgruk ];
};
}

View file

@ -10606,6 +10606,8 @@ self: super: with self; {
pytomorrowio = callPackage ../development/python-modules/pytomorrowio { };
pytouchlinesl = callPackage ../development/python-modules/pytouchlinesl { };
pyuca = callPackage ../development/python-modules/pyuca { };
pyunpack = callPackage ../development/python-modules/pyunpack { };