nixpkgs/pkgs/tools/networking/onetun/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

33 lines
767 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, stdenv
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "onetun";
version = "0.3.7";
src = fetchFromGitHub {
owner = "aramperes";
repo = pname;
rev = "v${version}";
sha256 = "sha256-GVIRCMeuuhUA8lqQ1oI/Xcuf90QIlwhqYeU+HhbGWXQ=";
};
cargoHash = "sha256-TRfr4riMzR/MbsV2RiQNlPoPLhHK5EScNBCeyyamfgE=";
buildInputs = lib.optionals stdenv.isDarwin [
Security
];
meta = with lib; {
description = "Cross-platform, user-space WireGuard port-forwarder that requires no root-access or system network configurations";
homepage = "https://github.com/aramperes/onetun";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
mainProgram = "onetun";
};
}