commit
a2216077fa
30
pkgs/applications/networking/wg-bond/default.nix
Normal file
30
pkgs/applications/networking/wg-bond/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ pkgs, lib, rustPlatform, fetchFromGitLab, wireguard-tools, makeWrapper }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wg-bond";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "cab404";
|
||||
repo = "wg-bond";
|
||||
rev = "v${version}";
|
||||
hash = "sha256:04k0maxy39k7qzcsqsv1byddsmjszmnyjffrf22nzbvml83p3l0y";
|
||||
};
|
||||
|
||||
cargoSha256 = "1v2az0v6l8mqryvq3898hm7bpvqdd2c4kpv6ck7932jfjyna512k";
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/wg-bond --set PATH ${
|
||||
lib.makeBinPath [ wireguard-tools ]
|
||||
}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wireguard configuration manager";
|
||||
homepage = "https://gitlab.com/cab404/wg-bond";
|
||||
changelog = "https://gitlab.com/cab404/wg-bond/-/releases#v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ cab404 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -7823,6 +7823,8 @@ in
|
||||
libpsl = null;
|
||||
};
|
||||
|
||||
wg-bond = callPackage ../applications/networking/wg-bond { };
|
||||
|
||||
which = callPackage ../tools/system/which { };
|
||||
|
||||
whsniff = callPackage ../applications/networking/sniffers/whsniff { };
|
||||
|
Loading…
Reference in New Issue
Block a user