nixpkgs/pkgs/development/libraries/wayland/protocols.nix
2018-12-07 21:01:08 -06:00

27 lines
638 B
Nix

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