Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyrisco / default.nix
blobb9df9d36d41dff86ea476341f40110d14f7892e5
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pyrisco";
10   version = "0.3.1";
11   disabled = pythonOlder "3.7";
13   src = fetchFromGitHub {
14     owner = "OnFreund";
15     repo = pname;
16     rev = "v${version}";
17     sha256 = "1im29h4rxnp98aqzgzjj5i8jv2h5zw9c5yx8xxzl4cmr3yila9zw";
18   };
20   propagatedBuildInputs = [ aiohttp ];
22   # Project has no tests
23   doCheck = false;
24   pythonImportsCheck = [ "pyrisco" ];
26   meta = with lib; {
27     description = "Python interface to Risco alarm systems through Risco Cloud";
28     homepage = "https://github.com/OnFreund/pyrisco";
29     license = with licenses; [ mit ];
30     maintainers = with maintainers; [ fab ];
31   };