ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / dingz / default.nix
blobc02746695e88b36cac16a1d8f43165a7022dc1ae
1 { lib
2 , aiohttp
3 , async-timeout
4 , buildPythonPackage
5 , click
6 , fetchFromGitHub
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "dingz";
12   version = "0.5.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "home-assistant-ecosystem";
19     repo = "python-dingz";
20     rev = version;
21     sha256 = "sha256-bCytQwLWw8D1UkKb/3LQ301eDCkVR4alD6NHjTs6I+4=";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     async-timeout
27     click
28   ];
30   # Project has no tests
31   doCheck = false;
33   pythonImportsCheck = [
34     "dingz"
35   ];
37   meta = with lib; {
38     description = "Python API for interacting with Dingz devices";
39     homepage = "https://github.com/home-assistant-ecosystem/python-dingz";
40     license = with licenses; [ mit ];
41     maintainers = with maintainers; [ fab ];
42   };