Merge pull request #112991 from fabaff/skybellpy
This commit is contained in:
commit
ff9033ae24
45
pkgs/development/python-modules/skybellpy/default.nix
Normal file
45
pkgs/development/python-modules/skybellpy/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -740,7 +740,7 @@
|
|||||||
"sisyphus" = ps: with ps; [ ]; # missing inputs: sisyphus-control
|
"sisyphus" = ps: with ps; [ ]; # missing inputs: sisyphus-control
|
||||||
"sky_hub" = ps: with ps; [ ]; # missing inputs: pyskyqhub
|
"sky_hub" = ps: with ps; [ ]; # missing inputs: pyskyqhub
|
||||||
"skybeacon" = ps: with ps; [ ]; # missing inputs: pygatt[GATTTOOL]
|
"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
|
"slack" = ps: with ps; [ ]; # missing inputs: slackclient
|
||||||
"sleepiq" = ps: with ps; [ ]; # missing inputs: sleepyq
|
"sleepiq" = ps: with ps; [ ]; # missing inputs: sleepyq
|
||||||
"slide" = ps: with ps; [ ]; # missing inputs: goslide-api
|
"slide" = ps: with ps; [ ]; # missing inputs: goslide-api
|
||||||
|
@ -7344,6 +7344,8 @@ in {
|
|||||||
|
|
||||||
skorch = callPackage ../development/python-modules/skorch { };
|
skorch = callPackage ../development/python-modules/skorch { };
|
||||||
|
|
||||||
|
skybellpy = callPackage ../development/python-modules/skybellpy { };
|
||||||
|
|
||||||
slack-sdk = callPackage ../development/python-modules/slack-sdk { };
|
slack-sdk = callPackage ../development/python-modules/slack-sdk { };
|
||||||
|
|
||||||
slackclient = callPackage ../development/python-modules/slackclient { };
|
slackclient = callPackage ../development/python-modules/slackclient { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user