aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/sway/package.az
blob: c6aa886ef19b02da6946ba45774cc9b3efbfc0b7 (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
package sway {
	description = "i3-compatible Wayland compositor";
	website = "https://swaywm.org";
	anitya = 11497;

	version# = "1.12";
	source = remoteGitHub {
		suffix = "swaywm/sway";
		tag = version;
		checksum = "g3WLHgFJBsl8u1sSmkjDIJY9KlIWe-e2JXthxMcLM9z0kYmWPJCAzJ_mb20ODMaD";
	};
	patches = [ "remove-unused.patch" ];

	env = [ "CFLAGS=-Wno-switch" ];
	exec = meson {};

	tools = [ wayland ];
	inputs = [
		json-c,
		pcre2,
		pango,
		libinput,
		wlroots,
		kernel-headers,
	];
}