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