Merge pull request #306198 from fabaff/aioeagle-refactor

python312Packages.aioeagle: refactor
This commit is contained in:
Fabian Affolter 2024-04-23 13:14:24 +02:00 committed by GitHub
commit f505639614
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 11 deletions

View File

@ -1,26 +1,30 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, xmltodict
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
xmltodict,
}:
buildPythonPackage rec {
pname = "aioeagle";
version = "1.1.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = version;
sha256 = "117nb50cxwrixif2r6fxmr9v0jxkcamm816v48hbhyc660w6xvk4";
repo = "aioeagle";
rev = "refs/tags/${version}";
hash = "sha256-ZO5uODCGebggItsEVKtis0uwU67dmSxc7DHzzkBZ9oQ=";
};
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
aiohttp
xmltodict
];