uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
35
pkgs/tools/networking/wg-netmanager/default.nix
Normal file
35
pkgs/tools/networking/wg-netmanager/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, stdenv, fetchFromGitHub, rustPlatform, darwin, wireguard-go, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wg-netmanager";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gin66";
|
||||
repo = "wg_netmanager";
|
||||
rev = "wg_netmanager-v${version}";
|
||||
sha256 = "sha256-Mr4+TW1yOePEHa7puz6mTRJ514LGQeiEwPW3NKupV/M=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-cOxkWMFPVmi+/BQWIvExzX5LDyC7C8kaTf5dGwfXj+s=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
# Test 01 tries to create a wireguard interface, which requires sudo.
|
||||
doCheck = true;
|
||||
checkFlags = "--skip device";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Wireguard network manager";
|
||||
longDescription = ''
|
||||
Wireguard network manager, written in rust, simplifies the setup of wireguard nodes,
|
||||
identifies short connections between nodes residing in the same subnet,
|
||||
identifies unreachable aka dead nodes and maintains the routes between all nodes automatically.
|
||||
To achieve this, wireguard network manager needs to be running on each node.
|
||||
'';
|
||||
homepage = "https://github.com/gin66/wg_netmanager";
|
||||
license = with licenses; [ mit asl20 bsd3 mpl20 ];
|
||||
maintainers = with maintainers; [ gin66 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue