about summary refs log tree commit diff
path: root/pkgs/tools/misc/claws/default.nix
blob: 9d360e40c2a8fffc3a2f5e30e7b01b4327dddc64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "claws";
  version = "0.4.1";

  src = fetchFromGitHub {
    rev = version;
    owner = "thehowl";
    repo = pname;
    hash = "sha256-3zzUBeYfu9x3vRGX1DionLnAs1e44tFj8Z1dpVwjdCg=";
  };

  vendorHash = "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;
    maintainers = with maintainers; [ aaronjheng ];
  };
}