mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
26 lines
682 B
Nix
26 lines
682 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
buildGoModule rec {
|
|
pname = "nix-store-gcs-proxy";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tweag";
|
|
repo = "nix-store-gcs-proxy";
|
|
rev = "v${version}";
|
|
sha256 = "0804p65px4wd7gzxggpdxsazkd1hbz1p15zzaxf9ygc6sh26ncln";
|
|
};
|
|
|
|
vendorHash = "sha256-Bm3yFzm2LXOPYWQDk/UBusV0lPfc/BCKIb3pPlWgDFo=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = {
|
|
description = "HTTP nix store that proxies requests to Google Storage";
|
|
mainProgram = "nix-store-gcs-proxy";
|
|
homepage = "https://github.com/tweag/nix-store-gcs-proxy";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ zimbatm ];
|
|
};
|
|
}
|
|
|