2022-06-16 17:23:12 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitLab }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bluewalker";
|
|
|
|
version = "0.3.1";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "jtaimisto";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-wAzBlCczsLfHboGYIsyN7dGwz52CMw+L3XQ0njfLVR0=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-kHwj6FNWIonaHKy4QE0/UcuOfHAPE1al5nuYXrfROKE=";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|