diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-10-28 14:06:56 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-10-28 14:06:56 +0000 |
commit | f53195f29e69dbb79f44039b809bb1fa40f34ac2 (patch) | |
tree | 03d9da1314f6c0f6dfd1a0f5cf2f5ffe4aa3a8a2 /pkgs/tools/X11/keynav/default.nix | |
parent | cbfbaf736a0e697c0ee8188e9f68cfde5bd703e3 (diff) |
* Improved a bunch of "name" attributes (mostly missing version
numbers). svn path=/nixpkgs/trunk/; revision=17991
Diffstat (limited to 'pkgs/tools/X11/keynav/default.nix')
-rw-r--r-- | pkgs/tools/X11/keynav/default.nix | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/pkgs/tools/X11/keynav/default.nix b/pkgs/tools/X11/keynav/default.nix index a3345f69bc02d..19de62990e2c9 100644 --- a/pkgs/tools/X11/keynav/default.nix +++ b/pkgs/tools/X11/keynav/default.nix @@ -1,24 +1,25 @@ -{stdenv, fetchurl, libX11, xextproto, libXtst, imake, -libXi, libXext}: -stdenv.mkDerivation { - name = "keynav"; +{ stdenv, fetchurl, libX11, xextproto, libXtst, imake, libXi, libXext }: - src = - fetchurl { - url = http://www.semicomplete.com/files/keynav/keynav-20070903.tar.gz; - sha256 = "037mbgm78jwy0qd0z691pgx4zcpkk5544fx8ajm2mx4y80k2d9kk"; - }; +stdenv.mkDerivation rec { + name = "keynav-20070903"; + + src = fetchurl { + url = "http://www.semicomplete.com/files/keynav/${name}.tar.gz"; + sha256 = "037mbgm78jwy0qd0z691pgx4zcpkk5544fx8ajm2mx4y80k2d9kk"; + }; buildInputs = [libX11 xextproto libXtst imake libXi libXext]; - NIX_LDFLAGS=" -lXext "; + NIX_LDFLAGS = "-lXext"; - installPhase = " - mkdir -p \$out/bin \$out/share/keynav/doc; - cp keynav \$out/bin; cp keynavrc \$out/share/keynav/doc - "; + 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."; + meta = { + description = "A tool to generate X11 mouse clicks from keyboard."; }; } |