2017-09-24 13:40:00 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses, pkgconfig }:
|
2016-06-28 17:47:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pick-${version}";
|
2018-02-04 14:50:14 +01:00
|
|
|
version = "2.0.1";
|
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-02-04 14:50:14 +01:00
|
|
|
sha256 = "0ypawbzpw188rxgv8x044iib3a517j5grgqnxy035ax5zzjavsrr";
|
2016-06-28 17:47:02 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2017-09-24 13:40:00 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2017-05-28 15:59:59 +02:00
|
|
|
|
2016-06-28 17:47:02 +02: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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|