about summary refs log tree commit diff
path: root/pkgs/applications/virtualization/remotebox/default.nix
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-07-22 19:12:14 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-07-23 03:12:22 +0200
commit3e79e3a264da7f1617259fe7675c588b0fc50487 (patch)
tree9b747f5a8cc1960106bda77e69067d66f012d982 /pkgs/applications/virtualization/remotebox/default.nix
parent72fd2a609c52bc39119bc239ed039f744dd20dcc (diff)
downloadnixlib-3e79e3a264da7f1617259fe7675c588b0fc50487.tar
nixlib-3e79e3a264da7f1617259fe7675c588b0fc50487.tar.gz
nixlib-3e79e3a264da7f1617259fe7675c588b0fc50487.tar.bz2
nixlib-3e79e3a264da7f1617259fe7675c588b0fc50487.tar.lz
nixlib-3e79e3a264da7f1617259fe7675c588b0fc50487.tar.xz
nixlib-3e79e3a264da7f1617259fe7675c588b0fc50487.tar.zst
nixlib-3e79e3a264da7f1617259fe7675c588b0fc50487.zip
remotebox: 1.9 -> 2.0
Changes:
- RemoteBox now requires VirtualBox 5.0.x
- Added guest support for USB 3.0
- Added OS icons for Windows 10, OS/2 1.x, Yosemite, El Capitan
- Added command line options for automatic login. See manual
- Added option to set the virtual VGA card of a guest to either
  VirtualBox VGA or VMware SVGA-II
- Allow snapshots to be taken while the guest is paused
- Added support for adding USB storage controller to a guest
- Added support for adding transient shared folders
- Added support for setting IPv6 Port Forwarding rules on NAT networks
- Added option to convert disk images to VDI when importing an
  appliance
- Changed the way guest details are displayed and added an option
  to show extended (slower) or reduced (faster) guest details
- Added support for selecting built-in presets for the RDP clients.
  These are currently FreeRDP (New Syntax), FreeRDP (Old Syntax),
  Rdesktop, Windows Remote Desktop Client
- Added support for selecting the paravirtualization interface for
  a guest
- Added keyboard toolbutton for quick access to common keyboard
  sequences. The full keyboard menu is still available
- Fixed a problem with trailing slashes in a URL preventing the
  remote display to a guest from opening.
- Fixed a problem with UTF8 strings affecting the listing of storage
  attached to controllers
- Fixed an issue where stuck guests couldn't be stopped from the GUI
- Various GUI tweaks
Diffstat (limited to 'pkgs/applications/virtualization/remotebox/default.nix')
-rw-r--r--pkgs/applications/virtualization/remotebox/default.nix30
1 files changed, 17 insertions, 13 deletions
diff --git a/pkgs/applications/virtualization/remotebox/default.nix b/pkgs/applications/virtualization/remotebox/default.nix
index 14adddf8d1b8..e07f8d5b92c9 100644
--- a/pkgs/applications/virtualization/remotebox/default.nix
+++ b/pkgs/applications/virtualization/remotebox/default.nix
@@ -1,40 +1,44 @@
-{ stdenv, fetchurl, perl, perlPackages }:
+{ stdenv, fetchurl, makeWrapper, perl, perlPackages }:
 
-stdenv.mkDerivation rec {
-  version = "1.9";
+let version = "2.0"; in
+stdenv.mkDerivation {
   name = "remotebox-${version}";
 
   src = fetchurl {
-    url = "${meta.homepage}/downloads/RemoteBox-${version}.tar.bz2";
-    sha256 = "0vsfz2qmha9nz60fyksgqqyrw4lz9z2d5isnwqc6afn8z3i1qmkp";
+    url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2";
+    sha256 = "0c73i53wdjd2m2sdgq3r3xp30irxh5z5rak2rk79yb686s6bv759";
   };
 
-  buildInputs = [ perl perlPackages.Gtk2 perlPackages.SOAPLite ];
+  buildInputs = with perlPackages; [ perl Glib Gtk2 Pango SOAPLite ];
+  nativeBuildInputs = [ makeWrapper ];
 
   installPhase = ''
-    mkdir -p $out/bin
-    cp -a docs/ share/ $out
+    mkdir -pv $out/bin
 
     substituteInPlace remotebox --replace "\$Bin/" "\$Bin/../"
-    install -t $out/bin remotebox
+    install -v -t $out/bin remotebox
+    wrapProgram $out/bin/remotebox --prefix PERL5LIB : $PERL5LIB
 
-    mkdir -p $out/share/applications
-    cp -p packagers-readme/*.desktop $out/share/applications
+    cp -av docs/ share/ $out
+
+    mkdir -pv $out/share/applications
+    cp -pv packagers-readme/*.desktop $out/share/applications
   '';
 
   meta = with stdenv.lib; {
+    inherit version;
     description = "VirtualBox client with remote management";
     homepage = http://remotebox.knobgoblin.org.uk/;
     license = licenses.gpl2Plus;
     longDescription = ''
       VirtualBox is traditionally considered to be a virtualization solution
-      aimed at the desktop.  While it is certainly possible to install
+      aimed at the desktop. While it is certainly possible to install
       VirtualBox on a server, it offers few remote management features beyond
       using the vboxmanage command line.
       RemoteBox aims to fill this gap by providing a graphical VirtualBox
       client which is able to manage a VirtualBox server installation.
     '';
     maintainers = with maintainers; [ nckx ];
-    platforms = with platforms; all;
+    platforms = platforms.all;
   };
 }