2021-01-17 04:51:22 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses, pkg-config }:
|
2016-06-28 17:47:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "pick";
|
2018-04-12 11:33:52 +02:00
|
|
|
version = "2.0.2";
|
2016-06-28 17:47:02 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-08-07 17:21:56 +02:00
|
|
|
owner = "calleerlandsson";
|
2016-06-28 17:47:02 +02:00
|
|
|
repo = "pick";
|
|
|
|
rev = "v${version}";
|
2018-04-12 11:33:52 +02:00
|
|
|
sha256 = "0wm3220gqrwldiq0rjdraq5mw3i7d58zwzls8234sx9maf59h0k0";
|
2016-06-28 17:47:02 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2021-01-17 04:51:22 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-05-28 15:59:59 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-06-28 17:47:02 +02:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Fuzzy text selection utility";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|