Files
nixpkgs/pkgs/by-name/wo/wofi/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

60 lines
1.0 KiB
Nix

{
stdenv,
lib,
fetchFromSourcehut,
pkg-config,
meson,
ninja,
wayland,
gtk3,
wrapGAppsHook3,
installShellFiles,
}:
stdenv.mkDerivation rec {
pname = "wofi";
version = "1.5.1";
outputs = [
"out"
"dev"
];
src = fetchFromSourcehut {
repo = "wofi";
owner = "~scoopta";
rev = "v${version}";
sha256 = "sha256-r+p8WDJw8aO1Gdgy6+UwT5QJdejIjcPFSs/Gfzq+D/c=";
vc = "hg";
};
nativeBuildInputs = [
pkg-config
meson
ninja
wrapGAppsHook3
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 = "Launcher/menu program for wlroots based wayland compositors such as sway";
homepage = "https://hg.sr.ht/~scoopta/wofi";
license = licenses.gpl3Only;
maintainers = with maintainers; [ aleksana ];
platforms = with platforms; linux;
mainProgram = "wofi";
};
}