2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-01-15 21:38:24 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cassowary";
|
2020-02-22 08:11:03 +00:00
|
|
|
version = "0.7.0";
|
2020-01-15 21:38:24 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rogerwelin";
|
|
|
|
repo = pname;
|
2020-02-22 08:11:03 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0p5vcs25h5nj36dm9yjmdjymcq0zldm3zlqfppxcjx862h48k8zj";
|
2020-01-15 21:38:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
modSha256 = "1iylnnmj5slji89pkb3shp4xqar1zbpl7bzwddbzpp8y52fmsv1c";
|
|
|
|
|
2020-02-22 08:11:03 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2020-01-15 21:38:24 +00:00
|
|
|
homepage = "https://github.com/rogerwelin/cassowary";
|
2020-02-22 08:11:03 +00:00
|
|
|
description = "Modern cross-platform HTTP load-testing tool written in Go";
|
2020-01-15 21:38:24 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ hugoreeves ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|