add looking-glass package with client formulae
This commit is contained in:
+3
-3
@@ -1,8 +1,8 @@
|
|||||||
# ---> Nix
|
# ---> Nix
|
||||||
# Ignore build outputs from performing a nix-build or `nix build` command
|
# Ignore build outputs from performing a nix-build or `nix build` command
|
||||||
result
|
**/result
|
||||||
result-*
|
**/result-*
|
||||||
|
|
||||||
# Ignore automatically generated direnv output
|
# Ignore automatically generated direnv output
|
||||||
.direnv
|
**/.direnv
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
cmake,
|
||||||
|
pkg-config,
|
||||||
|
wayland-scanner,
|
||||||
|
fontconfig,
|
||||||
|
expat,
|
||||||
|
wayland,
|
||||||
|
libxkbcommon,
|
||||||
|
libGL,
|
||||||
|
pipewire,
|
||||||
|
libsamplerate,
|
||||||
|
spice-protocol,
|
||||||
|
nettle,
|
||||||
|
libffi,
|
||||||
|
libx11,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "looking-glass";
|
||||||
|
version = "4bb2c58fb6d0df9e863ad45924dd4decc7e9cf4e";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gnif";
|
||||||
|
repo = "LookingGlass";
|
||||||
|
rev = "4bb2c58fb6d0df9e863ad45924dd4decc7e9cf4e";
|
||||||
|
hash = "sha256-Dc0sFnJVM0xJ0FfIQqGQKxFUj6mhp3qgB772h3Dgowc";
|
||||||
|
fetchSubmodules = true;
|
||||||
|
leaveDotGit = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkg-config wayland-scanner ];
|
||||||
|
buildInputs = [
|
||||||
|
fontconfig
|
||||||
|
expat
|
||||||
|
wayland
|
||||||
|
libxkbcommon
|
||||||
|
libGL
|
||||||
|
pipewire
|
||||||
|
libsamplerate
|
||||||
|
spice-protocol
|
||||||
|
nettle
|
||||||
|
libffi
|
||||||
|
libx11
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeDir = "../client";
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DENABLE_BACKTRACE=no"
|
||||||
|
"-DENABLE_WAYLAND=yes"
|
||||||
|
"-DENABLE_PIPEWIRE=yes"
|
||||||
|
"-DENABLE_PULSEAUDIO=no"
|
||||||
|
"-DENABLE_X11=no"
|
||||||
|
"-DOPTIMIZE_FOR_NATIVE=x86-64-v3"
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
let
|
||||||
|
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-26.05";
|
||||||
|
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||||
|
in
|
||||||
|
{
|
||||||
|
client = pkgs.callPackage ./client.nix { };
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user