mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 17:46:38 +01:00
Diff: https://github.com/dontinelli/solarlog_cli/compare/v0.6.1...v0.7.0 Changelog: https://github.com/dontinelli/solarlog_cli/releases/tag/v0.7.0
54 lines
1 KiB
Nix
54 lines
1 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchFromGitHub,
|
|
hatchling,
|
|
aiohttp,
|
|
bcrypt,
|
|
mashumaro,
|
|
aioresponses,
|
|
pytest-aio,
|
|
pytestCheckHook,
|
|
syrupy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "solarlog-cli";
|
|
version = "0.7.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dontinelli";
|
|
repo = "solarlog_cli";
|
|
tag = "v${version}";
|
|
hash = "sha256-ryhC2RpLK7olglgOOmja4LzUpVyi6vt6vj3EntUYZx0=";
|
|
};
|
|
|
|
build-system = [ hatchling ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
bcrypt
|
|
mashumaro
|
|
];
|
|
|
|
pythonImportsCheck = [ "solarlog_cli" ];
|
|
|
|
nativeCheckInputs = [
|
|
aioresponses
|
|
pytest-aio
|
|
pytestCheckHook
|
|
syrupy
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/dontinelli/solarlog_cli/releases/tag/v${version}";
|
|
description = "Python library to access the Solar-Log JSON interface";
|
|
homepage = "https://github.com/dontinelli/solarlog_cli";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|