git.iko.soy/typeable/nixpkgs
on master help sign in
khal: patch using upstream commit adding khal.desktop
commit6aea2ab7fa9a9ce59154c9f86a68e737e9c9d328 authorWill Dietz <w@wdtz.org> dateTue 20 Aug 2019, 00:42 (7 years ago) parenta38c511
1 file changed+9−1
pkgs/applications/misc/khal/default.nix+9−1
pkgs/applications/misc/khal/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ stdenv, pkgs, python3 }:
1+{ stdenv, pkgs, python3, fetchpatch }:
22
33with python3.pkgs; buildPythonApplication rec {
44 pname = "khal";
@@ -9,6 +9,14 @@ with python3.pkgs; buildPythonApplication rec {
99 sha256 = "1r8bkgjwkh7i8ygvsv51h1cnax50sb183vafg66x5snxf3dgjl6l";
1010 };
1111
12+ # Include a khal.desktop file via upstream commit.
13+ # This patch should be removed when updating to the next version, probably.
14+ patches = [ (fetchpatch {
15+ name = "add-khal-dot-desktop.patch";
16+ url = "https://github.com/pimutils/khal/commit/1f93d238fec7c934dd2f8e48f54925d22130e3aa.patch";
17+ sha256 = "06skn3van7zd93348fc6axllx71ckkc7h2zljqlvwa339vca608c";
18+ }) ];
19+
1220 propagatedBuildInputs = [
1321 atomicwrites
1422 click