fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv
2, lib
3, fetchFromSourcehut
4, pkg-config
5, meson
6, ninja
7, wayland
8, gtk3
9, wrapGAppsHook
10, installShellFiles
11}:
12stdenv.mkDerivation rec {
13 pname = "wofi";
14 version = "1.3";
15
16 src = fetchFromSourcehut {
17 repo = pname;
18 owner = "~scoopta";
19 rev = "v${version}";
20 sha256 = "sha256-GxMjEXBPQniD+Yc9QZjd8TH4ILJAX5dNzrjxDawhy8w=";
21 vc = "hg";
22 };
23
24 nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook installShellFiles ];
25 buildInputs = [ wayland gtk3 ];
26
27 patches = [
28 # https://todo.sr.ht/~scoopta/wofi/121
29 ./do_not_follow_symlinks.patch
30 ];
31
32 postInstall = ''
33 installManPage man/wofi*
34 '';
35
36 meta = with lib; {
37 description = "A launcher/menu program for wlroots based wayland compositors such as sway";
38 homepage = "https://hg.sr.ht/~scoopta/wofi";
39 license = licenses.gpl3Only;
40 maintainers = with maintainers; [ ];
41 platforms = with platforms; linux;
42 };
43}