depot/third_party/nixpkgs/pkgs/tools/misc/fltrdr/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

43 lines
1.2 KiB
Nix

{ stdenv
, fetchFromGitHub
, cmake
, icu, openssl
}:
stdenv.mkDerivation rec {
pname = "fltrdr";
version = "0.3.1";
src = fetchFromGitHub {
repo = "fltrdr";
owner = "octobanana";
rev = version;
sha256 = "1vpci7vqzcpdd21zgigyz38k77r9fc81dmiwsvfr8w7gad5sg6sj";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ icu openssl ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = "https://octobanana.com/software/fltrdr";
description = "A TUI text reader for the terminal";
longDescription = ''
Fltrdr, or flat-reader, is an interactive text reader for the terminal. It
is flat in the sense that the reader is word-based. It creates a
horizontal stream of words, ignoring all newline characters and reducing
extra whitespace. Its purpose is to facilitate reading, scanning, and
searching text. The program has a play mode that moves the reader forward
one word at a time, along with a configurable words per minute (WPM),
setting.
'';
platforms = platforms.linux; # can only test linux
license = licenses.mit;
maintainers = [ maintainers.matthiasbeyer ];
};
}