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