From 7a09bb523ba60e1504e35d7eb226b8fdc99bae9c Mon Sep 17 00:00:00 2001 From: Marek Mahut Date: Fri, 30 Oct 2020 13:14:25 +0100 Subject: [PATCH] versus: init at 1.0 --- .../networking/versus/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/applications/networking/versus/default.nix diff --git a/pkgs/applications/networking/versus/default.nix b/pkgs/applications/networking/versus/default.nix new file mode 100644 index 000000000000..1d2875e44e64 --- /dev/null +++ b/pkgs/applications/networking/versus/default.nix @@ -0,0 +1,22 @@ +{ stdenv, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "versus"; + version = "1.0"; + + src = fetchFromGitHub { + owner = "INFURA"; + repo = pname; + rev = "v${version}"; + sha256 = "0j5mj9gwwvgx7r1svlg14dpcqlj8mhwlf7sampkkih6bv92qfzcd"; + }; + + vendorSha256 = "1d12jcd8crxcgp5m8ga691wivim4cg8cbz4pzgxp0jhzg9jplpbv"; + + meta = with stdenv.lib; { + description = "Benchmark multiple API endpoints against each other"; + homepage = "https://github.com/INFURA/versus"; + license = licenses.mit; + maintainers = with maintainers; [ mmahut ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2d0fc9f2aa6e..5d4744319874 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7835,6 +7835,8 @@ in verilog = callPackage ../applications/science/electronics/verilog {}; + versus = callPackage ../applications/networking/versus { }; + vgrep = callPackage ../tools/text/vgrep { }; vhd2vl = callPackage ../applications/science/electronics/vhd2vl { };