Merge pull request #312500 from atorres1985-contrib/blockattack

blockattack: 2.8.0 -> 2.9.0

authored by Peder Bergebakken Sundt and committed by GitHub 3d30d46d d62141d0

+76 -61
+76
pkgs/by-name/bl/blockattack/package.nix
···
··· 1 + { 2 + lib, 3 + SDL2, 4 + SDL2_image, 5 + SDL2_mixer, 6 + SDL2_ttf, 7 + boost, 8 + cmake, 9 + fetchFromGitHub, 10 + gettext, 11 + gitUpdater, 12 + ninja, 13 + physfs, 14 + pkg-config, 15 + stdenv, 16 + zip, 17 + }: 18 + 19 + stdenv.mkDerivation (finalAttrs: { 20 + pname = "blockattack"; 21 + version = "2.9.0"; 22 + 23 + src = fetchFromGitHub { 24 + owner = "blockattack"; 25 + repo = "blockattack-game"; 26 + rev = "v${finalAttrs.version}"; 27 + hash = "sha256-6mPj6A7mYm4CXkSSemNPn1CPkd7+01yr8KvCBM3a5po="; 28 + }; 29 + 30 + nativeBuildInputs = [ 31 + SDL2 32 + cmake 33 + ninja 34 + pkg-config 35 + gettext 36 + zip 37 + ]; 38 + 39 + buildInputs = [ 40 + SDL2 41 + SDL2_image 42 + SDL2_mixer 43 + SDL2_ttf 44 + SDL2_ttf 45 + boost 46 + physfs 47 + ]; 48 + 49 + outputs = [ 50 + "out" 51 + "man" 52 + ]; 53 + 54 + strictDeps = true; 55 + 56 + preConfigure = '' 57 + patchShebangs packdata.sh source/misc/translation/*.sh 58 + chmod +x ./packdata.sh 59 + ./packdata.sh 60 + ''; 61 + 62 + passthru = { 63 + updateScript = gitUpdater { }; 64 + }; 65 + 66 + meta = { 67 + homepage = "https://blockattack.net/"; 68 + description = "An open source clone of Panel de Pon (aka Tetris Attack)"; 69 + broken = stdenv.isDarwin; 70 + changelog = "https://github.com/blockattack/blockattack-game/blob/${finalAttrs.src.rev}/CHANGELOG.md"; 71 + license = with lib.licenses; [ gpl2Plus ]; 72 + mainProgram = "blockattack"; 73 + maintainers = with lib.maintainers; [ AndersonTorres ]; 74 + inherit (SDL2.meta) platforms; 75 + }; 76 + })
-59
pkgs/games/blockattack/default.nix
··· 1 - { lib 2 - , stdenv 3 - , fetchFromGitHub 4 - , SDL2 5 - , SDL2_image 6 - , SDL2_mixer 7 - , SDL2_ttf 8 - , boost 9 - , cmake 10 - , gettext 11 - , physfs 12 - , pkg-config 13 - , zip 14 - }: 15 - 16 - stdenv.mkDerivation rec { 17 - pname = "blockattack"; 18 - version = "2.8.0"; 19 - 20 - src = fetchFromGitHub { 21 - owner = "blockattack"; 22 - repo = "blockattack-game"; 23 - rev = "v${version}"; 24 - hash = "sha256-2oKesdr2eNZhDlGrFRiH5/8APFkGJfxPCNvzFoIumdQ="; 25 - }; 26 - 27 - nativeBuildInputs = [ 28 - cmake 29 - pkg-config 30 - gettext 31 - zip 32 - ]; 33 - 34 - buildInputs = [ 35 - SDL2 36 - SDL2_image 37 - SDL2_mixer 38 - SDL2_ttf 39 - SDL2_ttf 40 - boost 41 - physfs 42 - ]; 43 - 44 - preConfigure = '' 45 - patchShebangs packdata.sh source/misc/translation/*.sh 46 - chmod +x ./packdata.sh 47 - ./packdata.sh 48 - ''; 49 - 50 - meta = with lib; { 51 - homepage = "https://blockattack.net/"; 52 - description = "An open source clone of Panel de Pon (aka Tetris Attack)"; 53 - mainProgram = "blockattack"; 54 - license = licenses.gpl2Plus; 55 - maintainers = with maintainers; [ AndersonTorres ]; 56 - platforms = platforms.unix; 57 - broken = stdenv.isDarwin; 58 - }; 59 - }
···
-2
pkgs/top-level/all-packages.nix
··· 36264 36265 ballerburg = callPackage ../games/ballerburg { } ; 36266 36267 - blockattack = callPackage ../games/blockattack { } ; 36268 - 36269 colobot = callPackage ../games/colobot { }; 36270 36271 corsix-th = callPackage ../games/corsix-th { };
··· 36264 36265 ballerburg = callPackage ../games/ballerburg { } ; 36266 36267 colobot = callPackage ../games/colobot { }; 36268 36269 corsix-th = callPackage ../games/corsix-th { };