summary refs log tree commit diff
path: root/pkgs/tools/misc/pinentry/default.nix
blob: 900370d0f8e4f42ad73b4ea1138243c566263e64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ fetchurl, stdenv, glib, pkgconfig, gtk, ncurses }:

stdenv.mkDerivation rec {
  name = "pinentry-0.7.5";

  src = fetchurl {
    url = "mirror://gnupg/pinentry/${name}.tar.gz";
    sha256 = "cb269ac058793b2df343a12a65e3402abc4b68503e105b12e4ca903d8d8e3172";
  };

  patches = [ ./duplicate-glib-defs.patch ];

  buildInputs = [ glib pkgconfig gtk ncurses ];

  meta = { 
    description = "GnuPG's interface to passphrase input";

    longDescription = ''
      Pinentry provides a console and a GTK+ GUI that allows users to
      enter a passphrase when `gpg' or `gpg2' is run and needs it.
    '';

    homepage = http://gnupg.org/aegypten2/;
    license = "GPLv2+";
  };
}