From e4804b0c54be10dc5325c3580ce76873e725f29e Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Tue, 20 Sep 2022 07:59:15 +0000 Subject: [PATCH] claws: 0.3.2 -> 0.4.1 --- pkgs/tools/misc/claws/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/claws/default.nix b/pkgs/tools/misc/claws/default.nix index 101c1f271e33..7c2cfecf27a0 100644 --- a/pkgs/tools/misc/claws/default.nix +++ b/pkgs/tools/misc/claws/default.nix @@ -1,23 +1,25 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub }: -buildGoPackage rec { +buildGoModule rec { pname = "claws"; - version = "0.3.2"; - - goPackagePath = "github.com/thehowl/${pname}"; + version = "0.4.1"; src = fetchFromGitHub { rev = version; owner = "thehowl"; repo = pname; - sha256 = "0nl7xvdivnabqr98mh3m1pwqznprsaqpagny6zcwwmz480x4pmfz"; + sha256 = "sha256-3zzUBeYfu9x3vRGX1DionLnAs1e44tFj8Z1dpVwjdCg="; }; + vendorSha256 = "sha256-FP+3Rw5IdCahhx9giQrpepMMtF1pWcyjNglrlu9ju0Q="; + + ldflags = [ "-s" "-w" ]; + meta = with lib; { homepage = "https://github.com/thehowl/claws"; description = "Interactive command line client for testing websocket servers"; license = licenses.mit; platforms = platforms.unix; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ aaronjheng ]; }; }