diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-04-16 21:44:12 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-04-16 21:44:12 +0000 |
commit | 682690bd715b8a4d0ed109ed9fbd8c42ac26337f (patch) | |
tree | 3967b35461c363e061f474b8ddc1a208afab1839 /pkgs/tools/networking/mosh | |
parent | cccc48263ff0c0c265ced48b483e48053fd5b56e (diff) |
Adding mosh.
svn path=/nixpkgs/trunk/; revision=33804
Diffstat (limited to 'pkgs/tools/networking/mosh')
-rw-r--r-- | pkgs/tools/networking/mosh/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/networking/mosh/default.nix b/pkgs/tools/networking/mosh/default.nix new file mode 100644 index 0000000000000..60a9e5cab871d --- /dev/null +++ b/pkgs/tools/networking/mosh/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, zlib, boost, protobuf, ncurses, pkgconfig, IOTty +, makeWrapper, perl }: + +stdenv.mkDerivation rec { + name = "mosh-1.1.3"; + + src = fetchurl { + url = "https://github.com/downloads/keithw/mosh/${name}.tar.gz"; + sha256 = "1vkf7h8mcmfn9dgcwrww05mdijrl7321xv9wlhf7j99nwmklc8sk"; + }; + + buildInputs = [ boost protobuf ncurses zlib pkgconfig IOTty makeWrapper perl ]; + + postInstall = '' + wrapProgram $out/bin/mosh --prefix PERL5LIB : $PERL5LIB + ''; + + meta = { + homepage = http://mosh.mit.edu/; + description = "Remote terminal application that allows roaming, local echo, etc."; + license = "GPLv3+"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} |