summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-04-16 21:44:12 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-04-16 21:44:12 +0000
commit682690bd715b8a4d0ed109ed9fbd8c42ac26337f (patch)
tree3967b35461c363e061f474b8ddc1a208afab1839 /pkgs/tools
parentcccc48263ff0c0c265ced48b483e48053fd5b56e (diff)
downloadnixpkgs-682690bd715b8a4d0ed109ed9fbd8c42ac26337f.tar
nixpkgs-682690bd715b8a4d0ed109ed9fbd8c42ac26337f.tar.gz
nixpkgs-682690bd715b8a4d0ed109ed9fbd8c42ac26337f.tar.bz2
nixpkgs-682690bd715b8a4d0ed109ed9fbd8c42ac26337f.tar.lz
nixpkgs-682690bd715b8a4d0ed109ed9fbd8c42ac26337f.tar.xz
nixpkgs-682690bd715b8a4d0ed109ed9fbd8c42ac26337f.tar.zst
nixpkgs-682690bd715b8a4d0ed109ed9fbd8c42ac26337f.zip
Adding mosh.
svn path=/nixpkgs/trunk/; revision=33804
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/mosh/default.nix25
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 00000000000..60a9e5cab87
--- /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;
+  };
+}