2021-01-11 08:54:33 +01:00
|
|
|
{ lib, 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-12-24 15:52:28 +01:00
|
|
|
version = "2.7";
|
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-12-24 15:52:28 +01:00
|
|
|
sha256 = "0csf6gd7pqq4abia4z0zpzlq865ri1z0821kjy7p3iawqlfn75pb";
|
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
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2014-12-23 14:23:35 +01:00
|
|
|
description = "VirtualBox client with remote management";
|
2020-04-01 03:11:51 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|