nixpkgs/pkgs/tools/misc/pick/default.nix

27 lines
617 B
Nix
Raw Normal View History

2016-06-28 15:47:02 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
stdenv.mkDerivation rec {
name = "pick-${version}";
version = "1.4.0";
src = fetchFromGitHub {
owner = "thoughtbot";
repo = "pick";
rev = "v${version}";
sha256 = "113if0jh7svwrwrxhrsbi7h1whfr5707v2ny4dc9kk2sjbv6b9pg";
};
buildInputs = [ ncurses ];
nativeBuildInputs = [ autoreconfHook ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "Fuzzy text selection utility";
license = licenses.mit;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux ++ platforms.darwin;
};
}