3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.blinkpy: init at 0.17.1

This commit is contained in:
Robert Schütz 2021-06-15 19:58:14 +02:00
parent e264354b61
commit 18a79652ce
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, python-dateutil
, python-slugify
, requests
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "blinkpy";
version = "0.17.1";
src = fetchFromGitHub {
owner = "fronzbot";
repo = "blinkpy";
rev = "v${version}";
sha256 = "11h4r2vkrlxwjig1lay1n5wpny5isfgz85f7lsn8ndnqa2wpsymp";
};
propagatedBuildInputs = [
python-dateutil
python-slugify
requests
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"blinkpy"
"blinkpy.api"
"blinkpy.auth"
"blinkpy.blinkpy"
"blinkpy.camera"
"blinkpy.helpers.util"
"blinkpy.sync_module"
];
meta = with lib; {
description = "Python library for the Blink Camera system";
homepage = "https://github.com/fronzbot/blinkpy";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -1109,6 +1109,8 @@ in {
blinker = callPackage ../development/python-modules/blinker { };
blinkpy = callPackage ../development/python-modules/blinkpy { };
BlinkStick = callPackage ../development/python-modules/blinkstick { };
blis = callPackage ../development/python-modules/blis { };