{ lib, buildGoModule, fetchFromGitHub, nix-update-script, }: buildGoModule (finalAttrs: { pname = "fake-gcs-server"; version = "1.52.3"; src = fetchFromGitHub { owner = "fsouza"; repo = "fake-gcs-server"; tag = "v${finalAttrs.version}"; hash = "sha256-XoHG0dm565RRke3me/WDy1TRLrSlecy4b3xuYPvOcoo="; }; vendorHash = "sha256-FMDpQSwLrLaiy5HzdragOmgvLBDax5VDN0DZLzQyhts="; # Unit tests fail to start the emulator server in some environments (e.g. Hydra) for some reason. # # Disabling to avoid flakiness. doCheck = false; passthru = { updateScript = nix-update-script { }; }; meta = { description = "Google Cloud Storage emulator & testing library"; homepage = "https://github.com/fsouza/fake-gcs-server"; license = lib.licenses.bsd2; mainProgram = "fake-gcs-server"; maintainers = with lib.maintainers; [ jpetrucciani ]; }; })