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

27 lines
622 B
Nix
Raw Normal View History

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