2015-03-29 02:05:14 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool
|
2018-02-25 02:23:58 +00:00
|
|
|
, libfprint, glib, dbus-glib, polkit, nss, pam, systemd }:
|
2015-01-03 16:46:09 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-23 15:08:24 +00:00
|
|
|
name = "fprintd-${version}";
|
2018-02-26 14:21:03 +00:00
|
|
|
version = "0.8.0";
|
2015-01-03 16:46:09 +00:00
|
|
|
|
2015-03-29 02:05:14 +00:00
|
|
|
src = fetchurl {
|
2018-06-28 18:43:35 +00:00
|
|
|
url = "https://people.freedesktop.org/~hadess/${name}.tar.xz";
|
2018-02-26 14:21:03 +00:00
|
|
|
sha256 = "00i21ycaya4x2qf94mys6s94xnbj5cfm8zhhd5sc91lvqjk4r99k";
|
2015-01-03 16:46:09 +00:00
|
|
|
};
|
|
|
|
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ libfprint glib dbus-glib polkit nss pam systemd ];
|
2015-03-29 02:05:14 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
2015-01-03 16:46:09 +00:00
|
|
|
|
2018-11-16 15:05:02 +00:00
|
|
|
configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" "--localstatedir=/var" ];
|
2015-01-03 16:46:09 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/fprint/fprintd/;
|
2015-01-03 16:46:09 +00:00
|
|
|
description = "D-Bus daemon that offers libfprint functionality over the D-Bus interprocess communication bus";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|