25 lines
710 B
Nix
25 lines
710 B
Nix
|
{ stdenv, fetchurl, pkgconfig, wayland, mesa90x, libxkbcommon, pixman
|
||
|
, cairo, libxcb, libXcursor, x11, udev, libdrm2_4_39, mtdev
|
||
|
, libjpeg, pam }:
|
||
|
|
||
|
let version = "1.0.2"; in
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "weston-${version}";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
|
||
|
sha256 = "1496l8hmpxx7pivdpp14pv0hi30q18dmnaxz471v9jiqsnnrr11k";
|
||
|
};
|
||
|
|
||
|
buildInputs = [ pkgconfig wayland mesa90x libxkbcommon pixman
|
||
|
cairo libxcb libXcursor x11 udev libdrm2_4_39 mtdev
|
||
|
libjpeg pam ];
|
||
|
|
||
|
meta = {
|
||
|
description = "Reference implementation of a Wayland compositor";
|
||
|
homepage = http://wayland.freedesktop.org/;
|
||
|
license = stdenv.lib.licenses.mit;
|
||
|
};
|
||
|
}
|