2019-05-03 04:04:46 +01:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch
|
2018-12-29 19:29:22 +00:00
|
|
|
, cmake, pkgconfig, SDL2, SDL, SDL2_ttf, openssl, spice-protocol, fontconfig
|
2019-08-12 08:53:31 +01:00
|
|
|
, libX11, freefont_ttf, nettle, libconfig, wayland, libpthreadstubs, libXdmcp
|
|
|
|
, libXfixes, libbfd
|
2018-01-28 14:08:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "looking-glass-client";
|
2019-08-12 08:53:31 +01:00
|
|
|
version = "B1";
|
2018-01-28 14:08:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "gnif";
|
|
|
|
repo = "LookingGlass";
|
|
|
|
rev = version;
|
2019-08-12 08:53:31 +01:00
|
|
|
sha256 = "0vykv7yjz4fima9d82m83acd8ab72nq4wyzyfs1c499i27wz91ia";
|
2018-01-28 14:08:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2018-02-25 02:23:58 +00:00
|
|
|
SDL SDL2 SDL2_ttf openssl spice-protocol fontconfig
|
2019-08-12 08:53:31 +01:00
|
|
|
libX11 freefont_ttf nettle libconfig wayland libpthreadstubs
|
|
|
|
libXdmcp libXfixes libbfd cmake
|
2019-05-03 04:04:46 +01:00
|
|
|
];
|
|
|
|
|
2018-01-28 14:08:37 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
sourceRoot = "source/client";
|
|
|
|
|
|
|
|
installPhase = ''
|
2018-12-29 19:29:22 +00:00
|
|
|
mkdir -p $out/bin
|
|
|
|
mv looking-glass-client $out/bin
|
2018-01-28 14:08:37 +00: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;
|
2019-08-14 20:45:09 +01:00
|
|
|
maintainers = [ maintainers.alexbakker ];
|
2018-02-09 20:48:18 +00:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2018-01-28 14:08:37 +00:00
|
|
|
};
|
|
|
|
}
|