9 python3Packages.buildPythonApplication rec {
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 hash = "sha256-X9sgnujHMbmrt7cpcBOvTycIKFz3G2QzNDt3me5GUrQ=";
24 substituteInPlace pyproject.toml \
25 --replace-fail "\"google-api-python-client-stubs\"," "" \
26 --replace-fail "\"types-python-dateutil\"," "" \
27 --replace-fail "\"types-requests\"," "" \
28 --replace-fail "\"types-vobject\"," ""
30 + lib.optionalString stdenv.hostPlatform.isLinux ''
31 substituteInPlace gcalcli/argparsers.py \
32 --replace-fail "'notify-send" "'${lib.getExe libnotify}"
35 build-system = with python3Packages; [ setuptools ];
37 dependencies = with python3Packages; [
44 google-api-python-client
50 nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
53 description = "CLI for Google Calendar";
54 mainProgram = "gcalcli";
55 homepage = "https://github.com/insanum/gcalcli";
56 license = lib.licenses.mit;
57 maintainers = with lib.maintainers; [ nocoolnametom ];