1 { stdenv, lib, fetchFromGitHub, python3
6 buildPythonApplication rec {
10 src = fetchFromGitHub {
14 sha256 = "0s5fhcmz3n0dwh3vkqr4aigi59q43v03ch5jhh6v75149icwr0df";
17 postPatch = lib.optionalString stdenv.isLinux ''
18 substituteInPlace gcalcli/argparsers.py \
19 --replace "'notify-send" "'${libnotify}/bin/notify-send"
22 propagatedBuildInputs = [
23 python-dateutil gflags httplib2 parsedatetime six vobject
24 google-api-python-client oauth2client uritemplate
28 # There are no tests as of 4.0.0a4
32 description = "CLI for Google Calendar";
33 mainProgram = "gcalcli";
34 homepage = "https://github.com/insanum/gcalcli";
35 license = licenses.mit;
36 maintainers = with maintainers; [ nocoolnametom ];