1{ lib, stdenv, fetchFromGitHub, ncurses }:
2
3stdenv.mkDerivation rec {
4 pname = "pick";
5 version = "4.0.0";
6
7 src = fetchFromGitHub {
8 owner = "mptre";
9 repo = "pick";
10 rev = "v${version}";
11 sha256 = "8cgt5KpLfnLwhucn4DQYC/7ot1u24ahJxWG+/1SL584=";
12 };
13
14 buildInputs = [ ncurses ];
15
16 PREFIX = placeholder "out";
17
18 meta = with lib; {
19 inherit (src.meta) homepage;
20 description = "Fuzzy text selection utility";
21 license = licenses.mit;
22 maintainers = [ maintainers.womfoo ];
23 platforms = platforms.linux ++ platforms.darwin;
24 };
25
26}