2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2017-10-29 20:15:10 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-04-19 14:15:17 +00:00
|
|
|
pname = "lieer";
|
2021-01-08 11:07:40 +00:00
|
|
|
version = "1.3";
|
2017-10-29 20:15:10 +00:00
|
|
|
|
2020-05-24 17:24:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gauteh";
|
|
|
|
repo = "lieer";
|
|
|
|
rev = "v${version}";
|
2021-01-08 11:07:40 +00:00
|
|
|
sha256 = "12sl7d381l1gjaam419xc8gxmsprxf0hgksz1f974qmmijvr02bh";
|
2017-10-29 20:15:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
notmuch
|
|
|
|
oauth2client
|
2021-03-05 15:21:18 +00:00
|
|
|
google-api-python-client
|
2017-10-29 20:15:10 +00:00
|
|
|
tqdm
|
2021-01-08 11:07:40 +00:00
|
|
|
setuptools
|
2017-10-29 20:15:10 +00:00
|
|
|
];
|
|
|
|
|
2021-01-09 22:29:47 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "lieer" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-01-09 22:29:47 +00:00
|
|
|
description = "Fast email-fetching and two-way tag synchronization between notmuch and GMail";
|
|
|
|
longDescription = ''
|
2017-10-29 20:15:10 +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-09 22:29:47 +00:00
|
|
|
homepage = "https://lieer.gaute.vetsj.com/";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ flokli kaiha ];
|
2017-10-29 20:15:10 +00:00
|
|
|
};
|
|
|
|
}
|