Skip to content

Commit

Permalink
looking-glass-client: init at a10
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Liu authored and jtojnar committed Feb 2, 2018
1 parent 2f98747 commit 93532b0
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/maintainers.nix
Expand Up @@ -543,6 +543,7 @@
pmahoney = "Patrick Mahoney <pat@polycrystal.org>";
pmeunier = "Pierre-Étienne Meunier <pierre-etienne.meunier@inria.fr>";
pmiddend = "Philipp Middendorf <pmidden@secure.mailbox.org>";
pneumaticat = "Kevin Liu <kevin@potatofrom.space>";
polyrod = "Maurizio Di Pietro <dc1mdp@gmail.com>";
pradeepchhetri = "Pradeep Chhetri <pradeep.chhetri89@gmail.com>";
prikhi = "Pavan Rikhi <pavan.rikhi@gmail.com>";
Expand Down
47 changes: 47 additions & 0 deletions pkgs/applications/virtualization/looking-glass-client/default.nix
@@ -0,0 +1,47 @@
{ stdenv, fetchFromGitHub
, pkgconfig, SDL2, SDL, SDL2_ttf, openssl, spice_protocol, fontconfig
, libX11, freefont_ttf
}:

stdenv.mkDerivation rec {
name = "looking-glass-client-${version}";
version = "a10";

src = fetchFromGitHub {
owner = "gnif";
repo = "LookingGlass";
rev = version;
sha256 = "10jxnkrvskjzkg86iz3hnb5v91ykzx6pvcnpy1v4436g5f2d62wn";
};

nativeBuildInputs = [ pkgconfig ];

buildInputs = [
SDL SDL2 SDL2_ttf openssl spice_protocol fontconfig
libX11 freefont_ttf
];

enableParallelBuilding = true;

sourceRoot = "source/client";

installPhase = ''
mkdir -p $out
mv bin $out/
'';

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 ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -16038,6 +16038,8 @@ with pkgs;
flavour = "git";
};

looking-glass-client = callPackage ../applications/virtualization/looking-glass-client { };

lumail = callPackage ../applications/networking/mailreaders/lumail { };

lv2bm = callPackage ../applications/audio/lv2bm { };
Expand Down

0 comments on commit 93532b0

Please sign in to comment.