diff options
author | Elyhaka <57923898+Elyhaka@users.noreply.github.com> | 2019-11-29 18:34:29 +0100 |
---|---|---|
committer | Elyhaka <57923898+Elyhaka@users.noreply.github.com> | 2019-12-01 10:42:16 +0100 |
commit | b60d5692bf44337bc2081caf634ac3b60a8512e5 (patch) | |
tree | e8a4049a527cd10717e4e665fb0a740ac90f99d9 /pkgs/tools/security/fprintd | |
parent | 724133984f066ee7ad1592f08ae886a718eb31c6 (diff) |
Added support for libfprint 1.90
Diffstat (limited to 'pkgs/tools/security/fprintd')
-rw-r--r-- | pkgs/tools/security/fprintd/default.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/pkgs/tools/security/fprintd/default.nix b/pkgs/tools/security/fprintd/default.nix index 41a00306f6953..13e6c0be391a5 100644 --- a/pkgs/tools/security/fprintd/default.nix +++ b/pkgs/tools/security/fprintd/default.nix @@ -1,11 +1,9 @@ -{ thinkpad ? false -, stdenv +{ stdenv , fetchurl , fetchpatch , pkgconfig , intltool -, libfprint-thinkpad ? null -, libfprint ? null +, libfprint , glib , dbus-glib , polkit @@ -17,7 +15,7 @@ }: stdenv.mkDerivation rec { - pname = "fprintd" + stdenv.lib.optionalString thinkpad "-thinkpad"; + pname = "fprintd"; version = "0.9.0"; src = fetchurl { @@ -46,10 +44,8 @@ stdenv.mkDerivation rec { nss pam systemd - ] - ++ stdenv.lib.optional thinkpad libfprint-thinkpad - ++ stdenv.lib.optional (!thinkpad) libfprint - ; + libfprint + ]; configureFlags = [ # is hardcoded to /var/lib/fprint, this is for the StateDirectory install target |