From 6f0b4a92dc262f68cdf235ebe231cabff6ef4c5d Mon Sep 17 00:00:00 2001 From: Simon Schoeters Date: Sat, 4 Jun 2022 14:53:26 +0200 Subject: [PATCH] bluewalker: init at 0.3.0 --- pkgs/tools/bluetooth/bluewalker/default.nix | 29 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/tools/bluetooth/bluewalker/default.nix diff --git a/pkgs/tools/bluetooth/bluewalker/default.nix b/pkgs/tools/bluetooth/bluewalker/default.nix new file mode 100644 index 000000000000..8cdfca94e28e --- /dev/null +++ b/pkgs/tools/bluetooth/bluewalker/default.nix @@ -0,0 +1,29 @@ +{ lib, buildGoModule, fetchFromGitLab }: + +buildGoModule rec { + pname = "bluewalker"; + version = "0.3.0"; + + src = fetchFromGitLab { + owner = "jtaimisto"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-spuJRiNiaBV4EsetUq8vUfR6ejUNZxLhVzS3AZZyrrQ="; + }; + + vendorSha256 = "189qs6vmx63vwsjmc4qgf1y8xjsi7x6l1f5c3kd8j8jnagl26z4h"; + + ldflags = [ # omit some things for a smaller binary + "-w" # omit the DWARF symbol table + "-s" # omit symbol table and debug info + ]; + + meta = with lib; { + description = "Simple command line Bluetooth LE scanner"; + homepage = src.meta.homepage; + changelog = "https://gitlab.com/jtaimisto/${pname}/-/raw/master/CHANGELOG"; + license = licenses.bsd2; + maintainers = with maintainers; [ cimm ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e460cfe8fe57..5716dd88ed2e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2710,6 +2710,8 @@ with pkgs; bluemix-cli = callPackage ../tools/admin/bluemix-cli { }; + bluewalker = callPackage ../tools/bluetooth/bluewalker { }; + blur-effect = callPackage ../tools/graphics/blur-effect { }; bootiso = callPackage ../tools/cd-dvd/bootiso { };