2018-11-28 03:44:21 +00:00
|
|
|
{ stdenv, fetchurl, xlibsWrapper, imake, gccmakedep }:
|
2007-04-02 14:46:56 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "x11-ssh-askpass-1.2.4.1";
|
2010-10-07 14:14:21 +01:00
|
|
|
|
2018-08-07 11:07:03 +01:00
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
2007-04-02 14:46:56 +01:00
|
|
|
src = fetchurl {
|
2018-09-04 21:16:31 +01:00
|
|
|
url = http://pkgs.fedoraproject.org/repo/pkgs/openssh/x11-ssh-askpass-1.2.4.1.tar.gz/8f2e41f3f7eaa8543a2440454637f3c3/x11-ssh-askpass-1.2.4.1.tar.gz;
|
|
|
|
sha256 = "620de3c32ae72185a2c9aeaec03af24242b9621964e38eb625afb6cdb30b8c88";
|
2007-04-02 14:46:56 +01:00
|
|
|
};
|
|
|
|
|
2018-11-28 03:44:21 +00:00
|
|
|
nativeBuildInputs = [ imake gccmakedep ];
|
2018-08-07 11:07:03 +01:00
|
|
|
buildInputs = [ xlibsWrapper ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-app-defaults-dir=$out/etc/X11/app-defaults"
|
|
|
|
];
|
2007-04-02 14:46:56 +01:00
|
|
|
|
2018-11-28 03:44:21 +00:00
|
|
|
dontUseImakeConfigure = true;
|
|
|
|
postConfigure = ''
|
|
|
|
xmkmf -a
|
2018-08-07 11:07:03 +01:00
|
|
|
'';
|
2007-04-02 14:46:56 +01:00
|
|
|
|
2018-08-07 11:07:03 +01:00
|
|
|
installTargets = [ "install" "install.man" ];
|
2010-10-07 14:13:57 +01:00
|
|
|
|
2018-09-04 21:16:31 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/sigmavirus24/x11-ssh-askpass;
|
2010-10-07 15:05:19 +01:00
|
|
|
description = "Lightweight passphrase dialog for OpenSSH or other open variants of SSH";
|
2018-09-04 21:16:31 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2010-10-07 14:13:57 +01:00
|
|
|
};
|
2007-04-02 14:46:56 +01:00
|
|
|
}
|