summary refs log blame commit diff
path: root/pkgs/tools/networking/calendar-cli/default.nix
blob: b2a7b0bd0a131af2e51e0b48933f40fe4ade6372 (plain) (tree)
1
2
3
4
5
6
7
8






                                         
                     




                          
                                                                 



















                                                         
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonApplication rec {
  pname = "calendar-cli";
  version = "0.13.0";

  src = fetchFromGitHub {
    owner = "tobixen";
    repo = "calendar-cli";
    rev = "v${version}";
    hash = "sha256-wGigrBl5PJL+fVfnFnHDJ5zyB+Rq3Fm+q9vMvLuBBys=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    icalendar
    caldav
    pytz
    tzlocal
    six
  ];

  # tests require networking
  doCheck = false;

  meta = with lib; {
    description = "Simple command-line CalDav client";
    homepage = "https://github.com/tobixen/calendar-cli";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ dotlambda ];
  };
}