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

26 lines
933 B
Nix
Raw Normal View History

2015-03-28 22:05:14 -04:00
{ stdenv, fetchurl, pkgconfig, intltool
, libfprint, glib, dbus-glib, polkit, nss, pam, systemd }:
2015-01-03 11:46:09 -05:00
stdenv.mkDerivation rec {
2016-11-23 10:08:24 -05:00
name = "fprintd-${version}";
2018-12-14 13:13:35 -05:00
version = "0.8.1";
2015-01-03 11:46:09 -05:00
2015-03-28 22:05:14 -04:00
src = fetchurl {
2018-12-14 13:13:35 -05:00
url = "https://gitlab.freedesktop.org/libfprint/fprintd/uploads/bdd9f91909f535368b7c21f72311704a/fprintd-${version}.tar.xz";
sha256 = "124s0g9syvglgsmqnavp2a8c0zcq8cyaph8p8iyvbla11vfizs9l";
2015-01-03 11:46:09 -05:00
};
buildInputs = [ libfprint glib dbus-glib polkit nss pam systemd ];
2015-03-28 22:05:14 -04:00
nativeBuildInputs = [ pkgconfig intltool ];
2015-01-03 11:46:09 -05:00
configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" "--localstatedir=/var" ];
2015-01-03 11:46:09 -05:00
meta = with stdenv.lib; {
2018-12-14 13:13:35 -05:00
homepage = https://fprint.freedesktop.org/;
2015-01-03 11:46:09 -05: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 ];
};
}