2012-04-16 23:44:12 +02:00
|
|
|
{ stdenv, fetchurl, zlib, boost, protobuf, ncurses, pkgconfig, IOTty
|
|
|
|
, makeWrapper, perl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-09-25 18:26:49 +02:00
|
|
|
name = "mosh-1.2.2";
|
2012-04-16 23:44:12 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/downloads/keithw/mosh/${name}.tar.gz";
|
2012-09-25 18:26:49 +02:00
|
|
|
sha256 = "1763s6f398hmdgy73brpknwahnys28zk3pm37n66sr8iyz2cq8xp";
|
2012-04-16 23:44:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|