diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-11-10 13:42:15 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-11-12 11:21:41 +0100 |
commit | dbceff85b94eca9e5ecea4fedadbe4db52bfdbf9 (patch) | |
tree | 0f5cb846c2bbae37dd1dc4d352561109a8c9868d /pkgs/servers/home-assistant/parse-requirements.py | |
parent | e58c5024f0dc96c62e71de34a2364e05ba22ac6f (diff) | |
download | nixpkgs-dbceff85b94eca9e5ecea4fedadbe4db52bfdbf9.tar nixpkgs-dbceff85b94eca9e5ecea4fedadbe4db52bfdbf9.tar.gz nixpkgs-dbceff85b94eca9e5ecea4fedadbe4db52bfdbf9.tar.bz2 nixpkgs-dbceff85b94eca9e5ecea4fedadbe4db52bfdbf9.tar.lz nixpkgs-dbceff85b94eca9e5ecea4fedadbe4db52bfdbf9.tar.xz nixpkgs-dbceff85b94eca9e5ecea4fedadbe4db52bfdbf9.tar.zst nixpkgs-dbceff85b94eca9e5ecea4fedadbe4db52bfdbf9.zip |
home-assistant: 0.81.5 -> 0.82.0
Diffstat (limited to 'pkgs/servers/home-assistant/parse-requirements.py')
-rwxr-xr-x | pkgs/servers/home-assistant/parse-requirements.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/home-assistant/parse-requirements.py b/pkgs/servers/home-assistant/parse-requirements.py index 95b73192698..63374b01795 100755 --- a/pkgs/servers/home-assistant/parse-requirements.py +++ b/pkgs/servers/home-assistant/parse-requirements.py @@ -1,5 +1,5 @@ #! /usr/bin/env nix-shell -#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ aiohttp astral async-timeout attrs certifi jinja2 pyjwt cryptography pip pytz pyyaml requests voluptuous ])" +#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ aiohttp astral async-timeout attrs certifi jinja2 pyjwt cryptography pip pytz pyyaml requests ruamel_yaml voluptuous ])" # # This script downloads Home Assistant's source tarball. # Inside the homeassistant/components directory, each component has an associated .py file, @@ -93,7 +93,7 @@ def name_to_attr_path(req): except KeyError: pass # Let's hope there's only one derivation with a matching name - assert(len(attr_paths) <= 1) + assert len(attr_paths) <= 1, "{} matches more than one derivation: {}".format(req, attr_paths) if len(attr_paths) == 1: return attr_paths.pop() else: |