2020-03-27 08:33:21 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-01-15 22:38:24 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cassowary";
|
2020-06-14 13:05:57 +02:00
|
|
|
version = "0.11.0";
|
2020-01-15 22:38:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rogerwelin";
|
|
|
|
repo = pname;
|
2020-02-22 09:11:03 +01:00
|
|
|
rev = "v${version}";
|
2020-06-14 13:05:57 +02:00
|
|
|
sha256 = "161wzcdq7kpny6fzxsqk2ivnah0xwmh2knv37jn0x18lclga1k9s";
|
2020-01-15 22:38:24 +01:00
|
|
|
};
|
|
|
|
|
2020-06-14 13:05:57 +02:00
|
|
|
vendorSha256 = "1qgilmkai9isbbg4pzqic6i8v5z8cay0ilw1gb69z4a6f2q4zhkp";
|
2020-01-15 22:38:24 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-02-22 09:11:03 +01:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2020-01-15 22:38:24 +01:00
|
|
|
homepage = "https://github.com/rogerwelin/cassowary";
|
2020-02-22 09:11:03 +01:00
|
|
|
description = "Modern cross-platform HTTP load-testing tool written in Go";
|
2020-01-15 22:38:24 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ hugoreeves ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|