diff --git a/pkgs/tools/networking/offlineimap/default.nix b/pkgs/tools/networking/offlineimap/default.nix index aa9c588e2531..d3607a63210b 100644 --- a/pkgs/tools/networking/offlineimap/default.nix +++ b/pkgs/tools/networking/offlineimap/default.nix @@ -7,6 +7,8 @@ , installShellFiles , libxml2 , libxslt +, testers +, offlineimap }: python3.pkgs.buildPythonApplication rec { @@ -58,10 +60,13 @@ python3.pkgs.buildPythonApplication rec { "offlineimap" ]; + passthru.tests.version = testers.testVersion { package = offlineimap; }; + meta = with lib; { description = "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers"; homepage = "http://offlineimap.org"; license = licenses.gpl2Plus; maintainers = with maintainers; [ endocrimes ]; + mainProgram = "offlineimap"; }; }