nixpkgs/pkgs/applications/networking/lieer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
1.2 KiB
Nix
Raw Normal View History

2023-06-30 09:10:19 +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";
2023-09-27 11:39:48 +00:00
version = "1.5";
2023-06-30 09:10:19 +00:00
format = "setuptools";
2017-10-29 20:15:10 +00:00
src = fetchFromGitHub {
owner = "gauteh";
repo = "lieer";
2023-06-30 09:10:19 +00:00
rev = "refs/tags/v${version}";
2023-09-27 11:39:48 +00:00
sha256 = "sha256-z3OGCjLsOi6K1udChlSih8X6e2qvT8kNhh2PWBGB9zU=";
2017-10-29 20:15:10 +00:00
};
propagatedBuildInputs = with python3Packages; [
2023-04-11 10:37:02 +00:00
notmuch2
google-api-python-client
2023-09-27 11:39:48 +00:00
google-auth-oauthlib
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;
2023-06-30 09:10:19 +00:00
pythonImportsCheck = [
"lieer"
];
2021-01-09 22:29:47 +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;
2023-09-27 11:39:48 +00:00
maintainers = with maintainers; [ archer-65 flokli ];
2023-11-27 01:17:53 +00:00
mainProgram = "gmi";
2017-10-29 20:15:10 +00:00
};
}