2023-11-22 15:33:16 -05:00
|
|
|
{
|
|
|
|
stdenv,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
pkg-config,
|
|
|
|
glib,
|
|
|
|
libfprint,
|
|
|
|
polkit,
|
|
|
|
dbus,
|
|
|
|
systemd,
|
|
|
|
pam,
|
|
|
|
libpam-wrapper,
|
2023-12-31 15:44:53 -05:00
|
|
|
pam-fprint-grosshack-src,
|
|
|
|
...
|
2023-07-15 17:47:37 -04:00
|
|
|
}:
|
2023-12-31 15:44:53 -05:00
|
|
|
stdenv.mkDerivation {
|
2023-12-13 19:59:04 -05:00
|
|
|
name = "pam-fprint-grosshack";
|
2024-03-25 22:42:23 -04:00
|
|
|
version = pam-fprint-grosshack-src.shortRev;
|
2023-07-15 17:47:37 -04:00
|
|
|
|
2023-12-31 15:44:53 -05:00
|
|
|
src = pam-fprint-grosshack-src;
|
2023-07-15 17:47:37 -04:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
glib
|
|
|
|
libfprint
|
|
|
|
polkit
|
|
|
|
dbus
|
|
|
|
systemd
|
|
|
|
pam
|
|
|
|
libpam-wrapper
|
|
|
|
];
|
2023-09-29 23:46:34 -04:00
|
|
|
|
2023-07-15 17:47:37 -04:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dpam_modules_dir=${placeholder "out"}/lib/security"
|
|
|
|
"-Dsysconfdir=${placeholder "out"}/etc"
|
|
|
|
"-Ddbus_service_dir=${placeholder "out"}/share/dbus-1/system-services"
|
|
|
|
"-Dsystemd_system_unit_dir=${placeholder "out"}/lib/systemd/system"
|
|
|
|
];
|
|
|
|
}
|