Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 599 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 ncurses, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "pick"; 10 version = "4.0.0"; 11 12 src = fetchFromGitHub { 13 owner = "mptre"; 14 repo = "pick"; 15 rev = "v${version}"; 16 sha256 = "8cgt5KpLfnLwhucn4DQYC/7ot1u24ahJxWG+/1SL584="; 17 }; 18 19 buildInputs = [ ncurses ]; 20 21 PREFIX = placeholder "out"; 22 23 meta = with lib; { 24 inherit (src.meta) homepage; 25 description = "Fuzzy text selection utility"; 26 license = licenses.mit; 27 maintainers = [ maintainers.womfoo ]; 28 platforms = platforms.linux ++ platforms.darwin; 29 mainProgram = "pick"; 30 }; 31 32}