tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
lomiri.biometryd: 0.3.1 -> 0.3.2
OPNA2608
7 months ago
c2a46ef4
166c8af5
+10
-13
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
lomiri
services
biometryd
default.nix
+10
-13
pkgs/desktops/lomiri/services/biometryd/default.nix
reviewed
···
13
13
gtest,
14
14
libapparmor,
15
15
libelf,
16
16
+
nlohmann_json,
16
17
pkg-config,
17
18
process-cpp,
18
19
properties-cpp,
···
24
25
25
26
stdenv.mkDerivation (finalAttrs: {
26
27
pname = "biometryd";
27
27
-
version = "0.3.1";
28
28
+
version = "0.3.2";
28
29
29
30
src = fetchFromGitLab {
30
31
owner = "ubports";
31
32
repo = "development/core/biometryd";
32
33
rev = finalAttrs.version;
33
33
-
hash = "sha256-derU7pKdNf6pwhskaW7gCLcU9ixBG3U0EI/qtANmmTs=";
34
34
+
hash = "sha256-OTK+JAm8MnlQGZwcKJPh+N1OfUOko24G+IU9GUBjOjI=";
34
35
};
35
36
36
37
outputs = [
···
39
40
];
40
41
41
42
postPatch = ''
42
42
-
# GTest needs C++17
43
43
-
# Remove when https://gitlab.com/ubports/development/core/biometryd/-/merge_requests/39 merged & in release
44
44
-
substituteInPlace CMakeLists.txt \
45
45
-
--replace-fail 'std=c++14' 'std=c++17'
46
46
-
47
43
# Substitute systemd's prefix in pkg-config call
48
44
substituteInPlace data/CMakeLists.txt \
49
45
--replace-fail 'pkg_get_variable(SYSTEMD_SYSTEM_UNIT_DIR systemd systemdsystemunitdir)' 'pkg_get_variable(SYSTEMD_SYSTEM_UNIT_DIR systemd systemdsystemunitdir DEFINE_VARIABLES prefix=''${CMAKE_INSTALL_PREFIX})'
50
46
51
47
substituteInPlace src/biometry/qml/Biometryd/CMakeLists.txt \
52
52
-
--replace-fail "\''${CMAKE_INSTALL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"
48
48
+
--replace-fail "\''${CMAKE_INSTALL_FULL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"
53
49
54
50
# For our automatic pkg-config output patcher to work, prefix must be used here
55
51
substituteInPlace data/biometryd.pc.in \
···
76
72
dbus-cpp
77
73
libapparmor
78
74
libelf
75
75
+
nlohmann_json
79
76
process-cpp
80
77
properties-cpp
81
78
qtbase
···
107
104
updateScript = gitUpdater { };
108
105
};
109
106
110
110
-
meta = with lib; {
107
107
+
meta = {
111
108
description = "Mediates/multiplexes access to biometric devices";
112
109
longDescription = ''
113
110
biometryd mediates and multiplexes access to biometric devices present
···
115
112
them for identification and verification of users.
116
113
'';
117
114
homepage = "https://gitlab.com/ubports/development/core/biometryd";
118
118
-
changelog = "https://gitlab.com/ubports/development/core/biometryd/-/${finalAttrs.version}/ChangeLog";
119
119
-
license = licenses.lgpl3Only;
120
120
-
teams = [ teams.lomiri ];
115
115
+
changelog = "https://gitlab.com/ubports/development/core/biometryd/-/blob/${finalAttrs.version}/ChangeLog";
116
116
+
license = lib.licenses.lgpl3Only;
117
117
+
teams = [ lib.teams.lomiri ];
121
118
mainProgram = "biometryd";
122
122
-
platforms = platforms.linux;
119
119
+
platforms = lib.platforms.linux;
123
120
pkgConfigModules = [
124
121
"biometryd"
125
122
];