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