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

28 lines
705 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-01-15 22:38:24 +01:00
buildGoModule rec {
pname = "cassowary";
2021-03-13 04:02:03 +01:00
version = "0.14.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}";
2021-03-13 04:02:03 +01:00
sha256 = "sha256-rQNrxAKf2huY9I6iqdf1iYxgXaQI0LG1Lkrnv1OuJsg=";
2020-01-15 22:38:24 +01:00
};
2021-03-13 04:02:03 +01:00
vendorSha256 = "sha256-hGpiL88x2roFEjJJM4CKyt3k66VK1pEnpOwvhDPDp6M=";
2020-01-15 22:38:24 +01:00
doCheck = false;
2021-08-26 08:45:51 +02:00
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
2020-02-22 09:11:03 +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;
};
}