Skip to content

Instantly share code, notes, and snippets.

@ttuegel
Created June 17, 2015 20:50
Show Gist options
  • Save ttuegel/35cce53b0137c0c9b6a6 to your computer and use it in GitHub Desktop.
Save ttuegel/35cce53b0137c0c9b6a6 to your computer and use it in GitHub Desktop.
{ stdenv, fetchFromGitHub, cmake
, wayland, pixman, libxkbcommon, udev, libinput
, libX11, libxcb, x11
, 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 = "ln -sv ${srcs.chck} $sourceRoot/lib/chck/src";
buildInputs = [ cmake wayland pixman libxkbcommon udev libinput libX11 libxcb dbus systemd ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment