mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
33 lines
641 B
Nix
33 lines
641 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
ncurses,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pick";
|
|
version = "4.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mptre";
|
|
repo = "pick";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "8cgt5KpLfnLwhucn4DQYC/7ot1u24ahJxWG+/1SL584=";
|
|
};
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
env.PREFIX = placeholder "out";
|
|
|
|
meta = {
|
|
inherit (finalAttrs.src.meta) homepage;
|
|
description = "Fuzzy text selection utility";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.womfoo ];
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
mainProgram = "pick";
|
|
};
|
|
|
|
})
|