fzf-make: init at 0.6.0

This commit is contained in:
figsoda
2023-08-18 15:19:10 -04:00
committed by Anderson Torres
parent 6d1477338b
commit fd0b5954d1
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
{ lib
, rustPlatform
, fetchFromGitHub
, makeBinaryWrapper
, gnumake
}:
rustPlatform.buildRustPackage rec {
pname = "fzf-make";
version = "0.6.0";
src = fetchFromGitHub {
owner = "kyu08";
repo = "fzf-make";
rev = "v${version}";
hash = "sha256-Rpz10sHu/pzy/WX1yj0N78gVaw0fO8D92TSdtkmL/MU=";
};
cargoHash = "sha256-vy1LJciZMwMo0gxoEtfgESYnUPRhbpnyvciRZHk1Oao=";
nativeBuildInputs = [
makeBinaryWrapper
];
postInstall = ''
wrapProgram $out/bin/fzf-make \
--suffix PATH : ${lib.makeBinPath [ gnumake ]}
'';
meta = with lib; {
description = "Fuzzy finder for Makefile";
homepage = "https://github.com/kyu08/fzf-make";
changelog = "https://github.com/kyu08/fzf-make/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "fzf-make";
};
}

View File

@@ -19188,6 +19188,8 @@ with pkgs;
funzzy = callPackage ../development/tools/misc/funzzy { };
fzf-make = callPackage ../development/tools/misc/fzf-make { };
gede = libsForQt5.callPackage ../development/tools/misc/gede { };
gdbgui = python3Packages.callPackage ../development/tools/misc/gdbgui { };