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 {
|
2014-12-23 14:23:35 +01:00
|
|
|
name = "remotebox-${version}";
|
2016-11-05 19:16:58 +01:00
|
|
|
version = "2.2";
|
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";
|
2016-11-05 19:16:58 +01:00
|
|
|
sha256 = "0g7lx5zk9fk5k8alpag45z2zw9bnrlx1zfs63rc3ilfyvm4k4zc5";
|
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.
|
|
|
|
'';
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
2015-07-22 19:12:14 +02:00
|
|
|
platforms = platforms.all;
|
2014-12-23 14:23:35 +01:00
|
|
|
};
|
|
|
|
}
|