brook: 20200201 -> 20210701

This commit is contained in:
xrelkd 2021-08-22 04:30:55 +08:00
parent 658cad9799
commit 232b2f8923
2 changed files with 6 additions and 174 deletions

View File

@ -1,26 +1,23 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "brook";
version = "20200201";
goPackagePath = "github.com/txthinking/brook";
version = "20210701";
src = fetchFromGitHub {
owner = "txthinking";
repo = pname;
rev = "v${version}";
sha256 = "0fyw2q99gapnrg836x299sgagx94a5jpw4x3gnsf69fih7cqp9lm";
sha256 = "sha256-MYd9q1pjrdLbgIoIakHeBuCjlEjXib0CNivZiqk5hns=";
};
goDeps = ./deps.nix;
vendorSha256 = "sha256-iaaXLpzN69yHBcAi9GS+G7LupX/7VABo1XFNegk+i3Q=";
meta = with lib; {
homepage = "https://github.com/txthinking/brook";
description = "A cross-platform Proxy/VPN software";
license = with licenses; [ gpl3 ];
license = with licenses; [ gpl3Only ];
platforms = platforms.linux;
maintainers = with maintainers; [ xrelkd ];
};
}

View File

@ -1,165 +0,0 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "github.com/urfave/cli";
fetch = {
type = "git";
url = "https://github.com/urfave/cli";
rev = "3f8c3bca5729c9b679beffd0d88a67d468f832fd";
sha256 = "07m5dfp5190wczdw2vqzz4srcpjz5lci1z12rzww9pg9pdjs63gy";
};
}
{
goPackagePath = "github.com/cpuguy83/go-md2man";
fetch = {
type = "git";
url = "https://github.com/cpuguy83/go-md2man";
rev = "217d7bd9dd5494abdf2877afbeb24ba0e11b43d6";
sha256 = "0vsmdrh5c5ngrnq91yg40l8388vh7l1p4wlv4lh7p977dp75ivg6";
};
}
{
goPackagePath = "github.com/gorilla/mux";
fetch = {
type = "git";
url = "https://github.com/gorilla/mux";
rev = "75dcda0896e109a2a22c9315bca3bb21b87b2ba5";
sha256 = "1d0sy1paa055ic84sp3766s9pa24q008hf77dc842vrgvn8p3wmh";
};
}
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
type = "git";
url = "https://github.com/gorilla/websocket";
rev = "c3e18be99d19e6b3e8f1559eea2c161a665c4b6b";
sha256 = "03n1n0nwz3k9qshmriycqznnnvd3dkzsfwpnfjzzvafjxk9kyapv";
};
}
{
goPackagePath = "github.com/mdp/qrterminal";
fetch = {
type = "git";
url = "https://github.com/mdp/qrterminal";
rev = "b74f0e01e9f532111951caf89df78e5619193db5";
sha256 = "1xz5f3dfkdwd6svnbh98rlr5pfr4s4hrqs4vffn9wy5vb336pp8p";
};
}
{
goPackagePath = "github.com/miekg/dns";
fetch = {
type = "git";
url = "https://github.com/miekg/dns";
rev = "6c0c4e6581f8e173cc562c8b3363ab984e4ae071";
sha256 = "0fpd9alvhzrkb1c31n4lrxlpv1nlhy51w1yg39xxb3mjmrb7lby1";
};
}
{
goPackagePath = "github.com/patrickmn/go-cache";
fetch = {
type = "git";
url = "https://github.com/patrickmn/go-cache";
rev = "46f407853014144407b6c2ec7ccc76bf67958d93";
sha256 = "08155wdk2883qw37p7wgrpv8wb9lbx4cpfgrraivdavs3qbjlq5j";
};
}
{
goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
fetch = {
type = "git";
url = "https://github.com/shurcooL/sanitized_anchor_name";
rev = "7bfe4c7ecddb3666a94b053b422cdd8f5aaa3615";
sha256 = "1gv9p2nr46z80dnfjsklc6zxbgk96349sdsxjz05f3z6wb6m5l8f";
};
}
{
goPackagePath = "github.com/txthinking/gotun2socks";
fetch = {
type = "git";
url = "https://github.com/txthinking/gotun2socks";
rev = "35016fdae05e78db993d43f55eb96ddbe3958252";
sha256 = "11rl8pqyd6jzi5alpymzi0i5q7pk2492di44v85g7r24y6livrjg";
};
}
{
goPackagePath = "github.com/txthinking/socks5";
fetch = {
type = "git";
url = "https://github.com/txthinking/socks5";
rev = "254e122c4eaf8657900905ed5bed5777870b9df8";
sha256 = "1q43sxzacj216mdzl44khhx51w1z78jpraw955dnjv9va0zqbhmi";
};
}
{
goPackagePath = "github.com/txthinking/x";
fetch = {
type = "git";
url = "https://github.com/txthinking/x";
rev = "99b19c1440b66f803ee98b30b6829651cc3f90cc";
sha256 = "0vzw9wxlgj21y35qv580806vy6k6w1z5yqd5n6ccnq8cd3lvmx70";
};
}
{
goPackagePath = "github.com/urfave/negroni";
fetch = {
type = "git";
url = "https://github.com/urfave/negroni";
rev = "f4316798d5d3acd39eb6784301b19f27f471415f";
sha256 = "0w4iva6s8v8sk95l8mb1a67v0bn4h7njyylv9dnwma0d3l7k24y3";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "69ecbb4d6d5dab05e49161c6e77ea40a030884e1";
sha256 = "1ylm1lp1miihaq93p8rh2yh823qljqkyqwk3gjzk2bdvzz427pr5";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "6afb5195e5aab057fda82e27171243402346b0ad";
sha256 = "1aiz41q2yxgg3dxfkn33ff54vhaxbiwcps9j3ia1xx4cqxim38zw";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "9fbb57f87de9ccfe3a99d4e3270ce8a926ebba4f";
sha256 = "0qaz2jjkrxzgkapmjqingdwamrgq2aiblxvzzgrcsv2qhkj0wdps";
};
}
{
goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
rev = "929e72ca90deac4784bbe451caf10faa5b256ebe";
sha256 = "0kwyw87bx0rsc5bbqrrg36yv2b7rs4ijs4p4444s8zwzq6sw24y8";
};
}
{
goPackagePath = "gopkg.in/russross/blackfriday.v2";
fetch = {
type = "git";
url = "https://gopkg.in/russross/blackfriday.v2";
rev = "d3b5b032dc8e8927d31a5071b56e14c89f045135";
sha256 = "0nlz7isdd4rgnwzs68499hlwicxz34j2k2a0b8jy0y7ycd2bcr5j";
};
}
{
goPackagePath = "rsc.io/qr";
fetch = {
type = "git";
url = "https://github.com/rsc/qr";
rev = "ca9a01fc2f9505024045632c50e5e8cd6142fafe";
sha256 = "04yx493g0fqp8i59zjxnl4k3s0cl0kr5m8xh0ph8m10r1hkw0xr3";
};
}
]