openttd-ttf: 0.5 -> 0.6
This commit is contained in:
parent
80226b1d65
commit
3ac5155583
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "openttd-ttf";
|
pname = "openttd-ttf";
|
||||||
version = "0.5";
|
version = "0.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zephyris";
|
owner = "zephyris";
|
||||||
repo = "openttd-ttf";
|
repo = "openttd-ttf";
|
||||||
rev = "refs/tags/${finalAttrs.version}";
|
rev = "refs/tags/${finalAttrs.version}";
|
||||||
hash = "sha256-GjtfwM268i3bUAX8Pw5/Og9029AuD1OZuJ2VIlFTogY=";
|
hash = "sha256-Nr3oLiCEdpUhB/IczCEoLM8kb1hGDH/d6WYWRbjgOi8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -25,6 +25,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
chmod a+x build.sh
|
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
|
patchShebangs --build build.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user