2020-09-25 04:45:31 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "shadowsocks-v2ray-plugin";
|
|
|
|
version = "1.3.1";
|
2023-03-15 16:39:30 +00:00
|
|
|
# Version 1.3.2 has runtime failures with Go 1.19
|
|
|
|
# https://github.com/NixOS/nixpkgs/issues/219343
|
|
|
|
# https://github.com/shadowsocks/v2ray-plugin/issues/292
|
|
|
|
# nixpkgs-update: no auto update
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "shadowsocks";
|
|
|
|
repo = "v2ray-plugin";
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-iwfjINY/NQP9poAcCHz0ETxu0Nz58AmD7i1NbF8hBCs=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-3/1te41U4QQTMeoA1y43QMfJyiM5JhaLE0ORO8ZO7W8=";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Yet another SIP003 plugin for shadowsocks, based on v2ray";
|
|
|
|
homepage = "https://github.com/shadowsocks/v2ray-plugin/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ahrzb ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "v2ray-plugin";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|