biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pyevilgenius / default.nix
blob40d48342e57e3f795a2feebdc58d46d9497bb490
2   lib,
3   aiohttp,
4   buildPythonPackage,
5   fetchFromGitHub,
6   async-timeout,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "pyevilgenius";
12   version = "2.0.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "home-assistant-libs";
19     repo = pname;
20     rev = version;
21     hash = "sha256-wjC32oq/lW3Z4XB+4SILRKIOuCgBKk1gruOo4uc/4/o=";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     async-timeout
27   ];
29   # Project has no test
30   doCheck = false;
32   pythonImportsCheck = [ "pyevilgenius" ];
34   meta = with lib; {
35     description = "Python SDK to interact with Evil Genius Labs devices";
36     homepage = "https://github.com/home-assistant-libs/pyevilgenius";
37     changelog = "https://github.com/home-assistant-libs/pyevilgenius/releases/tag/${version}";
38     license = with licenses; [ asl20 ];
39     maintainers = with maintainers; [ fab ];
40   };