2022-06-04 12:53:26 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitLab }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "bluewalker";
|
2022-06-12 14:18:46 +00:00
|
|
|
version = "0.3.1";
|
2022-06-04 12:53:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "jtaimisto";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-09-21 14:23:40 +00:00
|
|
|
hash = "sha256-wAzBlCczsLfHboGYIsyN7dGwz52CMw+L3XQ0njfLVR0=";
|
2022-06-04 12:53:26 +00:00
|
|
|
};
|
|
|
|
|
2023-09-21 14:23:40 +00:00
|
|
|
vendorHash = "sha256-kHwj6FNWIonaHKy4QE0/UcuOfHAPE1al5nuYXrfROKE=";
|
2022-06-04 12:53:26 +00:00
|
|
|
|
2022-06-04 14:24:37 +00:00
|
|
|
ldflags = [
|
|
|
|
"-w"
|
|
|
|
"-s"
|
2022-06-04 12:53:26 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple command line Bluetooth LE scanner";
|
2022-06-04 14:25:22 +00:00
|
|
|
homepage = "https://gitlab.com/jtaimisto/bluewalker";
|
2022-06-04 14:26:14 +00:00
|
|
|
changelog = "https://gitlab.com/jtaimisto/bluewalker/-/tags/v${version}";
|
2022-06-04 12:53:26 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
maintainers = with maintainers; [ cimm ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|