about summary refs log tree commit diff
path: root/pkgs/tools/networking/mosh/default.nix
blob: 60a9e5cab871ddac59270b2abe879790da1c14be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
  };
}