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