nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 37 lines 1.2 kB view raw
1{ lib, fetchurl, perlPackages, pkg-config, SDL, SDL_mixer, SDL_Pango, glib 2, copyDesktopItems, makeDesktopItem 3}: 4perlPackages.buildPerlModule { 5 pname = "frozen-bubble"; 6 version = "2.212"; 7 8 src = fetchurl { 9 url = "mirror://cpan/authors/id/K/KT/KTHAKORE/Games-FrozenBubble-2.212.tar.gz"; 10 sha256 = "721e04ff69c5233060656bfbf4002aa1aeadd96c95351f0c57bb85b6da35a305"; 11 }; 12 patches = [ ./fix-compilation.patch ]; 13 14 nativeBuildInputs = [ copyDesktopItems pkg-config ]; 15 16 buildInputs = [ glib SDL SDL_mixer SDL_Pango perlPackages.SDL perlPackages.FileSlurp ]; 17 propagatedBuildInputs = with perlPackages; [ AlienSDL CompressBzip2 FileShareDir FileWhich IPCSystemSimple LocaleMaketextLexicon ]; 18 19 perlPreHook = "export LD=$CC"; 20 21 desktopItems = [ 22 (makeDesktopItem { 23 name = "frozen-bubble"; 24 exec = "frozen-bubble"; 25 desktopName = "Frozen Bubble"; 26 genericName = "Frozen Bubble"; 27 comment = "Arcade/reflex colour matching game"; 28 categories = [ "Game" ]; 29 }) 30 ]; 31 32 meta = { 33 description = "Puzzle with Bubbles"; 34 license = lib.licenses.gpl2; 35 maintainers = with lib.maintainers; [ puckipedia ]; 36 }; 37}