khal: patch using upstream commit adding khal.desktop

This commit is contained in:
Will Dietz 2019-08-20 00:42:55 -05:00
parent a38c5118d4
commit 6aea2ab7fa
No known key found for this signature in database
GPG Key ID: EBB0EA4124809D02

View File

@ -1,4 +1,4 @@
{ stdenv, pkgs, python3 }:
{ stdenv, pkgs, python3, fetchpatch }:
with python3.pkgs; buildPythonApplication rec {
pname = "khal";
@ -9,6 +9,14 @@ with python3.pkgs; buildPythonApplication rec {
sha256 = "1r8bkgjwkh7i8ygvsv51h1cnax50sb183vafg66x5snxf3dgjl6l";
};
# Include a khal.desktop file via upstream commit.
# This patch should be removed when updating to the next version, probably.
patches = [ (fetchpatch {
name = "add-khal-dot-desktop.patch";
url = "https://github.com/pimutils/khal/commit/1f93d238fec7c934dd2f8e48f54925d22130e3aa.patch";
sha256 = "06skn3van7zd93348fc6axllx71ckkc7h2zljqlvwa339vca608c";
}) ];
propagatedBuildInputs = [
atomicwrites
click