depot/pkgs/by-name/ga/gapcast/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

42 lines
830 B
Nix

{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
libpcap,
xorg,
}:
buildGoModule rec {
pname = "gapcast";
version = "1.0.3";
src = fetchFromGitHub {
owner = "ANDRVV";
repo = "gapcast";
rev = "refs/tags/v${version}";
hash = "sha256-Ei5XfcnbUoegB8lNEEQ3PrCzNJGaVeVd2lfrMWYoODw=";
};
vendorHash = "sha256-jn0zTorp/rkd91+ZGDbsNVcTxEndFMMrsb+/dGrZcy4=";
buildInputs = [
libpcap
xorg.libX11
];
ldflags = [
"-s"
"-w"
];
meta = {
description = "802.11 broadcast analyzer & injector";
homepage = "https://github.com/ANDRVV/gapcast";
changelog = "https://github.com/ANDRVV/gapcast/releases/tag/v${version}";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "gapcast";
broken = stdenv.isDarwin;
};
}