simpleBluez: init at 0.7.3

+47
+47
pkgs/by-name/si/simpleBluez/package.nix
···
··· 1 + { 2 + stdenv, 3 + fetchFromGitHub, 4 + cmake, 5 + pkg-config, 6 + dbus, 7 + fmt_9, 8 + lib, 9 + }: 10 + stdenv.mkDerivation (finalAttrs: { 11 + pname = "simpleBluez"; 12 + 13 + version = "0.7.3"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "OpenBluetoothToolbox"; 17 + repo = "SimpleBLE"; 18 + rev = "v${finalAttrs.version}"; 19 + hash = "sha256-CPBdPnBeQ0c3VjSX0Op6nCHF3w0MdXGULbk1aavr+LM="; 20 + }; 21 + 22 + outputs = [ 23 + "out" 24 + "dev" 25 + ]; 26 + 27 + sourceRoot = "${finalAttrs.src.name}/simplebluez"; 28 + 29 + cmakeFlags = [ "-DLIBFMT_LOCAL_PATH=${fmt_9.src}" ]; 30 + 31 + nativeBuildInputs = [ 32 + cmake 33 + pkg-config 34 + ]; 35 + 36 + buildInputs = [ 37 + dbus 38 + ]; 39 + 40 + meta = with lib; { 41 + description = "C++ abstraction layer for BlueZ over DBus"; 42 + homepage = "https://github.com/OpenBluetoothToolbox/SimpleBLE"; 43 + license = licenses.gpl3Only; 44 + platforms = platforms.linux; 45 + maintainers = with maintainers; [ aciceri ]; 46 + }; 47 + })