Add sommelier fork package
This commit is contained in:
parent
5946e26cbf
commit
7890ae5248
|
@ -249,6 +249,7 @@
|
||||||
};
|
};
|
||||||
swayimg = pkgs.callPackage ./packages/swayimg/default.nix { };
|
swayimg = pkgs.callPackage ./packages/swayimg/default.nix { };
|
||||||
layman = pkgs.callPackage ./packages/layman/default.nix { };
|
layman = pkgs.callPackage ./packages/layman/default.nix { };
|
||||||
|
sommelier = pkgs.callPackage ./packages/sommelier/default.nix { };
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,8 @@ in with lib; {
|
||||||
font-awesome
|
font-awesome
|
||||||
layman-package
|
layman-package
|
||||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.wob
|
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.wob
|
||||||
|
# For fancy x11 scaling
|
||||||
|
inputs.self.packages.${pkgs.system}.sommelier
|
||||||
];
|
];
|
||||||
#########################
|
#########################
|
||||||
## Sway
|
## Sway
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland-scanner
|
||||||
|
, libxkbcommon, mesa, pixman, xorg, wayland, gtest }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "sommelier";
|
||||||
|
version = "104.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "niklashhh";
|
||||||
|
repo = "sommelier";
|
||||||
|
rev = "a39700971b63284dd4c3e1400be8d753db08119e";
|
||||||
|
sha256 = "sha256-Xa39QyUuSzw7+rm9va8aj9iHo3d1LqoQxmAAPJ/slqQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
|
||||||
|
buildInputs = [ libxkbcommon mesa pixman wayland xorg.libxcb ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
nativeCheckInputs = [ gtest ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage =
|
||||||
|
"https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/main/vm_tools/sommelier/";
|
||||||
|
description = "Nested Wayland compositor with support for X11 forwarding";
|
||||||
|
maintainers = with maintainers; [ qyliss ];
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue