1{ lib, stdenv, fetchFromGitHub
2, meson, pkg-config, wayland-scanner, ninja
3, wayland, wayland-protocols, freetype,
4}:
5
6stdenv.mkDerivation rec {
7 pname = "sov";
8 version = "0.73";
9
10 src = fetchFromGitHub {
11 owner = "milgra";
12 repo = pname;
13 rev = version;
14 sha256 = "sha256-cjbTSvW1fCPl2wZ848XrUPU0bDQ4oXy+D8GqyBMaTwQ=";
15 };
16
17 postPatch = ''
18 substituteInPlace src/sov/main.c --replace '/usr' $out
19 '';
20
21 strictDeps = true;
22 nativeBuildInputs = [ meson pkg-config wayland-scanner ninja ];
23 buildInputs = [ wayland wayland-protocols freetype ];
24
25 meta = with lib; {
26 description = "An overlay that shows schemas for all workspaces to make navigation in sway easier.";
27 homepage = "https://github.com/milgra/sov";
28 license = with licenses; [ mit ];
29 maintainers = with maintainers; [ travisdavis-ops ];
30 platforms = platforms.linux;
31 };
32}