git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #5446 from nckx/remotebox-squashed

Add RemoteBox, a (you guessed it) remote VirtualBox client

commite553cbee5a6582b24d6ad0eb7059364f6f2c0726 authorvbgl <vbgl@users.noreply.github.com> dateThu 25 Dec 2014, 23:32 (12 years ago) parent1c8783fbc5938b
3 files changed+103
pkgs/applications/virtualization/remotebox/default.nix+40 pkgs/top-level/all-packages.nix+2 pkgs/top-level/perl-packages.nix+61
pkgs/applications/virtualization/remotebox/default.nixnew file+40
@@ -0,0 +1,40 @@
1+{ stdenv, fetchurl, perl, perlPackages }:
2+
3+stdenv.mkDerivation rec {
4+ version = "1.9";
5+ name = "remotebox-${version}";
6+
7+ src = fetchurl {
8+ url = "${meta.homepage}/downloads/RemoteBox-${version}.tar.bz2";
9+ sha256 = "0vsfz2qmha9nz60fyksgqqyrw4lz9z2d5isnwqc6afn8z3i1qmkp";
10+ };
11+
12+ buildInputs = [ perl perlPackages.Gtk2 perlPackages.SOAPLite ];
13+
14+ installPhase = ''
15+ mkdir -p $out/bin
16+ cp -a docs/ share/ $out
17+
18+ substituteInPlace remotebox --replace "\$Bin/" "\$Bin/../"
19+ install -t $out/bin remotebox
20+
21+ mkdir -p $out/share/applications
22+ cp -p packagers-readme/*.desktop $out/share/applications
23+ '';
24+
25+ meta = with stdenv.lib; {
26+ description = "VirtualBox client with remote management";
27+ homepage = http://remotebox.knobgoblin.org.uk/;
28+ license = with licenses; gpl2Plus;
29+ longDescription = ''
30+ VirtualBox is traditionally considered to be a virtualization solution
31+ aimed at the desktop. While it is certainly possible to install
32+ VirtualBox on a server, it offers few remote management features beyond
33+ using the vboxmanage command line.
34+ RemoteBox aims to fill this gap by providing a graphical VirtualBox
35+ client which is able to manage a VirtualBox server installation.
36+ '';
37+ maintainers = with maintainers; [ nckx ];
38+ platforms = with platforms; all;
39+ };
40+}
pkgs/top-level/all-packages.nix+2
@@ -2280,6 +2280,8 @@ let
22802280
22812281 remmina = callPackage ../applications/networking/remote/remmina {};
22822282
2283+ remotebox = callPackage ../applications/virtualization/remotebox {};
2284+
22832285 renameutils = callPackage ../tools/misc/renameutils { };
22842286
22852287 replace = callPackage ../tools/text/replace { };
pkgs/top-level/perl-packages.nix+61
@@ -548,6 +548,21 @@ let self = _self // overrides; _self = with self; {
548548 };
549549 };
550550
551+ Cairo = buildPerlPackage rec {
552+ name = "Cairo-1.105";
553+ src = fetchurl {
554+ url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
555+ sha256 = "0im025wy1346w7b7hi6im08bfn6x4ma0cxmjz6xnk8riizm1s84q";
556+ };
557+ buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig pkgs.cairo ];
558+ meta = {
559+ homepage = http://gtk2-perl.sourceforge.net/;
560+ description = "Perl interface to the cairo 2d vector graphics library";
561+ maintainers = with maintainers; [ nckx ];
562+ license = with stdenv.lib.licenses; [ lgpl21Plus ];
563+ };
564+ };
565+
551566 cam_pdf = buildPerlPackage rec {
552567 name = "CAM-PDF-1.60";
553568 src = fetchurl {
@@ -3993,6 +4008,21 @@ let self = _self // overrides; _self = with self; {
39934008 };
39944009 };
39954010
4011+ Glib = buildPerlPackage rec {
4012+ name = "Glib-1.306";
4013+ src = fetchurl {
4014+ url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
4015+ sha256 = "0j4kf707vy9vhpifwl6icc7rqyf75z2lhc626af7ag8srqva81ic";
4016+ };
4017+ buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig pkgs.glib ];
4018+ meta = {
4019+ homepage = http://gtk2-perl.sourceforge.net/;
4020+ description = "Perl wrappers for the GLib utility and Object libraries";
4021+ maintainers = with maintainers; [ nckx ];
4022+ license = with stdenv.lib.licenses; [ lgpl3Plus ];
4023+ };
4024+ };
4025+
39964026 GnuPG = buildPerlPackage {
39974027 name = "GnuPG-0.19";
39984028 src = fetchurl {
@@ -4058,6 +4088,21 @@ let self = _self // overrides; _self = with self; {
40584088 buildInputs = [ DataUUID CryptCBC ];
40594089 };
40604090
4091+ Gtk2 = buildPerlPackage rec {
4092+ name = "Gtk2-1.2493";
4093+ src = fetchurl {
4094+ url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
4095+ sha256 = "1zhrvwl584yrf0b1rrkli0k2ly221xhdyix8ykmm9zs674gain0z";
4096+ };
4097+ buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Pango pkgs.gtk2 ];
4098+ meta = {
4099+ homepage = http://gtk2-perl.sourceforge.net/;
4100+ description = "Perl interface to the 2.x series of the Gimp Toolkit library";
4101+ maintainers = with maintainers; [ nckx ];
4102+ license = with stdenv.lib.licenses; [ lgpl21Plus ];
4103+ };
4104+ };
4105+
40614106 Guard = buildPerlPackage {
40624107 name = "Guard-1.022";
40634108 src = fetchurl {
@@ -7093,6 +7138,22 @@ let self = _self // overrides; _self = with self; {
70937138 };
70947139 };
70957140
7141+ Pango = buildPerlPackage rec {
7142+ name = "Pango-1.226";
7143+ src = fetchurl {
7144+ url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
7145+ sha256 = "0r4jx7d6gj6ixk2r5yr70biy1lpjxir08aywkw02g85wg6zkjw4z";
7146+ };
7147+ buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig pkgs.pango ];
7148+ propagatedBuildInputs = [ Cairo Glib ];
7149+ meta = {
7150+ homepage = http://gtk2-perl.sourceforge.net/;
7151+ description = "Layout and render international text";
7152+ maintainers = with maintainers; [ nckx ];
7153+ license = with stdenv.lib.licenses; [ lgpl21Plus ];
7154+ };
7155+ };
7156+
70967157 ParamsClassify = buildPerlPackage rec {
70977158 name = "Params-Classify-0.013";
70987159 src = fetchurl {