Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / window-managers / jay / default.nix
blob1b58fa0f2c89b6f52010cd5977fd3ddc3dc45704
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , libGL
5 , libinput
6 , libxkbcommon
7 , mesa
8 , pango
9 , udev
12 rustPlatform.buildRustPackage rec {
13   pname = "jay";
14   version = "unstable-2022-11-20";
16   src = fetchFromGitHub {
17     owner = "mahkoh";
18     repo = pname;
19     rev = "09b4668a5363a6e93dfb8ba35b244835f4edb0f2";
20     sha256 = "sha256-0IIzXY7AFTGEe0TzJVKOtTPUZee0Wz40yKgEWLeIYJw=";
21   };
23   cargoSha256 = "sha256-zSq6YBlm6gJXGlF9xZ8gWSTMewdNqrJzwP58a0x8QIU=";
25   buildInputs = [
26     libGL
27     libxkbcommon
28     mesa
29     pango
30     udev
31     libinput
32   ];
34   RUSTC_BOOTSTRAP = 1;
36   meta = with lib; {
37     description = "A Wayland compositor written in Rust";
38     homepage = "https://github.com/mahkoh/jay";
39     license = licenses.gpl3;
40     platforms   = platforms.linux;
41     maintainers = with maintainers; [ dit7ya ];
42   };