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

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

27 lines
564 B
Nix
Raw Normal View History

2021-09-01 09:51:55 +01:00
{ lib, stdenv, fetchFromGitHub, ncurses }:
2016-06-28 16:47:02 +01:00
stdenv.mkDerivation rec {
pname = "pick";
2021-09-01 09:51:55 +01:00
version = "4.0.0";
2016-06-28 16:47:02 +01:00
src = fetchFromGitHub {
2021-09-01 09:51:55 +01:00
owner = "mptre";
2016-06-28 16:47:02 +01:00
repo = "pick";
rev = "v${version}";
2021-09-01 09:51:55 +01:00
sha256 = "8cgt5KpLfnLwhucn4DQYC/7ot1u24ahJxWG+/1SL584=";
2016-06-28 16:47:02 +01:00
};
buildInputs = [ ncurses ];
2021-09-01 09:51:55 +01:00
PREFIX = placeholder "out";
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;
};
}