nixpkgs/pkgs/applications/virtualization/looking-glass-client/default.nix

44 lines
1.5 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, SDL2, SDL2_ttf, spice-protocol
2020-11-07 08:41:16 +00:00
, fontconfig, libX11, freefont_ttf, nettle, libpthreadstubs, libXau, libXdmcp
, libXi, libXext, wayland, libffi, libGLU, expat, libbfd
2018-01-28 14:08:37 +00:00
}:
stdenv.mkDerivation rec {
pname = "looking-glass-client";
2020-11-07 08:41:16 +00:00
version = "B2";
2018-01-28 14:08:37 +00:00
src = fetchFromGitHub {
owner = "gnif";
repo = "LookingGlass";
rev = version;
2020-11-07 08:41:16 +00:00
sha256 = "100b5kzh8gr81kzw5fdqz2jsms25hv3815d31vy3qd6lrlm5gs3d";
fetchSubmodules = true;
2018-01-28 14:08:37 +00:00
};
nativeBuildInputs = [ cmake pkg-config ];
2018-01-28 14:08:37 +00:00
buildInputs = [
2020-11-07 08:41:16 +00:00
SDL2 SDL2_ttf spice-protocol fontconfig libX11 freefont_ttf nettle
libpthreadstubs libXau libXdmcp libXi libXext wayland libffi libGLU expat
libbfd
];
2018-01-28 14:08:37 +00:00
sourceRoot = "source/client";
2020-11-07 08:41:16 +00:00
NIX_CFLAGS_COMPILE = "-mavx"; # Fix some sort of AVX compiler problem.
2018-01-28 14:08:37 +00:00
meta = with lib; {
2018-01-28 14:08:37 +00:00
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.
'';
2020-11-07 08:41:16 +00:00
homepage = "https://looking-glass.io/";
2018-01-28 14:08:37 +00:00
license = licenses.gpl2Plus;
2020-11-07 08:41:16 +00:00
maintainers = with maintainers; [ alexbakker ];
platforms = [ "x86_64-linux" ];
2018-01-28 14:08:37 +00:00
};
}