blob: 37b991e6d476f58584f98f850b5c5bc137d0b071 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ stdenv, lib, fetchhg, fetchpatch, pkg-config, meson, ninja, wayland, gtk3, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "wofi";
version = "1.1.2";
src = fetchhg {
url = "https://hg.sr.ht/~scoopta/wofi";
rev = "v${version}";
sha256 = "086j5wshawjbwdmmmldivfagc2rr7g5a2gk11l0snqqslm294xsn";
};
nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook ];
buildInputs = [ wayland gtk3 ];
# Fixes icon bug on NixOS.
# Will need to be removed on next release
# see https://todo.sr.ht/~scoopta/wofi/54
patches = [
(fetchpatch {
url = "https://paste.sr.ht/blob/1cbddafac3806afb203940c029e78ce8390d8f49";
sha256 = "1n4jpmh66p7asjhj0z2s94ny91lmaq4hhh2356nj406vlqr15vbb";
})
];
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.gpl3;
maintainers = with maintainers; [ elyhaka ];
platforms = with platforms; linux;
};
}
|