instead: 3.3.2 -> 3.5.2

authored by

emaryn and committed by
emaryn
60c80819 dbe5ce7d

+13 -8
+13 -8
pkgs/by-name/in/instead/package.nix
··· 38 38 ]; 39 39 in 40 40 41 - stdenv.mkDerivation rec { 41 + stdenv.mkDerivation (finalAttrs: { 42 42 pname = "instead"; 43 - version = "3.3.2"; 43 + version = "3.5.2"; 44 44 45 45 src = fetchurl { 46 - url = "mirror://sourceforge/project/instead/instead/${version}/instead_${version}.tar.gz"; 47 - sha256 = "u5j2kDKRvMQPsG8iA6uOBScuyE/e1BJIK2+qVL6jqQs="; 46 + url = "mirror://sourceforge/project/instead/instead/${finalAttrs.version}/instead_${finalAttrs.version}.tar.gz"; 47 + hash = "sha256-d5BvzZCZ3P5CLptuCuJ4KxfEp4CDbtmIZDIbGDcyV3o="; 48 48 }; 49 49 50 50 NIX_LDFLAGS = "-llua -lgcc_s"; ··· 53 53 pkg-config 54 54 unzip 55 55 ]; 56 + 56 57 buildInputs = [ 57 58 SDL2 58 59 SDL2_ttf ··· 64 65 65 66 postPatch = '' 66 67 substituteInPlace configure.sh \ 67 - --replace "/tmp/sdl-test" $(mktemp) 68 + --replace-fail "/tmp/sdl-test" $(mktemp) 68 69 ''; 69 70 70 71 configurePhase = '' 72 + runHook preConfigure 73 + 71 74 { echo 2; echo $out; } | ./configure.sh 75 + 76 + runHook postConfigure 72 77 ''; 73 78 74 79 inherit games; ··· 83 88 84 89 enableParallelBuilding = true; 85 90 86 - meta = with lib; { 91 + meta = { 87 92 description = "Simple text adventure interpreter for Unix and Windows"; 88 93 homepage = "https://instead.syscall.ru/"; 89 94 license = lib.licenses.mit; 90 95 platforms = with lib.platforms; linux; 91 - maintainers = with maintainers; [ pSub ]; 96 + maintainers = with lib.maintainers; [ pSub ]; 92 97 }; 93 - } 98 + })