Robert Schütz 2024-08-28 09:02:24 -07:00
parent ec8e0d5178
commit 0336e9c6e1

View File

@ -5,11 +5,16 @@
fetchFromGitHub, fetchFromGitHub,
hatchling, hatchling,
aiohttp, aiohttp,
mashumaro,
aioresponses,
pytest-aio,
pytestCheckHook,
syrupy,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "solarlog-cli"; pname = "solarlog-cli";
version = "0.1.6"; version = "0.2.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.12"; disabled = pythonOlder "3.12";
@ -18,17 +23,24 @@ buildPythonPackage rec {
owner = "dontinelli"; owner = "dontinelli";
repo = "solarlog_cli"; repo = "solarlog_cli";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Bliq1n6xH0cZQHueiGDyalIo0zms8zCSpUGq2KH5xZY="; hash = "sha256-x9MovIKFImu60Ns2sJTy71S22cR9Az/yNMWzGM50y7Y=";
}; };
build-system = [ hatchling ]; build-system = [ hatchling ];
dependencies = [ aiohttp ]; dependencies = [
aiohttp
mashumaro
];
pythonImportsCheck = [ "solarlog_cli" ]; pythonImportsCheck = [ "solarlog_cli" ];
# upstream has no tests nativeCheckInputs = [
doCheck = false; aioresponses
pytest-aio
pytestCheckHook
syrupy
];
meta = { meta = {
changelog = "https://github.com/dontinelli/solarlog_cli/releases/tag/v${version}"; changelog = "https://github.com/dontinelli/solarlog_cli/releases/tag/v${version}";