diff options
author | Mostly Void <7rat13@gmail.com> | 2022-10-24 19:05:16 +0530 |
---|---|---|
committer | Mostly Void <7rat13@gmail.com> | 2022-12-10 17:15:57 +0530 |
commit | 7fb128c15a17ef46590e8e1129d7d945ddb8ff00 (patch) | |
tree | 0a4566a54448a866d450e9e8fcd8883c273ba776 /pkgs/applications/window-managers | |
parent | 06dd62f9b49f77cb1f757953ff0c1ded85c0a7bf (diff) |
jay: init at unstable-2022-11-20
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/jay/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/jay/default.nix b/pkgs/applications/window-managers/jay/default.nix new file mode 100644 index 0000000000000..0e233dd86ac4b --- /dev/null +++ b/pkgs/applications/window-managers/jay/default.nix @@ -0,0 +1,41 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, 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 = [ + 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 ]; + }; +} |