diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libfprint')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libfprint/default.nix | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libfprint/default.nix b/nixpkgs/pkgs/development/libraries/libfprint/default.nix new file mode 100644 index 000000000000..7c6168c3d3e4 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libfprint/default.nix @@ -0,0 +1,58 @@ +{ stdenv +, fetchFromGitLab +, pkgconfig +, meson +, ninja +, gusb +, pixman +, glib +, nss +, gobject-introspection +, coreutils +, gtk-doc +, docbook_xsl +, docbook_xml_dtd_43 +}: + +stdenv.mkDerivation rec { + pname = "libfprint"; + version = "1.90.2"; + outputs = [ "out" "devdoc" ]; + + src = fetchFromGitLab { + domain = "gitlab.freedesktop.org"; + owner = "libfprint"; + repo = pname; + rev = "v${version}"; + sha256 = "0g890y49anqd7yfz86iyvywxgbfmfmj6813fy58m5n8jain7iy1b"; + }; + + nativeBuildInputs = [ + pkgconfig + meson + ninja + gtk-doc + docbook_xsl + docbook_xml_dtd_43 + gobject-introspection + ]; + + buildInputs = [ + gusb + pixman + glib + nss + ]; + + mesonFlags = [ + "-Dudev_rules_dir=${placeholder "out"}/lib/udev/rules.d" + ]; + + meta = with stdenv.lib; { + homepage = "https://fprint.freedesktop.org/"; + description = "A library designed to make it easy to add support for consumer fingerprint readers"; + license = licenses.lgpl21; + platforms = platforms.linux; + maintainers = with maintainers; [ abbradar ]; + }; +} |