Created
June 17, 2015 19:52
-
-
Save PyroLagus/6a6e5ab23a397cabe0de to your computer and use it in GitHub Desktop.
This file contains 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 characters
{ stdenv, fetchFromGitHub, cmake | |
, wayland, pixman, libxkbcommon, udev, libinput | |
, libX11, libxcb, x11 | |
, mesa #nvidia_x11 | |
, dbus, systemd | |
}: | |
stdenv.mkDerivation rec { | |
name = "wlc-${version}"; | |
version = "5453a91201"; | |
srcs = { | |
wlc = fetchFromGitHub { | |
owner = "Cloudef"; | |
repo = "wlc"; | |
rev = "5453a91201a6b90f1f7fc093ddb578bfad18461d"; | |
sha256 = "1dy2i34b1bdlpf0v77ghdpimip5jdhimwqibhxa5vzxnna4ymcyw"; | |
}; | |
chck = fetchFromGitHub { | |
owner = "Cloudef"; | |
repo = "chck"; | |
rev = "a11a7c064d786706269e2b9f5516d898fec10402"; | |
sha256 = "0db4zg9mjkci6q9x868bn86avyhpmivwjk9cyggr502ng1pasivx"; | |
}; | |
}; | |
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
1 codehero@wheatley ~ % nix-build --show-trace ./nixpkgs -A wlc
error: while evaluating the attribute ‘srcs’ of the derivation ‘wlc-1’ at /home/codehero/nixpkgs/pkgs/development/libraries/wlc/default.nix:9:3:
cannot coerce a set to a string, at /home/codehero/nixpkgs/pkgs/development/libraries/wlc/default.nix:9:3