17 # Needed for x86_64-darwin
18 buildDunePackage' = ocamlPackages.buildDunePackage.override {
19 stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
22 buildDunePackage' rec {
26 minimalOCamlVersion = "5.1";
28 src = fetchFromGitHub {
32 hash = "sha256-890/3iBruaQtWwlcvwuz4ujp7+P+5y1/2Axx4Iuik8Q=";
41 buildInputs = with ocamlPackages; [
61 wrapProgram $out/bin/docfd --prefix PATH : "${
69 passthru.tests.version = testers.testVersion { package = docfd; };
72 description = "TUI multiline fuzzy document finder";
74 Think interactive grep for text and other document files.
75 Word/token based instead of regex and line based, so you
76 can search across lines easily. Aims to provide good UX via
77 integration with common text editors and other file viewers.
79 homepage = "https://github.com/darrenldl/docfd";
80 license = licenses.mit;
81 maintainers = with maintainers; [ chewblacka ];
82 platforms = platforms.all;
83 mainProgram = "docfd";