Skip to content

Commit

Permalink
fac: 2.0.0 -> unstable-2023-12-29
Browse files Browse the repository at this point in the history
  • Loading branch information
katexochen committed Dec 31, 2023
1 parent a0a8daf commit be797d6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 81 deletions.
33 changes: 18 additions & 15 deletions pkgs/development/tools/fac/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
{ lib, buildGoPackage, fetchFromGitHub, makeWrapper, git }:

buildGoPackage rec {
{ lib
, buildGoModule
, fetchFromGitHub
, makeWrapper
, git
}:

buildGoModule rec {
pname = "fac";
version = "2.0.0";

goPackagePath = "github.com/mkchoi212/fac";
version = "unstable-2023-12-29";

src = fetchFromGitHub {
owner = "mkchoi212";
repo = "fac";
rev = "v${version}";
sha256 = "054bbiw0slz9szy3ap2sh5dy97w3g7ms27rd3ww3i1zdhvnggwpc";
rev = "d232b05149564701ca3a21cd1a07be2540266cb2";
hash = "sha256-puSHbrzxTUebK1qRdWh71jY/f7TKgONS45T7PcZcy00=";
};

goDeps = ./deps.nix;
vendorHash = "sha256-bmGRVTjleAFS5GGf2i/zN8k3SBtaEc3RbKSVZyF6eN4=";

nativeBuildInputs = [ makeWrapper ];

Expand All @@ -22,14 +25,14 @@ buildGoPackage rec {
--prefix PATH : ${git}/bin
# Install man page, not installed by default
install -D go/src/${goPackagePath}/assets/doc/fac.1 $out/share/man/man1/fac.1
install -D assets/doc/fac.1 $out/share/man/man1/fac.1
'';

meta = with lib; {
meta = {
description = "CUI for fixing git conflicts";
inherit (src.meta) homepage;
license = licenses.mit;
maintainers = with maintainers; [ dtzWill ];
homepage = "https://github.com/mkchoi212/fac";
changelog = "https://github.com/mkchoi212/fac/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dtzWill ];
};
}

66 changes: 0 additions & 66 deletions pkgs/development/tools/fac/deps.nix

This file was deleted.

0 comments on commit be797d6

Please sign in to comment.