python313Packages.tessie-api: init at 0.1.2

This commit is contained in:
Jamie Magee 2025-07-06 11:07:28 -07:00
parent e4097b5575
commit 3da49d9d85
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
aiohttp,
pythonOlder,
hatchling,
pytz,
pytestCheckHook,
pytest-asyncio,
}:
buildPythonPackage rec {
pname = "tessie-api";
version = "0.1.2";
pyproject = true;
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "andrewgierens";
repo = "tessie_python_api";
tag = version;
hash = "sha256-uY52SSG2u4lcX9X7Ql/pn31uOwpqIy3kkuLMvsFBA3s=";
};
build-system = [ hatchling ];
dependencies = [
aiohttp
pytz
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
];
pythonImportsCheck = [ "tessie_api" ];
# Tests require API credentials
doCheck = false;
meta = {
description = "Python wrapper for the Tessie API";
homepage = "https://github.com/andrewgierens/tessie_python_api";
changelog = "https://github.com/andrewgierens/tessie_python_api/releases/tag/${version}";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.jamiemagee ];
};
}

View File

@ -17669,6 +17669,8 @@ self: super: with self; {
tesserocr = callPackage ../development/python-modules/tesserocr { };
tessie-api = callPackage ../development/python-modules/tessie-api { };
test-results-parser = callPackage ../development/python-modules/test-results-parser { };
test-tube = callPackage ../development/python-modules/test-tube { };