nixpkgs/pkgs/tools/bluetooth/bluewalker/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
717 B
Nix
Raw Normal View History

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
ldflags = [
"-w"
"-s"
2022-06-04 12:53:26 +00:00
];
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}";
2022-06-04 12:53:26 +00:00
license = licenses.bsd2;
maintainers = with maintainers; [ cimm ];
platforms = platforms.linux;
};
}