mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
26 lines
679 B
Nix
26 lines
679 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}";
|
|
hash = "sha256-ljJrBNSGPZ9cV/+XcMNfMLT5le7tvtf/O42Tfou5BCA=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|