Created
June 17, 2015 22:06
-
-
Save PyroLagus/13d09b692a679d6a46d8 to your computer and use it in GitHub Desktop.
Revisions
-
PyroLagus created this gist
Jun 17, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ { stdenv, fetchFromGitHub, cmake, pkgconfig , wayland, xwayland, pixman, libxkbcommon, udev, libinput, libpthreadstubs , libX11, libxcb, libXdmcp, x11, libxshmfence , mesa #nvidia_x11 , dbus, systemd }: let srcs = { wlc = fetchFromGitHub { owner = "Cloudef"; repo = "wlc"; rev = "5453a91201a6b90f1f7fc093ddb578bfad18461d"; sha256 = "1dy2i34b1bdlpf0v77ghdpimip5jdhimwqibhxa5vzxnna4ymcyw"; }; chck = fetchFromGitHub { owner = "Cloudef"; repo = "chck"; rev = "a11a7c064d786706269e2b9f5516d898fec10402"; sha256 = "0db4zg9mjkci6q9x868bn86avyhpmivwjk9cyggr502ng1pasivx"; }; }; in stdenv.mkDerivation rec { name = "wlc-${version}"; version = "5453a91201"; src = srcs.wlc; # postUnpack = "cp -R ${srcs.chck}/* $sourceRoot/lib/chck/src/"; postUnpack = "ln -sv ${srcs.chck}/* $sourceRoot/lib/chck/src/"; buildInputs = [ cmake wayland xwayland pixman libxkbcommon libxshmfence libXdmcp libpthreadstubs udev libinput libX11 libxcb dbus systemd pkgconfig ]; }