about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/pick/default.nix
blob: a8203978feea6a4945c1d94e8902671aa27cfa37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses, pkg-config }:

stdenv.mkDerivation rec {
  pname = "pick";
  version = "2.0.2";

  src = fetchFromGitHub {
    owner = "calleerlandsson";
    repo = "pick";
    rev = "v${version}";
    sha256 = "0wm3220gqrwldiq0rjdraq5mw3i7d58zwzls8234sx9maf59h0k0";
  };

  buildInputs = [ ncurses ];

  nativeBuildInputs = [ autoreconfHook pkg-config ];

  meta = with lib; {
    inherit (src.meta) homepage;
    description = "Fuzzy text selection utility";
    license = licenses.mit;
    maintainers = [ maintainers.womfoo ];
    platforms = platforms.linux ++ platforms.darwin;
  };

}