nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 1.0 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 perl, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "speedread"; 10 version = "unstable-2016-09-21"; 11 12 src = fetchFromGitHub { 13 owner = "pasky"; 14 repo = "speedread"; 15 rev = "93acfd61a1bf4482537ce5d71b9164b8446cb6bd"; 16 sha256 = "1h94jx3v18fdlc64lfmj2g5x63fjyqb8c56k5lihl7bva0xgdkxd"; 17 }; 18 19 buildInputs = [ perl ]; 20 21 installPhase = '' 22 install -m755 -D speedread $out/bin/speedread 23 ''; 24 25 meta = { 26 description = "Simple terminal-based open source Spritz-alike"; 27 longDescription = '' 28 Speedread is a command line filter that shows input text as a 29 per-word rapid serial visual presentation aligned on optimal 30 reading points. This allows reading text at a much more rapid 31 pace than usual as the eye can stay fixed on a single place. 32 ''; 33 homepage = finalAttrs.src.meta.homepage; 34 license = lib.licenses.mit; 35 platforms = lib.platforms.unix; 36 maintainers = [ lib.maintainers.oxij ]; 37 mainProgram = "speedread"; 38 }; 39})