tvl-depot/third_party/lieer/default.nix
sterni 90fdd7f23d chore(3p): bump NixOS channels to 2021-03-18
Making this a monthly service apparently.

Necessary changes:

* 3p: expose emacs27 instead of emacs26 which got removed
  users/tazjin/{camden, frog}: switch from emacs26 to emacs27

* 3p/lieer: google_api_python_client got renamed to
  google-api-python-client

Change-Id: I1011665d10eebc99990addbef6a8a6b000b93896
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2605
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Reviewed-by: tazjin <mail@tazj.in>
2021-03-19 14:00:50 +00:00

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
];
}