summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorvbgl <vbgl@users.noreply.github.com>2014-12-25 23:32:51 +0100
committervbgl <vbgl@users.noreply.github.com>2014-12-25 23:32:51 +0100
commite553cbee5a6582b24d6ad0eb7059364f6f2c0726 (patch)
tree4d3bd9504c7b7d67b583f5425a40cb4e4821f685 /pkgs
parent1c8783f39b4110c7b965ccf819ed9a310cc92669 (diff)
parentbc5938b07d744af76b014fda359de0685b7e2115 (diff)
downloadnixlib-e553cbee5a6582b24d6ad0eb7059364f6f2c0726.tar
nixlib-e553cbee5a6582b24d6ad0eb7059364f6f2c0726.tar.gz
nixlib-e553cbee5a6582b24d6ad0eb7059364f6f2c0726.tar.bz2
nixlib-e553cbee5a6582b24d6ad0eb7059364f6f2c0726.tar.lz
nixlib-e553cbee5a6582b24d6ad0eb7059364f6f2c0726.tar.xz
nixlib-e553cbee5a6582b24d6ad0eb7059364f6f2c0726.tar.zst
nixlib-e553cbee5a6582b24d6ad0eb7059364f6f2c0726.zip
Merge pull request #5446 from nckx/remotebox-squashed
Add RemoteBox, a (you guessed it) remote VirtualBox client
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/virtualization/remotebox/default.nix40
-rw-r--r--pkgs/top-level/all-packages.nix2
-rw-r--r--pkgs/top-level/perl-packages.nix61
3 files changed, 103 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/remotebox/default.nix b/pkgs/applications/virtualization/remotebox/default.nix
new file mode 100644
index 000000000000..a257ef27e9fd
--- /dev/null
+++ b/pkgs/applications/virtualization/remotebox/default.nix
@@ -0,0 +1,40 @@
+{ stdenv, fetchurl, perl, perlPackages }:
+
+stdenv.mkDerivation rec {
+  version = "1.9";
+  name = "remotebox-${version}";
+
+  src = fetchurl {
+    url = "${meta.homepage}/downloads/RemoteBox-${version}.tar.bz2";
+    sha256 = "0vsfz2qmha9nz60fyksgqqyrw4lz9z2d5isnwqc6afn8z3i1qmkp";
+  };
+
+  buildInputs = [ perl perlPackages.Gtk2 perlPackages.SOAPLite ];
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp -a docs/ share/ $out
+
+    substituteInPlace remotebox --replace "\$Bin/" "\$Bin/../"
+    install -t $out/bin remotebox
+
+    mkdir -p $out/share/applications
+    cp -p packagers-readme/*.desktop $out/share/applications
+  '';
+
+  meta = with stdenv.lib; {
+    description = "VirtualBox client with remote management";
+    homepage = http://remotebox.knobgoblin.org.uk/;
+    license = with 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.
+    '';
+    maintainers = with maintainers; [ nckx ];
+    platforms = with platforms; all;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 5c74603cb368..93a843a666f3 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -2280,6 +2280,8 @@ let
 
   remmina = callPackage ../applications/networking/remote/remmina {};
 
+  remotebox = callPackage ../applications/virtualization/remotebox {};
+
   renameutils = callPackage ../tools/misc/renameutils { };
 
   replace = callPackage ../tools/text/replace { };
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index 062f5af4e311..812af3e4c3e7 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -548,6 +548,21 @@ let self = _self // overrides; _self = with self; {
     };
   };
 
+  Cairo = buildPerlPackage rec {
+    name = "Cairo-1.105";
+    src = fetchurl {
+      url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
+      sha256 = "0im025wy1346w7b7hi6im08bfn6x4ma0cxmjz6xnk8riizm1s84q";
+    };
+    buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig pkgs.cairo ];
+    meta = {
+      homepage = http://gtk2-perl.sourceforge.net/;
+      description = "Perl interface to the cairo 2d vector graphics library";
+      maintainers = with maintainers; [ nckx ];
+      license = with stdenv.lib.licenses; [ lgpl21Plus ];
+    };
+  };
+
   cam_pdf = buildPerlPackage rec {
     name = "CAM-PDF-1.60";
     src = fetchurl {
@@ -3993,6 +4008,21 @@ let self = _self // overrides; _self = with self; {
     };
   };
 
+  Glib = buildPerlPackage rec {
+    name = "Glib-1.306";
+    src = fetchurl {
+      url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
+      sha256 = "0j4kf707vy9vhpifwl6icc7rqyf75z2lhc626af7ag8srqva81ic";
+    };
+    buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig pkgs.glib ];
+    meta = {
+      homepage = http://gtk2-perl.sourceforge.net/;
+      description = "Perl wrappers for the GLib utility and Object libraries";
+      maintainers = with maintainers; [ nckx ];
+      license = with stdenv.lib.licenses; [ lgpl3Plus ];
+    };
+  };
+
   GnuPG = buildPerlPackage {
     name = "GnuPG-0.19";
     src = fetchurl {
@@ -4058,6 +4088,21 @@ let self = _self // overrides; _self = with self; {
     buildInputs = [ DataUUID CryptCBC ];
   };
 
+  Gtk2 = buildPerlPackage rec {
+    name = "Gtk2-1.2493";
+    src = fetchurl {
+      url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
+      sha256 = "1zhrvwl584yrf0b1rrkli0k2ly221xhdyix8ykmm9zs674gain0z";
+    };
+    buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Pango pkgs.gtk2 ];
+    meta = {
+      homepage = http://gtk2-perl.sourceforge.net/;
+      description = "Perl interface to the 2.x series of the Gimp Toolkit library";
+      maintainers = with maintainers; [ nckx ];
+      license = with stdenv.lib.licenses; [ lgpl21Plus ];
+    };
+  };
+
   Guard = buildPerlPackage {
     name = "Guard-1.022";
     src = fetchurl {
@@ -7093,6 +7138,22 @@ let self = _self // overrides; _self = with self; {
     };
   };
 
+  Pango = buildPerlPackage rec {
+    name = "Pango-1.226";
+    src = fetchurl {
+      url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
+      sha256 = "0r4jx7d6gj6ixk2r5yr70biy1lpjxir08aywkw02g85wg6zkjw4z";
+    };
+    buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig pkgs.pango ];
+    propagatedBuildInputs = [ Cairo Glib ];
+    meta = {
+      homepage = http://gtk2-perl.sourceforge.net/;
+      description = "Layout and render international text";
+      maintainers = with maintainers; [ nckx ];
+      license = with stdenv.lib.licenses; [ lgpl21Plus ];
+    };
+  };
+
   ParamsClassify = buildPerlPackage rec {
     name = "Params-Classify-0.013";
     src = fetchurl {