nixpkgs/pkgs/tools/misc/fzy/default.nix
2023-11-27 02:17:53 +01:00

24 lines
552 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "fzy";
version = "1.0";
src = fetchFromGitHub {
owner = "jhawthorn";
repo = "fzy";
rev = version;
sha256 = "1gkzdvj73f71388jvym47075l9zw61v6l8wdv2lnc0mns6dxig0k";
};
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "A better fuzzy finder";
homepage = "https://github.com/jhawthorn/fzy";
license = licenses.mit;
maintainers = with maintainers; [ dywedir ];
platforms = platforms.all;
mainProgram = "fzy";
};
}