about summary refs log tree commit diff
path: root/pkgs/tools/networking/x11-ssh-askpass/default.nix
blob: 5088d92a8c7f24aa9d9f9227d6ecd61ddfd35ebc (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
{stdenv, fetchurl, x11, imake}:

stdenv.mkDerivation {
  name = "x11-ssh-askpass-1.2.4.1";

  src = fetchurl {
    url = http://www.jmknoble.net/software/x11-ssh-askpass/x11-ssh-askpass-1.2.4.1.tar.gz;
    sha1 = "78c992951685d4dbffb77536f37b83ae2a6eafc7";
  };

  preConfigure = "
    configureFlags=\"--with-app-defaults-dir=$out/etc/X11/app-defaults\"
  ";

  buildPhase = "xmkmf; make includes; make";

  buildInputs = [x11 imake];

  meta = {
    homepage = "http://www.jmknoble.net/software/x11-ssh-askpass/";
    description = "Lightweight passphrase dialog for OpenSSH or other open variants of SSH";

    platforms = stdenv.lib.platforms.unix;
    maintainers = [];
  };
}