25 stdenv.mkDerivation rec {
29 src = fetchFromGitHub {
32 rev = "refs/tags/v${version}";
33 hash = "sha256-2SFtz62z0EF8cpFTC6wGi125MD4a5mkXqP/C+7fH+3g=";
56 mesa # for libEGL headers
62 postFixup = lib.optionalString wlroots.enableXWayland ''
63 wrapProgram $out/bin/cage --prefix PATH : "${xwayland}/bin"
66 # Tests Cage using the NixOS module by launching xterm:
67 passthru.tests.basic-nixos-module-functionality = nixosTests.cage;
70 description = "Wayland kiosk that runs a single, maximized application";
71 homepage = "https://www.hjdskes.nl/projects/cage/";
72 license = licenses.mit;
73 platforms = platforms.linux;
74 maintainers = with maintainers; [ primeos ];