khal: 0.10.5 -> 0.11.1

This commit is contained in:
Lucas Hoffmann 2023-04-23 20:50:49 +02:00 committed by Matthieu Coudron
parent c35725f127
commit 5afaa90a00

View file

@ -1,7 +1,6 @@
{ 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 \