Merge pull request #82866 from Mic92/home-assistant
home-assistant: 0.106.6 -> 0.107.7
This commit is contained in:
30
pkgs/development/python-modules/ciso8601/default.nix
Normal file
30
pkgs/development/python-modules/ciso8601/default.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytz
|
||||
, unittest2
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ciso8601";
|
||||
version = "2.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "closeio";
|
||||
repo = "ciso8601";
|
||||
rev = "v${version}";
|
||||
sha256 = "0g1aiyc1ayh0rnibyy416m5mmck38ksgdm3jsy0z3rxgmgb24951";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytz
|
||||
] ++ lib.optional (isPy27) unittest2;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast ISO8601 date time parser for Python written in C";
|
||||
homepage = "https://github.com/closeio/ciso8601";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.mic92 ];
|
||||
};
|
||||
}
|
||||
@@ -1,14 +1,16 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, acme, aiohttp, snitun, attrs, pytest-aiohttp, warrant, pytest }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch
|
||||
, acme, aiohttp, snitun, attrs, pycognito, warrant
|
||||
, pytest-aiohttp, asynctest, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hass-nabucasa";
|
||||
version = "0.31";
|
||||
version = "0.32.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nabucasa";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0hxdvdj41gq5ryafjhrcgf6y8l33lyf45a1vgwwbk0q29sir9bnr";
|
||||
sha256 = "1hfi5q222kgbgrj5yvr4lbhca49hcs6sc2yhxc4pjxqsc12bv1f1";
|
||||
};
|
||||
|
||||
# upstreamed in https://github.com/NabuCasa/hass-nabucasa/pull/119
|
||||
@@ -17,13 +19,13 @@ buildPythonPackage rec {
|
||||
cat setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ acme aiohttp snitun attrs warrant ];
|
||||
propagatedBuildInputs = [ acme aiohttp snitun attrs warrant pycognito ];
|
||||
|
||||
checkInputs = [ pytest pytest-aiohttp ];
|
||||
checkInputs = [ pytest pytest-aiohttp asynctest ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/
|
||||
'';
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/NabuCasa/hass-nabucasa";
|
||||
|
||||
46
pkgs/development/python-modules/pycognito/default.nix
Normal file
46
pkgs/development/python-modules/pycognito/default.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cryptography
|
||||
, boto3
|
||||
, envs
|
||||
, python-jose
|
||||
, requests
|
||||
, mock
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycognito";
|
||||
version = "0.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pvizeli";
|
||||
repo = "pycognito";
|
||||
rev = version;
|
||||
sha256 = "01zns522awm5yp5cbk1y7k7px534i5akiivip709i1naph3hvnfk";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace 'python-jose[cryptography]' 'python-jose'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
boto3
|
||||
envs
|
||||
python-jose
|
||||
requests
|
||||
];
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
checkInputs = [ mock ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support";
|
||||
homepage = "https://GitHub.com/pvizeli/pycognito";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.mic92 ];
|
||||
};
|
||||
}
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyicloud";
|
||||
version = "0.9.4";
|
||||
version = "0.9.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0r171wnq2g5bw7gd59vh6flm0104ix1a6s2vhdrf8s74hipw57si";
|
||||
sha256 = "1c8sdlqcmpajcpf6jfpi6amncibm9c3zrl1860r0vfimps50m34h";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-jose";
|
||||
version = "3.0.1";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mpdavis";
|
||||
repo = "python-jose";
|
||||
rev = version;
|
||||
sha256 = "1ahq4m86z504bnlk9z473r7r3dprg5m39900rld797hbczdhqa4f";
|
||||
sha256 = "1gnn0zy03pywj65ammy3sd07knzhjv8n5jhx1ir9bikgra9v0iqh";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.24.4";
|
||||
version = "0.24.5";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "f66d38f16026097572939ab78b1f46a97f556bca415491eb0fd094d0b5827dfe";
|
||||
sha256 = "0jpgd0rk91si93857mjrizan5gc42kj1q4fi4160qgk68la88fl9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ifaddr ]
|
||||
|
||||
Reference in New Issue
Block a user