diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
commit | 80d90d9b204f7c17912740f9f414fe5d59f293ba (patch) | |
tree | 5f2065a06e724270610760d59d01c6888b375a46 /infra/libkookie/nixpkgs/pkgs/development/python-modules/hass-nabucasa/default.nix | |
parent | 3a31a84c7d3e589035ad08499206aac44a81f424 (diff) | |
parent | 83cbad92d73216bb0d9187c56cce0b91f9121d5a (diff) |
Merge commit '83cbad92d73216bb0d9187c56cce0b91f9121d5a' into main
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/hass-nabucasa/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/hass-nabucasa/default.nix | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/hass-nabucasa/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/hass-nabucasa/default.nix index 61c63b28ab60..1739183c3a81 100644 --- a/infra/libkookie/nixpkgs/pkgs/development/python-modules/hass-nabucasa/default.nix +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/hass-nabucasa/default.nix @@ -4,13 +4,13 @@ buildPythonPackage rec { pname = "hass-nabucasa"; - version = "0.34.6"; + version = "0.37.2"; src = fetchFromGitHub { owner = "nabucasa"; repo = pname; rev = version; - sha256 = "1lkqwj58qr0vn7zf5mhrhaz973ahj9wjp4mgzvyja1gcdh6amv34"; + sha256 = "0gv8p9nba7269qhc05ds0i79wz4419qjfhn7k9kcngfj1yngb6dm"; }; postPatch = '' @@ -18,24 +18,12 @@ buildPythonPackage rec { sed -i 's/"cryptography.*"/"cryptography"/' setup.py ''; - patches = [ - # relax pytz dependency - (fetchpatch { - url = "https://github.com/NabuCasa/hass-nabucasa/commit/419e80feddc36c68384c032feda0057515b53eaa.patch"; - sha256 = "14dgwci8615cwcf27hg7b42s7da50xhyjys3yx446q7ipk8zw4x6"; - }) - ]; - propagatedBuildInputs = [ acme aiohttp atomicwrites snitun attrs warrant pycognito ]; checkInputs = [ pytest pytest-aiohttp asynctest ]; - # Asynctest's mocking is broken with python3.8 - # https://github.com/Martiusweb/asynctest/issues/132 - doCheck = pythonOlder "3.8"; - checkPhase = '' pytest tests/ ''; |