libfprint: 0.7.0 -> 0.99.0
This commit is contained in:
parent
26f6c15a42
commit
024ad6c4d5
@ -1,22 +1,29 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libusb, pixman, glib, nss, nspr, gdk_pixbuf }:
|
||||
{ stdenv, fetchurl, pkgconfig, meson, ninja, libusb, pixman, glib, nss, gtk3
|
||||
, coreutils, gtk-doc, docbook_xsl, docbook_xml_dtd_43 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libfprint-0.7.0";
|
||||
name = "libfprint-${version}";
|
||||
version = "0.99.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://people.freedesktop.org/~anarsoul/${name}.tar.xz";
|
||||
sha256 = "1wzi12zvdp8sw3w5pfbd9cwz6c71627bkr88rxv6gifbyj6fwgl6";
|
||||
url = "https://gitlab.freedesktop.org/libfprint/libfprint/uploads/82ba3cef5bdf72997df711eacdb13c0f/libfprint-${version}.tar.xz";
|
||||
sha256 = "16r4nl40y0jri57jiqmdz4s87byblx22lbhyvqpljd6mqm5rg187";
|
||||
};
|
||||
|
||||
buildInputs = [ libusb pixman glib nss nspr gdk_pixbuf ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libusb pixman glib nss gtk3 ];
|
||||
nativeBuildInputs = [ pkgconfig meson ninja gtk-doc docbook_xsl docbook_xml_dtd_43 ];
|
||||
|
||||
configureFlags = [ "--with-udev-rules-dir=$(out)/lib/udev/rules.d" ];
|
||||
mesonFlags = [ "-Dudev_rules_dir=lib/udev/rules.d" "-Dx11-examples=false" ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace libfprint/meson.build \
|
||||
--replace /bin/echo ${coreutils}/bin/echo
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://www.freedesktop.org/wiki/Software/fprint/libfprint/;
|
||||
homepage = https://fprint.freedesktop.org/;
|
||||
description = "A library designed to make it easy to add support for consumer fingerprint readers";
|
||||
license = licenses.lgpl2;
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user