Commit 5afaa90a authored by Lucas Hoffmann's avatar Lucas Hoffmann Committed by Matthieu Coudron
Browse files

khal: 0.10.5 -> 0.11.1

parent c35725f1
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, glibcLocales
, installShellFiles
, python3
@@ -9,13 +8,13 @@

python3.pkgs.buildPythonApplication rec {
  pname = "khal";
  version = "0.10.5";
  version = "0.11.1";

  src = fetchFromGitHub {
    owner = "pimutils";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-FneJmoAOb7WjSgluCwlspf27IU3MsQZFKryL9OSSsUw=";
    hash = "sha256-5wBKo24EKdEUoYhhv1EqMPOjdwUS31d3R24kLdbyvPA=";
  };

  SETUPTOOLS_SCM_PRETEND_VERSION = version;
@@ -55,18 +54,6 @@ python3.pkgs.buildPythonApplication rec {
    vdirsyncer
  ];

  patches = [
    # Tests working with latest pytz version, https://github.com/pimutils/khal/pull/1183
    (fetchpatch {
      name = "support-later-pytz.patch";
      url = "https://github.com/pimutils/khal/commit/53eb8a7426d5c09478c78d809c4df4391438e246.patch";
      sha256 = "sha256-drGtvJlQ3qFUdeukRWCFycPSZGWG/FSRqnbwJzFKITc=";
      excludes = [
        "CHANGELOG.rst"
      ];
    })
  ];

  postInstall = ''
    # shell completions
    installShellCompletion --cmd khal \