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

27 lines
643 B
Nix
Raw Normal View History

2017-09-24 12:40:00 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses, pkgconfig }:
2016-06-28 16:47:02 +01:00
stdenv.mkDerivation rec {
name = "pick-${version}";
2017-09-24 12:40:00 +01:00
version = "1.9.0";
2016-06-28 16:47:02 +01:00
src = fetchFromGitHub {
2017-08-07 16:21:56 +01:00
owner = "calleerlandsson";
2016-06-28 16:47:02 +01:00
repo = "pick";
rev = "v${version}";
2017-09-24 12:40:00 +01:00
sha256 = "0s0mn9iz17ldhvahggh9rsmgfrjh0kvk5bh4p9xhxcn7rcp0h5ka";
2016-06-28 16:47:02 +01:00
};
buildInputs = [ ncurses ];
2017-09-24 12:40:00 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
2017-05-28 14:59:59 +01:00
2016-06-28 16:47:02 +01: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;
};
}