2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-10-30 12:14:25 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "versus";
|
|
|
|
version = "1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "INFURA";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-09-21 14:23:40 +00:00
|
|
|
hash = "sha256-jX2HRdrLwDjnrUofRzmsSFLMbiPh0a1DPv1tzl+StUg=";
|
2020-10-30 12:14:25 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 14:23:40 +00:00
|
|
|
vendorHash = "sha256-e116ZXofSnD7+5f8xdBjpMYdeUhGPVTLfaxnhhqTIrQ=";
|
2020-10-30 12:14:25 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-10-30 12:14:25 +00:00
|
|
|
description = "Benchmark multiple API endpoints against each other";
|
|
|
|
homepage = "https://github.com/INFURA/versus";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mmahut ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "versus";
|
2020-10-30 12:14:25 +00:00
|
|
|
};
|
|
|
|
}
|