Skip to content

Instantly share code, notes, and snippets.

@LinArcX
Created May 16, 2019 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LinArcX/6f5076a437eb5698f86a2caefea2fd47 to your computer and use it in GitHub Desktop.
Save LinArcX/6f5076a437eb5698f86a2caefea2fd47 to your computer and use it in GitHub Desktop.
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
name = "v2ray";
version = "4.18.1";
src = fetchFromGitHub {
owner = "v2ray";
repo = "v2ray-core";
rev = "v${version}";
sha256 = "akwvlsjr2a7wdhlwpxxpdh87wz8k9yjwl59vl2g7ya6m0rvhd3mc";
};
modSha256="bkwvlsjr2a7wdhlwpxxpdh87wz8k9yjwl59vl2g7ya6m0rvhd3mc";
meta = {
homepage = https://github.com/v2ray/v2ray-core;
description = "A platform for building proxies to bypass network restrictions";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.linarcx ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment