summaryrefslogtreecommitdiff
path: root/pkgs/games
diff options
context:
space:
mode:
authorMichael Daniels <mdaniels5757@gmail.com>2025-12-29 22:03:55 +0000
committerGitHub <noreply@github.com>2025-12-29 22:03:55 +0000
commit56a5a89b7eec00b77e3c4ab0bbaaf5ec872addf2 (patch)
tree4877da377f9418f9cfcd5f3d13af2afd15379249 /pkgs/games
parentpython3Packages.tensorflow-probability: unbreak build with bazel 7 (#475141) (diff)
parentduckmarines: correct license (diff)
downloadnixpkgs-56a5a89b7eec00b77e3c4ab0bbaaf5ec872addf2.tar.gz
duckmarines: build from source, add love 11 support, move to by-name, fix license (#447796)
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/duckmarines/default.nix64
1 files changed, 0 insertions, 64 deletions
diff --git a/pkgs/games/duckmarines/default.nix b/pkgs/games/duckmarines/default.nix
deleted file mode 100644
index 6f733132cde0..000000000000
--- a/pkgs/games/duckmarines/default.nix
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- lib,
- stdenv,
- fetchurl,
- love,
- lua,
- makeWrapper,
- makeDesktopItem,
-}:
-
-stdenv.mkDerivation rec {
- pname = "duckmarines";
- version = "1.0c";
-
- icon = fetchurl {
- url = "http://tangramgames.dk/img/thumb/duckmarines.png";
- sha256 = "07ypbwqcgqc5f117yxy9icix76wlybp1cmykc8f3ivdps66hl0k5";
- };
-
- desktopItem = makeDesktopItem {
- name = "duckmarines";
- exec = "duckmarines";
- icon = icon;
- comment = "Duck-themed action puzzle video game";
- desktopName = "Duck Marines";
- genericName = "duckmarines";
- categories = [ "Game" ];
- };
-
- src = fetchurl {
- url = "https://github.com/SimonLarsen/duckmarines/releases/download/v${version}/duckmarines-1.0c.love";
- sha256 = "1rvgpkvi4h9zhc4fwb4knhsa789yjcx4a14fi4vqfdyybhvg5sh9";
- };
-
- nativeBuildInputs = [ makeWrapper ];
- buildInputs = [
- lua
- love
- ];
-
- dontUnpack = true;
-
- installPhase = ''
- mkdir -p $out/bin
- mkdir -p $out/share/games/lovegames
-
- cp -v ${src} $out/share/games/lovegames/duckmarines.love
-
- makeWrapper ${love}/bin/love $out/bin/duckmarines --add-flags $out/share/games/lovegames/duckmarines.love
-
- chmod +x $out/bin/duckmarines
- mkdir -p $out/share/applications
- ln -s ${desktopItem}/share/applications/* $out/share/applications/
- '';
-
- meta = {
- description = "Duck-themed action puzzle video game";
- platforms = lib.platforms.linux;
- hydraPlatforms = [ ];
- license = lib.licenses.free;
- downloadPage = "http://tangramgames.dk/games/duckmarines";
- };
-
-}