Adding mosh.

svn path=/nixpkgs/trunk/; revision=33804
This commit is contained in:
Lluís Batlle i Rossell 2012-04-16 21:44:12 +00:00
parent cccc48263f
commit 682690bd71
2 changed files with 29 additions and 0 deletions

View File

@ -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;
};
}

View File

@ -1019,6 +1019,10 @@ let
inherit openssl flex bison;
};
mosh = callPackage ../tools/networking/mosh {
inherit (perlPackages) IOTty;
};
mpage = callPackage ../tools/text/mpage { };
mscgen = callPackage ../tools/graphics/mscgen { };