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

41 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, python3Packages }:
2017-10-29 20:15:10 +00:00
python3Packages.buildPythonApplication rec {
2020-04-19 15:15:17 +01:00
pname = "lieer";
2021-01-08 11:07:40 +00:00
version = "1.3";
2017-10-29 20:15:10 +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
google_api_python_client
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" ];
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/";
2020-04-19 15:15:17 +01:00
repositories.git = "https://github.com/gauteh/lieer.git";
2021-01-09 22:29:47 +00:00
license = licenses.gpl3Plus;
maintainers = with maintainers; [ flokli kaiha ];
2017-10-29 20:15:10 +00:00
};
}