simpleBluez: init at 0.7.3
This commit is contained in:
parent
4de99289f6
commit
91c4c979a9
47
pkgs/by-name/si/simpleBluez/package.nix
Normal file
47
pkgs/by-name/si/simpleBluez/package.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
dbus,
|
||||
fmt_9,
|
||||
lib,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "simpleBluez";
|
||||
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenBluetoothToolbox";
|
||||
repo = "SimpleBLE";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-CPBdPnBeQ0c3VjSX0Op6nCHF3w0MdXGULbk1aavr+LM=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/simplebluez";
|
||||
|
||||
cmakeFlags = [ "-DLIBFMT_LOCAL_PATH=${fmt_9.src}" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "C++ abstraction layer for BlueZ over DBus";
|
||||
homepage = "https://github.com/OpenBluetoothToolbox/SimpleBLE";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ aciceri ];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user