Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aioeagle / default.nix
blob8862758880c337db95f287874249ed8fbd07b6ec
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 , xmltodict
7 }:
9 buildPythonPackage rec {
10   pname = "aioeagle";
11   version = "1.1.0";
13   disabled = pythonOlder "3.8";
15   src = fetchFromGitHub {
16     owner = "home-assistant-libs";
17     repo = pname;
18     rev = version;
19     sha256 = "117nb50cxwrixif2r6fxmr9v0jxkcamm816v48hbhyc660w6xvk4";
20   };
22   propagatedBuildInputs = [
23     aiohttp
24     xmltodict
25   ];
27   # Project has no tests
28   doCheck = false;
30   pythonImportsCheck = [ "aioeagle" ];
32   meta = with lib; {
33     description = "Python library to control EAGLE-200";
34     homepage = "https://github.com/home-assistant-libs/aioeagle";
35     changelog = "https://github.com/home-assistant-libs/aioshelly/releases/tag/${version}";
36     license = with licenses; [ asl20 ];
37     maintainers = with maintainers; [ fab ];
38   };