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

59 lines
1.0 KiB
Nix
Raw Normal View History

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