2015-07-22 19:12:14 +02:00
|
|
|
{ stdenv, fetchurl, makeWrapper, perl, perlPackages }:
|
2014-12-23 14:23:35 +01:00
|
|
|
|
2016-01-24 20:31:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "remotebox";
|
2019-01-16 15:13:39 +01:00
|
|
|
version = "2.6";
|
2014-12-23 14:23:35 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-07-22 19:12:14 +02:00
|
|
|
url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2";
|
2019-01-16 15:13:39 +01:00
|
|
|
sha256 = "1bbdnf13vp35ddfmk4pn167vfxgmdw0fd8bqg51wd8dd4cj8y3wp";
|
2014-12-23 14:23:35 +01:00
|
|
|
};
|
|
|
|
|
2015-07-22 19:12:14 +02:00
|
|
|
buildInputs = with perlPackages; [ perl Glib Gtk2 Pango SOAPLite ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2014-12-23 14:23:35 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
2015-07-22 19:12:14 +02:00
|
|
|
mkdir -pv $out/bin
|
2014-12-23 14:23:35 +01:00
|
|
|
|
|
|
|
substituteInPlace remotebox --replace "\$Bin/" "\$Bin/../"
|
2015-07-22 19:12:14 +02:00
|
|
|
install -v -t $out/bin remotebox
|
|
|
|
wrapProgram $out/bin/remotebox --prefix PERL5LIB : $PERL5LIB
|
2014-12-23 14:23:35 +01:00
|
|
|
|
2015-07-22 19:12:14 +02:00
|
|
|
cp -av docs/ share/ $out
|
|
|
|
|
|
|
|
mkdir -pv $out/share/applications
|
|
|
|
cp -pv packagers-readme/*.desktop $out/share/applications
|
2014-12-23 14:23:35 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "VirtualBox client with remote management";
|
|
|
|
homepage = http://remotebox.knobgoblin.org.uk/;
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.gpl2Plus;
|
2014-12-23 14:23:35 +01:00
|
|
|
longDescription = ''
|
|
|
|
VirtualBox is traditionally considered to be a virtualization solution
|
2015-07-22 19:12:14 +02:00
|
|
|
aimed at the desktop. While it is certainly possible to install
|
2014-12-23 14:23:35 +01:00
|
|
|
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.
|
|
|
|
'';
|
2015-07-22 19:12:14 +02:00
|
|
|
platforms = platforms.all;
|
2014-12-23 14:23:35 +01:00
|
|
|
};
|
|
|
|
}
|