python3Packages.pyrisco: init 0.3.1

This commit is contained in:
Fabian Affolter 2021-02-13 14:13:21 +01:00
parent 5852a21819
commit 77092e21aa
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyrisco";
version = "0.3.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "OnFreund";
repo = pname;
rev = "v${version}";
sha256 = "1im29h4rxnp98aqzgzjj5i8jv2h5zw9c5yx8xxzl4cmr3yila9zw";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyrisco" ];
meta = with lib; {
description = "Python interface to Risco alarm systems through Risco Cloud";
homepage = "https://github.com/OnFreund/pyrisco";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5880,6 +5880,8 @@ in {
pyres = callPackage ../development/python-modules/pyres { };
pyrisco = callPackage ../development/python-modules/pyrisco { };
pyRFC3339 = callPackage ../development/python-modules/pyrfc3339 { };
PyRMVtransport = callPackage ../development/python-modules/PyRMVtransport { };