nixpkgs-suyu/pkgs/tools/networking/brook/default.nix

27 lines
620 B
Nix
Raw Normal View History

2019-04-10 17:56:21 +02:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "brook";
2020-02-01 06:52:20 +01:00
version = "20200201";
2019-04-10 17:56:21 +02:00
goPackagePath = "github.com/txthinking/brook";
src = fetchFromGitHub {
owner = "txthinking";
2019-09-09 01:38:31 +02:00
repo = pname;
2019-04-10 17:56:21 +02:00
rev = "v${version}";
2020-02-01 06:52:20 +01:00
sha256 = "0fyw2q99gapnrg836x299sgagx94a5jpw4x3gnsf69fih7cqp9lm";
2019-04-10 17:56:21 +02:00
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = https://github.com/txthinking/brook;
description = "A cross-platform Proxy/VPN software";
license = with licenses; [ gpl3 ];
platforms = platforms.linux;
maintainers = with maintainers; [ xrelkd ];
};
}