2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, wayland-scanner }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wayland-protocols";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "1.21";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://wayland.freedesktop.org/releases/${pname}-${version}.tar.xz";
|
2021-05-20 23:08:51 +00:00
|
|
|
sha256 = "1rfdlkzz67qsb955zqb8jbw3m22pl6ppvrvfq8bqiqcb5n24b6dr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
nativeBuildInputs = [ wayland-scanner ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Wayland protocol extensions";
|
|
|
|
longDescription = ''
|
|
|
|
wayland-protocols contains Wayland protocols that add functionality not
|
|
|
|
available in the Wayland core protocol. Such protocols either add
|
|
|
|
completely new functionality, or extend the functionality of some other
|
|
|
|
protocol either in Wayland core, or some other protocol in
|
|
|
|
wayland-protocols.
|
|
|
|
'';
|
|
|
|
homepage = "https://gitlab.freedesktop.org/wayland/wayland-protocols";
|
|
|
|
license = lib.licenses.mit; # Expat version
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru.version = version;
|
|
|
|
}
|