Revert "Added support for libfprint 1.90"

This reverts commit b60d5692bf.
This commit is contained in:
gnidorah
2020-01-25 22:54:37 +03:00
parent 8cd9059f9e
commit ea77cad569
4 changed files with 44 additions and 20 deletions

View File

@@ -1,9 +1,11 @@
{ stdenv
{ thinkpad ? false
, stdenv
, fetchurl
, fetchpatch
, pkgconfig
, intltool
, libfprint
, libfprint-thinkpad ? null
, libfprint ? null
, glib
, dbus-glib
, polkit
@@ -15,7 +17,7 @@
}:
stdenv.mkDerivation rec {
pname = "fprintd";
pname = "fprintd" + stdenv.lib.optionalString thinkpad "-thinkpad";
version = "0.9.0";
src = fetchurl {
@@ -44,8 +46,10 @@ stdenv.mkDerivation rec {
nss
pam
systemd
libfprint
];
]
++ stdenv.lib.optional thinkpad libfprint-thinkpad
++ stdenv.lib.optional (!thinkpad) libfprint
;
configureFlags = [
# is hardcoded to /var/lib/fprint, this is for the StateDirectory install target