chore(lieer): Remove OAuth client patch
This is now done in my work-specific configuration, which is elsewhere.
This commit is contained in:
parent
4a0cf0de98
commit
3c94625a5f
3 changed files with 1 additions and 34 deletions
15
third_party/lieer/default.nix
vendored
15
third_party/lieer/default.nix
vendored
|
|
@ -7,18 +7,7 @@
|
|||
|
||||
with pkgs.third_party;
|
||||
|
||||
let
|
||||
# My employer does not allow third-party projects to use our email
|
||||
# accounts, but I want to use lieer for it anyways.
|
||||
#
|
||||
# To accomplish this the following derivation creates a patch that
|
||||
# replaces the API client with one that I control.
|
||||
authPatch = runCommand "client_secret.patch" {} ''
|
||||
export PATH=${lib.makeBinPath [ gettext ]}:$PATH
|
||||
export CLIENT_SECRET='${builtins.getEnv "LIEER_CLIENT_SECRET"}'
|
||||
cat ${./api_client.patch} | envsubst > $out
|
||||
'';
|
||||
in python3Packages.buildPythonApplication rec {
|
||||
python3Packages.buildPythonApplication rec {
|
||||
name = "lieer-${version}";
|
||||
version = "1.0";
|
||||
|
||||
|
|
@ -29,8 +18,6 @@ in python3Packages.buildPythonApplication rec {
|
|||
sha256 = "1zzylv8xbcrh34bz0s29dawzcyx39lai8y8wk0bl4x75v1jfynvf";
|
||||
};
|
||||
|
||||
patches = [ authPatch ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
notmuch
|
||||
oauth2client
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue