1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, rofi, gtk3 }:
3 stdenv.mkDerivation rec {
4 pname = "rofi-file-browser-extended";
7 src = fetchFromGitHub {
11 sha256 = "sha256-UEFv0skFzWhgFkmz1h8uV1ygW977zNq1Dw8VAawqUgw=";
12 fetchSubmodules = true;
16 substituteInPlace ./CMakeLists.txt \
17 --replace ' ''${ROFI_PLUGINS_DIR}' " $out/lib/rofi" \
18 --replace "/usr/share/" "$out/share/"
21 nativeBuildInputs = [ cmake pkg-config ];
22 buildInputs = [ rofi gtk3 ];
24 ROFI_PLUGINS_DIR = "$out/lib/rofi";
26 dontUseCmakeBuildDir = true;
29 description = "Use rofi to quickly open files";
30 homepage = "https://github.com/marvinkreis/rofi-file-browser-extended";
31 license = licenses.mit;
32 maintainers = with maintainers; [ jluttine ];