git.iko.soy/typeable/nixpkgs
on master help sign in
gcalcli: 4.0.4 -> 4.1.0
commit22f97005aec636aea1b380e61b3a6e47a2535833 authorPeter Hoeg <peter@hoeg.com> dateTue 30 Apr 2019, 17:14 (8 years ago) parentdfd8f84
1 file changed+5−11
pkgs/applications/misc/gcalcli/default.nix+5−11
pkgs/applications/misc/gcalcli/default.nix+5−11
@@ -5,32 +5,26 @@ with python3.pkgs;
55
66buildPythonApplication rec {
77 pname = "gcalcli";
8− version = "4.0.4";
8+ version = "4.1.0";
99
1010 src = fetchFromGitHub {
1111 owner = "insanum";
1212 repo = pname;
1313 rev = "v${version}";
14− sha256 = "0bl4cmc24iw12zn5mlj5qn141s2k2mzdixbcb92pfng4w2s4dq66";
14+ sha256 = "06iijpwlvvn8bj81s4znhykilvwvydxjmzd3d4nsa5j2kj3iwshi";
1515 };
1616
1717 postPatch = lib.optionalString stdenv.isLinux ''
18− substituteInPlace gcalcli/argparsers.py --replace \
19− "command = 'notify-send -u critical" \
20− "command = '${libnotify}/bin/notify-send -u critical"
18+ substituteInPlace gcalcli/argparsers.py \
19+ --replace "'notify-send" "'${libnotify}/bin/notify-send"
2120 '';
2221
2322 propagatedBuildInputs = [
2423 dateutil gflags httplib2 parsedatetime six vobject
2524 google_api_python_client oauth2client uritemplate
25+ libnotify
2626 ] ++ lib.optional (!isPy3k) futures;
2727
28− postInstall = lib.optionalString stdenv.isLinux ''
29− substituteInPlace $out/bin/gcalcli --replace \
30− "command = 'notify-send -u critical -a gcalcli %s'" \
31− "command = '${libnotify}/bin/notify-send -i view-calendar-upcoming-events -u critical -a Calendar %s'"
32− '';
33−
3428 # There are no tests as of 4.0.0a4
3529 doCheck = false;
3630