summary refs log tree commit diff
path: root/pkgs/tools/security/fprintd
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-01-03 19:46:09 +0300
committerNikolay Amiantov <ab@fmap.me>2015-01-03 19:50:40 +0300
commit63af25130e8185d5948f0bcab7f5d57c284acbfd (patch)
treea1fd78033dde8740edb42050b9edbbc9d59f560e /pkgs/tools/security/fprintd
parent7452a03ba94657133bc1f6bd0f7ea83b4628e029 (diff)
downloadnixpkgs-63af25130e8185d5948f0bcab7f5d57c284acbfd.tar
nixpkgs-63af25130e8185d5948f0bcab7f5d57c284acbfd.tar.gz
nixpkgs-63af25130e8185d5948f0bcab7f5d57c284acbfd.tar.bz2
nixpkgs-63af25130e8185d5948f0bcab7f5d57c284acbfd.tar.lz
nixpkgs-63af25130e8185d5948f0bcab7f5d57c284acbfd.tar.xz
nixpkgs-63af25130e8185d5948f0bcab7f5d57c284acbfd.tar.zst
nixpkgs-63af25130e8185d5948f0bcab7f5d57c284acbfd.zip
fprintd: add package
Diffstat (limited to 'pkgs/tools/security/fprintd')
-rw-r--r--pkgs/tools/security/fprintd/default.nix25
-rw-r--r--pkgs/tools/security/fprintd/pod.patch9
2 files changed, 34 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..bc3fae3d477
--- /dev/null
+++ b/pkgs/tools/security/fprintd/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, pkgconfig, libfprint, intltool, glib, dbus_glib, polkit, nss, pam, systemd }:
+
+stdenv.mkDerivation rec {
+  name = "fprintd-0.5.1";
+
+  src = fetchurl {
+    url = "http://people.freedesktop.org/~hadess/${name}.tar.xz";
+    sha256 = "0n3fh28cvqrhjig30lz1p075g0wd7jnhvz1j34n37c0cwc7rfmlj";
+  };
+
+  patches = [ ./pod.patch ];
+
+  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 ];
+  };
+}
diff --git a/pkgs/tools/security/fprintd/pod.patch b/pkgs/tools/security/fprintd/pod.patch
new file mode 100644
index 00000000000..34cf6560cc5
--- /dev/null
+++ b/pkgs/tools/security/fprintd/pod.patch
@@ -0,0 +1,9 @@
+diff -u -r fprintd-0.5.1/data/fprintd.pod fprintd-0.5.1-pod/data/fprintd.pod
+--- fprintd-0.5.1/data/fprintd.pod	2013-06-26 13:10:17.000000000 +0200
++++ fprintd-0.5.1-pod/data/fprintd.pod	2013-08-17 12:17:36.330332635 +0200
+@@ -100,3 +100,5 @@
+ =over 8
+ 
+ =item B<dbus-daemon>, B<gnome-about-me>
++
++=back