387edce283
CI / check (push) Has been cancelled
Upstream tagged v0.3 (3d10c5f) in alex/awgen. The dependency set is unchanged, so cargoHash stays the same; only the source hash needed a recompute for the new tag. Verified: nix build .#awgen is green, cargo checkPhase reports 29 passed / 0 failed, and the resulting binary runs. Upstream Cargo.toml still declares 0.1.0, so `awgen --version` prints 0.1.0 while the derivation version (taken from the tag) is 0.3.
39 lines
956 B
Nix
39 lines
956 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitea,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "awgen";
|
|
version = "0.3";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "git.millerson.name";
|
|
owner = "alex";
|
|
repo = "awgen";
|
|
rev = "v${version}";
|
|
hash = "sha256-86YTRYXiCpGQ1PkbGhYIwBwTMcO7ffZDla9PNFtrhIE=";
|
|
};
|
|
|
|
cargoHash = "sha256-Y7SKh0F7wOTejBesjQbLVBoZKjDDrVGUjGCVZRlP4lg=";
|
|
|
|
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;
|
|
};
|
|
}
|