nixpkgs/pkgs/development/libraries/wlc/default.nix

37 lines
1.0 KiB
Nix
Raw Normal View History

2017-02-23 23:23:01 +00:00
{ lib, stdenv, fetchgit, cmake, pkgconfig
, glibc, wayland, pixman, libxkbcommon, libinput, libxcb, xcbutilwm, xcbutilimage, mesa, libdrm, udev, systemd, dbus_libs
2016-02-10 16:03:21 +00:00
, libpthreadstubs, libX11, libXau, libXdmcp, libXext, libXdamage, libxshmfence, libXxf86vm
2017-02-23 23:23:01 +00:00
, wayland-protocols
}:
stdenv.mkDerivation rec {
name = "wlc-${version}";
2017-07-02 10:52:46 +00:00
version = "0.0.9";
src = fetchgit {
url = "https://github.com/Cloudef/wlc";
rev = "refs/tags/v${version}";
2017-07-02 10:52:46 +00:00
sha256 = "1r6jf64gs7n9a8129wsc0mdwhcv44p8k87kg0714rhx3g2w22asg";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
wayland pixman libxkbcommon libinput libxcb xcbutilwm xcbutilimage mesa libdrm udev
2017-02-23 23:23:01 +00:00
libX11 libXdamage systemd dbus_libs wayland-protocols
];
doCheck = true;
checkTarget = "test";
meta = {
description = "A library for making a simple Wayland compositor";
2016-06-01 18:35:49 +00:00
homepage = https://github.com/Cloudef/wlc;
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];
};
}