forked from mirrors/nixpkgs
commit
922a0b13ef
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, meson, ninja, pkg-config, wayland-scanner, scdoc, makeWrapper
|
||||
, wlroots, wayland, wayland-protocols, pixman, libxkbcommon
|
||||
, wlroots, wayland, wayland-protocols, pixman, libxkbcommon, xcbutilwm
|
||||
, systemd, libGL, libX11, mesa
|
||||
, xwayland ? null
|
||||
, nixosTests
|
||||
|
@ -8,13 +8,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cage";
|
||||
version = "0.1.4";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Hjdskes";
|
||||
repo = "cage";
|
||||
rev = "v${version}";
|
||||
sha256 = "0vm96gxinhy48m3x9p1sfldyd03w3gk6iflb7n9kn06j1vqyswr6";
|
||||
hash = "sha256-Suq14YRw/MReDRvO/TQqjpZvpzAEDnHUyVbQj0BPT4c=";
|
||||
};
|
||||
|
||||
depsBuildBuild = [
|
||||
|
@ -24,15 +24,11 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner scdoc makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
wlroots wayland wayland-protocols pixman libxkbcommon
|
||||
wlroots wayland wayland-protocols pixman libxkbcommon xcbutilwm
|
||||
mesa # for libEGL headers
|
||||
systemd libGL libX11
|
||||
];
|
||||
|
||||
# https://github.com/cage-kiosk/cage/issues/231
|
||||
# cage will segfault on start with `-m last` without this
|
||||
CFLAGS = "-O0";
|
||||
|
||||
mesonFlags = [ "-Dxwayland=${lib.boolToString (xwayland != null)}" ];
|
||||
|
||||
postFixup = lib.optionalString (xwayland != null) ''
|
||||
|
|
|
@ -30379,7 +30379,7 @@ with pkgs;
|
|||
cardo = callPackage ../data/fonts/cardo { };
|
||||
|
||||
cage = callPackage ../applications/window-managers/cage {
|
||||
wlroots = wlroots_0_14;
|
||||
wlroots = wlroots_0_16;
|
||||
};
|
||||
|
||||
calf = callPackage ../applications/audio/calf {
|
||||
|
|
Loading…
Reference in a new issue