Unverified Commit 76a7da42 authored by Guillaume Girol's avatar Guillaume Girol Committed by GitHub
Browse files

Merge pull request #295131 from SFrijters/openttd-ttf-0.6

openttd-ttf: 0.5 -> 0.6
parents 19d210be 3ac51555
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -6,13 +6,13 @@

stdenvNoCC.mkDerivation (finalAttrs: {
  pname = "openttd-ttf";
  version = "0.5";
  version = "0.6";

  src = fetchFromGitHub {
    owner = "zephyris";
    repo = "openttd-ttf";
    rev = "refs/tags/${finalAttrs.version}";
    hash = "sha256-GjtfwM268i3bUAX8Pw5/Og9029AuD1OZuJ2VIlFTogY=";
    hash = "sha256-Nr3oLiCEdpUhB/IczCEoLM8kb1hGDH/d6WYWRbjgOi8=";
  };

  nativeBuildInputs = [
@@ -25,6 +25,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {

  postPatch = ''
    chmod a+x build.sh
    # Test requires openttd source and an additional python module, doesn't seem worth it
    substituteInPlace build.sh \
      --replace-fail "python3 checkOpenTTDStrings.py ../openttd/src/lang" ""
    patchShebangs --build build.sh
  '';