@@ -0,0 +1,25 @@
1+{ stdenv, fetchurl, pkgconfig, libfprint, intltool, glib, dbus_glib, polkit, nss, pam, systemd }:
2+
3+stdenv.mkDerivation rec {
4+ name = "fprintd-0.5.1";
5+
6+ src = fetchurl {
7+ url = "http://people.freedesktop.org/~hadess/${name}.tar.xz";
8+ sha256 = "0n3fh28cvqrhjig30lz1p075g0wd7jnhvz1j34n37c0cwc7rfmlj";
9+ };
10+
11+ patches = [ ./pod.patch ];
12+
13+ buildInputs = [ libfprint glib dbus_glib polkit nss pam systemd ];
14+ nativeBuildInputs = [ pkgconfig intltool ];
15+
16+ configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" ];
17+
18+ meta = with stdenv.lib; {
19+ homepage = "http://www.freedesktop.org/wiki/Software/fprint/fprintd/";
20+ description = "D-Bus daemon that offers libfprint functionality over the D-Bus interprocess communication bus";
21+ license = licenses.gpl2;
22+ platforms = platforms.linux;
23+ maintainers = with maintainers; [ abbradar ];
24+ };
25+}