Skip to content

Commit

Permalink
bluelog: init at 1.1.2
Browse files Browse the repository at this point in the history
Add missing package for NixOS#81418
  • Loading branch information
ethancedwards8 committed Jan 7, 2025
1 parent 3df3c47 commit a2670cd
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/by-name/bl/bluelog/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
lib,
stdenv,
fetchFromGitHub,
bluez,
}:

stdenv.mkDerivation rec {
pname = "bluelog";
version = "1.1.2";

src = fetchFromGitHub {
owner = "MS3FGX";
repo = pname;
tag = version;
hash = "sha256-Si/uqZ3P0KzrU9jstfkwMj2/1yHGBO1HkNWNbU/99dk=";
};

buildPhase = ''
make
'';

buildInputs = [ bluez ];

checkPhase = ''
$out/bin/bluelog -h > /dev/null
'';

installPhase = ''
mkdir -p $out/bin
cp bluelog $out/bin/bluelog
'';

meta = with lib; {
homepage = "https://github.com/MS3FGX/Bluelog";
description = "A highly configurable Linux Bluetooth scanner with optional web interface.";
license = licenses.gpl2Only;
platforms = platforms.linux;
changelog = "https://github.com/MS3FGX/Bluelog/releases/tag/${version}";
maintainers = with maintainers; [ ethancedwards8 ];
};
}

0 comments on commit a2670cd

Please sign in to comment.