3 , makeDesktopItem, copyDesktopItems
6 , SDL, SDL_mixer, SDL_image, SDL_gfx
12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
17 owner = "ReinhardPrix";
18 repo = "FreedroidClassic";
19 rev = "release-${version}";
20 sha256 = "027wns25nyyc8afyhyp5a8wn13x9nlzmnqzqyyma1055xjy5imis";
23 nativeBuildInputs = [ copyDesktopItems imagemagick autoreconfHook ];
24 buildInputs = [ SDL SDL_image SDL_gfx SDL_mixer libjpeg libpng libvorbis zlib ];
31 mkdir -p $out/share/icons/hicolor/32x32/apps
32 convert graphics/paraicon.bmp $out/share/icons/hicolor/32x32/apps/freedroid.png
35 desktopItems = [ (makeDesktopItem {
39 desktopName = "Freedroid Classic";
40 comment = "A clone of the classic game 'Paradroid' on Commodore 64";
41 categories = [ "Game" "ArcadeGame" ];
45 description = "Clone of the classic game 'Paradroid' on Commodore 64";
46 mainProgram = "freedroid";
47 homepage = "https://github.com/ReinhardPrix/FreedroidClassic";
48 license = licenses.gpl2Only;
49 maintainers = with maintainers; [ iblech ];
50 platforms = platforms.unix;
51 # Builds but fails to render to the screen at runtime.
52 broken = stdenv.hostPlatform.isDarwin;