diff options
Diffstat (limited to 'pkgs/tools/security/fprintd/default.nix')
-rw-r--r-- | pkgs/tools/security/fprintd/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/security/fprintd/default.nix b/pkgs/tools/security/fprintd/default.nix new file mode 100644 index 00000000000..fb72782abee --- /dev/null +++ b/pkgs/tools/security/fprintd/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, pkgconfig, intltool +, libfprint, glib, dbus_glib, polkit, nss, pam, systemd }: + +stdenv.mkDerivation rec { + name = "fprintd-0.6.0"; + + src = fetchurl { + url = "http://people.freedesktop.org/~hadess/${name}.tar.xz"; + sha256 = "1by6nvlrqkwzcz2v2kyq6avi3h384vmlr42vj9s2yzcinkp64m1z"; + }; + + 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 ]; + }; +} |