2020-05-19 14:03:13 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitLab
|
2019-09-18 02:01:59 +02:00
|
|
|
, pkgconfig
|
|
|
|
, meson
|
|
|
|
, ninja
|
2020-05-19 14:03:13 +02:00
|
|
|
, gusb
|
2019-09-18 02:01:59 +02:00
|
|
|
, pixman
|
|
|
|
, glib
|
|
|
|
, nss
|
2020-05-19 14:03:13 +02:00
|
|
|
, gobject-introspection
|
2019-09-18 02:01:59 +02:00
|
|
|
, coreutils
|
|
|
|
, gtk-doc
|
|
|
|
, docbook_xsl
|
|
|
|
, docbook_xml_dtd_43
|
|
|
|
}:
|
2019-05-15 20:52:42 +02:00
|
|
|
|
2015-01-03 17:44:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2020-05-19 14:03:13 +02:00
|
|
|
pname = "libfprint";
|
2020-06-16 10:32:58 +02:00
|
|
|
version = "1.90.2";
|
2020-05-19 14:03:13 +02:00
|
|
|
outputs = [ "out" "devdoc" ];
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.freedesktop.org";
|
|
|
|
owner = "libfprint";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-06-16 10:32:58 +02:00
|
|
|
sha256 = "0g890y49anqd7yfz86iyvywxgbfmfmj6813fy58m5n8jain7iy1b";
|
2020-05-19 14:03:13 +02:00
|
|
|
};
|
2019-05-15 20:52:42 +02:00
|
|
|
|
2019-09-18 02:01:59 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
gtk-doc
|
|
|
|
docbook_xsl
|
|
|
|
docbook_xml_dtd_43
|
2020-05-19 14:03:13 +02:00
|
|
|
gobject-introspection
|
2019-09-18 02:01:59 +02:00
|
|
|
];
|
2015-01-03 17:44:08 +01:00
|
|
|
|
2019-09-18 02:01:59 +02:00
|
|
|
buildInputs = [
|
2020-05-19 14:03:13 +02:00
|
|
|
gusb
|
2019-09-18 02:01:59 +02:00
|
|
|
pixman
|
|
|
|
glib
|
|
|
|
nss
|
2020-05-19 14:03:13 +02:00
|
|
|
];
|
2015-01-03 17:44:08 +01:00
|
|
|
|
2019-09-18 02:01:59 +02:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dudev_rules_dir=${placeholder "out"}/lib/udev/rules.d"
|
|
|
|
];
|
2018-12-17 19:04:26 +01:00
|
|
|
|
2015-01-03 17:44:08 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://fprint.freedesktop.org/";
|
2015-01-03 17:44:08 +01:00
|
|
|
description = "A library designed to make it easy to add support for consumer fingerprint readers";
|
2018-12-17 19:04:26 +01:00
|
|
|
license = licenses.lgpl21;
|
2015-01-03 17:44:08 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|