anchor.diff:      glibcLocales
     ];
   
  -  propagatedBuildInputs = with python36.pkgs; [
  +  propagatedBuildInputs = with python3.pkgs; [
       requests netdisco click click-log tabulate jsonpath_rw jinja2 dateparser regex ruamel_yaml aiohttp
     ];
   
  
positive.code: # dateparser tests fail on pyton37: https://github.com/NixOS/nixpkgs/issues/52766
  { lib, python36, glibcLocales }:
  
  python36.pkgs.buildPythonApplication rec {
    pname = "homeassistant-cli";
    version = "0.5.0";
  
    src = python36.pkgs.fetchPypi {
      inherit pname version;
      sha256 = "4ad137d336508ab74840a34b3cc488ad884cc75285f5d7842544df1c3adacf8d";
    };
  
negative.code:     $out/bin/hass-cli completion zsh > "$out/share/zsh/site-functions/_hass-cli"
    '';
  
    checkInputs = with python3.pkgs; [
      pytest requests-mock
    ];
  
  