8 stdenvNoCC.mkDerivation (finalAttrs: {
12 src = fetchFromGitHub {
15 tag = finalAttrs.version;
16 hash = "sha256-Nr3oLiCEdpUhB/IczCEoLM8kb1hGDH/d6WYWRbjgOi8=";
20 (python3.withPackages (
31 # Test requires openttd source and an additional python module, doesn't seem worth it
32 substituteInPlace build.sh \
33 --replace-fail "python3 checkOpenTTDStrings.py ../openttd/src/lang" ""
34 patchShebangs --build build.sh
45 install -m444 -Dt $out/share/fonts/truetype */*.ttf
50 homepage = "https://github.com/zephyris/openttd-ttf";
51 changelog = "https://github.com/zephyris/openttd-ttf/releases/tag/${finalAttrs.version}";
52 description = "TrueType typefaces for text in a pixel art style, designed for use in OpenTTD";
53 license = [ licenses.gpl2 ];
54 platforms = platforms.all;
55 maintainers = [ maintainers.sfrijters ];