2023-07-15 17:15:38 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3Packages
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "lieer";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "1.5";
|
2023-07-15 17:15:38 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gauteh";
|
|
|
|
repo = "lieer";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
sha256 = "sha256-z3OGCjLsOi6K1udChlSih8X6e2qvT8kNhh2PWBGB9zU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2023-07-15 17:15:38 +00:00
|
|
|
notmuch2
|
2021-03-09 03:18:52 +00:00
|
|
|
google-api-python-client
|
2024-01-13 08:15:51 +00:00
|
|
|
google-auth-oauthlib
|
2020-04-24 23:36:52 +00:00
|
|
|
tqdm
|
2021-01-09 10:05:03 +00:00
|
|
|
setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"lieer"
|
|
|
|
];
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Fast email-fetching and two-way tag synchronization between notmuch and GMail";
|
|
|
|
longDescription = ''
|
2020-04-24 23:36:52 +00:00
|
|
|
This program can pull email and labels (and changes to labels)
|
|
|
|
from your GMail account and store them locally in a maildir with
|
|
|
|
the labels synchronized with a notmuch database. The changes to
|
|
|
|
tags in the notmuch database may be pushed back remotely to your
|
|
|
|
GMail account.
|
|
|
|
'';
|
2021-01-15 22:18:51 +00:00
|
|
|
homepage = "https://lieer.gaute.vetsj.com/";
|
|
|
|
license = licenses.gpl3Plus;
|
2024-01-13 08:15:51 +00:00
|
|
|
maintainers = with maintainers; [ archer-65 flokli ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "gmi";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|