From d11cda367fcb17cb98117f7dfc99a651f661542f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 23 Dec 2019 12:20:31 +0100 Subject: feat(third_party): Check in derivation for lieer --- third_party/lieer/default.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 third_party/lieer/default.nix (limited to 'third_party/lieer/default.nix') diff --git a/third_party/lieer/default.nix b/third_party/lieer/default.nix new file mode 100644 index 0000000000..80bd063501 --- /dev/null +++ b/third_party/lieer/default.nix @@ -0,0 +1,27 @@ +# Lieer is a small tool to synchronise a Gmail account with a local +# maildir. +# +# Lieer is packaged in nixpkgs, but as of 2019-12-23 it is an old +# version using the previous branding (gmailieer). +{ pkgs, ... }: + +with pkgs.third_party; + +python3Packages.buildPythonApplication rec { + name = "lieer-${version}"; + version = "1.0"; + + src = fetchFromGitHub { + owner = "gauteh"; + repo = "lieer"; + rev = "v${version}"; + sha256 = "1zzylv8xbcrh34bz0s29dawzcyx39lai8y8wk0bl4x75v1jfynvf"; + }; + + propagatedBuildInputs = with python3Packages; [ + notmuch + oauth2client + google_api_python_client + tqdm + ]; +} -- cgit 1.4.1