python3Packages.ring_doorbell: init at 0.7.0
This commit is contained in:
parent
82f8784f6a
commit
fe1a363022
44
pkgs/development/python-modules/ring-doorbell/default.nix
Normal file
44
pkgs/development/python-modules/ring-doorbell/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, oauthlib
|
||||
, pytestCheckHook
|
||||
, pytz
|
||||
, requests
|
||||
, requests-mock
|
||||
, requests_oauthlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ring-doorbell";
|
||||
version = "0.7.0";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "ring_doorbell";
|
||||
inherit version;
|
||||
sha256 = "1qnx9q9rzxhh0pygl3f9bg21b5zv7csv9h1w4zngdvsphbs0yiwg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
oauthlib
|
||||
pytz
|
||||
requests
|
||||
requests_oauthlib
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "ring_doorbell" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tchellomello/python-ring-doorbell";
|
||||
description = "A Python library to communicate with Ring Door Bell (https://ring.com/)";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ graham33 ];
|
||||
};
|
||||
}
|
@ -6927,6 +6927,8 @@ in {
|
||||
|
||||
rig = callPackage ../development/python-modules/rig { };
|
||||
|
||||
ring-doorbell = callPackage ../development/python-modules/ring-doorbell { };
|
||||
|
||||
ripser = callPackage ../development/python-modules/ripser { };
|
||||
|
||||
rising = callPackage ../development/python-modules/rising { };
|
||||
|
Loading…
Reference in New Issue
Block a user