nixpkgs-suyu/pkgs/tools/text/hottext/default.nix
Emery Hemingway d1acd89e01 nimPackages.pixie: 1.1.3 -> 3.1.2
* vmath 1.0.3 -> 1.1.1
* check bumpy, flatty, vmath, and zippy
* remove typography, it was merged into pixie

The hottext package is now broken.
2022-01-07 12:44:22 +01:00

40 lines
960 B
Nix

{ lib, nimPackages, fetchurl, gentium, makeDesktopItem }:
nimPackages.buildNimPackage rec {
pname = "hottext";
version = "1.4";
nimBinOnly = true;
src = fetchurl {
url = "https://git.sr.ht/~ehmry/hottext/archive/v${version}.tar.gz";
sha256 = "sha256-hIUofi81zowSMbt1lUsxCnVzfJGN3FEiTtN8CEFpwzY=";
};
buildInputs = with nimPackages; [
pixie
sdl2
];
HOTTEXT_FONT_PATH = "${gentium}/share/fonts/truetype/GentiumPlus-Regular.ttf";
desktopItem = makeDesktopItem {
categories = "Utility;";
comment = meta.description;
desktopName = pname;
exec = pname;
name = pname;
};
postInstall = ''
cp -r $desktopItem/* $out
'';
meta = with lib; {
broken = true; # Needs to be updated to latest Pixie API.
description = "Simple RSVP speed-reading utility";
license = licenses.unlicense;
homepage = "https://git.sr.ht/~ehmry/hottext";
maintainers = with maintainers; [ ehmry ];
};
}