x11_ssh_askpass: clean up & add man page

This commit is contained in:
Jan Tojnar 2018-08-07 12:07:03 +02:00
parent 93168d887c
commit 8bd8c09f98
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,20 +1,28 @@
{stdenv, fetchurl, xlibsWrapper, imake}: { stdenv, fetchurl, xlibsWrapper, imake }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "x11-ssh-askpass-1.2.4.1"; name = "x11-ssh-askpass-1.2.4.1";
outputs = [ "out" "man" ];
src = fetchurl { src = fetchurl {
url = http://www.jmknoble.net/software/x11-ssh-askpass/x11-ssh-askpass-1.2.4.1.tar.gz; url = http://www.jmknoble.net/software/x11-ssh-askpass/x11-ssh-askpass-1.2.4.1.tar.gz;
sha1 = "78c992951685d4dbffb77536f37b83ae2a6eafc7"; sha1 = "78c992951685d4dbffb77536f37b83ae2a6eafc7";
}; };
preConfigure = " nativeBuildInputs = [ imake ];
configureFlags=\"--with-app-defaults-dir=$out/etc/X11/app-defaults\" buildInputs = [ xlibsWrapper ];
";
buildPhase = "xmkmf; make includes; make"; configureFlags = [
"--with-app-defaults-dir=$out/etc/X11/app-defaults"
];
buildInputs = [xlibsWrapper imake]; preBuild = ''
xmkmf
make includes
'';
installTargets = [ "install" "install.man" ];
meta = { meta = {
homepage = http://www.jmknoble.net/software/x11-ssh-askpass/; homepage = http://www.jmknoble.net/software/x11-ssh-askpass/;