depot/third_party/nixpkgs/pkgs/tools/networking/cassowary/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02: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;
};
}