2015-03-29 03:02:42 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libusb, pixman, glib, nss, nspr, gdk_pixbuf }:
|
2015-01-03 16:44:08 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-07-27 13:53:17 +01:00
|
|
|
name = "libfprint-0.7.0";
|
2015-01-03 16:44:08 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-07-27 13:53:17 +01:00
|
|
|
url = "https://people.freedesktop.org/~anarsoul/${name}.tar.xz";
|
|
|
|
sha256 = "1wzi12zvdp8sw3w5pfbd9cwz6c71627bkr88rxv6gifbyj6fwgl6";
|
2015-01-03 16:44:08 +00:00
|
|
|
};
|
|
|
|
|
2015-03-29 03:02:42 +01:00
|
|
|
buildInputs = [ libusb pixman glib nss nspr gdk_pixbuf ];
|
2015-01-03 16:44:08 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
configureFlags = [ "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/fprint/libfprint/;
|
2015-01-03 16:44:08 +00:00
|
|
|
description = "A library designed to make it easy to add support for consumer fingerprint readers";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|