2023-11-23 17:52:21 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
src,
|
|
|
|
rustPlatform,
|
|
|
|
libinput,
|
|
|
|
libxkbcommon,
|
|
|
|
mesa,
|
|
|
|
pango,
|
|
|
|
udev,
|
2023-05-21 11:58:57 +02:00
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "jay";
|
|
|
|
version = src.rev;
|
|
|
|
|
|
|
|
inherit src;
|
|
|
|
|
|
|
|
cargoLock.lockFile = "${src}/Cargo.lock";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libxkbcommon
|
|
|
|
mesa
|
|
|
|
pango
|
|
|
|
udev
|
|
|
|
libinput
|
|
|
|
];
|
|
|
|
|
|
|
|
RUSTC_BOOTSTRAP = 1;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Wayland compositor written in Rust";
|
|
|
|
homepage = "https://github.com/mahkoh/jay";
|
|
|
|
license = licenses.gpl3;
|
2023-11-23 17:52:21 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [dit7ya];
|
2023-05-21 11:58:57 +02:00
|
|
|
};
|
|
|
|
}
|