nixpkgs/pkgs/tools/security/fprintd/default.nix

25 lines
848 B
Nix
Raw Normal View History

2015-03-29 04:05:14 +02:00
{ stdenv, fetchurl, pkgconfig, intltool
, libfprint, glib, dbus_glib, polkit, nss, pam, systemd }:
2015-01-03 17:46:09 +01:00
stdenv.mkDerivation rec {
2015-03-29 04:05:14 +02:00
name = "fprintd-0.6.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";
sha256 = "1by6nvlrqkwzcz2v2kyq6avi3h384vmlr42vj9s2yzcinkp64m1z";
2015-01-03 17:46:09 +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; {
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 ];
};
}