toxvpn: 2019-09-09 -> 2024-08-21 (#344989)

This commit is contained in:
toonn
2024-09-28 20:34:11 +02:00
committed by GitHub
2 changed files with 9 additions and 5 deletions
File diff suppressed because one or more lines are too long
+8 -5
View File
@@ -12,13 +12,13 @@
stdenv.mkDerivation {
pname = "toxvpn";
version = "unstable-2019-09-09";
version = "unstable-2024-08-21";
src = fetchFromGitHub {
owner = "cleverca22";
repo = "toxvpn";
rev = "45083dec172ce167f7ed84d571ec2822ebe4d51a";
sha256 = "193crarrx6q0zd2p6dn67pzv8kngwi440zm1y54njgcz0v3fpxmb";
rev = "c727451eb871b43855b825ff93dc48fa0d3320b6";
sha256 = "sha256-UncU0cpoyy9Z0TCChGmaHpyhW9ctz32gU7n3hgpOEwU=";
};
buildInputs = [ libtoxcore nlohmann_json libsodium zeromq ]
@@ -28,13 +28,16 @@ stdenv.mkDerivation {
cmakeFlags = lib.optionals stdenv.hostPlatform.isLinux [ "-DSYSTEMD=1" ];
postInstall = "$out/bin/toxvpn -h";
postInstall = "cp ${./bootstrap.json} $out/share/toxvpn/";
installCheckPhase = "$out/bin/toxvpn -h";
doInstallCheck = true;
meta = with lib; {
description = "Powerful tool that allows one to make tunneled point to point connections over Tox";
homepage = "https://github.com/cleverca22/toxvpn";
license = licenses.gpl3;
maintainers = with maintainers; [ cleverca22 obadz toonn ];
maintainers = with maintainers; [ cleverca22 craigem obadz toonn ];
platforms = platforms.unix;
};
}