blob: ea84759291a4516f37ce353f3404f73b355fd75c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
stdenv,
fetchFromCodeberg,
meson,
ninja,
glib,
pkg-config,
libqmi,
protobufc,
protobuf,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "libssc";
version = "0.4.4";
src = fetchFromCodeberg {
owner = "DylanVanAssche";
repo = "libssc";
tag = "v${finalAttrs.version}";
hash = "sha256-C9A0NtkGztSJQIkv4diGAPhZMUiIUszRNYif2yZL8nI=";
};
buildInputs = [
glib
protobufc
];
propagatedBuildInputs = [
libqmi
];
nativeBuildInputs = [
protobuf
protobufc
pkg-config
meson
ninja
];
strictDeps = true;
meta = {
description = "Library for exposing Qualcomm Sensor Core sensors to Linux";
homepage = "https://codeberg.org/DylanVanAssche/libssc";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ matthewcroughan ];
mainProgram = "libssc";
platforms = lib.platforms.all;
};
})
|