nixpkgs/pkgs/applications/misc/etesync-dav/default.nix

34 lines
730 B
Nix
Raw Normal View History

2020-01-22 12:18:13 +00:00
{ lib, python3Packages, radicale2 }:
python3Packages.buildPythonApplication rec {
pname = "etesync-dav";
2020-04-12 10:32:25 +01:00
version = "0.16.0";
2020-01-22 12:18:13 +00:00
src = python3Packages.fetchPypi {
inherit pname version;
2020-04-12 10:32:25 +01:00
sha256 = "1r0d52rlhg7dz6hziplzy7ypsfx9lgbs76j3ylinh2csplwkzv69";
2020-01-22 12:18:13 +00:00
};
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 ];
};
}