From 66df83f4f7a659532ef30538890d3ed6034dfe65 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Sat, 22 Feb 2020 08:11:03 +0000 Subject: [PATCH] cassowary: 0.3.0 -> 0.7.0 --- pkgs/tools/networking/cassowary/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/networking/cassowary/default.nix b/pkgs/tools/networking/cassowary/default.nix index bc1f9cebb42..6156f43b04b 100644 --- a/pkgs/tools/networking/cassowary/default.nix +++ b/pkgs/tools/networking/cassowary/default.nix @@ -1,21 +1,23 @@ -{ lib, buildGoModule, fetchFromGitHub, writeText, runtimeShell, ncurses, }: +{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "cassowary"; - version = "0.3.0"; + version = "0.7.0"; src = fetchFromGitHub { owner = "rogerwelin"; repo = pname; - rev = "33b7e81a5d147980f4ddc689818df2b071f6ab4e"; - sha256 = "01cdmh2v9rz8rna08hdsddllck6zp9wcrhxdy6hs77zfsbzyfflx"; + rev = "v${version}"; + sha256 = "0p5vcs25h5nj36dm9yjmdjymcq0zldm3zlqfppxcjx862h48k8zj"; }; modSha256 = "1iylnnmj5slji89pkb3shp4xqar1zbpl7bzwddbzpp8y52fmsv1c"; + buildFlagsArray = [ "-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 "; + description = "Modern cross-platform HTTP load-testing tool written in Go"; license = licenses.mit; maintainers = with maintainers; [ hugoreeves ]; platforms = platforms.unix;