qv2ray: Init at 2.6.3

This commit is contained in:
Poscat 2020-11-23 17:50:03 +08:00
parent ca03063a0b
commit 7489594a07
No known key found for this signature in database
GPG key ID: 2D2595A00D08ACE0
2 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,66 @@
{ stdenv
, mkDerivation
, fetchFromGitHub
, qmake
, qttools
, cmake
, clang
, grpc
, protobuf
, openssl
, pkgconfig
, c-ares
, abseil-cpp
, libGL
, zlib
}:
mkDerivation rec {
pname = "qv2ray";
version = "2.6.3";
src = fetchFromGitHub {
owner = "Qv2ray";
repo = "Qv2ray";
rev = "v${version}";
sha256 = "sha256-zf3IlpRbZGDZMEny0jp7S+kWtcE1Z10U9GzKC0W0mZI=";
fetchSubmodules = true;
};
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DQV2RAY_DISABLE_AUTO_UPDATE=on"
"-DQV2RAY_TRANSLATION_PATH=${placeholder "out"}/share/qv2ray/lang"
];
preConfigure = ''
export _QV2RAY_BUILD_INFO_="Qv2ray Nixpkgs"
export _QV2RAY_BUILD_EXTRA_INFO_="(Nixpkgs build) nixpkgs"
'';
buildInputs = [
libGL
zlib
grpc
protobuf
openssl
abseil-cpp
c-ares
];
nativeBuildInputs = [
cmake
clang
pkgconfig
qmake
qttools
];
meta = with stdenv.lib; {
description = "An GUI frontend to v2ray";
homepage = "https://qv2ray.github.io/en/";
license = licenses.gpl3;
maintainers = with maintainers; [ poscat ];
platforms = platforms.all;
};
}

View file

@ -15536,6 +15536,8 @@ in
quicksynergy = callPackage ../applications/misc/quicksynergy { };
qv2ray = libsForQt5.callPackage ../applications/networking/qv2ray {};
qwt = callPackage ../development/libraries/qwt {};
qwt6_qt4 = callPackage ../development/libraries/qwt/6_qt4.nix {