diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-12-11 19:08:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-11 19:08:04 +0100 |
commit | 7e301d080c3be2c681e1aa768ffc9672671f3da4 (patch) | |
tree | 68538b9c36492645645cc34e253fe0f0929b445e /pkgs/applications/window-managers | |
parent | 9ec437d7f2a14353e60c6c512ea6867aaa8c95c7 (diff) | |
parent | 7fb128c15a17ef46590e8e1129d7d945ddb8ff00 (diff) |
Merge pull request #197552 from dit7ya/jay
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 ]; + }; +} |