11 src = fetchFromGitHub {
15 hash = "sha256-DLZNsvM9tTfzKv6FOnsNKrDIge7yhUE7+8883E4rvQ4=";
20 ldflags = [ "-s" "-w" ];
22 # Fix tests by preventing them from writing to /homeless-shelter.
23 preCheck = "export HOME=$(mktemp -d)";
25 # tests fail on linux for some reason
26 doCheck = stdenv.hostPlatform.isDarwin;
29 description = "Simple CLI for interacting with Google API authentication";
30 homepage = "https://github.com/google/oauth2l";
31 license = licenses.asl20;
32 maintainers = with maintainers; [ happysalada ];
33 mainProgram = "oauth2l";