{ lib, stdenv, fetchurl, pkgconfig , wayland }: stdenv.mkDerivation rec { name = "wayland-protocols-${version}"; version = "1.13"; src = fetchurl { url = "http://wayland.freedesktop.org/releases/${name}.tar.xz"; sha256 = "0f4gqvmz53q9d8h0ilhf4z773nb4vskzx11a3d1jycym120bqn07"; }; 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; }