Merge pull request #126977 from dotlambda/blinkpy-init

This commit is contained in:
Martin Weinelt 2021-06-16 12:49:56 +02:00 committed by GitHub
commit 8feaae5b60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 52 additions and 1 deletions

@ -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 ];
};
}

@ -82,7 +82,7 @@
"bizkaibus" = ps: with ps; [ ]; # missing inputs: bizkaibus
"blackbird" = ps: with ps; [ pyblackbird ];
"blebox" = ps: with ps; [ blebox-uniapi ];
"blink" = ps: with ps; [ ]; # missing inputs: blinkpy
"blink" = ps: with ps; [ blinkpy ];
"blinksticklight" = ps: with ps; [ BlinkStick ];
"blinkt" = ps: with ps; [ ]; # missing inputs: blinkt
"blockchain" = ps: with ps; [ ]; # missing inputs: python-blockchain-api

@ -308,6 +308,7 @@ in with py.pkgs; buildPythonApplication rec {
"binary_sensor"
"blackbird"
"blebox"
"blink"
"blueprint"
"bluetooth_le_tracker"
"bond"

@ -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 { };