nixpkgs/pkgs/applications/misc/wofi/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
954 B
Nix
Raw Permalink Normal View History

2022-10-28 03:02:50 +02:00
{ stdenv
, lib
, fetchFromSourcehut
, pkg-config
, meson
, ninja
, wayland
, gtk3
, wrapGAppsHook
, installShellFiles
}:
2019-10-30 14:20:05 +01:00
stdenv.mkDerivation rec {
pname = "wofi";
2024-02-15 00:34:18 +01:00
version = "1.4.1";
2019-10-30 14:20:05 +01:00
2022-10-28 03:02:50 +02:00
src = fetchFromSourcehut {
repo = pname;
owner = "~scoopta";
2019-12-21 07:16:36 +01:00
rev = "v${version}";
2024-02-15 00:34:18 +01:00
sha256 = "sha256-aedoUhVfk8ljmQ23YxVmGZ00dPpRftW2dnRAgXmtV/w=";
2022-10-28 03:02:50 +02:00
vc = "hg";
2019-10-30 14:20:05 +01:00
};
2020-07-12 16:21:46 +02:00
nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook installShellFiles ];
2019-10-30 14:20:05 +01:00
buildInputs = [ wayland gtk3 ];
2020-08-22 13:41:01 +02:00
patches = [
# https://todo.sr.ht/~scoopta/wofi/121
./do_not_follow_symlinks.patch
];
2020-07-12 16:21:46 +02:00
postInstall = ''
installManPage man/wofi*
'';
2019-10-30 14:20:05 +01:00
meta = with lib; {
description = "A launcher/menu program for wlroots based wayland compositors such as sway";
homepage = "https://hg.sr.ht/~scoopta/wofi";
2021-02-07 20:52:57 +01:00
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
2019-10-30 14:20:05 +01:00
platforms = with platforms; linux;
2023-08-04 21:10:05 +02:00
mainProgram = "wofi";
2019-10-30 14:20:05 +01:00
};
}