Author: viric
Date: Mon Apr 16 21:44:12 2012
New Revision: 33804
URL: https://nixos.org/websvn/nix/?rev=33804&sc=1

Log:
Adding mosh.

Added:
   nixpkgs/trunk/pkgs/tools/networking/mosh/
   nixpkgs/trunk/pkgs/tools/networking/mosh/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Added: nixpkgs/trunk/pkgs/tools/networking/mosh/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/tools/networking/mosh/default.nix        Mon Apr 16 
21:44:12 2012        (r33804)
@@ -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;
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Apr 16 15:14:19 
2012        (r33803)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       Mon Apr 16 21:44:12 
2012        (r33804)
@@ -1019,6 +1019,10 @@
     inherit openssl flex bison;
   };
 
+  mosh = callPackage ../tools/networking/mosh {
+    inherit (perlPackages) IOTty;
+  };
+
   mpage = callPackage ../tools/text/mpage { };
 
   mscgen = callPackage ../tools/graphics/mscgen { };
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to