@@ -0,0 +1,23 @@
1+{ stdenv, fetchurl, pkgconfig, libusb, glib, nss, nspr, gdk_pixbuf }:
2+
3+stdenv.mkDerivation rec {
4+ name = "libfprint-0.5.1";
5+
6+ src = fetchurl {
7+ url = "http://people.freedesktop.org/~hadess/${name}.tar.xz";
8+ sha256 = "1cwgaswqcvvbclahk2m2qr09k7lf7l8jwvgf3svq92w8j4xmc4kd";
9+ };
10+
11+ buildInputs = [ libusb glib nss nspr gdk_pixbuf ];
12+ nativeBuildInputs = [ pkgconfig ];
13+
14+ configureFlags = [ "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ];
15+
16+ meta = with stdenv.lib; {
17+ homepage = "http://www.freedesktop.org/wiki/Software/fprint/libfprint/";
18+ description = "A library designed to make it easy to add support for consumer fingerprint readers";
19+ license = licenses.lgpl2;
20+ platforms = platforms.linux;
21+ maintainers = with maintainers; [ abbradar ];
22+ };
23+}