3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/etesync-dav/default.nix

38 lines
821 B
Nix
Raw Normal View History

2020-07-20 21:49:06 +01:00
{ lib, python3Packages, radicale3 }:
2020-01-22 12:18:13 +00:00
python3Packages.buildPythonApplication rec {
pname = "etesync-dav";
2020-07-20 21:49:06 +01:00
version = "0.20.0";
2020-01-22 12:18:13 +00:00
src = python3Packages.fetchPypi {
inherit pname version;
2020-07-20 21:49:06 +01:00
sha256 = "1q8h89hqi4kxphn1g5nbcia0haz5k57is9rycwaabm55mj9s9fah";
2020-01-22 12:18:13 +00:00
};
postPatch = ''
substituteInPlace setup.py --replace "Radicale==" "Radicale>="
'';
2020-01-22 12:18:13 +00:00
propagatedBuildInputs = with python3Packages; [
etesync
flask
flask_wtf
2020-07-20 21:49:06 +01:00
radicale3
2020-01-22 12:18:13 +00:00
];
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 ];
};
}