2022-06-16 17:23:12 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
|
|
|
, meson, pkg-config, wayland-scanner, ninja
|
|
|
|
, wayland, wayland-protocols, freetype,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sov";
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "0.72";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "milgra";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "sha256-av+st0tux+ho8bfJwx6Nk1pma1Pjvv/dpW5BWnUDNvQ=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/sov/main.c --replace '/usr' $out
|
|
|
|
'';
|
2022-06-16 17:23:12 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|