c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
44 lines
952 B
Nix
44 lines
952 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromSourcehut
|
|
, pkg-config
|
|
, meson
|
|
, ninja
|
|
, wayland
|
|
, gtk3
|
|
, wrapGAppsHook
|
|
, installShellFiles
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "wofi";
|
|
version = "1.4";
|
|
|
|
src = fetchFromSourcehut {
|
|
repo = pname;
|
|
owner = "~scoopta";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-zzBD1OPPlOjAUaJOlMf6k1tSai1w1ZvOwy2sSOWI7AM=";
|
|
vc = "hg";
|
|
};
|
|
|
|
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;
|
|
mainProgram = "wofi";
|
|
};
|
|
}
|