nixpkgs/pkgs/tools/networking/wgautomesh/default.nix
Robert Hensing 4c1d3cee60 treewide: Add meta.mainProgram
This should fix most warnings getExe in based on grepping `nixos/`.
2023-07-31 21:54:43 +02:00

27 lines
696 B
Nix

{ lib
, fetchFromGitea
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "wgautomesh";
version = "0.1.0";
src = fetchFromGitea {
domain = "git.deuxfleurs.fr";
owner = "Deuxfleurs";
repo = "wgautomesh";
rev = "v${version}";
sha256 = "FiFEpYLSJg52EtBXaZ685ICbaIyY9URrDt0bS0HPi0Q=";
};
cargoHash = "sha256-DGDVjQ4fr4/F1RE0qVc5CWcXrrCEswCF7rQQwlKzMPA=";
meta = with lib; {
description = "A simple utility to help connect wireguard nodes together in a full mesh topology";
homepage = "https://git.deuxfleurs.fr/Deuxfleurs/wgautomesh";
license = licenses.agpl3Only;
maintainers = [ maintainers.lx ];
mainProgram = "wgautomesh";
};
}