blob: 6aedabb49e91605dc3ae015c8b3cb9b8940aea0e (
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
26
27
28
29
30
31
32
33
34
|
{
description = "swaywm development environment";
inputs = {
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
flake-utils = { url = "github:numtide/flake-utils"; };
};
outputs = {self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in {
devShell = pkgs.mkShell {
depsBuildBuild = with pkgs; [
pkg-config
];
nativeBuildInputs = with pkgs; [
cmake meson ninja pkg-config wayland-scanner scdoc
];
buildInputs = with pkgs; [
wayland libxkbcommon pcre2 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
];
};
}
);
}
|