Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 47 lines 1.2 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 icu, 7 openssl, 8}: 9 10stdenv.mkDerivation rec { 11 pname = "fltrdr"; 12 version = "0.3.1"; 13 14 src = fetchFromGitHub { 15 repo = "fltrdr"; 16 owner = "octobanana"; 17 rev = version; 18 sha256 = "1vpci7vqzcpdd21zgigyz38k77r9fc81dmiwsvfr8w7gad5sg6sj"; 19 }; 20 21 nativeBuildInputs = [ cmake ]; 22 23 buildInputs = [ 24 icu 25 openssl 26 ]; 27 28 meta = with lib; { 29 homepage = "https://octobanana.com/software/fltrdr"; 30 description = "TUI text reader for the terminal"; 31 32 longDescription = '' 33 Fltrdr, or flat-reader, is an interactive text reader for the terminal. It 34 is flat in the sense that the reader is word-based. It creates a 35 horizontal stream of words, ignoring all newline characters and reducing 36 extra whitespace. Its purpose is to facilitate reading, scanning, and 37 searching text. The program has a play mode that moves the reader forward 38 one word at a time, along with a configurable words per minute (WPM), 39 setting. 40 ''; 41 42 platforms = platforms.linux; # can only test linux 43 license = licenses.mit; 44 maintainers = [ maintainers.matthiasbeyer ]; 45 mainProgram = "fltrdr"; 46 }; 47}