hass-nabucasa: 0.31 -> 0.32.2

This commit is contained in:
Jörg Thalheim 2020-03-18 17:03:58 +00:00
parent 0d0a9776a2
commit 808909d0db
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -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 { buildPythonPackage rec {
pname = "hass-nabucasa"; pname = "hass-nabucasa";
version = "0.31"; version = "0.32.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nabucasa"; owner = "nabucasa";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0hxdvdj41gq5ryafjhrcgf6y8l33lyf45a1vgwwbk0q29sir9bnr"; sha256 = "1hfi5q222kgbgrj5yvr4lbhca49hcs6sc2yhxc4pjxqsc12bv1f1";
}; };
# upstreamed in https://github.com/NabuCasa/hass-nabucasa/pull/119 # upstreamed in https://github.com/NabuCasa/hass-nabucasa/pull/119
@ -17,13 +19,13 @@ buildPythonPackage rec {
cat setup.py 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 = '' checkPhase = ''
pytest tests/ pytest tests/
''; '';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/NabuCasa/hass-nabucasa"; homepage = "https://github.com/NabuCasa/hass-nabucasa";