nixpkgs/pkgs/applications/virtualization/remotebox/default.nix
R. RyanTM a9f78307e6 remotebox: 2.4 -> 2.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/remotebox/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/lqc90dpw05j8jvi8n0klma3cipg70h6l-remotebox-2.5/bin/remotebox -h’ got 0 exit code
- found 2.5 with grep in /nix/store/lqc90dpw05j8jvi8n0klma3cipg70h6l-remotebox-2.5
- directory tree listing: https://gist.github.com/52fb098e7f7315de708c331b65eadfb4
2018-05-02 10:11:10 -07:00

43 lines
1.4 KiB
Nix

{ stdenv, fetchurl, makeWrapper, perl, perlPackages }:
stdenv.mkDerivation rec {
name = "remotebox-${version}";
version = "2.5";
src = fetchurl {
url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2";
sha256 = "0dajc9fg57gj915h5dxavbia4wx10frn4xc61pv0l8r5zp7xvqal";
};
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;
};
}