Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pyhomepilot / default.nix
blob12c395ff954b9a2ec996621ed4813e79c8b4c743
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pyhomepilot";
10   version = "0.0.3";
11   disabled = pythonOlder "3.6";
13   src = fetchFromGitHub {
14     owner = "nico0302";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "00gmqx8cwsd15iccnlr8ypgqrdg6nw9ha518cfk7pyp8vhw1ziwy";
18   };
20   propagatedBuildInputs = [
21     aiohttp
22   ];
24   # Project has no tests
25   doCheck = false;
27   pythonImportsCheck = [ "pyhomepilot" ];
29   meta = with lib; {
30     description = "Python module to communicate with the Rademacher HomePilot API";
31     homepage = "https://github.com/nico0302/pyhomepilot";
32     license = with licenses; [ mit ];
33     maintainers = with maintainers; [ fab ];
34   };