c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
32 lines
883 B
Nix
32 lines
883 B
Nix
{ stdenv, lib, fetchhg, pkg-config, meson, ninja, wayland, gtk3, wrapGAppsHook, installShellFiles }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "wofi";
|
|
version = "1.3";
|
|
|
|
src = fetchhg {
|
|
url = "https://hg.sr.ht/~scoopta/wofi";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-GxMjEXBPQniD+Yc9QZjd8TH4ILJAX5dNzrjxDawhy8w=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook installShellFiles ];
|
|
buildInputs = [ wayland gtk3 ];
|
|
|
|
patches = [
|
|
# https://todo.sr.ht/~scoopta/wofi/121
|
|
./do_not_follow_symlinks.patch
|
|
];
|
|
|
|
postInstall = ''
|
|
installManPage man/wofi*
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A launcher/menu program for wlroots based wayland compositors such as sway";
|
|
homepage = "https://hg.sr.ht/~scoopta/wofi";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|