2015-03-29 04:05:14 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool
|
2018-02-25 03:23:58 +01:00
|
|
|
, libfprint, glib, dbus-glib, polkit, nss, pam, systemd }:
|
2015-01-03 17:46:09 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-23 16:08:24 +01:00
|
|
|
name = "fprintd-${version}";
|
|
|
|
version = "0.7.0";
|
2015-01-03 17:46:09 +01:00
|
|
|
|
2015-03-29 04:05:14 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://people.freedesktop.org/~hadess/${name}.tar.xz";
|
2016-11-23 16:08:24 +01:00
|
|
|
sha256 = "05915i0bv7q62fqrs5diqwr8dz3pwqa1c1ivcgggkjyw0xk4ldp5";
|
2015-01-03 17:46:09 +01:00
|
|
|
};
|
|
|
|
|
2018-02-25 03:23:58 +01:00
|
|
|
buildInputs = [ libfprint glib dbus-glib polkit nss pam systemd ];
|
2015-03-29 04:05:14 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
2015-01-03 17:46:09 +01:00
|
|
|
|
|
|
|
configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.freedesktop.org/wiki/Software/fprint/fprintd/;
|
2015-01-03 17:46:09 +01:00
|
|
|
description = "D-Bus daemon that offers libfprint functionality over the D-Bus interprocess communication bus";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|