about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/window-managers/jay/default.nix
blob: 1b58fa0f2c89b6f52010cd5977fd3ddc3dc45704 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib
, rustPlatform
, fetchFromGitHub
, libGL
, 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 = [
    libGL
    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 ];
  };
}