2021-09-01 09:51:55 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, ncurses }:
|
2016-06-28 16:47:02 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "pick";
|
2021-09-01 09:51:55 +01:00
|
|
|
version = "4.0.0";
|
2016-06-28 16:47:02 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-09-01 09:51:55 +01:00
|
|
|
owner = "mptre";
|
2016-06-28 16:47:02 +01:00
|
|
|
repo = "pick";
|
|
|
|
rev = "v${version}";
|
2021-09-01 09:51:55 +01:00
|
|
|
sha256 = "8cgt5KpLfnLwhucn4DQYC/7ot1u24ahJxWG+/1SL584=";
|
2016-06-28 16:47:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2021-09-01 09:51:55 +01:00
|
|
|
PREFIX = placeholder "out";
|
2017-05-28 14:59:59 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-06-28 16:47:02 +01:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Fuzzy text selection utility";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.womfoo ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|