Skip to content

Instantly share code, notes, and snippets.

@PyroLagus
Created June 17, 2015 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PyroLagus/13d09b692a679d6a46d8 to your computer and use it in GitHub Desktop.
Save PyroLagus/13d09b692a679d6a46d8 to your computer and use it in GitHub Desktop.
{ 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 ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment