mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
khal: 0.10.5 -> 0.11.1
This commit is contained in:
parent
c35725f127
commit
5afaa90a00
1 changed files with 2 additions and 15 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue