nixpkgs/pkgs/tools/networking/cassowary/default.nix
2022-07-07 19:46:50 +00:00

25 lines
685 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "cassowary";
version = "0.14.1";
src = fetchFromGitHub {
owner = "rogerwelin";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JWuVoEEViVHn39LmJ0IQGg6ggDKS49WhE5Qwp+ep0Pk=";
};
vendorSha256 = "sha256-caFYa0chTsIVW7pN/TBJNfQpnF6Hm4/GFyULDqL/bH4=";
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 ];
platforms = platforms.unix;
};
}