mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
fac: move to by-name
This commit is contained in:
parent
be797d6f58
commit
b47e7bf35c
@ -1,13 +1,14 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, makeBinaryWrapper
|
||||
, installShellFiles
|
||||
, git
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "fac";
|
||||
version = "unstable-2023-12-29";
|
||||
version = "2.0.0-unstable-2023-12-29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mkchoi212";
|
||||
@ -18,21 +19,25 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-bmGRVTjleAFS5GGf2i/zN8k3SBtaEc3RbKSVZyF6eN4=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [
|
||||
makeBinaryWrapper
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/fac \
|
||||
--prefix PATH : ${git}/bin
|
||||
--prefix PATH : ${lib.makeBinPath [ git ]}
|
||||
|
||||
# Install man page, not installed by default
|
||||
install -D assets/doc/fac.1 $out/share/man/man1/fac.1
|
||||
installManPage assets/doc/fac.1
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/mkchoi212/fac/releases/tag/v${version}";
|
||||
description = "CUI for fixing git conflicts";
|
||||
homepage = "https://github.com/mkchoi212/fac";
|
||||
changelog = "https://github.com/mkchoi212/fac/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "fac";
|
||||
maintainers = with lib.maintainers; [ dtzWill ];
|
||||
};
|
||||
}
|
@ -5349,8 +5349,6 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa OpenGL;
|
||||
};
|
||||
|
||||
fac = callPackage ../development/tools/fac { };
|
||||
|
||||
facedetect = callPackage ../tools/graphics/facedetect { };
|
||||
|
||||
facter = callPackage ../tools/system/facter { };
|
||||
|
Loading…
Reference in New Issue
Block a user