Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
905 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
})