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

27 lines
612 B
Nix
Raw Normal View History

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