1 { lib, buildGoPackage, fetchFromGitHub, makeWrapper, git }:
7 goPackagePath = "github.com/mkchoi212/fac";
9 src = fetchFromGitHub {
13 sha256 = "054bbiw0slz9szy3ap2sh5dy97w3g7ms27rd3ww3i1zdhvnggwpc";
18 nativeBuildInputs = [ makeWrapper ];
21 wrapProgram $out/bin/fac \
22 --prefix PATH : ${git}/bin
24 # Install man page, not installed by default
25 install -D go/src/${goPackagePath}/assets/doc/fac.1 $out/share/man/man1/fac.1
29 description = "CUI for fixing git conflicts";
30 inherit (src.meta) homepage;
31 license = licenses.mit;
32 maintainers = with maintainers; [ dtzWill ];