From 9717d021214d84c3c34ac9fc2f68cab158abf396 Mon Sep 17 00:00:00 2001
From: Markus Hauck <markus1189@gmail.com>
Date: Wed, 3 Feb 2021 13:47:05 +0100
Subject: [PATCH] calcurse: include oauth2client package

The `oauth2client` is required for the `calcurse-caldav` program to
e.g. connect to Google Calendar with OAuth2
---
 pkgs/applications/misc/calcurse/default.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/applications/misc/calcurse/default.nix b/pkgs/applications/misc/calcurse/default.nix
index ba8edb2baa50..8a83c593986a 100644
--- a/pkgs/applications/misc/calcurse/default.nix
+++ b/pkgs/applications/misc/calcurse/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
 
   postInstall = ''
     patchShebangs .
-    buildPythonPath ${python3Packages.httplib2}
+    buildPythonPath "${python3Packages.httplib2} ${python3Packages.oauth2client}"
     patchPythonScript $out/bin/calcurse-caldav
   '';