2015-07-22 18:12:14 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, perl, perlPackages }:
|
2014-12-23 13:23:35 +00:00
|
|
|
|
2016-01-24 19:31:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-12-23 13:23:35 +00:00
|
|
|
name = "remotebox-${version}";
|
2016-01-24 19:31:44 +00:00
|
|
|
version = "2.0";
|
2014-12-23 13:23:35 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-07-22 18:12:14 +01:00
|
|
|
url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2";
|
|
|
|
sha256 = "0c73i53wdjd2m2sdgq3r3xp30irxh5z5rak2rk79yb686s6bv759";
|
2014-12-23 13:23:35 +00:00
|
|
|
};
|
|
|
|
|
2015-07-22 18:12:14 +01:00
|
|
|
buildInputs = with perlPackages; [ perl Glib Gtk2 Pango SOAPLite ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2014-12-23 13:23:35 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2015-07-22 18:12:14 +01:00
|
|
|
mkdir -pv $out/bin
|
2014-12-23 13:23:35 +00:00
|
|
|
|
|
|
|
substituteInPlace remotebox --replace "\$Bin/" "\$Bin/../"
|
2015-07-22 18:12:14 +01: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 18:12:14 +01: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
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "VirtualBox client with remote management";
|
|
|
|
homepage = http://remotebox.knobgoblin.org.uk/;
|
2015-05-28 18:20:29 +01: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 18:12:14 +01: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.
|
|
|
|
'';
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
2015-07-22 18:12:14 +01:00
|
|
|
platforms = platforms.all;
|
2014-12-23 13:23:35 +00:00
|
|
|
};
|
|
|
|
}
|