summary refs log tree commit diff
path: root/pkgs/tools/security/fprintd/default.nix
blob: 52bc59abb4cbe5942e3fd113674f1b3c386d8a35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchurl, pkgconfig, intltool
, libfprint, glib, dbus-glib, polkit, nss, pam, systemd }:

stdenv.mkDerivation rec {
  name = "fprintd-${version}";
  version = "0.8.0";

  src = fetchurl {
    url = "http://people.freedesktop.org/~hadess/${name}.tar.xz";
    sha256 = "00i21ycaya4x2qf94mys6s94xnbj5cfm8zhhd5sc91lvqjk4r99k";
  };

  buildInputs = [ libfprint glib dbus-glib polkit nss pam systemd ];
  nativeBuildInputs = [ pkgconfig intltool ];

  configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" ];

  meta = with stdenv.lib; {
    homepage = http://www.freedesktop.org/wiki/Software/fprint/fprintd/;
    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 ];
  };
}