diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/virtualization/remotebox/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/virtualization/remotebox/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/virtualization/remotebox/default.nix b/nixpkgs/pkgs/applications/virtualization/remotebox/default.nix new file mode 100644 index 000000000000..8777f7cc2db2 --- /dev/null +++ b/nixpkgs/pkgs/applications/virtualization/remotebox/default.nix @@ -0,0 +1,42 @@ +{ stdenv, fetchurl, makeWrapper, perl, perlPackages }: + +stdenv.mkDerivation rec { + name = "remotebox-${version}"; + version = "2.6"; + + src = fetchurl { + url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2"; + sha256 = "1bbdnf13vp35ddfmk4pn167vfxgmdw0fd8bqg51wd8dd4cj8y3wp"; + }; + + buildInputs = with perlPackages; [ perl Glib Gtk2 Pango SOAPLite ]; + nativeBuildInputs = [ makeWrapper ]; + + installPhase = '' + mkdir -pv $out/bin + + substituteInPlace remotebox --replace "\$Bin/" "\$Bin/../" + install -v -t $out/bin remotebox + wrapProgram $out/bin/remotebox --prefix PERL5LIB : $PERL5LIB + + cp -av docs/ share/ $out + + mkdir -pv $out/share/applications + cp -pv packagers-readme/*.desktop $out/share/applications + ''; + + meta = with stdenv.lib; { + description = "VirtualBox client with remote management"; + homepage = http://remotebox.knobgoblin.org.uk/; + license = licenses.gpl2Plus; + longDescription = '' + VirtualBox is traditionally considered to be a virtualization solution + aimed at the desktop. While it is certainly possible to install + 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. + ''; + platforms = platforms.all; + }; +} |