mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
home-assistant-cli: use python36
dateparser tests fail on python36: https://github.com/NixOS/nixpkgs/issues/52766
This commit is contained in:
parent
cfd556fd4a
commit
c3b01eed80
@ -1,10 +1,11 @@
|
||||
{ lib, python3, glibcLocales }:
|
||||
# dateparser tests fail on pyton37: https://github.com/NixOS/nixpkgs/issues/52766
|
||||
{ lib, python36, glibcLocales }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
python36.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant-cli";
|
||||
version = "0.4.2";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
src = python36.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "e0b05af9e49baf88a44f1b36c3446a106223016dceefd5f9910e204af5901f44";
|
||||
};
|
||||
@ -14,11 +15,11 @@ python3.pkgs.buildPythonApplication rec {
|
||||
sed -i "s/'\(.*\)\(==\|>=\).*'/'\1'/g" setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
propagatedBuildInputs = with python36.pkgs; [
|
||||
requests pyyaml netdisco click click-log tabulate idna jsonpath_rw jinja2 dateparser
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
checkInputs = with python36.pkgs; [
|
||||
pytest requests-mock glibcLocales
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user