Files
nixpkgs/pkgs/by-name/wi/wireproxy/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
874 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
testers,
wireproxy,
}:
buildGoModule rec {
pname = "wireproxy";
version = "1.0.10";
src = fetchFromGitHub {
owner = "pufferffish";
repo = "wireproxy";
rev = "v${version}";
hash = "sha256-F8WatQsXgq3ex2uAy8eoS2DkG7uClNwZ74eG/mJN83o=";
};
ldflags = [
"-s"
"-w"
"-X main.version=v${version}"
];
vendorHash = "sha256-uCU5WLCKl5T4I1OccVl7WU0GM/t4RyAEmzHkJ22py30=";
passthru.tests.version = testers.testVersion {
package = wireproxy;
command = "wireproxy --version";
version = src.rev;
};
meta = with lib; {
description = "Wireguard client that exposes itself as a socks5 proxy";
homepage = "https://github.com/pufferffish/wireproxy";
license = licenses.isc;
maintainers = with maintainers; [ _3JlOy-PYCCKUi ];
mainProgram = "wireproxy";
};
}