2022-10-17 05:30:31 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
2019-09-07 05:25:45 +02:00
|
|
|
pname = "nix-store-gcs-proxy";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tweag";
|
|
|
|
repo = "nix-store-gcs-proxy";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0804p65px4wd7gzxggpdxsazkd1hbz1p15zzaxf9ygc6sh26ncln";
|
|
|
|
};
|
|
|
|
|
2023-09-13 06:44:46 +02:00
|
|
|
vendorHash = "sha256-Bm3yFzm2LXOPYWQDk/UBusV0lPfc/BCKIb3pPlWgDFo=";
|
2019-09-07 05:25:45 +02:00
|
|
|
|
2022-10-17 05:30:31 +02:00
|
|
|
ldflags = [ "-s" "-w" ];
|
2019-09-07 05:25:45 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A HTTP nix store that proxies requests to Google Storage";
|
|
|
|
homepage = "https://github.com/tweag/nix-store-gcs-proxy";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ zimbatm ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|