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

27 lines
620 B
Nix
Raw Normal View History

2019-04-10 15:56:21 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "brook";
2020-01-28 18:50:04 +00:00
version = "20200102";
2019-04-10 15:56:21 +00:00
goPackagePath = "github.com/txthinking/brook";
src = fetchFromGitHub {
owner = "txthinking";
2019-09-08 23:38:31 +00:00
repo = pname;
2019-04-10 15:56:21 +00:00
rev = "v${version}";
2020-01-28 18:50:04 +00:00
sha256 = "17h74p4apghljiyqjxgk6c4hqnyqs4lsn15gbysx26r4cvzglpx6";
2019-04-10 15:56:21 +00: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 ];
};
}