summaryrefslogtreecommitdiff
path: root/shell.nix
blob: 4ccc1cb903591db6f45745d7d4b274bdccb787d5 (plain)
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
let
  unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
  pkgs = import <nixpkgs> {}; 
  unstable = import unstableTarball {};

  shell = pkgs.mkShell {
    depsBuildBuild = with unstable; [
      pkg-config
    ];

    nativeBuildInputs = with unstable; [
      cmake meson ninja pkg-config wayland-scanner scdoc
    ];

    buildInputs = with unstable; [
      wayland libxkbcommon pcre json_c libevdev
      pango cairo libinput libcap pam gdk-pixbuf librsvg
      wayland-protocols libdrm wlroots dbus xwayland

      # wlroots
      libGL pixman xorg.xcbutilwm xorg.libX11 libcap xorg.xcbutilimage xorg.xcbutilerrors mesa
      libpng ffmpeg xorg.xcbutilrenderutil seatd
    ];
  };
in shell