Merge pull request #112991 from fabaff/skybellpy

This commit is contained in:
Martin Weinelt 2021-03-02 00:09:08 +01:00 committed by GitHub
commit ff9033ae24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 1 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, colorlog
, fetchFromGitHub
, pytest-sugar
, pytest-timeout
, pytestCheckHook
, pythonOlder
, requests
, requests-mock
}:
buildPythonPackage rec {
pname = "skybellpy";
version = "0.6.3";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "MisterWil";
repo = pname;
rev = "v${version}";
sha256 = "1ghvm0pcdyhq6xfjc2dkldd701x77w07077sx09xsk6q2milmvzz";
};
propagatedBuildInputs = [
colorlog
requests
];
checkInputs = [
pytest-sugar
pytest-timeout
pytestCheckHook
requests-mock
];
pythonImportsCheck = [ "skybellpy" ];
meta = with lib; {
description = "Python wrapper for the Skybell alarm API";
homepage = "https://github.com/MisterWil/skybellpy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -740,7 +740,7 @@
"sisyphus" = ps: with ps; [ ]; # missing inputs: sisyphus-control
"sky_hub" = ps: with ps; [ ]; # missing inputs: pyskyqhub
"skybeacon" = ps: with ps; [ ]; # missing inputs: pygatt[GATTTOOL]
"skybell" = ps: with ps; [ ]; # missing inputs: skybellpy
"skybell" = ps: with ps; [ skybellpy ];
"slack" = ps: with ps; [ ]; # missing inputs: slackclient
"sleepiq" = ps: with ps; [ ]; # missing inputs: sleepyq
"slide" = ps: with ps; [ ]; # missing inputs: goslide-api

View File

@ -7344,6 +7344,8 @@ in {
skorch = callPackage ../development/python-modules/skorch { };
skybellpy = callPackage ../development/python-modules/skybellpy { };
slack-sdk = callPackage ../development/python-modules/slack-sdk { };
slackclient = callPackage ../development/python-modules/slackclient { };