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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

54 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, stdenv
2023-04-29 21:49:00 +02:00
, fetchpatch
2023-04-29 21:51:27 +02:00
, nixosTests
, python3
, fetchPypi
, radicale3
}:
2020-01-22 13:18:13 +01:00
python3.pkgs.buildPythonApplication rec {
2020-01-22 13:18:13 +01:00
pname = "etesync-dav";
version = "0.32.1";
2020-01-22 13:18:13 +01:00
src = fetchPypi {
2020-01-22 13:18:13 +01:00
inherit pname version;
2023-03-10 00:34:17 +01:00
hash = "sha256-pOLug5MnVdKaw5wedABewomID9LU0hZPCf4kZKKU1yA=";
2020-01-22 13:18:13 +01:00
};
2023-04-29 21:49:00 +02:00
patches = [
(fetchpatch {
name = "add-missing-comma-in-setup.py.patch";
url = "https://github.com/etesync/etesync-dav/commit/040cb7b57205e70515019fb356e508a6414da11e.patch";
hash = "sha256-87IpIQ87rgpinvbRwUlWd0xeegn0zfVSiDFYNUqPerg=";
})
];
propagatedBuildInputs = with python3.pkgs; [
2022-06-22 14:39:04 +02:00
appdirs
2020-11-30 22:10:07 +01:00
etebase
2020-01-22 13:18:13 +01:00
etesync
flask
flask-wtf
2022-06-22 14:39:04 +02:00
msgpack
setuptools
(python.pkgs.toPythonModule (radicale3.override { python3 = python; }))
2022-06-22 14:39:04 +02:00
requests
2023-04-29 21:49:00 +02:00
types-setuptools
2022-06-22 14:39:04 +02:00
] ++ requests.optional-dependencies.socks;
2020-01-22 13:18:13 +01:00
2020-11-30 22:10:07 +01:00
doCheck = false;
2020-01-22 13:18:13 +01:00
2023-04-29 21:51:27 +02:00
passthru.tests = {
inherit (nixosTests) etesync-dav;
};
2020-01-22 13:18:13 +01:00
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;
2022-10-02 15:55:49 +02:00
maintainers = with maintainers; [ thyol valodim ];
2021-01-16 14:33:10 +01:00
broken = stdenv.isDarwin; # pyobjc-framework-Cocoa is missing
2020-01-22 13:18:13 +01:00
};
}