mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-27 07:14:52 +00:00
toxvpn: 2019-09-09 -> 2024-08-21
* Includes fix for boostrapping toxVPN * removes the deprecated stdenv.lib * version bumps toxcore * Avoids casting away constness unnecessarily * Fixes memory leaks on early return paths from main(). * Add required default bootstrap.json * Added myself as a maintainer
This commit is contained in:
parent
51648b2f0b
commit
e412e48907
1
pkgs/tools/networking/toxvpn/bootstrap.json
Normal file
1
pkgs/tools/networking/toxvpn/bootstrap.json
Normal file
File diff suppressed because one or more lines are too long
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user