Clean up base role
This commit is contained in:
parent
83cd92035b
commit
f4c6c70d67
9 changed files with 242 additions and 186 deletions
7
overlays/_nix-path/overlays.nix
Normal file
7
overlays/_nix-path/overlays.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
self: super:
|
||||
with super.lib;
|
||||
let
|
||||
# Load the system wide overlays
|
||||
overlays = (import <nixpkgs/nixos> { }).config.nixpkgs.overlays;
|
||||
# Apply all overlays to the input of the current "main" overlay
|
||||
in foldl' (flip extends) (_: super) overlays self
|
|
@ -1,24 +1,26 @@
|
|||
{ stdenv, buildFHSUserEnv, fetchurl, makeWrapper, makeDesktopItem, libxslt, atk
|
||||
, fontconfig, freetype, gdk-pixbuf, glib, gtk2, libudev0-shim, libxml2
|
||||
, pango, pixman, libX11, libXext, libXinerama, libXrandr , libXrender
|
||||
, libXtst, libXcursor, libXi, libxkbfile , libXScrnSaver, zlib, liberation_ttf
|
||||
, libtiff, dbus, at-spi2-atk, harfbuzz, gtk3-x11, libuuid, pcsclite
|
||||
}:
|
||||
, fontconfig, freetype, gdk-pixbuf, glib, gtk2, libudev0-shim, libxml2, pango
|
||||
, pixman, libX11, libXext, libXinerama, libXrandr, libXrender, libXtst
|
||||
, libXcursor, libXi, libxkbfile, libXScrnSaver, zlib, liberation_ttf, libtiff
|
||||
, dbus, at-spi2-atk, harfbuzz, gtk3-x11, libuuid, pcsclite }:
|
||||
|
||||
let
|
||||
version = "2006";
|
||||
|
||||
sysArch =
|
||||
if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
|
||||
else throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
# The downloaded archive also contains i386 and ARM binaries, but these have not been tested.
|
||||
sysArch = if stdenv.hostPlatform.system == "x86_64-linux" then
|
||||
"x64"
|
||||
else
|
||||
throw "Unsupported system: ${stdenv.hostPlatform.system}";
|
||||
# The downloaded archive also contains i386 and ARM binaries, but these have not been tested.
|
||||
|
||||
vmwareHorizonClientFiles = stdenv.mkDerivation {
|
||||
name = "vmwareHorizonClientFiles";
|
||||
inherit version;
|
||||
src = fetchurl {
|
||||
url = https://download3.vmware.com/software/view/viewclients/CART21FQ2/vmware-view-client-linux-2006-8.0.0-16522670.tar.gz;
|
||||
sha256 = "8c46d49fea42f8c1f7cf32a5f038f5a47d2b304743b1e4f4c68c658621b0e79c";
|
||||
url =
|
||||
"https://download3.vmware.com/software/view/viewclients/CART21FQ2/vmware-view-client-linux-2006-8.0.0-16522670.tar.gz";
|
||||
sha256 =
|
||||
"8c46d49fea42f8c1f7cf32a5f038f5a47d2b304743b1e4f4c68c658621b0e79c";
|
||||
};
|
||||
buildInputs = [ makeWrapper ];
|
||||
installPhase = ''
|
||||
|
@ -46,10 +48,36 @@ let
|
|||
runScript = "${vmwareHorizonClientFiles}/bin/vmware-view_wrapper";
|
||||
|
||||
targetPkgs = pkgs: [
|
||||
pcsclite dbus vmwareHorizonClientFiles atk fontconfig freetype gdk-pixbuf glib gtk2
|
||||
libudev0-shim libxml2 pango pixman liberation_ttf libX11 libXext libXinerama
|
||||
libXrandr libXrender libXtst libXcursor libXi libxkbfile at-spi2-atk libXScrnSaver
|
||||
zlib libtiff harfbuzz gtk3-x11 libuuid
|
||||
pcsclite
|
||||
dbus
|
||||
vmwareHorizonClientFiles
|
||||
atk
|
||||
fontconfig
|
||||
freetype
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gtk2
|
||||
libudev0-shim
|
||||
libxml2
|
||||
pango
|
||||
pixman
|
||||
liberation_ttf
|
||||
libX11
|
||||
libXext
|
||||
libXinerama
|
||||
libXrandr
|
||||
libXrender
|
||||
libXtst
|
||||
libXcursor
|
||||
libXi
|
||||
libxkbfile
|
||||
at-spi2-atk
|
||||
libXScrnSaver
|
||||
zlib
|
||||
libtiff
|
||||
harfbuzz
|
||||
gtk3-x11
|
||||
libuuid
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -71,7 +99,8 @@ in stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Allows you to connect to your VMware Horizon virtual desktop";
|
||||
description =
|
||||
"Allows you to connect to your VMware Horizon virtual desktop";
|
||||
homepage = "https://www.vmware.com/go/viewclients";
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.linux;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
self: super: {
|
||||
lib = (super.lib or { }) // { qois = import ../lib { lib = self.lib; }; };
|
||||
vmware-horizon-client = super.callPackage ./applications/networking/remote/vmware-horizon-client { }; # TODO: Should be included in 21.03
|
||||
vmware-horizon-client =
|
||||
super.callPackage ./applications/networking/remote/vmware-horizon-client
|
||||
{ }; # TODO: Should be included in 21.03
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue