3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/pick/default.nix

27 lines
633 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses, pkg-config }:
2016-06-28 16:47:02 +01:00
stdenv.mkDerivation rec {
pname = "pick";
version = "2.0.2";
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}";
sha256 = "0wm3220gqrwldiq0rjdraq5mw3i7d58zwzls8234sx9maf59h0k0";
2016-06-28 16:47:02 +01:00
};
buildInputs = [ ncurses ];
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
2017-05-28 14:59:59 +01: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;
};
}