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";
2019-06-01 16:41:05 +02:00
version = "20190601";
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}";
2019-06-01 16:41:05 +02:00
sha256 = "04gx1p447wabw3d18s9sm8ynlvj2bp8ac9dsgs08kd1dyrsjlljk";
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 ];
};
}