Merge pull request #33332 from dtzWill/feature/fac

fac: init at 1.0.1
This commit is contained in:
Joachim F 2018-01-04 19:31:12 +00:00 committed by GitHub
commit 05204ddfe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, buildGoPackage, fetchFromGitHub, makeWrapper, git }:
buildGoPackage rec {
name = "fac-${version}";
version = "1.0.1";
goPackagePath = "github.com/mkchoi212/fac";
src = fetchFromGitHub {
owner = "mkchoi212";
repo = "fac";
rev = "v${version}";
sha256 = "1j5kip3l3p9qlly03pih905sdz3ncvpj7135jpnfhckbk1s5x9dc";
};
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $bin/bin/fac \
--prefix PATH : ${git}/bin
'';
meta = with stdenv.lib; {
description = "CUI for fixing git conflicts";
inherit (src.meta) homepage;
license = licenses.mit;
maintainers = with maintainers; [ dtzWill ];
};
}

View file

@ -1088,6 +1088,8 @@ with pkgs;
f3 = callPackage ../tools/filesystems/f3 { };
fac = callPackage ../development/tools/fac { };
facedetect = callPackage ../tools/graphics/facedetect { };
facter = callPackage ../tools/system/facter { };