mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
26 lines
682 B
Nix
26 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";
|
|
};
|
|
}
|