about summary refs log tree commit diff
path: root/pkgs/games/quantumminigolf/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/quantumminigolf/default.nix')
-rw-r--r--pkgs/games/quantumminigolf/default.nix41
1 files changed, 0 insertions, 41 deletions
diff --git a/pkgs/games/quantumminigolf/default.nix b/pkgs/games/quantumminigolf/default.nix
deleted file mode 100644
index c91fb8b28c53..000000000000
--- a/pkgs/games/quantumminigolf/default.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{ lib, stdenv, fetchurl, fftwSinglePrec, freetype, SDL, SDL_ttf }:
-
-stdenv.mkDerivation rec {
-  pname = "quantumminigolf";
-  version = "1.1.1";
-
-  src = fetchurl {
-    url = "mirror://sourceforge/project/quantumminigolf/quantumminigolf/${version}/quantumminigolf-${version}.src.tar.gz";
-    sha256 = "sha256-Y3LUGk6pAuNGVOYkc0WYDbgJFtwJJn+aLRHmCKY7W5k=";
-  };
-
-  buildInputs = [
-    fftwSinglePrec
-    freetype
-    SDL
-    SDL_ttf
-  ];
-
-  preBuild = ''
-    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${lib.getDev SDL}/include/SDL -I${SDL_ttf}/include/SDL"
-
-    sed -re 's@"(gfx|fonts|tracks)/@"'"$out"'/share/quantumminigolf/\1/@g' -i *.cpp
-  '';
-
-  installPhase = ''
-    mkdir -p "$out"/{share/doc,share/quantumminigolf,bin}
-    cp README THANKS LICENSE "$out/share/doc"
-    cp -r fonts gfx tracks "$out/share/quantumminigolf"
-    cp quantumminigolf "$out/bin"
-  '';
-
-  meta = with lib; {
-    description = "Quantum mechanics-based minigolf-like game";
-    mainProgram = "quantumminigolf";
-    license = licenses.gpl2Plus;
-    maintainers = with maintainers; [ raskin ];
-    platforms = platforms.linux;
-    # never built on aarch64-linux since first introduction in nixpkgs
-    broken = stdenv.isLinux && stdenv.isAarch64;
-  };
-}