diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-08-07 12:07:03 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-08-07 12:08:10 +0200 |
commit | 8bd8c09f98ece814185a0e9b0285ac3c5e51d062 (patch) | |
tree | f6896500d553b924d6de420dfaca68ae8c7bae87 | |
parent | 93168d887ce0fbacb5549b9e7a46162f4bcf41b6 (diff) |
x11_ssh_askpass: clean up & add man page
-rw-r--r-- | pkgs/tools/networking/x11-ssh-askpass/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/tools/networking/x11-ssh-askpass/default.nix b/pkgs/tools/networking/x11-ssh-askpass/default.nix index 1075e4616186c..4061d5284aa66 100644 --- a/pkgs/tools/networking/x11-ssh-askpass/default.nix +++ b/pkgs/tools/networking/x11-ssh-askpass/default.nix @@ -1,20 +1,28 @@ -{stdenv, fetchurl, xlibsWrapper, imake}: +{ 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"; }; - preConfigure = " - configureFlags=\"--with-app-defaults-dir=$out/etc/X11/app-defaults\" - "; + nativeBuildInputs = [ imake ]; + buildInputs = [ xlibsWrapper ]; + + configureFlags = [ + "--with-app-defaults-dir=$out/etc/X11/app-defaults" + ]; - buildPhase = "xmkmf; make includes; make"; + preBuild = '' + xmkmf + make includes + ''; - buildInputs = [xlibsWrapper imake]; + installTargets = [ "install" "install.man" ]; meta = { homepage = http://www.jmknoble.net/software/x11-ssh-askpass/; |