Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / pyrisco / default.nix
blob0233d2d0d1c4f0aa65e83299f50d8377ac00ece3
1 { lib
2 , aiohttp
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "pyrisco";
10   version = "0.5.8";
11   disabled = pythonOlder "3.7";
13   src = fetchFromGitHub {
14     owner = "OnFreund";
15     repo = pname;
16     rev = "v${version}";
17     hash = "sha256-PQ1h9UVQ2DQMInxdAaLES7uDWAxwDra+YfAmz5jjV6g=";
18   };
20   propagatedBuildInputs = [
21     aiohttp
22   ];
24   # Project has no tests
25   doCheck = false;
27   pythonImportsCheck = [
28     "pyrisco"
29   ];
31   meta = with lib; {
32     description = "Python interface to Risco alarm systems through Risco Cloud";
33     homepage = "https://github.com/OnFreund/pyrisco";
34     license = with licenses; [ mit ];
35     maintainers = with maintainers; [ fab ];
36   };