nixpkgs/pkgs/tools/networking/x11-ssh-askpass/default.nix
Vladimír Čunát 21e3ff658a x11: replace its usage by xlibsWrapper directly
Scilab note: the parameters already had pointed to nonexistent dirs
before this set of refactoring. But that config wasn't even used by
default.
2015-09-15 12:08:24 +02:00

27 lines
700 B
Nix

{stdenv, fetchurl, xlibsWrapper, 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 = [xlibsWrapper 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 = [];
};
}