depot/third_party/nixpkgs/pkgs/applications/misc/etesync-dav/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

37 lines
821 B
Nix

{ lib, python3Packages, radicale3 }:
python3Packages.buildPythonApplication rec {
pname = "etesync-dav";
version = "0.20.0";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1q8h89hqi4kxphn1g5nbcia0haz5k57is9rycwaabm55mj9s9fah";
};
postPatch = ''
substituteInPlace setup.py --replace "Radicale==" "Radicale>="
'';
propagatedBuildInputs = with python3Packages; [
etesync
flask
flask_wtf
radicale3
];
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 ];
};
}