2017-09-24 11:40:00 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses, pkgconfig }:
|
2016-06-28 15:47:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pick-${version}";
|
2018-04-12 09:33:52 +00:00
|
|
|
version = "2.0.2";
|
2016-06-28 15:47:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-08-07 15:21:56 +00:00
|
|
|
owner = "calleerlandsson";
|
2016-06-28 15:47:02 +00:00
|
|
|
repo = "pick";
|
|
|
|
rev = "v${version}";
|
2018-04-12 09:33:52 +00:00
|
|
|
sha256 = "0wm3220gqrwldiq0rjdraq5mw3i7d58zwzls8234sx9maf59h0k0";
|
2016-06-28 15:47:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2017-09-24 11:40:00 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2017-05-28 13:59:59 +00:00
|
|
|
|
2016-06-28 15:47:02 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Fuzzy text selection utility";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|