depot/third_party/nixpkgs/pkgs/tools/bluetooth/bluewalker/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

29 lines
717 B
Nix

{ lib, buildGoModule, fetchFromGitLab }:
buildGoModule rec {
pname = "bluewalker";
version = "0.3.1";
src = fetchFromGitLab {
owner = "jtaimisto";
repo = pname;
rev = "v${version}";
hash = "sha256-wAzBlCczsLfHboGYIsyN7dGwz52CMw+L3XQ0njfLVR0=";
};
vendorHash = "sha256-kHwj6FNWIonaHKy4QE0/UcuOfHAPE1al5nuYXrfROKE=";
ldflags = [
"-w"
"-s"
];
meta = with lib; {
description = "Simple command line Bluetooth LE scanner";
homepage = "https://gitlab.com/jtaimisto/bluewalker";
changelog = "https://gitlab.com/jtaimisto/bluewalker/-/tags/v${version}";
license = licenses.bsd2;
maintainers = with maintainers; [ cimm ];
platforms = platforms.linux;
};
}