nixpkgs/pkgs/tools/networking/cassowary/default.nix

28 lines
718 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-01-15 21:38:24 +00:00
buildGoModule rec {
pname = "cassowary";
2021-01-18 12:09:21 +00:00
version = "0.12.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}";
2021-01-18 12:09:21 +00:00
sha256 = "sha256-HRshuMnRPMzatOYYI//yEtjC46kORGXaAWJJjLHW2+k=";
2020-01-15 21:38:24 +00:00
};
2021-01-18 12:09:21 +00:00
vendorSha256 = "sha256-d8JPsHBGkZ/MeoHTCLxi6JeNomER/0veWjqmqGal8eE=";
2020-01-15 21:38:24 +00:00
doCheck = false;
2020-02-22 08:11:03 +00:00
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
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;
};
}