tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
simpleBluez: init at 0.7.3
Andrea Ciceri
2 years ago
91c4c979
4de99289
+47
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
si
simpleBluez
package.nix
+47
pkgs/by-name/si/simpleBluez/package.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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
+
})