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, wayland-scanner, wrapQtAppsHook, qtbase, qtdeclarative, qwlroots, wayland, wayland-protocols, wlr-protocols, pixman, libdrm, libinput,}:
stdenv.mkDerivation (finalAttrs: { pname = "waylib"; version = "0.6.14";
src = fetchFromGitHub { owner = "vioken"; repo = "waylib"; rev = finalAttrs.version; hash = "sha256-Yp7j1L+b41pmLWhxYN4M9W8OjXA31za3Ufp/iE3U/vM="; };
depsBuildBuild = [ # To find wayland-scanner pkg-config ];
nativeBuildInputs = [ cmake pkg-config wayland-scanner ];
buildInputs = [ qtbase qtdeclarative qwlroots wayland wayland-protocols wlr-protocols pixman libdrm libinput ];
strictDeps = true;
dontWrapQtApps = true;
outputs = [ "out" "dev" ];
meta = { description = "Wrapper for wlroots based on Qt"; homepage = "https://github.com/vioken/waylib"; license = with lib.licenses; [ gpl3Only lgpl3Only asl20 ]; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ rewine ]; };})