2022-05-25 23:30:07 +02:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
|
|
|
, meson, pkg-config, wayland-scanner, ninja
|
|
|
|
, wayland, wayland-protocols, freetype,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sov";
|
2022-08-29 02:57:11 +02:00
|
|
|
version = "0.73";
|
2022-05-25 23:30:07 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "milgra";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-08-29 02:57:11 +02:00
|
|
|
sha256 = "sha256-cjbTSvW1fCPl2wZ848XrUPU0bDQ4oXy+D8GqyBMaTwQ=";
|
2022-05-25 23:30:07 +02:00
|
|
|
};
|
|
|
|
|
2022-06-29 19:57:35 +02:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/sov/main.c --replace '/usr' $out
|
|
|
|
'';
|
2022-05-25 23:30:07 +02:00
|
|
|
nativeBuildInputs = [ meson pkg-config wayland-scanner ninja ];
|
|
|
|
buildInputs = [ wayland wayland-protocols freetype ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An overlay that shows schemas for all workspaces to make navigation in sway easier.";
|
|
|
|
homepage = "https://github.com/milgra/sov";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ travisdavis-ops ];
|
2023-03-05 13:59:54 +01:00
|
|
|
platforms = platforms.linux;
|
2022-05-25 23:30:07 +02:00
|
|
|
};
|
|
|
|
}
|