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