2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-02-22 20:33:57 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
2019-04-13 16:16:35 +00:00
|
|
|
, icu, openssl
|
2019-02-22 20:33:57 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "fltrdr";
|
2019-04-13 16:16:35 +00:00
|
|
|
version = "0.3.1";
|
2019-02-22 20:33:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
repo = "fltrdr";
|
|
|
|
owner = "octobanana";
|
2019-09-08 23:38:31 +00:00
|
|
|
rev = version;
|
2019-04-13 16:16:35 +00:00
|
|
|
sha256 = "1vpci7vqzcpdd21zgigyz38k77r9fc81dmiwsvfr8w7gad5sg6sj";
|
2019-02-22 20:33:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2019-04-13 16:16:35 +00:00
|
|
|
|
|
|
|
buildInputs = [ icu openssl ];
|
2019-02-22 20:33:57 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://octobanana.com/software/fltrdr";
|
2019-02-22 20:33:57 +00:00
|
|
|
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 ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "fltrdr";
|
2019-02-22 20:33:57 +00:00
|
|
|
};
|
|
|
|
}
|