mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-16 01:45:11 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
57 lines
1.5 KiB
Nix
57 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
makeWrapper,
|
|
perl,
|
|
perlPackages,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "remotebox";
|
|
version = "3.4";
|
|
|
|
src = fetchurl {
|
|
url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2";
|
|
sha256 = "sha256-oIWSli/pc+kqMkYqkeHr3fZshWUHx6ecqAZXf6fl2ik=";
|
|
};
|
|
|
|
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 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;
|
|
mainProgram = "remotebox";
|
|
};
|
|
}
|