2016-04-08 21:09:31 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkgconfig
|
|
|
|
, wayland
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "wayland-protocols-${version}";
|
2016-05-24 12:36:50 +01:00
|
|
|
version = "1.4";
|
2016-04-08 21:09:31 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
|
2016-05-24 12:36:50 +01:00
|
|
|
sha256 = "0wpm7mz7ww6nn3vrgz7a9iyk7mk6za73wnq0n54lzl8yq8irljh1";
|
2016-04-08 21:09:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|