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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
610 B
Nix
Raw Normal View History

2021-08-21 20:30:55 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2019-04-10 15:56:21 +00:00
2021-08-21 20:30:55 +00:00
buildGoModule rec {
2019-04-10 15:56:21 +00:00
pname = "brook";
2022-09-30 09:35:56 +00:00
version = "20221010";
2019-04-10 15:56:21 +00:00
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}";
2022-09-30 09:35:56 +00:00
sha256 = "sha256-l5sdujUj6uHL7uuntAxagROvzOc/Z648ax6ZADtA/bk=";
2019-04-10 15:56:21 +00:00
};
2022-09-30 09:35:56 +00:00
vendorSha256 = "sha256-kNd0TYaJmz7+bOXf7EaDsiU14eJmz9BPdhKmR7HhxCo=";
2019-04-10 15:56:21 +00:00
meta = with lib; {
homepage = "https://github.com/txthinking/brook";
2019-04-10 15:56:21 +00:00
description = "A cross-platform Proxy/VPN software";
2021-08-21 20:30:55 +00:00
license = with licenses; [ gpl3Only ];
2021-10-29 15:01:37 +00:00
platforms = platforms.unix;
2019-04-10 15:56:21 +00:00
maintainers = with maintainers; [ xrelkd ];
};
}