diff --git a/pkgs/by-name/et/etesync-dav/package.nix b/pkgs/by-name/et/etesync-dav/package.nix index 00b9c2227b90b..f0c0e1c6a3fc7 100644 --- a/pkgs/by-name/et/etesync-dav/package.nix +++ b/pkgs/by-name/et/etesync-dav/package.nix @@ -1,23 +1,23 @@ -{ lib -, stdenv -, nixosTests -, python3 -, fetchFromGitHub -, radicale +{ + lib, + stdenv, + nixosTests, + python3Packages, + fetchFromGitHub, + radicale, }: - -python3.pkgs.buildPythonApplication { +python3Packages.buildPythonApplication rec { pname = "etesync-dav"; - version = "0.32.1-unstable-2024-09-02"; + version = "0.33.4"; src = fetchFromGitHub { owner = "etesync"; repo = "etesync-dav"; - rev = "b9b23bf6fba60d42012008ba06023bccd9109c08"; - hash = "sha256-wWhwnOlwE1rFgROTSj90hlSw4k48fIEdk5CJOXoecuQ="; + tag = "v${version}"; + hash = "sha256-g+rK762tSWPDaBsaTwpTzfK/lqVs+Z/Qrpq2HCpipQE="; }; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3Packages; [ appdirs etebase etesync @@ -25,10 +25,11 @@ python3.pkgs.buildPythonApplication { flask-wtf msgpack setuptools - (python.pkgs.toPythonModule (radicale.override { python3 = python; })) + (python3Packages.toPythonModule (radicale.override { python3 = python; })) requests types-setuptools - ] ++ requests.optional-dependencies.socks; + requests.optional-dependencies.socks + ]; doCheck = false; @@ -36,12 +37,15 @@ python3.pkgs.buildPythonApplication { inherit (nixosTests) etesync-dav; }; - meta = with lib; { - homepage = "https://www.etesync.com/"; + meta = { + homepage = "https://www.etesync.com"; description = "Secure, end-to-end encrypted, and privacy respecting sync for contacts, calendars and tasks"; mainProgram = "etesync-dav"; - license = licenses.gpl3; - maintainers = with maintainers; [ thyol valodim ]; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ + thyol + valodim + ]; broken = stdenv.hostPlatform.isDarwin; # pyobjc-framework-Cocoa is missing }; }