Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
905 B
Nix
38 lines
905 B
Nix
{
|
|
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 ];
|
|
};
|
|
})
|