-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108602 from mweinelt/home-assistant
home-assistant: 2020.12.2 -> 2021.1.0 (+entourage)
- Loading branch information
Showing
15 changed files
with
155 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,26 @@ | ||
{ lib, buildPythonPackage, fetchPypi, pytest, fetchpatch }: | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, pytestCheckHook | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "h11"; | ||
version = "0.9.0"; | ||
version = "0.12.0"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k"; | ||
sha256 = "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7"; | ||
}; | ||
|
||
patches = [ | ||
# pytest5 compatability | ||
(fetchpatch { | ||
url = "https://github.com/python-hyper/h11/commit/241e220493a511a5f5a5d472cb88d72661a92ab1.patch"; | ||
sha256 = "1s3ipf9s41m1lksws3xv3j133q7jnjdqvmgk4sfnm8q7li2dww39"; | ||
}) | ||
]; | ||
|
||
checkInputs = [ pytest ]; | ||
|
||
checkPhase = '' | ||
py.test | ||
''; | ||
checkInputs = [ pytestCheckHook ]; | ||
|
||
# Some of the tests use localhost networking. | ||
__darwinAllowLocalNetworking = true; | ||
|
||
meta = with lib; { | ||
description = "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1"; | ||
homepage = "https://github.com/python-hyper/h11"; | ||
license = licenses.mit; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchFromGitHub | ||
, mock | ||
, pytestCheckHook | ||
, requests | ||
, requests-mock | ||
, sseclient-py | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "pyarlo"; | ||
version = "0.2.4"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "tchellomello"; | ||
repo = "python-arlo"; | ||
rev = version; | ||
sha256 = "0pp7y2llk4xnf6zh57j5xas0gw5zqm42qaqssd8p4qa3g5rds8k3"; | ||
}; | ||
|
||
propagatedBuildInputs = [ | ||
requests | ||
sseclient-py | ||
]; | ||
|
||
checkInputs = [ | ||
pytestCheckHook | ||
mock | ||
requests-mock | ||
]; | ||
|
||
pythonImportsCheck = [ "pyarlo" ]; | ||
|
||
meta = with lib; { | ||
description = "Python library to work with Netgear Arlo cameras"; | ||
homepage = "https://github.com/tchellomello/python-arlo"; | ||
license = with licenses; [ lgpl3Plus ]; | ||
maintainers = with maintainers; [ fab ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.