Loading pkgs/games/blockattack/default.nix→pkgs/by-name/bl/blockattack/package.nix +76 −0 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , SDL2 , SDL2_image , SDL2_mixer , SDL2_ttf , boost , cmake , gettext , physfs , pkg-config , zip { lib, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, boost, cmake, fetchFromGitHub, gettext, gitUpdater, ninja, physfs, pkg-config, stdenv, zip, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "blockattack"; version = "2.8.0"; version = "2.9.0"; src = fetchFromGitHub { owner = "blockattack"; repo = "blockattack-game"; rev = "v${version}"; hash = "sha256-2oKesdr2eNZhDlGrFRiH5/8APFkGJfxPCNvzFoIumdQ="; rev = "v${finalAttrs.version}"; hash = "sha256-6mPj6A7mYm4CXkSSemNPn1CPkd7+01yr8KvCBM3a5po="; }; nativeBuildInputs = [ SDL2 cmake ninja pkg-config gettext zip Loading @@ -41,19 +46,31 @@ stdenv.mkDerivation rec { physfs ]; outputs = [ "out" "man" ]; strictDeps = true; preConfigure = '' patchShebangs packdata.sh source/misc/translation/*.sh chmod +x ./packdata.sh ./packdata.sh ''; meta = with lib; { passthru = { updateScript = gitUpdater { }; }; meta = { homepage = "https://blockattack.net/"; description = "An open source clone of Panel de Pon (aka Tetris Attack)"; mainProgram = "blockattack"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; broken = stdenv.isDarwin; changelog = "https://github.com/blockattack/blockattack-game/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ gpl2Plus ]; mainProgram = "blockattack"; maintainers = with lib.maintainers; [ AndersonTorres ]; inherit (SDL2.meta) platforms; }; } }) pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -36264,8 +36264,6 @@ with pkgs; ballerburg = callPackage ../games/ballerburg { } ; blockattack = callPackage ../games/blockattack { } ; colobot = callPackage ../games/colobot { }; corsix-th = callPackage ../games/corsix-th { }; Loading
pkgs/games/blockattack/default.nix→pkgs/by-name/bl/blockattack/package.nix +76 −0 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , SDL2 , SDL2_image , SDL2_mixer , SDL2_ttf , boost , cmake , gettext , physfs , pkg-config , zip { lib, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, boost, cmake, fetchFromGitHub, gettext, gitUpdater, ninja, physfs, pkg-config, stdenv, zip, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "blockattack"; version = "2.8.0"; version = "2.9.0"; src = fetchFromGitHub { owner = "blockattack"; repo = "blockattack-game"; rev = "v${version}"; hash = "sha256-2oKesdr2eNZhDlGrFRiH5/8APFkGJfxPCNvzFoIumdQ="; rev = "v${finalAttrs.version}"; hash = "sha256-6mPj6A7mYm4CXkSSemNPn1CPkd7+01yr8KvCBM3a5po="; }; nativeBuildInputs = [ SDL2 cmake ninja pkg-config gettext zip Loading @@ -41,19 +46,31 @@ stdenv.mkDerivation rec { physfs ]; outputs = [ "out" "man" ]; strictDeps = true; preConfigure = '' patchShebangs packdata.sh source/misc/translation/*.sh chmod +x ./packdata.sh ./packdata.sh ''; meta = with lib; { passthru = { updateScript = gitUpdater { }; }; meta = { homepage = "https://blockattack.net/"; description = "An open source clone of Panel de Pon (aka Tetris Attack)"; mainProgram = "blockattack"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; broken = stdenv.isDarwin; changelog = "https://github.com/blockattack/blockattack-game/blob/${finalAttrs.src.rev}/CHANGELOG.md"; license = with lib.licenses; [ gpl2Plus ]; mainProgram = "blockattack"; maintainers = with lib.maintainers; [ AndersonTorres ]; inherit (SDL2.meta) platforms; }; } })
pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -36264,8 +36264,6 @@ with pkgs; ballerburg = callPackage ../games/ballerburg { } ; blockattack = callPackage ../games/blockattack { } ; colobot = callPackage ../games/colobot { }; corsix-th = callPackage ../games/corsix-th { };