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

View File

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