Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / cometblue-lite / default.nix
blob89af6333ae90e89407467b7711feff99fb1a7bb6
1 { lib
2 , bleak
3 , bleak-retry-connector
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "cometblue-lite";
11   version = "0.7.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "neffs";
18     repo = "python-cometblue_lite";
19     rev = "refs/tags/${version}";
20     hash = "sha256-Cjd7PdZ2/neRr1jStDY5iJaGMJ/srnFmCea8aLNan6g=";
21   };
23   propagatedBuildInputs = [
24     bleak
25     bleak-retry-connector
26   ];
28   # Module has no tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "cometblue_lite"
33   ];
35   meta = with lib; {
36     description = "Module for Eurotronic Comet Blue thermostats";
37     homepage = "https://github.com/neffs/python-cometblue_lite";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40   };