a9014203b6
* rebases the send scope patch * removes the API key override patch, lieer now has a configuration option for this Change-Id: I198e8b61855f6cdb2b1439a1c8f2d9d69261c1b5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2242 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
28 lines
581 B
Nix
28 lines
581 B
Nix
# Lieer is a small tool to synchronise a Gmail account with a local
|
|
# maildir.
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
inherit (pkgs) fetchFromGitHub python3Packages;
|
|
in python3Packages.buildPythonApplication rec {
|
|
name = "lieer-${version}";
|
|
version = "1.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gauteh";
|
|
repo = "lieer";
|
|
rev = "v${version}";
|
|
sha256 = "12sl7d381l1gjaam419xc8gxmsprxf0hgksz1f974qmmijvr02bh";
|
|
};
|
|
|
|
patches = [
|
|
./send_scope.patch
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
notmuch
|
|
oauth2client
|
|
google_api_python_client
|
|
tqdm
|
|
];
|
|
}
|