biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / dingz / default.nix
blob9f8d8a4a551f1476400df3a5e43770905f0523d8
2   lib,
3   aiohttp,
4   async-timeout,
5   buildPythonPackage,
6   click,
7   fetchFromGitHub,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "dingz";
13   version = "0.5.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "home-assistant-ecosystem";
20     repo = "python-dingz";
21     rev = version;
22     hash = "sha256-bCytQwLWw8D1UkKb/3LQ301eDCkVR4alD6NHjTs6I+4=";
23   };
25   propagatedBuildInputs = [
26     aiohttp
27     async-timeout
28     click
29   ];
31   # Project has no tests
32   doCheck = false;
34   pythonImportsCheck = [ "dingz" ];
36   meta = with lib; {
37     description = "Python API for interacting with Dingz devices";
38     mainProgram = "dingz";
39     homepage = "https://github.com/home-assistant-ecosystem/python-dingz";
40     license = with licenses; [ mit ];
41     maintainers = with maintainers; [ fab ];
42   };