git.iko.soy/typeable/nixpkgs
on master help sign in
wg-bond: init at 0.2.0

Co-authored-by: Benjamin Hipple <bhipple@protonmail.com>

commitd9f98bbe3c4082a26ea5c4c507aba0d790a8255f authorVladimir Serov <me@cab404.ru> dateFri 7 Aug 2020, 15:26 (6 years ago) parentcecc4ce
2 files changed+32
pkgs/applications/networking/wg-bond/default.nix+30 pkgs/top-level/all-packages.nix+2
pkgs/applications/networking/wg-bond/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ pkgs, lib, rustPlatform, fetchFromGitLab, wireguard-tools, makeWrapper }:
2+rustPlatform.buildRustPackage rec {
3+ pname = "wg-bond";
4+ version = "0.2.0";
5+
6+ src = fetchFromGitLab {
7+ owner = "cab404";
8+ repo = "wg-bond";
9+ rev = "v${version}";
10+ hash = "sha256:04k0maxy39k7qzcsqsv1byddsmjszmnyjffrf22nzbvml83p3l0y";
11+ };
12+
13+ cargoSha256 = "1v2az0v6l8mqryvq3898hm7bpvqdd2c4kpv6ck7932jfjyna512k";
14+
15+ buildInputs = [ makeWrapper ];
16+ postInstall = ''
17+ wrapProgram $out/bin/wg-bond --set PATH ${
18+ lib.makeBinPath [ wireguard-tools ]
19+ }
20+ '';
21+
22+ meta = with lib; {
23+ description = "Wireguard configuration manager";
24+ homepage = "https://gitlab.com/cab404/wg-bond";
25+ changelog = "https://gitlab.com/cab404/wg-bond/-/releases#v${version}";
26+ license = licenses.gpl3Only;
27+ maintainers = with maintainers; [ cab404 ];
28+ platforms = platforms.all;
29+ };
30+}
pkgs/top-level/all-packages.nix+2
@@ -7811,6 +7811,8 @@ in
78117811 libpsl = null;
78127812 };
78137813
7814+ wg-bond = callPackage ../applications/networking/wg-bond { };
7815+
78147816 which = callPackage ../tools/system/which { };
78157817
78167818 whsniff = callPackage ../applications/networking/sniffers/whsniff { };