summary refs log tree commit diff
path: root/pkgs/applications/misc/etesync-dav/default.nix
blob: 27ce4708ac3b7c5a1d054926ce2dfc716342e71f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib, python3Packages, radicale2 }:

python3Packages.buildPythonApplication rec {
  pname = "etesync-dav";
  version = "0.15.0";

  src = python3Packages.fetchPypi {
    inherit pname version;
    sha256 = "1rjp4lhxs6g5yw99rrdg5v98vcvagsabkqf51k1fhhsmbj47mdsm";
  };

  propagatedBuildInputs = with python3Packages; [
    etesync
    flask
    flask_wtf
    radicale2
  ];

  checkInputs = with python3Packages; [
    pytest
  ];

  checkPhase = ''
    pytest
  '';

  meta = with lib; {
    homepage = "https://www.etesync.com/";
    description = "Secure, end-to-end encrypted, and privacy respecting sync for contacts, calendars and tasks";
    license = licenses.gpl3;
    maintainers = with maintainers; [ valodim ];
  };
}