lol
1{ stdenv, fetchFromGitHub, perl }:
2
3stdenv.mkDerivation rec {
4 name = "speedread-unstable-2016-09-21";
5
6 src = fetchFromGitHub {
7 owner = "pasky";
8 repo = "speedread";
9 rev = "93acfd61a1bf4482537ce5d71b9164b8446cb6bd";
10 sha256 = "1h94jx3v18fdlc64lfmj2g5x63fjyqb8c56k5lihl7bva0xgdkxd";
11 };
12
13 buildInputs = [ perl ];
14
15 installPhase = ''
16 install -m755 -D speedread $out/bin/speedread
17 '';
18
19 meta = with stdenv.lib; {
20 description = "A simple terminal-based open source Spritz-alike";
21 longDescription = ''
22 Speedread is a command line filter that shows input text as a
23 per-word rapid serial visual presentation aligned on optimal
24 reading points. This allows reading text at a much more rapid
25 pace than usual as the eye can stay fixed on a single place.
26 '';
27 homepage = src.meta.homepage;
28 license = licenses.mit;
29 platforms = platforms.unix;
30 maintainers = [ maintainers.oxij ];
31 };
32}