mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 09:02:46 +00:00
26 lines
852 B
Nix
26 lines
852 B
Nix
{ stdenv, fetchurl, perlPackages, pkgconfig, SDL, SDL_mixer, SDL_Pango, glib }:
|
|
|
|
perlPackages.buildPerlModule {
|
|
pname = "frozen-bubble";
|
|
version = "2.212";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://cpan/authors/id/K/KT/KTHAKORE/Games-FrozenBubble-2.212.tar.gz";
|
|
sha256 = "721e04ff69c5233060656bfbf4002aa1aeadd96c95351f0c57bb85b6da35a305";
|
|
};
|
|
patches = [ ./fix-compilation.patch ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib SDL SDL_mixer SDL_Pango perlPackages.SDL perlPackages.FileSlurp ];
|
|
propagatedBuildInputs = with perlPackages; [ AlienSDL CompressBzip2 FileShareDir FileWhich IPCSystemSimple LocaleMaketextLexicon ];
|
|
|
|
perlPreHook = "export LD=$CC";
|
|
|
|
meta = {
|
|
description = "Puzzle with Bubbles";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = with stdenv.lib.maintainers; [ puckipedia ];
|
|
};
|
|
}
|