@@ -0,0 +1,40 @@
1+{ stdenv, fetchurl, perl, perlPackages }:
2+
3+stdenv.mkDerivation rec {
4+ version = "1.9";
5+ name = "remotebox-${version}";
6+
7+ src = fetchurl {
8+ url = "${meta.homepage}/downloads/RemoteBox-${version}.tar.bz2";
9+ sha256 = "0vsfz2qmha9nz60fyksgqqyrw4lz9z2d5isnwqc6afn8z3i1qmkp";
10+ };
11+
12+ buildInputs = [ perl perlPackages.Gtk2 perlPackages.SOAPLite ];
13+
14+ installPhase = ''
15+ mkdir -p $out/bin
16+ cp -a docs/ share/ $out
17+
18+ substituteInPlace remotebox --replace "\$Bin/" "\$Bin/../"
19+ install -t $out/bin remotebox
20+
21+ mkdir -p $out/share/applications
22+ cp -p packagers-readme/*.desktop $out/share/applications
23+ '';
24+
25+ meta = with stdenv.lib; {
26+ description = "VirtualBox client with remote management";
27+ homepage = http://remotebox.knobgoblin.org.uk/;
28+ license = with licenses; gpl2Plus;
29+ longDescription = ''
30+ VirtualBox is traditionally considered to be a virtualization solution
31+ aimed at the desktop. While it is certainly possible to install
32+ VirtualBox on a server, it offers few remote management features beyond
33+ using the vboxmanage command line.
34+ RemoteBox aims to fill this gap by providing a graphical VirtualBox
35+ client which is able to manage a VirtualBox server installation.
36+ '';
37+ maintainers = with maintainers; [ nckx ];
38+ platforms = with platforms; all;
39+ };
40+}