git.iko.soy/typeable/nixpkgs
on master help sign in
fprintd: add package
commit63af25130e8185d5948f0bcab7f5d57c284acbfd authorNikolay Amiantov <ab@fmap.me> dateSat 3 Jan 2015, 19:46 (12 years ago) parent7452a03
3 files changed+36
pkgs/tools/security/fprintd/default.nix+25 pkgs/tools/security/fprintd/pod.patch+9 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/fprintd/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ stdenv, fetchurl, pkgconfig, libfprint, intltool, glib, dbus_glib, polkit, nss, pam, systemd }:
2+
3+stdenv.mkDerivation rec {
4+ name = "fprintd-0.5.1";
5+
6+ src = fetchurl {
7+ url = "http://people.freedesktop.org/~hadess/${name}.tar.xz";
8+ sha256 = "0n3fh28cvqrhjig30lz1p075g0wd7jnhvz1j34n37c0cwc7rfmlj";
9+ };
10+
11+ patches = [ ./pod.patch ];
12+
13+ buildInputs = [ libfprint glib dbus_glib polkit nss pam systemd ];
14+ nativeBuildInputs = [ pkgconfig intltool ];
15+
16+ configureFlags = [ "--with-systemdsystemunitdir=$(out)/lib/systemd/system" ];
17+
18+ meta = with stdenv.lib; {
19+ homepage = "http://www.freedesktop.org/wiki/Software/fprint/fprintd/";
20+ description = "D-Bus daemon that offers libfprint functionality over the D-Bus interprocess communication bus";
21+ license = licenses.gpl2;
22+ platforms = platforms.linux;
23+ maintainers = with maintainers; [ abbradar ];
24+ };
25+}
pkgs/tools/security/fprintd/pod.patchnew file+9
@@ -0,0 +1,9 @@
1+diff -u -r fprintd-0.5.1/data/fprintd.pod fprintd-0.5.1-pod/data/fprintd.pod
2+--- fprintd-0.5.1/data/fprintd.pod 2013-06-26 13:10:17.000000000 +0200
3++++ fprintd-0.5.1-pod/data/fprintd.pod 2013-08-17 12:17:36.330332635 +0200
4+@@ -100,3 +100,5 @@
5+ =over 8
6+
7+ =item B<dbus-daemon>, B<gnome-about-me>
8++
9++=back
pkgs/top-level/all-packages.nix+2
@@ -1218,6 +1218,8 @@ let
12181218
12191219 fprot = callPackage ../tools/security/fprot { };
12201220
1221+ fprintd = callPackage ../tools/security/fprintd { };
1222+
12211223 freeipmi = callPackage ../tools/system/freeipmi {};
12221224
12231225 freetalk = callPackage ../applications/networking/instant-messengers/freetalk {