Merge pull request #228258 from bcc32/wireguard-vanity-address
wireguard-vanity-address: init at 0.4.0
This commit is contained in:
commit
cafe134dbc
2 changed files with 28 additions and 0 deletions
24
pkgs/tools/networking/wireguard-vanity-address/default.nix
Normal file
24
pkgs/tools/networking/wireguard-vanity-address/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wireguard-vanity-address";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "warner";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-SjzcVIQ9HwhP6Y/uCwXGSdZgrYcUQ9kE/Bow8pyOKNo=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
cargoHash = "sha256-0bkyopkssqH0vfaWkFC3dV2o7Q3EuDEOM8JvRB9ekLU=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Find Wireguard VPN keypairs with a specific readable string";
|
||||
homepage = "https://github.com/warner/wireguard-vanity-address";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcc32 ];
|
||||
};
|
||||
}
|
|
@ -13494,6 +13494,10 @@ with pkgs;
|
|||
|
||||
wireguard-tools = callPackage ../tools/networking/wireguard-tools { };
|
||||
|
||||
wireguard-vanity-address = callPackage ../tools/networking/wireguard-vanity-address {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
wireproxy = callPackage ../tools/networking/wireproxy { };
|
||||
|
||||
wiringpi = callPackage ../os-specific/linux/wiringpi { };
|
||||
|
|
Loading…
Reference in a new issue