diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-04-23 13:14:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 13:14:24 +0200 |
commit | f505639614c71d3dee7dc9713d6b02a3f294f24e (patch) | |
tree | e48e9547f8e1d702680a2b9161c1e07ee92cd0a8 | |
parent | 3928dfdd2861a7ef7c33175f3ceb790b14481311 (diff) | |
parent | 738e6665050fbd24e6d26ec410c56c7179b5f418 (diff) |
Merge pull request #306198 from fabaff/aioeagle-refactor
python312Packages.aioeagle: refactor
-rw-r--r-- | pkgs/development/python-modules/aioeagle/default.nix | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/aioeagle/default.nix b/pkgs/development/python-modules/aioeagle/default.nix index 87f38ec71ea3..3c931fe69ef8 100644 --- a/pkgs/development/python-modules/aioeagle/default.nix +++ b/pkgs/development/python-modules/aioeagle/default.nix @@ -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 ]; |