Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pyintesishome / default.nix
blob6d53d7bc2eb558464debbf736f8eb0315c98b25a
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pyintesishome";
10   version = "1.8.5";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "jnimmo";
17     repo = "pyIntesisHome";
18     rev = "refs/tags/${version}";
19     hash = "sha256-QgIvIn8I5EtJSNj1FdOI+DPgG7/y2ToQ62dhk7flieo=";
20   };
22   propagatedBuildInputs = [
23     aiohttp
24   ];
26   # Project has no tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "pyintesishome"
31   ];
33   meta = with lib; {
34     description = "Python interface for IntesisHome devices";
35     homepage = "https://github.com/jnimmo/pyIntesisHome";
36     changelog = "https://github.com/jnimmo/pyIntesisHome/releases/tag/${version}";
37     license = with licenses; [ mit ];
38     maintainers = with maintainers; [ fab ];
39   };