1 { buildGoModule, fetchFromGitHub, lib, installShellFiles }:
7 src = fetchFromGitHub {
11 sha256 = "10zmac9xza2v7l13zkavmc34ppcpmb82v8dxvrv4ggm261ns1abr";
14 vendorSha256 = "1yjsig2x6zrxdjnds6nqqq3r3g5lq8g9dvmz60nbifqhcx112bcw";
16 nativeBuildInputs = [ installShellFiles ];
18 buildFlagsArray = [ "-ldflags=-s -w -X main.gVersion=r${version}" ];
21 install -D --mode=444 lf.desktop $out/share/applications/lf.desktop
23 installShellCompletion etc/lf.{zsh,fish}
27 description = "A terminal file manager written in Go and heavily inspired by ranger";
29 lf (as in "list files") is a terminal file manager written in Go. It is
30 heavily inspired by ranger with some missing and extra features. Some of
31 the missing features are deliberately omitted since it is better if they
32 are handled by external tools.
34 homepage = "https://godoc.org/github.com/gokcehan/lf";
35 changelog = "https://github.com/gokcehan/lf/releases/tag/r${version}";
36 license = licenses.mit;
37 platforms = platforms.unix;
38 maintainers = with maintainers; [ ];