nixpkgs-suyu/pkgs/tools/networking/x11-ssh-askpass/default.nix
2018-08-07 12:08:10 +02:00

34 lines
798 B
Nix

{ stdenv, fetchurl, xlibsWrapper, imake }:
stdenv.mkDerivation {
name = "x11-ssh-askpass-1.2.4.1";
outputs = [ "out" "man" ];
src = fetchurl {
url = http://www.jmknoble.net/software/x11-ssh-askpass/x11-ssh-askpass-1.2.4.1.tar.gz;
sha1 = "78c992951685d4dbffb77536f37b83ae2a6eafc7";
};
nativeBuildInputs = [ imake ];
buildInputs = [ xlibsWrapper ];
configureFlags = [
"--with-app-defaults-dir=$out/etc/X11/app-defaults"
];
preBuild = ''
xmkmf
make includes
'';
installTargets = [ "install" "install.man" ];
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 = [];
};
}