From d2c1953e8dac0d0f0069a62dc3a3ea67f120e279 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 1 Oct 2007 19:47:53 +0000 Subject: [PATCH] Updated keynav; new features; do not forget to copy keynavrc from share/keynav/doc to ~/.keynavrc svn path=/nixpkgs/trunk/; revision=9391 --- pkgs/tools/X11/keynav/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/X11/keynav/default.nix b/pkgs/tools/X11/keynav/default.nix index 3aa2e0d7bc0a..0c6d90ca7f78 100644 --- a/pkgs/tools/X11/keynav/default.nix +++ b/pkgs/tools/X11/keynav/default.nix @@ -3,15 +3,18 @@ libXi, libXext}: stdenv.mkDerivation { name = "keynav"; - src = fetchurl { - url = http://www.semicomplete.com/projects/keynav/keynav.tar.gz; - sha256 = "1b7xppwbl07vrhdp6vszmnhbpsbmqwbna0aymbq5hv315rmkgh20"; - }; + src = + fetchurl { + url = http://www.semicomplete.com/files/keynav/keynav-20070903.tar.gz; + sha256 = "037mbgm78jwy0qd0z691pgx4zcpkk5544fx8ajm2mx4y80k2d9kk"; + }; buildInputs = [libX11 xextproto libXtst imake libXi libXext]; - buildPhase = "xmkmf ; make includes ; touch keynav.man ; make ; "; - installFlags = "BINDIR=$(out)/bin MANDIR=$(out)/man "; + installPhase = " + mkdir -p \$out/bin \$out/share/keynav/doc; + cp keynav \$out/bin; cp keynavrc \$out/share/keynav/doc + "; meta ={ description = "A tool to generate X11 mouse clicks from keyboard.";