nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 setuptools,
7 xmltodict,
8}:
9
10buildPythonPackage rec {
11 pname = "aioeagle";
12 version = "1.1.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "home-assistant-libs";
17 repo = "aioeagle";
18 tag = version;
19 hash = "sha256-ZO5uODCGebggItsEVKtis0uwU67dmSxc7DHzzkBZ9oQ=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 aiohttp
26 xmltodict
27 ];
28
29 # Project has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "aioeagle" ];
33
34 meta = {
35 description = "Python library to control EAGLE-200";
36 homepage = "https://github.com/home-assistant-libs/aioeagle";
37 changelog = "https://github.com/home-assistant-libs/aioshelly/releases/tag/${version}";
38 license = with lib.licenses; [ asl20 ];
39 maintainers = with lib.maintainers; [ fab ];
40 };
41}