89b2f8a725
CI / check (push) Has been cancelled
Upstream tagged v0.3.2 (5f97208) in alex/awgen. The fix prices allowed-IP progress per progress instead of per whole route list; dependencies are unchanged. cargoHash still moves because the crate version line in Cargo.lock feeds the vendor staging hash. Verified: nix build .#awgen is green, and result/bin/awgen --version prints 0.3.2 (upstream now sets the crate version from the tag, so the stale "prints 0.1.0" caveat from the 0.3 bump no longer applies).
39 lines
958 B
Nix
39 lines
958 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitea,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "awgen";
|
|
version = "0.3.2";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "git.millerson.name";
|
|
owner = "alex";
|
|
repo = "awgen";
|
|
rev = "v${version}";
|
|
hash = "sha256-I1O91iir5mepW3EWN9PTWmhJXwLXpTKSQwTunEnUjC8=";
|
|
};
|
|
|
|
cargoHash = "sha256-RsOj3RbBybuNKMBtswsl/1cN5YKj+cCFu6ZtTbVRmG8=";
|
|
|
|
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;
|
|
};
|
|
}
|