Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 74 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, wayland-scanner, qtbase, wayland, wayland-protocols, wlr-protocols, pixman, libgbm, vulkan-loader, libinput, xorg, seatd, wlroots,}:
stdenv.mkDerivation (finalAttrs: { pname = "qwlroots"; version = "0.5.3";
src = fetchFromGitHub { owner = "vioken"; repo = "qwlroots"; rev = finalAttrs.version; hash = "sha256-ZyG0JGUlz/ubtwN5wYtC8qeYsPur+0kTkD7iIjHX7KU="; };
nativeBuildInputs = [ cmake pkg-config wayland-scanner ];
buildInputs = [ qtbase wayland wayland-protocols wlr-protocols pixman libgbm vulkan-loader libinput xorg.libXdmcp xorg.xcbutilerrors seatd ];
propagatedBuildInputs = [ wlroots ];
cmakeFlags = [ (lib.cmakeBool "PREFER_QT_5" (lib.versionOlder qtbase.version "6")) ];
dontWrapQtApps = true;
meta = { description = "Qt and QML bindings for wlroots"; homepage = "https://github.com/vioken/qwlroots"; license = with lib.licenses; [ gpl3Only lgpl3Only asl20 ]; platforms = wlroots.meta.platforms; maintainers = with lib.maintainers; [ rewine ]; };})