diff options
author | Vincent Ambo <tazjin@google.com> | 2019-12-23T11·20+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-12-23T11·20+0100 |
commit | d11cda367fcb17cb98117f7dfc99a651f661542f (patch) | |
tree | 226468ea9a57a7c8550a0e069c5307610b0bd19b /third_party | |
parent | a36e9f817da280ffb3188b33df8b6e84e2127a46 (diff) |
feat(third_party): Check in derivation for lieer r/292
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/default.nix | 1 | ||||
-rw-r--r-- | third_party/lieer/default.nix | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/third_party/default.nix b/third_party/default.nix index aade83074640..87c79ee8a95b 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -68,6 +68,7 @@ let parallel pkgconfig protobuf + python3Packages remarshal rink ripgrep diff --git a/third_party/lieer/default.nix b/third_party/lieer/default.nix new file mode 100644 index 000000000000..80bd06350120 --- /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 + ]; +} |