5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
25 lines
682 B
Nix
25 lines
682 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "cassowary";
|
|
version = "0.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rogerwelin";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-lC3GOS4hugRoQbJYVGv6kl3h6xMAukcOdV2m/u3Wgkk=";
|
|
};
|
|
|
|
vendorHash = "sha256-YP9q9lL2A9ERhzbJBIFKsYsgvy5xYeUO3ekyQdh97f8=";
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/rogerwelin/cassowary";
|
|
description = "Modern cross-platform HTTP load-testing tool written in Go";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ hugoreeves ];
|
|
mainProgram = "cassowary";
|
|
};
|
|
}
|