anchor.diff:      pkginfo
       freezegun
     ];
  -  nativeBuildInputs = [ setuptools-scm sphinx sphinxcontrib_newsfeed ];
  +  nativeBuildInputs = [ setuptools-scm sphinx sphinxcontrib_newsfeed installShellFiles ];
     checkInputs = [
       glibcLocales
       pytestCheckHook
  
positive.code:   LC_ALL = "en_US.UTF-8";
  
    postInstall = ''
      # zsh completion
      install -D misc/__khal $out/share/zsh/site-functions/__khal
  
      # man page
      PATH="${python3.withPackages (ps: with ps; [ sphinx sphinxcontrib_newsfeed ])}/bin:$PATH" \
  
negative.code: { lib, stdenv, pkgs, python3, fetchpatch, glibcLocales, installShellFiles }:
  
  with python3.pkgs; buildPythonApplication rec {
    pname = "khal";
    version = "0.10.5";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "sha256-Tu+3rDAqJthgbbOSgXWHpO2UwnoVvy6iEWFKRk/PDHY=";
    };
  
    propagatedBuildInputs = [
  