depot/third_party/nixpkgs/pkgs/tools/misc/pick/default.nix
Default email 88abffb7d2 Project import generated by Copybara.
GitOrigin-RevId: bc9b956714ed6eac5f8888322aac5bc41389defa
2021-09-18 12:52:07 +02:00

26 lines
564 B
Nix

{ lib, stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
pname = "pick";
version = "4.0.0";
src = fetchFromGitHub {
owner = "mptre";
repo = "pick";
rev = "v${version}";
sha256 = "8cgt5KpLfnLwhucn4DQYC/7ot1u24ahJxWG+/1SL584=";
};
buildInputs = [ ncurses ];
PREFIX = placeholder "out";
meta = with lib; {
inherit (src.meta) homepage;
description = "Fuzzy text selection utility";
license = licenses.mit;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux ++ platforms.darwin;
};
}