3
0
Fork 0
forked from mirrors/nixpkgs

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 {
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";