diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-01-14 21:34:37 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-01-14 21:34:37 +0000 |
commit | 0c79434ccbaf82ab89290fffaf4bb4d444d2f874 (patch) | |
tree | 92457d7f731a9182f812d149a3bbc9646d53f1a8 /pkgs/tools/misc | |
parent | 9ee0a9df9bc69e72278b8d34093238428fa3ea82 (diff) | |
parent | 5fe8b64ceadac39a9badbd4afe6120d7157456c8 (diff) |
svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=31567
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/tmux/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/unclutter/default.nix | 32 |
2 files changed, 34 insertions, 2 deletions
diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix index da54c1854102d..2e26fb7ddbac2 100644 --- a/pkgs/tools/misc/tmux/default.nix +++ b/pkgs/tools/misc/tmux/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "tmux"; - version = "1.3"; + version = "1.5"; name = "${pname}-${version}"; src = fetchurl { url = "mirror://sourceforge/${pname}/${name}.tar.gz"; - sha256 = "72c2d6f1c30fb4ccbd29b530a7d8a08e67c9c2d87ac8d67e3806561670fc0362"; + sha256 = "eb8215b57c05b765d2446d9acb2bc5edcdb3eb4ea31af89ee127a27e90056306"; }; makeFlags = "PREFIX=\${out}"; diff --git a/pkgs/tools/misc/unclutter/default.nix b/pkgs/tools/misc/unclutter/default.nix new file mode 100644 index 0000000000000..8cf31ff72085a --- /dev/null +++ b/pkgs/tools/misc/unclutter/default.nix @@ -0,0 +1,32 @@ +{stdenv, fetchurl, x11}: + +stdenv.mkDerivation { + name = "unclutter-8"; + src = fetchurl { + url = http://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.tar.gz; + sha256 = "33a78949a7dedf2e8669ae7b5b2c72067896497820292c96afaa60bb71d1f2a6"; + }; + + buildInputs = [x11]; + + installPhase = '' + mkdir -pv "$out/bin" + mkdir -pv "$out/share/man/man1" + make DESTDIR="$out" BINDIR="$out/bin" PREFIX="" install + make DESTDIR="$out" MANPATH="$out/share/man" PREFIX="" install.man + ''; + + meta = { + description = "Hides mouse pointer while not in use."; + longDescription = '' + Unclutter hides your X mouse cursor when you do not need it, to prevent + it from getting in the way. You have only to move the mouse to restore + the mouse cursor. Unclutter is very usefull in tiling wm's where you do + not need the mouse often. + + Just run it from your .bash_profile like that: + + unclutter -idle 1 & + ''; + }; +} |