11 src = fetchFromGitHub {
15 hash = "sha256-bL1bys/CBo/P9VfWc/FB8JHW/aBwC521V8DB1sFBIAA=";
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";