hass-nabucasa: 0.31 -> 0.32.2

wip/yesman
Jörg Thalheim 4 years ago
parent 0d0a9776a2
commit 808909d0db
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92
  1. 14
      pkgs/development/python-modules/hass-nabucasa/default.nix

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

Loading…
Cancel
Save