Merge pull request #307422 from fabaff/aiovodafone-bump

python312Packages.aiovodafone: 0.5.4 -> 0.6.0
This commit is contained in:
Nick Cao 2024-04-28 10:51:13 -04:00 committed by GitHub
commit a705835606
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,48 +1,43 @@
{ lib
, aiohttp
, beautifulsoup4
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, pythonOlder
{
lib,
aiohttp,
beautifulsoup4,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "aiovodafone";
version = "0.5.4";
version = "0.6.0";
pyproject = true;
disabled = pythonOlder "3.10";
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "chemelli74";
repo = "aiovodafone";
rev = "refs/tags/v${version}";
hash = "sha256-J2VdRxCzIjRUOqQW4YzOC8RRth9tibBS9YuizveqhhI=";
hash = "sha256-sy7/nCthmfI0WdBkwBU83fifcYTe9zUBOpxV7RX9F6w=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=aiovodafone --cov-report=term-missing:skip-covered" ""
--replace-fail " --cov=aiovodafone --cov-report=term-missing:skip-covered" ""
'';
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
aiohttp
beautifulsoup4
];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"aiovodafone"
];
pythonImportsCheck = [ "aiovodafone" ];
meta = with lib; {
description = "Library to control Vodafon Station";