mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
27 lines
625 B
Nix
27 lines
625 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "brook";
|
|
version = "20190401";
|
|
|
|
goPackagePath = "github.com/txthinking/brook";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "txthinking";
|
|
repo = "${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "0kx0dpvr3llpdzmw5bvzhdvwkmzrv6kqbsilx6rgrvyl61y9pyry";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|