2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "lieer";
|
2021-01-09 10:05:03 +00:00
|
|
|
version = "1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gauteh";
|
|
|
|
repo = "lieer";
|
|
|
|
rev = "v${version}";
|
2021-01-09 10:05:03 +00:00
|
|
|
sha256 = "12sl7d381l1gjaam419xc8gxmsprxf0hgksz1f974qmmijvr02bh";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
notmuch
|
|
|
|
oauth2client
|
|
|
|
google_api_python_client
|
|
|
|
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;
|
|
|
|
pythonImportsCheck = [ "lieer" ];
|
|
|
|
|
|
|
|
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/";
|
2020-04-24 23:36:52 +00:00
|
|
|
repositories.git = "https://github.com/gauteh/lieer.git";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ flokli kaiha ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|