2022-12-17 10:02:37 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
2023-11-16 04:20:00 +00:00
|
|
|
, libGL
|
2022-12-17 10:02:37 +00:00
|
|
|
, libinput
|
|
|
|
, libxkbcommon
|
|
|
|
, mesa
|
|
|
|
, pango
|
|
|
|
, udev
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "jay";
|
|
|
|
version = "unstable-2022-11-20";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mahkoh";
|
|
|
|
repo = pname;
|
|
|
|
rev = "09b4668a5363a6e93dfb8ba35b244835f4edb0f2";
|
|
|
|
sha256 = "sha256-0IIzXY7AFTGEe0TzJVKOtTPUZee0Wz40yKgEWLeIYJw=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "sha256-zSq6YBlm6gJXGlF9xZ8gWSTMewdNqrJzwP58a0x8QIU=";
|
|
|
|
|
|
|
|
buildInputs = [
|
2023-11-16 04:20:00 +00:00
|
|
|
libGL
|
2022-12-17 10:02:37 +00:00
|
|
|
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;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "jay";
|
2022-12-17 10:02:37 +00:00
|
|
|
};
|
|
|
|
}
|