lomiri.biometryd: 0.3.1 -> 0.3.2 (#444678)

Changed files
+10 -13
pkgs
desktops
lomiri
services
biometryd
+10 -13
pkgs/desktops/lomiri/services/biometryd/default.nix
···
gtest,
libapparmor,
libelf,
+
nlohmann_json,
pkg-config,
process-cpp,
properties-cpp,
···
stdenv.mkDerivation (finalAttrs: {
pname = "biometryd";
-
version = "0.3.1";
+
version = "0.3.2";
src = fetchFromGitLab {
owner = "ubports";
repo = "development/core/biometryd";
rev = finalAttrs.version;
-
hash = "sha256-derU7pKdNf6pwhskaW7gCLcU9ixBG3U0EI/qtANmmTs=";
+
hash = "sha256-OTK+JAm8MnlQGZwcKJPh+N1OfUOko24G+IU9GUBjOjI=";
};
outputs = [
···
];
postPatch = ''
-
# GTest needs C++17
-
# Remove when https://gitlab.com/ubports/development/core/biometryd/-/merge_requests/39 merged & in release
-
substituteInPlace CMakeLists.txt \
-
--replace-fail 'std=c++14' 'std=c++17'
-
# Substitute systemd's prefix in pkg-config call
substituteInPlace data/CMakeLists.txt \
--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})'
substituteInPlace src/biometry/qml/Biometryd/CMakeLists.txt \
-
--replace-fail "\''${CMAKE_INSTALL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"
+
--replace-fail "\''${CMAKE_INSTALL_FULL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"
# For our automatic pkg-config output patcher to work, prefix must be used here
substituteInPlace data/biometryd.pc.in \
···
dbus-cpp
libapparmor
libelf
+
nlohmann_json
process-cpp
properties-cpp
qtbase
···
updateScript = gitUpdater { };
};
-
meta = with lib; {
+
meta = {
description = "Mediates/multiplexes access to biometric devices";
longDescription = ''
biometryd mediates and multiplexes access to biometric devices present
···
them for identification and verification of users.
'';
homepage = "https://gitlab.com/ubports/development/core/biometryd";
-
changelog = "https://gitlab.com/ubports/development/core/biometryd/-/${finalAttrs.version}/ChangeLog";
-
license = licenses.lgpl3Only;
-
teams = [ teams.lomiri ];
+
changelog = "https://gitlab.com/ubports/development/core/biometryd/-/blob/${finalAttrs.version}/ChangeLog";
+
license = lib.licenses.lgpl3Only;
+
teams = [ lib.teams.lomiri ];
mainProgram = "biometryd";
-
platforms = platforms.linux;
+
platforms = lib.platforms.linux;
pkgConfigModules = [
"biometryd"
];