{ lib, stdenv, fetchurl, pkgconfig , wayland }: stdenv.mkDerivation rec { name = "wayland-protocols-${version}"; version = "1.15"; src = fetchurl { url = "https://wayland.freedesktop.org/releases/${name}.tar.xz"; sha256 = "1qlyf9cllr2p339xxplznh023qcwj5iisp02ikx7ps349dx75fys"; }; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ wayland ]; meta = { description = "Wayland protocol extensions"; homepage = https://wayland.freedesktop.org/; license = lib.licenses.mit; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ ]; }; passthru.version = version; }