diff options
author | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-05-15 15:13:30 +0300 |
---|---|---|
committer | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-05-15 15:13:30 +0300 |
commit | 0b3e2beccac16833395d7d78b9b4df8bb4bb307d (patch) | |
tree | f472004a60c1acfa19eb40cbb5a6dc351720f66c /pkgs/applications/virtualization | |
parent | 2bf516613d88dc16e9185bc0bb1f0e021fbd9442 (diff) | |
parent | 6a0d21eb86105ac8e631621e9425eabbab3c0a1d (diff) | |
download | nixlib-0b3e2beccac16833395d7d78b9b4df8bb4bb307d.tar nixlib-0b3e2beccac16833395d7d78b9b4df8bb4bb307d.tar.gz nixlib-0b3e2beccac16833395d7d78b9b4df8bb4bb307d.tar.bz2 nixlib-0b3e2beccac16833395d7d78b9b4df8bb4bb307d.tar.lz nixlib-0b3e2beccac16833395d7d78b9b4df8bb4bb307d.tar.xz nixlib-0b3e2beccac16833395d7d78b9b4df8bb4bb307d.tar.zst nixlib-0b3e2beccac16833395d7d78b9b4df8bb4bb307d.zip |
Merge pull request #7829 from joamaki/vmware_guest
VMWare guest support and open-vm-tools package
Diffstat (limited to 'pkgs/applications/virtualization')
-rw-r--r-- | pkgs/applications/virtualization/open-vm-tools/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/open-vm-tools/default.nix b/pkgs/applications/virtualization/open-vm-tools/default.nix new file mode 100644 index 000000000000..4f32ec55a0e1 --- /dev/null +++ b/pkgs/applications/virtualization/open-vm-tools/default.nix @@ -0,0 +1,43 @@ +{ stdenv, lib, fetchurl, makeWrapper, autoconf, automake, + libmspack, openssl, pam, xercesc, icu, libdnet, procps, + x11, libXinerama, libXi, libXrender, libXrandr, libXtst, + pkgconfig, glib, gtk, gtkmm }: + +let + majorVersion = "9.10"; + minorVersion = "0"; + patchSet = "2476743"; + version = "${majorVersion}.${minorVersion}-${patchSet}"; + +in stdenv.mkDerivation { + name = "open-vm-tools-${version}"; + src = fetchurl { + url = "mirror://sourceforge/project/open-vm-tools/open-vm-tools/stable-${majorVersion}.x/open-vm-tools-${version}.tar.gz"; + sha256 = "15lwayrz9bpx4z12fj616hsn25m997y72licwwz7kms4sx9ssip1"; + }; + + buildInputs = + [ autoconf automake makeWrapper libmspack openssl pam xercesc icu libdnet procps + pkgconfig glib gtk gtkmm x11 libXinerama libXi libXrender libXrandr libXtst ]; + + patchPhase = '' + sed -i s,-Werror,,g configure.ac + sed -i 's,^confdir = ,confdir = ''${prefix},' scripts/Makefile.am + sed -i 's,etc/vmware-tools,''${prefix}/etc/vmware-tools,' services/vmtoolsd/Makefile.am + ''; + + preConfigure = "autoreconf"; + configureFlags = "--without-kernel-modules --without-xmlsecurity"; + + meta = with stdenv.lib; { + homepage = "https://github.com/vmware/open-vm-tools"; + description = "Set of tools for VMWare guests to improve host-guest interaction"; + longDescription = '' + A set of services and modules that enable several features in VMware products for + better management of, and seamless user interactions with, guests. + ''; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ joamaki ]; + }; +} |