2018-01-28 15:08:37 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
2018-12-29 20:29:22 +01:00
|
|
|
, cmake, pkgconfig, SDL2, SDL, SDL2_ttf, openssl, spice-protocol, fontconfig
|
2018-06-17 18:33:32 +02:00
|
|
|
, libX11, freefont_ttf, nettle, libconfig
|
2018-01-28 15:08:37 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "looking-glass-client-${version}";
|
2018-12-29 20:29:22 +01:00
|
|
|
version = "a12";
|
2018-01-28 15:08:37 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gnif";
|
|
|
|
repo = "LookingGlass";
|
|
|
|
rev = version;
|
2018-12-29 20:29:22 +01:00
|
|
|
sha256 = "0r6bvl9q94039r6ff4f2bg8si95axx9w8bf1h1qr5730d2kv5yxq";
|
2018-01-28 15:08:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-02-25 03:23:58 +01:00
|
|
|
SDL SDL2 SDL2_ttf openssl spice-protocol fontconfig
|
2018-12-29 20:29:22 +01:00
|
|
|
libX11 freefont_ttf nettle libconfig cmake
|
2018-01-28 15:08:37 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
sourceRoot = "source/client";
|
|
|
|
|
|
|
|
installPhase = ''
|
2018-12-29 20:29:22 +01:00
|
|
|
mkdir -p $out/bin
|
|
|
|
mv looking-glass-client $out/bin
|
2018-01-28 15:08:37 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A KVM Frame Relay (KVMFR) implementation";
|
|
|
|
longDescription = ''
|
|
|
|
Looking Glass is an open source application that allows the use of a KVM
|
|
|
|
(Kernel-based Virtual Machine) configured for VGA PCI Pass-through
|
|
|
|
without an attached physical monitor, keyboard or mouse. This is the final
|
|
|
|
step required to move away from dual booting with other operating systems
|
|
|
|
for legacy programs that require high performance graphics.
|
|
|
|
'';
|
|
|
|
homepage = https://looking-glass.hostfission.com/;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.pneumaticat ];
|
2018-02-09 21:48:18 +01:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2018-01-28 15:08:37 +01:00
|
|
|
};
|
|
|
|
}
|