nixpkgs/pkgs/development/libraries/libfprint/default.nix

24 lines
794 B
Nix
Raw Normal View History

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 {
2015-03-29 03:02:42 +01:00
name = "libfprint-0.6.0";
2015-01-03 16:44:08 +00:00
src = fetchurl {
url = "http://people.freedesktop.org/~hadess/${name}.tar.xz";
2015-03-29 03:02:42 +01:00
sha256 = "1giwh2z63mn45galsjb59rhyrvgwcy01hvvp4g01iaa2snvzr0r5";
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; {
homepage = "http://www.freedesktop.org/wiki/Software/fprint/libfprint/";
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 ];
};
}