python3Packages.python-open-router: init at 0.3.1

This commit is contained in:
Jamie Magee
2025-08-09 10:29:51 -07:00
parent bcc20cad16
commit b531aec641
2 changed files with 57 additions and 0 deletions
@@ -0,0 +1,55 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
aiohttp,
yarl,
mashumaro,
orjson,
pytestCheckHook,
pytest-asyncio,
pytest-cov-stub,
aioresponses,
syrupy,
}:
buildPythonPackage rec {
pname = "python-open-router";
version = "0.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "joostlek";
repo = "python-open-router";
tag = "v${version}";
hash = "sha256-EoLBlgXKrAo2DKOuLGvN3MbWIJIG+Ehtznegnq3VX44=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
yarl
mashumaro
orjson
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pytest-cov-stub
aioresponses
syrupy
];
pythonImportsCheck = [ "python_open_router" ];
meta = {
description = "Asynchronous Python client for Open Router";
homepage = "https://github.com/joostlek/python-open-router";
changelog = "https://github.com/joostlek/python-open-router/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.jamiemagee ];
};
}
+2
View File
@@ -14735,6 +14735,8 @@ self: super: with self; {
python-on-whales = callPackage ../development/python-modules/python-on-whales { };
python-open-router = callPackage ../development/python-modules/python-open-router { };
python-opendata-transport = callPackage ../development/python-modules/python-opendata-transport { };
python-openems = callPackage ../development/python-modules/python-openems { };