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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
590 B
Nix
Raw Normal View History

2021-09-01 08:51:55 +00:00
{ lib, stdenv, fetchFromGitHub, ncurses }:
2016-06-28 15:47:02 +00:00
stdenv.mkDerivation rec {
pname = "pick";
2021-09-01 08:51:55 +00:00
version = "4.0.0";
2016-06-28 15:47:02 +00:00
src = fetchFromGitHub {
2021-09-01 08:51:55 +00:00
owner = "mptre";
2016-06-28 15:47:02 +00:00
repo = "pick";
rev = "v${version}";
2021-09-01 08:51:55 +00:00
sha256 = "8cgt5KpLfnLwhucn4DQYC/7ot1u24ahJxWG+/1SL584=";
2016-06-28 15:47:02 +00:00
};
buildInputs = [ ncurses ];
2021-09-01 08:51:55 +00:00
PREFIX = placeholder "out";
2017-05-28 13:59:59 +00:00
meta = with lib; {
2016-06-28 15:47:02 +00:00
inherit (src.meta) homepage;
description = "Fuzzy text selection utility";
license = licenses.mit;
maintainers = [ maintainers.womfoo ];
platforms = platforms.linux ++ platforms.darwin;
2023-11-27 01:17:53 +00:00
mainProgram = "pick";
2016-06-28 15:47:02 +00:00
};
}