7 stdenvNoCC.mkDerivation (finalAttrs: {
11 src = fetchFromGitHub {
14 rev = "refs/tags/${finalAttrs.version}";
15 hash = "sha256-Nr3oLiCEdpUhB/IczCEoLM8kb1hGDH/d6WYWRbjgOi8=";
19 (python3.withPackages (pp: with pp; [
28 # Test requires openttd source and an additional python module, doesn't seem worth it
29 substituteInPlace build.sh \
30 --replace-fail "python3 checkOpenTTDStrings.py ../openttd/src/lang" ""
31 patchShebangs --build build.sh
42 install -m444 -Dt $out/share/fonts/truetype */*.ttf
47 homepage = "https://github.com/zephyris/openttd-ttf";
48 changelog = "https://github.com/zephyris/openttd-ttf/releases/tag/${finalAttrs.version}";
49 description = "TrueType typefaces for text in a pixel art style, designed for use in OpenTTD";
50 license = [ licenses.gpl2 ];
51 platforms = platforms.all;
52 maintainers = [ maintainers.sfrijters ];