python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / fac / default.nix
blobc50fd834e031d4b0fb3dfb81b2c9538592cc2024
1 { lib, buildGoPackage, fetchFromGitHub, makeWrapper, git }:
3 buildGoPackage rec {
4   pname = "fac";
5   version = "2.0.0";
7   goPackagePath = "github.com/mkchoi212/fac";
9   src = fetchFromGitHub {
10     owner = "mkchoi212";
11     repo = "fac";
12     rev = "v${version}";
13     sha256 = "054bbiw0slz9szy3ap2sh5dy97w3g7ms27rd3ww3i1zdhvnggwpc";
14   };
16   goDeps = ./deps.nix;
18   nativeBuildInputs = [ makeWrapper ];
20   postInstall = ''
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
26   '';
28   meta = with lib; {
29     description = "CUI for fixing git conflicts";
30     inherit (src.meta) homepage;
31     license = licenses.mit;
32     maintainers = with maintainers; [ dtzWill ];
33   };