diff --git a/pkgs/tools/misc/fzy/default.nix b/pkgs/tools/misc/fzy/default.nix new file mode 100644 index 000000000000..318de542bb2d --- /dev/null +++ b/pkgs/tools/misc/fzy/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "fzy-${version}"; + version = "0.4"; + + src = fetchFromGitHub { + owner = "jhawthorn"; + repo = "fzy"; + rev = version; + sha256 = "1sbwy4v5kz0fcl7kzf414phxv9cppvjvfq9jqkcda4bkzqh2xgia"; + }; + + makeFlags = "PREFIX=$(out)"; + + meta = { + description = "A better fuzzy finder"; + homepage = https://github.com/jhawthorn/fzy; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1a739e228ab7..bc994fb33492 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -797,6 +797,8 @@ in fzf = goPackages.fzf.bin // { outputs = [ "bin" ]; }; + fzy = callPackage ../tools/misc/fzy { }; + gencfsm = callPackage ../tools/security/gencfsm { }; genromfs = callPackage ../tools/filesystems/genromfs { };