4764f7a2ff
Diff: https://github.com/chemelli74/aiovodafone/compare/v1.2.1...v3.0.0 Changelog: https://github.com/chemelli74/aiovodafone/blob/v3.0.0/CHANGELOG.md
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
aiohttp,
|
|
beautifulsoup4,
|
|
buildPythonPackage,
|
|
colorlog,
|
|
cryptography,
|
|
fetchFromGitHub,
|
|
orjson,
|
|
poetry-core,
|
|
pytest-cov-stub,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiovodafone";
|
|
version = "3.0.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "chemelli74";
|
|
repo = "aiovodafone";
|
|
tag = "v${version}";
|
|
hash = "sha256-JeMB7K2NURvMPgCZRNAFt9ThIu4LDq3WlmAXsgm1CKs=";
|
|
};
|
|
|
|
build-system = [ poetry-core ];
|
|
|
|
dependencies = [
|
|
aiohttp
|
|
beautifulsoup4
|
|
cryptography
|
|
colorlog
|
|
orjson
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-cov-stub
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "aiovodafone" ];
|
|
|
|
meta = {
|
|
description = "Library to control Vodafon Station";
|
|
homepage = "https://github.com/chemelli74/aiovodafone";
|
|
changelog = "https://github.com/chemelli74/aiovodafone/blob/${src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|