nerdfonts: fix wrong attribute name in error message (#364463)
[NixPkgs.git] / pkgs / by-name / go / go-shadowsocks2 / package.nix
blobd3398e2d7c7c34bf57c5411104e6a706c0e8057c
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "go-shadowsocks2";
9   version = "0.1.5";
11   src = fetchFromGitHub {
12     owner = "shadowsocks";
13     repo = "go-shadowsocks2";
14     rev = "v${version}";
15     sha256 = "sha256-z2+5q8XlxMN7x86IOMJ0qbrW4Wrm1gp8GWew51yBRFg=";
16   };
18   vendorHash = "sha256-RrHksWET5kicbdQ5HRDWhNxx4rTi2zaVeaPoLdg4uQw=";
20   meta = with lib; {
21     description = "Fresh implementation of Shadowsocks in Go";
22     homepage = "https://github.com/shadowsocks/go-shadowsocks2/";
23     license = licenses.asl20;
24     maintainers = with maintainers; [ oxzi ];
25     mainProgram = "go-shadowsocks2";
26   };