nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "versus";
9 version = "1.0";
10
11 src = fetchFromGitHub {
12 owner = "INFURA";
13 repo = "versus";
14 rev = "v${version}";
15 hash = "sha256-jX2HRdrLwDjnrUofRzmsSFLMbiPh0a1DPv1tzl+StUg=";
16 };
17
18 vendorHash = "sha256-e116ZXofSnD7+5f8xdBjpMYdeUhGPVTLfaxnhhqTIrQ=";
19
20 meta = {
21 description = "Benchmark multiple API endpoints against each other";
22 homepage = "https://github.com/INFURA/versus";
23 license = lib.licenses.mit;
24 maintainers = with lib.maintainers; [ mmahut ];
25 mainProgram = "versus";
26 };
27}