2019-12-23 12:20:31 +01:00
|
|
|
# Lieer is a small tool to synchronise a Gmail account with a local
|
|
|
|
# maildir.
|
|
|
|
{ pkgs, ... }:
|
|
|
|
|
2019-12-26 15:01:21 +01:00
|
|
|
let
|
2020-12-10 11:22:41 +01:00
|
|
|
inherit (pkgs) fetchFromGitHub python3Packages;
|
2019-12-26 15:01:21 +01:00
|
|
|
in python3Packages.buildPythonApplication rec {
|
2019-12-23 12:20:31 +01:00
|
|
|
name = "lieer-${version}";
|
2020-12-10 11:22:41 +01:00
|
|
|
version = "1.3";
|
2019-12-23 12:20:31 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gauteh";
|
|
|
|
repo = "lieer";
|
|
|
|
rev = "v${version}";
|
2020-12-10 11:22:41 +01:00
|
|
|
sha256 = "12sl7d381l1gjaam419xc8gxmsprxf0hgksz1f974qmmijvr02bh";
|
2019-12-23 12:20:31 +01:00
|
|
|
};
|
|
|
|
|
2019-12-26 15:01:21 +01:00
|
|
|
patches = [
|
|
|
|
./send_scope.patch
|
|
|
|
];
|
2019-12-26 12:52:19 +01:00
|
|
|
|
2019-12-23 12:20:31 +01:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
notmuch
|
|
|
|
oauth2client
|
|
|
|
google_api_python_client
|
|
|
|
tqdm
|
|
|
|
];
|
|
|
|
}
|