From d7dda6cc1112dac3919f851291a321fc7e29abf4 Mon Sep 17 00:00:00 2001 From: Nick Novitski Date: Sun, 22 May 2016 16:58:19 +0000 Subject: [PATCH] fzy: init at 0.4 --- pkgs/tools/misc/fzy/default.nix | 22 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/tools/misc/fzy/default.nix 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 2c6f85a94723..55e3de7d044a 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 { };