2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config
|
2016-04-08 21:09:31 +01:00
|
|
|
, wayland
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "wayland-protocols";
|
2020-02-29 19:09:29 +00:00
|
|
|
version = "1.20";
|
2016-04-08 21:09:31 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://wayland.freedesktop.org/releases/${pname}-${version}.tar.xz";
|
2020-02-29 19:09:29 +00:00
|
|
|
sha256 = "1rsdgvkkvxs3cjhpl6agvbkm53vm7k8rg127j9y2vn33m2hvg0lp";
|
2016-04-08 21:09:31 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2016-04-08 21:09:31 +01:00
|
|
|
|
|
|
|
buildInputs = [ wayland ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Wayland protocol extensions";
|
2020-02-04 23:52:48 +00:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://gitlab.freedesktop.org/wayland/wayland-protocols";
|
2020-02-04 23:52:48 +00:00
|
|
|
license = lib.licenses.mit; # Expat version
|
2016-04-08 21:09:31 +01:00
|
|
|
platforms = lib.platforms.linux;
|
2020-02-04 23:52:48 +00:00
|
|
|
maintainers = with lib.maintainers; [ primeos ];
|
2016-04-08 21:09:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru.version = version;
|
|
|
|
}
|