depot/third_party/nixpkgs/pkgs/tools/misc/pick/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
633 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses, pkg-config }:
stdenv.mkDerivation rec {
pname = "pick";
version = "2.0.2";
src = fetchFromGitHub {
owner = "calleerlandsson";
repo = "pick";
rev = "v${version}";
sha256 = "0wm3220gqrwldiq0rjdraq5mw3i7d58zwzls8234sx9maf59h0k0";
};
buildInputs = [ ncurses ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
meta = with lib; {
inherit (src.meta) homepage;
description = "Fuzzy text selection utility";
license = licenses.mit;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux ++ platforms.darwin;
};
}