Files
millerson-overlay.nix/packages/awgen/package.nix
T
alex 559994a66f
CI / check (push) Has been cancelled
chore(awgen): bump 0.3 -> 0.3.1
Upstream tagged v0.3.1; refresh src and cargo hashes (dependencies
changed between the two tags). Verified with nix build .#awgen and
result/bin/awgen --version.
2026-10-25 17:36:56 +03:00

39 lines
958 B
Nix

{
lib,
rustPlatform,
fetchFromGitea,
}:
rustPlatform.buildRustPackage rec {
pname = "awgen";
version = "0.3.1";
src = fetchFromGitea {
domain = "git.millerson.name";
owner = "alex";
repo = "awgen";
rev = "v${version}";
hash = "sha256-yXkwUPqMCsukBp4hZfyhSxNyAvGGD7TFgSZUnMo+kr0=";
};
cargoHash = "sha256-5ESwlVDX+coAYce5J19R3akCdQ/VqqV7CxFluTAlPvE=";
passthru = {
category = "Networking";
updateScript = [
"nix-update"
"--flake"
"awgen"
];
};
meta = with lib; {
description = "Offline, stateless CLI for AmneziaWG configurations — harmonises native .conf and vpn:// inputs, generates client participants and tunnels, and analyses obfuscation";
homepage = "https://git.millerson.name/alex/awgen";
changelog = "https://git.millerson.name/alex/awgen/commits/tag/v${version}";
license = licenses.mit;
mainProgram = "awgen";
platforms = platforms.unix;
};
}