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

24 lines
797 B
Nix
Raw Normal View History

2015-03-29 04:02:42 +02:00
{ stdenv, fetchurl, pkgconfig, libusb, pixman, glib, nss, nspr, gdk_pixbuf }:
2015-01-03 17:44:08 +01:00
stdenv.mkDerivation rec {
2017-07-27 14:53:17 +02:00
name = "libfprint-0.7.0";
2015-01-03 17:44:08 +01:00
src = fetchurl {
2017-07-27 14:53:17 +02:00
url = "https://people.freedesktop.org/~anarsoul/${name}.tar.xz";
sha256 = "1wzi12zvdp8sw3w5pfbd9cwz6c71627bkr88rxv6gifbyj6fwgl6";
2015-01-03 17:44:08 +01:00
};
2015-03-29 04:02:42 +02:00
buildInputs = [ libusb pixman glib nss nspr gdk_pixbuf ];
2015-01-03 17:44:08 +01: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 ];
};
}