about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien@users.noreply.github.com>2024-03-16 21:49:57 +0100
committerGitHub <noreply@github.com>2024-03-16 21:49:57 +0100
commit76a7da4217d7fc9249e2d8a62b59f18cd96246a0 (patch)
tree6b0fc8413a6f52f00b4cf8af3f4c7ffb0d5e7da0 /pkgs
parent19d210bef750d3185e764bb9badce0ade4b98f9f (diff)
parent3ac51555837449e13455236b8933a67ccf24d24f (diff)
downloadnixlib-76a7da4217d7fc9249e2d8a62b59f18cd96246a0.tar
nixlib-76a7da4217d7fc9249e2d8a62b59f18cd96246a0.tar.gz
nixlib-76a7da4217d7fc9249e2d8a62b59f18cd96246a0.tar.bz2
nixlib-76a7da4217d7fc9249e2d8a62b59f18cd96246a0.tar.lz
nixlib-76a7da4217d7fc9249e2d8a62b59f18cd96246a0.tar.xz
nixlib-76a7da4217d7fc9249e2d8a62b59f18cd96246a0.tar.zst
nixlib-76a7da4217d7fc9249e2d8a62b59f18cd96246a0.zip
Merge pull request #295131 from SFrijters/openttd-ttf-0.6
openttd-ttf: 0.5 -> 0.6
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/op/openttd-ttf/package.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/by-name/op/openttd-ttf/package.nix b/pkgs/by-name/op/openttd-ttf/package.nix
index 6c9f71999588..d647e1a3c74a 100644
--- a/pkgs/by-name/op/openttd-ttf/package.nix
+++ b/pkgs/by-name/op/openttd-ttf/package.nix
@@ -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
   '';